winevulkan: Adequate vkEnumerateInstanceLayerProperties to the Vulkan spec.
[wine.git] / configure
blob1f690a18b0aec989e361f6ce281feb795a91e065
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 6.4.
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.4'
584 PACKAGE_STRING='Wine 6.4'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 TOOLSEXT
633 MSVCRTFLAGS
634 EXTRACFLAGS
635 VKD3D_SHADER_LIBS
636 VKD3D_SHADER_CFLAGS
637 VKD3D_LIBS
638 VKD3D_CFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JXRLIB_LIBS
650 JXRLIB_CFLAGS
651 JPEG_LIBS
652 JPEG_CFLAGS
653 GSSAPI_LIBS
654 GSSAPI_CFLAGS
655 KRB5_LIBS
656 KRB5_CFLAGS
657 FONTCONFIG_LIBS
658 FONTCONFIG_CFLAGS
659 CUPS_LIBS
660 CUPS_CFLAGS
661 CAPI20_LIBS
662 CAPI20_CFLAGS
663 FAUDIO_LIBS
664 FAUDIO_CFLAGS
665 SDL2_LIBS
666 SDL2_CFLAGS
667 UNWIND_LIBS
668 UNWIND_CFLAGS
669 UDEV_LIBS
670 UDEV_CFLAGS
671 OSS4_LIBS
672 OSS4_CFLAGS
673 ALSA_LIBS
674 GSTREAMER_LIBS
675 GSTREAMER_CFLAGS
676 PULSE_LIBS
677 PULSE_CFLAGS
678 GETTEXTPO_LIBS
679 FREETYPE_LIBS
680 FREETYPE_CFLAGS
681 LCMS2_LIBS
682 LCMS2_CFLAGS
683 RESOLV_LIBS
684 GPHOTO2_PORT_LIBS
685 GPHOTO2_PORT_CFLAGS
686 GPHOTO2_LIBS
687 GPHOTO2_CFLAGS
688 USB_LIBS
689 USB_CFLAGS
690 SANE_LIBS
691 SANE_CFLAGS
692 GNUTLS_LIBS
693 GNUTLS_CFLAGS
694 HAL_LIBS
695 HAL_CFLAGS
696 DBUS_LIBS
697 DBUS_CFLAGS
698 INOTIFY_LIBS
699 INOTIFY_CFLAGS
700 XSLT_LIBS
701 XSLT_CFLAGS
702 XML2_LIBS
703 XML2_CFLAGS
704 PCAP_LIBS
705 X_EXTRA_LIBS
706 X_LIBS
707 X_PRE_LIBS
708 X_CFLAGS
709 XMKMF
710 PTHREAD_LIBS
711 EXCESS_PRECISION_CFLAGS
712 CROSSDEBUG
713 DELAYLOADFLAG
714 CROSSLDFLAGS
715 EXTRACROSSCFLAGS
716 CROSSCFLAGS
717 CROSSCC
718 CROSSTARGET
719 LIBWINE_DEPENDS
720 PRELINK
721 WINELOADER_DEPENDS
722 LIBWINE_LDFLAGS
723 LIBWINE_SHAREDLIB
724 METAL_LIBS
725 CARBON_LIBS
726 QUICKTIME_LIBS
727 OPENCL_LIBS
728 OPENAL_LIBS
729 COREAUDIO_LIBS
730 SECURITY_LIBS
731 DISKARBITRATION_LIBS
732 SYSTEMCONFIGURATION_LIBS
733 APPKIT_LIBS
734 CORESERVICES_LIBS
735 APPLICATIONSERVICES_LIBS
736 FORCEFEEDBACK_LIBS
737 IOKIT_LIBS
738 COREFOUNDATION_LIBS
739 OBJCPP
740 ac_ct_OBJC
741 OBJCFLAGS
742 OBJC
743 DLLTOOL
744 WINELOADER_PROGRAMS
745 CONFIGURE_TARGETS
746 DISABLED_SUBDIRS
747 SUBDIRS
748 READELF
749 OTOOL
751 WINEPRELOADER_LDFLAGS
752 WINELOADER_LDFLAGS
753 TOP_INSTALL_DEV
754 TOP_INSTALL_LIB
755 LDEXECFLAGS
756 LDDLLFLAGS
757 DLLFLAGS
759 OPENGL_LIBS
760 I386_LIBS
761 ICOTOOL
762 CONVERT
763 RSVG
764 FONTFORGE
765 PKG_CONFIG
766 MSGFMT
767 LDCONFIG
768 EGREP
769 GREP
770 LN_S
771 RANLIB
772 STRIP
773 ac_ct_AR
775 BISON
776 FLEX
777 TOOLSDIR
778 TARGETFLAGS
780 CPPBIN
781 ac_ct_CXX
782 CXXFLAGS
784 OBJEXT
785 EXEEXT
786 ac_ct_CC
787 CPPFLAGS
788 LDFLAGS
789 CFLAGS
791 SET_MAKE
792 host_os
793 host_vendor
794 host_cpu
795 host
796 build_os
797 build_vendor
798 build_cpu
799 build
800 target_alias
801 host_alias
802 build_alias
803 LIBS
804 ECHO_T
805 ECHO_N
806 ECHO_C
807 DEFS
808 mandir
809 localedir
810 libdir
811 psdir
812 pdfdir
813 dvidir
814 htmldir
815 infodir
816 docdir
817 oldincludedir
818 includedir
819 runstatedir
820 localstatedir
821 sharedstatedir
822 sysconfdir
823 datadir
824 datarootdir
825 libexecdir
826 sbindir
827 bindir
828 program_transform_name
829 prefix
830 exec_prefix
831 PACKAGE_URL
832 PACKAGE_BUGREPORT
833 PACKAGE_STRING
834 PACKAGE_VERSION
835 PACKAGE_TARNAME
836 PACKAGE_NAME
837 PATH_SEPARATOR
838 SHELL'
839 ac_subst_files=''
840 ac_user_opts='
841 enable_option_checking
842 enable_win16
843 enable_win64
844 enable_tests
845 enable_build_id
846 enable_maintainer_mode
847 enable_silent_rules
848 enable_werror
849 with_alsa
850 with_capi
851 with_cms
852 with_coreaudio
853 with_cups
854 with_dbus
855 with_faudio
856 with_float_abi
857 with_fontconfig
858 with_freetype
859 with_gettext
860 with_gettextpo
861 with_gphoto
862 with_gnutls
863 with_gsm
864 with_gssapi
865 with_gstreamer
866 with_hal
867 with_inotify
868 with_jpeg
869 with_jxrlib
870 with_krb5
871 with_ldap
872 with_mingw
873 with_mpg123
874 with_netapi
875 with_openal
876 with_opencl
877 with_opengl
878 with_osmesa
879 with_oss
880 with_pcap
881 with_png
882 with_pthread
883 with_pulse
884 with_quicktime
885 with_sane
886 with_sdl
887 with_tiff
888 with_udev
889 with_unwind
890 with_usb
891 with_v4l2
892 with_vkd3d
893 with_vulkan
894 with_xcomposite
895 with_xcursor
896 with_xfixes
897 with_xinerama
898 with_xinput
899 with_xinput2
900 with_xml
901 with_xrandr
902 with_xrender
903 with_xshape
904 with_xshm
905 with_xslt
906 with_xxf86vm
907 with_wine_tools
908 with_wine64
909 enable_largefile
910 with_x
911 enable_acledit
912 enable_aclui
913 enable_activeds_tlb
914 enable_activeds
915 enable_actxprxy
916 enable_adsiid
917 enable_adsldp
918 enable_adsldpc
919 enable_advapi32
920 enable_advpack
921 enable_amsi
922 enable_amstream
923 enable_api_ms_win_appmodel_identity_l1_1_0
924 enable_api_ms_win_appmodel_runtime_l1_1_1
925 enable_api_ms_win_appmodel_runtime_l1_1_2
926 enable_api_ms_win_core_apiquery_l1_1_0
927 enable_api_ms_win_core_appcompat_l1_1_1
928 enable_api_ms_win_core_appinit_l1_1_0
929 enable_api_ms_win_core_atoms_l1_1_0
930 enable_api_ms_win_core_bem_l1_1_0
931 enable_api_ms_win_core_com_l1_1_0
932 enable_api_ms_win_core_com_l1_1_1
933 enable_api_ms_win_core_com_private_l1_1_0
934 enable_api_ms_win_core_comm_l1_1_0
935 enable_api_ms_win_core_console_l1_1_0
936 enable_api_ms_win_core_console_l2_1_0
937 enable_api_ms_win_core_crt_l1_1_0
938 enable_api_ms_win_core_crt_l2_1_0
939 enable_api_ms_win_core_datetime_l1_1_0
940 enable_api_ms_win_core_datetime_l1_1_1
941 enable_api_ms_win_core_debug_l1_1_0
942 enable_api_ms_win_core_debug_l1_1_1
943 enable_api_ms_win_core_delayload_l1_1_0
944 enable_api_ms_win_core_delayload_l1_1_1
945 enable_api_ms_win_core_errorhandling_l1_1_0
946 enable_api_ms_win_core_errorhandling_l1_1_1
947 enable_api_ms_win_core_errorhandling_l1_1_2
948 enable_api_ms_win_core_errorhandling_l1_1_3
949 enable_api_ms_win_core_fibers_l1_1_0
950 enable_api_ms_win_core_fibers_l1_1_1
951 enable_api_ms_win_core_file_ansi_l2_1_0
952 enable_api_ms_win_core_file_fromapp_l1_1_0
953 enable_api_ms_win_core_file_l1_1_0
954 enable_api_ms_win_core_file_l1_2_0
955 enable_api_ms_win_core_file_l1_2_1
956 enable_api_ms_win_core_file_l1_2_2
957 enable_api_ms_win_core_file_l2_1_0
958 enable_api_ms_win_core_file_l2_1_1
959 enable_api_ms_win_core_file_l2_1_2
960 enable_api_ms_win_core_handle_l1_1_0
961 enable_api_ms_win_core_heap_l1_1_0
962 enable_api_ms_win_core_heap_l1_2_0
963 enable_api_ms_win_core_heap_l2_1_0
964 enable_api_ms_win_core_heap_obsolete_l1_1_0
965 enable_api_ms_win_core_interlocked_l1_1_0
966 enable_api_ms_win_core_interlocked_l1_2_0
967 enable_api_ms_win_core_io_l1_1_0
968 enable_api_ms_win_core_io_l1_1_1
969 enable_api_ms_win_core_job_l1_1_0
970 enable_api_ms_win_core_job_l2_1_0
971 enable_api_ms_win_core_kernel32_legacy_l1_1_0
972 enable_api_ms_win_core_kernel32_legacy_l1_1_1
973 enable_api_ms_win_core_kernel32_legacy_l1_1_2
974 enable_api_ms_win_core_kernel32_private_l1_1_1
975 enable_api_ms_win_core_largeinteger_l1_1_0
976 enable_api_ms_win_core_libraryloader_l1_1_0
977 enable_api_ms_win_core_libraryloader_l1_1_1
978 enable_api_ms_win_core_libraryloader_l1_2_0
979 enable_api_ms_win_core_libraryloader_l1_2_1
980 enable_api_ms_win_core_libraryloader_l1_2_2
981 enable_api_ms_win_core_libraryloader_l2_1_0
982 enable_api_ms_win_core_localization_l1_1_0
983 enable_api_ms_win_core_localization_l1_2_0
984 enable_api_ms_win_core_localization_l1_2_1
985 enable_api_ms_win_core_localization_l1_2_2
986 enable_api_ms_win_core_localization_l2_1_0
987 enable_api_ms_win_core_localization_obsolete_l1_1_0
988 enable_api_ms_win_core_localization_obsolete_l1_2_0
989 enable_api_ms_win_core_localization_obsolete_l1_3_0
990 enable_api_ms_win_core_localization_private_l1_1_0
991 enable_api_ms_win_core_localregistry_l1_1_0
992 enable_api_ms_win_core_memory_l1_1_0
993 enable_api_ms_win_core_memory_l1_1_1
994 enable_api_ms_win_core_memory_l1_1_2
995 enable_api_ms_win_core_memory_l1_1_3
996 enable_api_ms_win_core_memory_l1_1_4
997 enable_api_ms_win_core_misc_l1_1_0
998 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
999 enable_api_ms_win_core_namedpipe_l1_1_0
1000 enable_api_ms_win_core_namedpipe_l1_2_0
1001 enable_api_ms_win_core_namespace_l1_1_0
1002 enable_api_ms_win_core_normalization_l1_1_0
1003 enable_api_ms_win_core_path_l1_1_0
1004 enable_api_ms_win_core_privateprofile_l1_1_1
1005 enable_api_ms_win_core_processenvironment_l1_1_0
1006 enable_api_ms_win_core_processenvironment_l1_2_0
1007 enable_api_ms_win_core_processthreads_l1_1_0
1008 enable_api_ms_win_core_processthreads_l1_1_1
1009 enable_api_ms_win_core_processthreads_l1_1_2
1010 enable_api_ms_win_core_processthreads_l1_1_3
1011 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1012 enable_api_ms_win_core_profile_l1_1_0
1013 enable_api_ms_win_core_psapi_ansi_l1_1_0
1014 enable_api_ms_win_core_psapi_l1_1_0
1015 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1016 enable_api_ms_win_core_quirks_l1_1_0
1017 enable_api_ms_win_core_realtime_l1_1_0
1018 enable_api_ms_win_core_registry_l1_1_0
1019 enable_api_ms_win_core_registry_l2_1_0
1020 enable_api_ms_win_core_registry_l2_2_0
1021 enable_api_ms_win_core_registryuserspecific_l1_1_0
1022 enable_api_ms_win_core_rtlsupport_l1_1_0
1023 enable_api_ms_win_core_rtlsupport_l1_2_0
1024 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1025 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1026 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1027 enable_api_ms_win_core_shutdown_l1_1_0
1028 enable_api_ms_win_core_sidebyside_l1_1_0
1029 enable_api_ms_win_core_string_l1_1_0
1030 enable_api_ms_win_core_string_l2_1_0
1031 enable_api_ms_win_core_string_obsolete_l1_1_0
1032 enable_api_ms_win_core_stringansi_l1_1_0
1033 enable_api_ms_win_core_stringloader_l1_1_1
1034 enable_api_ms_win_core_synch_ansi_l1_1_0
1035 enable_api_ms_win_core_synch_l1_1_0
1036 enable_api_ms_win_core_synch_l1_2_0
1037 enable_api_ms_win_core_synch_l1_2_1
1038 enable_api_ms_win_core_sysinfo_l1_1_0
1039 enable_api_ms_win_core_sysinfo_l1_2_0
1040 enable_api_ms_win_core_sysinfo_l1_2_1
1041 enable_api_ms_win_core_systemtopology_l1_1_0
1042 enable_api_ms_win_core_threadpool_l1_1_0
1043 enable_api_ms_win_core_threadpool_l1_2_0
1044 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1045 enable_api_ms_win_core_threadpool_private_l1_1_0
1046 enable_api_ms_win_core_timezone_l1_1_0
1047 enable_api_ms_win_core_toolhelp_l1_1_0
1048 enable_api_ms_win_core_url_l1_1_0
1049 enable_api_ms_win_core_util_l1_1_0
1050 enable_api_ms_win_core_version_l1_1_0
1051 enable_api_ms_win_core_version_l1_1_1
1052 enable_api_ms_win_core_version_private_l1_1_0
1053 enable_api_ms_win_core_versionansi_l1_1_0
1054 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1055 enable_api_ms_win_core_winrt_error_l1_1_0
1056 enable_api_ms_win_core_winrt_error_l1_1_1
1057 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1058 enable_api_ms_win_core_winrt_l1_1_0
1059 enable_api_ms_win_core_winrt_registration_l1_1_0
1060 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1061 enable_api_ms_win_core_winrt_string_l1_1_0
1062 enable_api_ms_win_core_winrt_string_l1_1_1
1063 enable_api_ms_win_core_wow64_l1_1_0
1064 enable_api_ms_win_core_wow64_l1_1_1
1065 enable_api_ms_win_core_xstate_l1_1_0
1066 enable_api_ms_win_core_xstate_l2_1_0
1067 enable_api_ms_win_crt_conio_l1_1_0
1068 enable_api_ms_win_crt_convert_l1_1_0
1069 enable_api_ms_win_crt_environment_l1_1_0
1070 enable_api_ms_win_crt_filesystem_l1_1_0
1071 enable_api_ms_win_crt_heap_l1_1_0
1072 enable_api_ms_win_crt_locale_l1_1_0
1073 enable_api_ms_win_crt_math_l1_1_0
1074 enable_api_ms_win_crt_multibyte_l1_1_0
1075 enable_api_ms_win_crt_private_l1_1_0
1076 enable_api_ms_win_crt_process_l1_1_0
1077 enable_api_ms_win_crt_runtime_l1_1_0
1078 enable_api_ms_win_crt_stdio_l1_1_0
1079 enable_api_ms_win_crt_string_l1_1_0
1080 enable_api_ms_win_crt_time_l1_1_0
1081 enable_api_ms_win_crt_utility_l1_1_0
1082 enable_api_ms_win_devices_config_l1_1_0
1083 enable_api_ms_win_devices_config_l1_1_1
1084 enable_api_ms_win_devices_query_l1_1_1
1085 enable_api_ms_win_downlevel_advapi32_l1_1_0
1086 enable_api_ms_win_downlevel_advapi32_l2_1_0
1087 enable_api_ms_win_downlevel_kernel32_l2_1_0
1088 enable_api_ms_win_downlevel_normaliz_l1_1_0
1089 enable_api_ms_win_downlevel_ole32_l1_1_0
1090 enable_api_ms_win_downlevel_shell32_l1_1_0
1091 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1092 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1093 enable_api_ms_win_downlevel_user32_l1_1_0
1094 enable_api_ms_win_downlevel_version_l1_1_0
1095 enable_api_ms_win_dx_d3dkmt_l1_1_0
1096 enable_api_ms_win_eventing_classicprovider_l1_1_0
1097 enable_api_ms_win_eventing_consumer_l1_1_0
1098 enable_api_ms_win_eventing_controller_l1_1_0
1099 enable_api_ms_win_eventing_legacy_l1_1_0
1100 enable_api_ms_win_eventing_provider_l1_1_0
1101 enable_api_ms_win_eventlog_legacy_l1_1_0
1102 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1103 enable_api_ms_win_mm_joystick_l1_1_0
1104 enable_api_ms_win_mm_misc_l1_1_1
1105 enable_api_ms_win_mm_mme_l1_1_0
1106 enable_api_ms_win_mm_time_l1_1_0
1107 enable_api_ms_win_ntuser_dc_access_l1_1_0
1108 enable_api_ms_win_ntuser_rectangle_l1_1_0
1109 enable_api_ms_win_ntuser_sysparams_l1_1_0
1110 enable_api_ms_win_perf_legacy_l1_1_0
1111 enable_api_ms_win_power_base_l1_1_0
1112 enable_api_ms_win_power_setting_l1_1_0
1113 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1114 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1115 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1116 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1117 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1118 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1119 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1120 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1121 enable_api_ms_win_security_audit_l1_1_1
1122 enable_api_ms_win_security_base_l1_1_0
1123 enable_api_ms_win_security_base_l1_2_0
1124 enable_api_ms_win_security_base_private_l1_1_1
1125 enable_api_ms_win_security_credentials_l1_1_0
1126 enable_api_ms_win_security_cryptoapi_l1_1_0
1127 enable_api_ms_win_security_grouppolicy_l1_1_0
1128 enable_api_ms_win_security_lsalookup_l1_1_0
1129 enable_api_ms_win_security_lsalookup_l1_1_1
1130 enable_api_ms_win_security_lsalookup_l2_1_0
1131 enable_api_ms_win_security_lsalookup_l2_1_1
1132 enable_api_ms_win_security_lsapolicy_l1_1_0
1133 enable_api_ms_win_security_provider_l1_1_0
1134 enable_api_ms_win_security_sddl_l1_1_0
1135 enable_api_ms_win_security_systemfunctions_l1_1_0
1136 enable_api_ms_win_service_core_l1_1_0
1137 enable_api_ms_win_service_core_l1_1_1
1138 enable_api_ms_win_service_management_l1_1_0
1139 enable_api_ms_win_service_management_l2_1_0
1140 enable_api_ms_win_service_private_l1_1_1
1141 enable_api_ms_win_service_winsvc_l1_1_0
1142 enable_api_ms_win_service_winsvc_l1_2_0
1143 enable_api_ms_win_shcore_obsolete_l1_1_0
1144 enable_api_ms_win_shcore_scaling_l1_1_1
1145 enable_api_ms_win_shcore_stream_l1_1_0
1146 enable_api_ms_win_shcore_thread_l1_1_0
1147 enable_api_ms_win_shell_shellcom_l1_1_0
1148 enable_api_ms_win_shell_shellfolders_l1_1_0
1149 enable_apphelp
1150 enable_appwiz_cpl
1151 enable_atl
1152 enable_atl100
1153 enable_atl110
1154 enable_atl80
1155 enable_atl90
1156 enable_atlthunk
1157 enable_atmlib
1158 enable_authz
1159 enable_avicap32
1160 enable_avifil32
1161 enable_avrt
1162 enable_bcrypt
1163 enable_bluetoothapis
1164 enable_browseui
1165 enable_bthprops_cpl
1166 enable_cabinet
1167 enable_capi2032
1168 enable_cards
1169 enable_cdosys
1170 enable_cfgmgr32
1171 enable_clusapi
1172 enable_combase
1173 enable_comcat
1174 enable_comctl32
1175 enable_comdlg32
1176 enable_compstui
1177 enable_comsvcs
1178 enable_concrt140
1179 enable_connect
1180 enable_credui
1181 enable_crtdll
1182 enable_crypt32
1183 enable_cryptdlg
1184 enable_cryptdll
1185 enable_cryptext
1186 enable_cryptnet
1187 enable_cryptsp
1188 enable_cryptui
1189 enable_ctapi32
1190 enable_ctl3d32
1191 enable_d2d1
1192 enable_d3d10
1193 enable_d3d10_1
1194 enable_d3d10core
1195 enable_d3d11
1196 enable_d3d12
1197 enable_d3d8
1198 enable_d3d8thk
1199 enable_d3d9
1200 enable_d3dcompiler_33
1201 enable_d3dcompiler_34
1202 enable_d3dcompiler_35
1203 enable_d3dcompiler_36
1204 enable_d3dcompiler_37
1205 enable_d3dcompiler_38
1206 enable_d3dcompiler_39
1207 enable_d3dcompiler_40
1208 enable_d3dcompiler_41
1209 enable_d3dcompiler_42
1210 enable_d3dcompiler_43
1211 enable_d3dcompiler_46
1212 enable_d3dcompiler_47
1213 enable_d3dim
1214 enable_d3dim700
1215 enable_d3drm
1216 enable_d3dx10_33
1217 enable_d3dx10_34
1218 enable_d3dx10_35
1219 enable_d3dx10_36
1220 enable_d3dx10_37
1221 enable_d3dx10_38
1222 enable_d3dx10_39
1223 enable_d3dx10_40
1224 enable_d3dx10_41
1225 enable_d3dx10_42
1226 enable_d3dx10_43
1227 enable_d3dx11_42
1228 enable_d3dx11_43
1229 enable_d3dx9_24
1230 enable_d3dx9_25
1231 enable_d3dx9_26
1232 enable_d3dx9_27
1233 enable_d3dx9_28
1234 enable_d3dx9_29
1235 enable_d3dx9_30
1236 enable_d3dx9_31
1237 enable_d3dx9_32
1238 enable_d3dx9_33
1239 enable_d3dx9_34
1240 enable_d3dx9_35
1241 enable_d3dx9_36
1242 enable_d3dx9_37
1243 enable_d3dx9_38
1244 enable_d3dx9_39
1245 enable_d3dx9_40
1246 enable_d3dx9_41
1247 enable_d3dx9_42
1248 enable_d3dx9_43
1249 enable_d3dxof
1250 enable_davclnt
1251 enable_dbgeng
1252 enable_dbghelp
1253 enable_dciman32
1254 enable_dcomp
1255 enable_ddraw
1256 enable_ddrawex
1257 enable_devenum
1258 enable_dhcpcsvc
1259 enable_dhtmled_ocx
1260 enable_difxapi
1261 enable_dinput
1262 enable_dinput8
1263 enable_directmanipulation
1264 enable_dispex
1265 enable_dmband
1266 enable_dmcompos
1267 enable_dmime
1268 enable_dmloader
1269 enable_dmoguids
1270 enable_dmscript
1271 enable_dmstyle
1272 enable_dmsynth
1273 enable_dmusic
1274 enable_dmusic32
1275 enable_dnsapi
1276 enable_dplay
1277 enable_dplayx
1278 enable_dpnaddr
1279 enable_dpnet
1280 enable_dpnhpast
1281 enable_dpnlobby
1282 enable_dpvoice
1283 enable_dpwsockx
1284 enable_drmclien
1285 enable_dsdmo
1286 enable_dsound
1287 enable_dsquery
1288 enable_dssenh
1289 enable_dsuiext
1290 enable_dswave
1291 enable_dwmapi
1292 enable_dwrite
1293 enable_dx8vb
1294 enable_dxdiagn
1295 enable_dxerr8
1296 enable_dxerr9
1297 enable_dxgi
1298 enable_dxguid
1299 enable_dxva2
1300 enable_esent
1301 enable_evr
1302 enable_explorerframe
1303 enable_ext_ms_win_authz_context_l1_1_0
1304 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1305 enable_ext_ms_win_dwmapi_ext_l1_1_0
1306 enable_ext_ms_win_gdi_dc_create_l1_1_0
1307 enable_ext_ms_win_gdi_dc_create_l1_1_1
1308 enable_ext_ms_win_gdi_dc_l1_2_0
1309 enable_ext_ms_win_gdi_devcaps_l1_1_0
1310 enable_ext_ms_win_gdi_draw_l1_1_0
1311 enable_ext_ms_win_gdi_draw_l1_1_1
1312 enable_ext_ms_win_gdi_font_l1_1_0
1313 enable_ext_ms_win_gdi_font_l1_1_1
1314 enable_ext_ms_win_gdi_render_l1_1_0
1315 enable_ext_ms_win_kernel32_package_current_l1_1_0
1316 enable_ext_ms_win_kernel32_package_l1_1_1
1317 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1318 enable_ext_ms_win_ntuser_draw_l1_1_0
1319 enable_ext_ms_win_ntuser_gui_l1_1_0
1320 enable_ext_ms_win_ntuser_gui_l1_3_0
1321 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1322 enable_ext_ms_win_ntuser_message_l1_1_0
1323 enable_ext_ms_win_ntuser_message_l1_1_1
1324 enable_ext_ms_win_ntuser_misc_l1_1_0
1325 enable_ext_ms_win_ntuser_misc_l1_2_0
1326 enable_ext_ms_win_ntuser_misc_l1_5_1
1327 enable_ext_ms_win_ntuser_mouse_l1_1_0
1328 enable_ext_ms_win_ntuser_private_l1_1_1
1329 enable_ext_ms_win_ntuser_private_l1_3_1
1330 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1331 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1332 enable_ext_ms_win_ntuser_window_l1_1_0
1333 enable_ext_ms_win_ntuser_window_l1_1_1
1334 enable_ext_ms_win_ntuser_window_l1_1_4
1335 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1336 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1337 enable_ext_ms_win_oleacc_l1_1_0
1338 enable_ext_ms_win_ras_rasapi32_l1_1_0
1339 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1340 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1341 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1342 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1343 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1344 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1345 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1346 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1347 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1348 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1349 enable_ext_ms_win_security_credui_l1_1_0
1350 enable_ext_ms_win_security_cryptui_l1_1_0
1351 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1352 enable_ext_ms_win_shell_comdlg32_l1_1_0
1353 enable_ext_ms_win_shell_shell32_l1_2_0
1354 enable_ext_ms_win_uxtheme_themes_l1_1_0
1355 enable_faultrep
1356 enable_feclient
1357 enable_fltlib
1358 enable_fltmgr_sys
1359 enable_fntcache
1360 enable_fontsub
1361 enable_fusion
1362 enable_fwpuclnt
1363 enable_gameux
1364 enable_gdi32
1365 enable_gdiplus
1366 enable_glu32
1367 enable_gphoto2_ds
1368 enable_gpkcsp
1369 enable_hal
1370 enable_hhctrl_ocx
1371 enable_hid
1372 enable_hidclass_sys
1373 enable_hlink
1374 enable_hnetcfg
1375 enable_http_sys
1376 enable_httpapi
1377 enable_iccvid
1378 enable_icmp
1379 enable_ieframe
1380 enable_ieproxy
1381 enable_imaadp32_acm
1382 enable_imagehlp
1383 enable_imm32
1384 enable_inetcomm
1385 enable_inetcpl_cpl
1386 enable_inetmib1
1387 enable_infosoft
1388 enable_initpki
1389 enable_inkobj
1390 enable_inseng
1391 enable_iphlpapi
1392 enable_iprop
1393 enable_irprops_cpl
1394 enable_itircl
1395 enable_itss
1396 enable_joy_cpl
1397 enable_jscript
1398 enable_jsproxy
1399 enable_kerberos
1400 enable_kernel32
1401 enable_kernelbase
1402 enable_ksecdd_sys
1403 enable_ksproxy_ax
1404 enable_ksuser
1405 enable_ktmw32
1406 enable_l3codeca_acm
1407 enable_loadperf
1408 enable_localspl
1409 enable_localui
1410 enable_lz32
1411 enable_mapi32
1412 enable_mapistub
1413 enable_mciavi32
1414 enable_mcicda
1415 enable_mciqtz32
1416 enable_mciseq
1417 enable_mciwave
1418 enable_mf
1419 enable_mf3216
1420 enable_mferror
1421 enable_mfmediaengine
1422 enable_mfplat
1423 enable_mfplay
1424 enable_mfreadwrite
1425 enable_mfuuid
1426 enable_mgmtapi
1427 enable_midimap
1428 enable_mlang
1429 enable_mmcndmgr
1430 enable_mmdevapi
1431 enable_mountmgr_sys
1432 enable_mp3dmod
1433 enable_mpr
1434 enable_mprapi
1435 enable_msacm32_drv
1436 enable_msacm32
1437 enable_msado15
1438 enable_msadp32_acm
1439 enable_msasn1
1440 enable_mscat32
1441 enable_mscms
1442 enable_mscoree
1443 enable_mscorwks
1444 enable_msctf
1445 enable_msctfp
1446 enable_msdaps
1447 enable_msdelta
1448 enable_msdmo
1449 enable_msdrm
1450 enable_msftedit
1451 enable_msg711_acm
1452 enable_msgsm32_acm
1453 enable_mshtml_tlb
1454 enable_mshtml
1455 enable_msi
1456 enable_msident
1457 enable_msimg32
1458 enable_msimsg
1459 enable_msimtf
1460 enable_msisip
1461 enable_msisys_ocx
1462 enable_msls31
1463 enable_msnet32
1464 enable_mspatcha
1465 enable_msports
1466 enable_msrle32
1467 enable_msscript_ocx
1468 enable_mssign32
1469 enable_mssip32
1470 enable_mstask
1471 enable_msvcirt
1472 enable_msvcm80
1473 enable_msvcm90
1474 enable_msvcp100
1475 enable_msvcp110
1476 enable_msvcp120
1477 enable_msvcp120_app
1478 enable_msvcp140
1479 enable_msvcp140_1
1480 enable_msvcp60
1481 enable_msvcp70
1482 enable_msvcp71
1483 enable_msvcp80
1484 enable_msvcp90
1485 enable_msvcr100
1486 enable_msvcr110
1487 enable_msvcr120
1488 enable_msvcr120_app
1489 enable_msvcr70
1490 enable_msvcr71
1491 enable_msvcr80
1492 enable_msvcr90
1493 enable_msvcrt
1494 enable_msvcrt20
1495 enable_msvcrt40
1496 enable_msvcrtd
1497 enable_msvfw32
1498 enable_msvidc32
1499 enable_mswsock
1500 enable_msxml
1501 enable_msxml2
1502 enable_msxml3
1503 enable_msxml4
1504 enable_msxml6
1505 enable_mtxdm
1506 enable_ncrypt
1507 enable_nddeapi
1508 enable_ndis_sys
1509 enable_netapi32
1510 enable_netcfgx
1511 enable_netio_sys
1512 enable_netprofm
1513 enable_netutils
1514 enable_newdev
1515 enable_ninput
1516 enable_normaliz
1517 enable_npmshtml
1518 enable_npptools
1519 enable_ntdll
1520 enable_ntdsapi
1521 enable_ntoskrnl_exe
1522 enable_ntprint
1523 enable_objsel
1524 enable_odbc32
1525 enable_odbcbcp
1526 enable_odbccp32
1527 enable_odbccu32
1528 enable_ole32
1529 enable_oleacc
1530 enable_oleaut32
1531 enable_olecli32
1532 enable_oledb32
1533 enable_oledlg
1534 enable_olepro32
1535 enable_olesvr32
1536 enable_olethk32
1537 enable_opcservices
1538 enable_openal32
1539 enable_opencl
1540 enable_opengl32
1541 enable_packager
1542 enable_pdh
1543 enable_photometadatahandler
1544 enable_pidgen
1545 enable_powrprof
1546 enable_printui
1547 enable_prntvpt
1548 enable_propsys
1549 enable_psapi
1550 enable_pstorec
1551 enable_pwrshplugin
1552 enable_qasf
1553 enable_qcap
1554 enable_qdvd
1555 enable_qedit
1556 enable_qmgr
1557 enable_qmgrprxy
1558 enable_quartz
1559 enable_query
1560 enable_qwave
1561 enable_rasapi32
1562 enable_rasdlg
1563 enable_regapi
1564 enable_resutils
1565 enable_riched20
1566 enable_riched32
1567 enable_rpcrt4
1568 enable_rsabase
1569 enable_rsaenh
1570 enable_rstrtmgr
1571 enable_rtutils
1572 enable_rtworkq
1573 enable_samlib
1574 enable_sane_ds
1575 enable_sapi
1576 enable_sas
1577 enable_scarddlg
1578 enable_sccbase
1579 enable_schannel
1580 enable_schedsvc
1581 enable_scrobj
1582 enable_scrrun
1583 enable_scsiport_sys
1584 enable_sechost
1585 enable_secur32
1586 enable_security
1587 enable_sensapi
1588 enable_serialui
1589 enable_setupapi
1590 enable_sfc
1591 enable_sfc_os
1592 enable_shcore
1593 enable_shdoclc
1594 enable_shdocvw
1595 enable_shell32
1596 enable_shfolder
1597 enable_shlwapi
1598 enable_slbcsp
1599 enable_slc
1600 enable_snmpapi
1601 enable_softpub
1602 enable_spoolss
1603 enable_srclient
1604 enable_srvcli
1605 enable_sspicli
1606 enable_stdole2_tlb
1607 enable_stdole32_tlb
1608 enable_sti
1609 enable_strmbase
1610 enable_strmdll
1611 enable_strmiids
1612 enable_svrapi
1613 enable_sxs
1614 enable_t2embed
1615 enable_tapi32
1616 enable_taskschd
1617 enable_tdh
1618 enable_tdi_sys
1619 enable_traffic
1620 enable_twain_32
1621 enable_tzres
1622 enable_ucrtbase
1623 enable_uianimation
1624 enable_uiautomationcore
1625 enable_uiribbon
1626 enable_unicows
1627 enable_updspapi
1628 enable_url
1629 enable_urlmon
1630 enable_usbd_sys
1631 enable_user32
1632 enable_userenv
1633 enable_usp10
1634 enable_utildll
1635 enable_uuid
1636 enable_uxtheme
1637 enable_vbscript
1638 enable_vcomp
1639 enable_vcomp100
1640 enable_vcomp110
1641 enable_vcomp120
1642 enable_vcomp140
1643 enable_vcomp90
1644 enable_vcruntime140
1645 enable_vcruntime140_1
1646 enable_vdmdbg
1647 enable_version
1648 enable_vga
1649 enable_virtdisk
1650 enable_vssapi
1651 enable_vulkan_1
1652 enable_wbemdisp
1653 enable_wbemprox
1654 enable_wbemuuid
1655 enable_wdscore
1656 enable_webservices
1657 enable_wer
1658 enable_wevtapi
1659 enable_wevtsvc
1660 enable_wiaservc
1661 enable_wimgapi
1662 enable_windows_gaming_input
1663 enable_windows_media_speech
1664 enable_windowscodecs
1665 enable_windowscodecsext
1666 enable_winealsa_drv
1667 enable_wineandroid_drv
1668 enable_winebus_sys
1669 enable_winecoreaudio_drv
1670 enable_winecrt0
1671 enable_wined3d
1672 enable_winegstreamer
1673 enable_winehid_sys
1674 enable_winejoystick_drv
1675 enable_winemac_drv
1676 enable_winemapi
1677 enable_wineoss_drv
1678 enable_wineps_drv
1679 enable_winepulse_drv
1680 enable_wineqtdecoder
1681 enable_wineusb_sys
1682 enable_winevulkan
1683 enable_winex11_drv
1684 enable_wing32
1685 enable_winhttp
1686 enable_wininet
1687 enable_winmm
1688 enable_winnls32
1689 enable_winscard
1690 enable_winspool_drv
1691 enable_winsta
1692 enable_wintab32
1693 enable_wintrust
1694 enable_winusb
1695 enable_wlanapi
1696 enable_wlanui
1697 enable_wldap32
1698 enable_wmasf
1699 enable_wmcodecdspuuid
1700 enable_wmi
1701 enable_wmiutils
1702 enable_wmp
1703 enable_wmphoto
1704 enable_wmvcore
1705 enable_wnaspi32
1706 enable_wow64cpu
1707 enable_wpc
1708 enable_wpcap
1709 enable_ws2_32
1710 enable_wsdapi
1711 enable_wshom_ocx
1712 enable_wsnmp32
1713 enable_wsock32
1714 enable_wtsapi32
1715 enable_wuapi
1716 enable_wuaueng
1717 enable_x3daudio1_0
1718 enable_x3daudio1_1
1719 enable_x3daudio1_2
1720 enable_x3daudio1_3
1721 enable_x3daudio1_4
1722 enable_x3daudio1_5
1723 enable_x3daudio1_6
1724 enable_x3daudio1_7
1725 enable_xactengine3_0
1726 enable_xactengine3_1
1727 enable_xactengine3_2
1728 enable_xactengine3_3
1729 enable_xactengine3_4
1730 enable_xactengine3_5
1731 enable_xactengine3_6
1732 enable_xactengine3_7
1733 enable_xapofx1_1
1734 enable_xapofx1_2
1735 enable_xapofx1_3
1736 enable_xapofx1_4
1737 enable_xapofx1_5
1738 enable_xaudio2_0
1739 enable_xaudio2_1
1740 enable_xaudio2_2
1741 enable_xaudio2_3
1742 enable_xaudio2_4
1743 enable_xaudio2_5
1744 enable_xaudio2_6
1745 enable_xaudio2_7
1746 enable_xaudio2_8
1747 enable_xaudio2_9
1748 enable_xinput1_1
1749 enable_xinput1_2
1750 enable_xinput1_3
1751 enable_xinput1_4
1752 enable_xinput9_1_0
1753 enable_xmllite
1754 enable_xolehlp
1755 enable_xpsprint
1756 enable_xpssvcs
1757 enable_fonts
1758 enable_include
1759 enable_port
1760 enable_wine
1761 enable_wpp
1762 enable_loader
1763 enable_nls
1764 enable_po
1765 enable_arp
1766 enable_aspnet_regiis
1767 enable_attrib
1768 enable_cabarc
1769 enable_cacls
1770 enable_chcp_com
1771 enable_clock
1772 enable_cmd
1773 enable_conhost
1774 enable_control
1775 enable_cscript
1776 enable_dism
1777 enable_dplaysvr
1778 enable_dpnsvr
1779 enable_dpvsetup
1780 enable_dxdiag
1781 enable_eject
1782 enable_expand
1783 enable_explorer
1784 enable_extrac32
1785 enable_fc
1786 enable_find
1787 enable_findstr
1788 enable_fsutil
1789 enable_hh
1790 enable_hostname
1791 enable_icacls
1792 enable_icinfo
1793 enable_iexplore
1794 enable_ipconfig
1795 enable_lodctr
1796 enable_mofcomp
1797 enable_mshta
1798 enable_msidb
1799 enable_msiexec
1800 enable_msinfo32
1801 enable_net
1802 enable_netsh
1803 enable_netstat
1804 enable_ngen
1805 enable_notepad
1806 enable_oleview
1807 enable_ping
1808 enable_plugplay
1809 enable_powershell
1810 enable_presentationfontcache
1811 enable_progman
1812 enable_reg
1813 enable_regasm
1814 enable_regedit
1815 enable_regini
1816 enable_regsvcs
1817 enable_regsvr32
1818 enable_rpcss
1819 enable_rundll32
1820 enable_sc
1821 enable_schtasks
1822 enable_sdbinst
1823 enable_secedit
1824 enable_servicemodelreg
1825 enable_services
1826 enable_shutdown
1827 enable_spoolsv
1828 enable_start
1829 enable_subst
1830 enable_svchost
1831 enable_systeminfo
1832 enable_taskkill
1833 enable_tasklist
1834 enable_taskmgr
1835 enable_termsv
1836 enable_uninstaller
1837 enable_unlodctr
1838 enable_view
1839 enable_wevtutil
1840 enable_where
1841 enable_whoami
1842 enable_wineboot
1843 enable_winebrowser
1844 enable_winecfg
1845 enable_wineconsole
1846 enable_winedbg
1847 enable_winedevice
1848 enable_winefile
1849 enable_winemenubuilder
1850 enable_winemine
1851 enable_winemsibuilder
1852 enable_winepath
1853 enable_winetest
1854 enable_winhlp32
1855 enable_winmgmt
1856 enable_winver
1857 enable_wmic
1858 enable_wmplayer
1859 enable_wordpad
1860 enable_write
1861 enable_wscript
1862 enable_wuauserv
1863 enable_wusa
1864 enable_xcopy
1865 enable_server
1866 enable_tools
1867 enable_sfnt2fon
1868 enable_widl
1869 enable_winebuild
1870 enable_winedump
1871 enable_winegcc
1872 enable_winemaker
1873 enable_wmc
1874 enable_wrc
1876 ac_precious_vars='build_alias
1877 host_alias
1878 target_alias
1880 CFLAGS
1881 LDFLAGS
1882 LIBS
1883 CPPFLAGS
1885 CXXFLAGS
1888 OBJC
1889 OBJCFLAGS
1890 OBJCPP
1891 XMKMF
1892 XML2_CFLAGS
1893 XML2_LIBS
1894 XSLT_CFLAGS
1895 XSLT_LIBS
1896 INOTIFY_CFLAGS
1897 INOTIFY_LIBS
1898 DBUS_CFLAGS
1899 DBUS_LIBS
1900 HAL_CFLAGS
1901 HAL_LIBS
1902 GNUTLS_CFLAGS
1903 GNUTLS_LIBS
1904 SANE_CFLAGS
1905 SANE_LIBS
1906 USB_CFLAGS
1907 USB_LIBS
1908 GPHOTO2_CFLAGS
1909 GPHOTO2_LIBS
1910 GPHOTO2_PORT_CFLAGS
1911 GPHOTO2_PORT_LIBS
1912 LCMS2_CFLAGS
1913 LCMS2_LIBS
1914 FREETYPE_CFLAGS
1915 FREETYPE_LIBS
1916 PULSE_CFLAGS
1917 PULSE_LIBS
1918 GSTREAMER_CFLAGS
1919 GSTREAMER_LIBS
1920 UDEV_CFLAGS
1921 UDEV_LIBS
1922 UNWIND_CFLAGS
1923 UNWIND_LIBS
1924 SDL2_CFLAGS
1925 SDL2_LIBS
1926 FAUDIO_CFLAGS
1927 FAUDIO_LIBS
1928 CAPI20_CFLAGS
1929 CAPI20_LIBS
1930 CUPS_CFLAGS
1931 CUPS_LIBS
1932 FONTCONFIG_CFLAGS
1933 FONTCONFIG_LIBS
1934 KRB5_CFLAGS
1935 KRB5_LIBS
1936 GSSAPI_CFLAGS
1937 GSSAPI_LIBS
1938 JPEG_CFLAGS
1939 JPEG_LIBS
1940 JXRLIB_CFLAGS
1941 JXRLIB_LIBS
1942 PNG_CFLAGS
1943 PNG_LIBS
1944 TIFF_CFLAGS
1945 TIFF_LIBS
1946 MPG123_CFLAGS
1947 MPG123_LIBS
1948 NETAPI_CFLAGS
1949 NETAPI_LIBS
1950 VKD3D_CFLAGS
1951 VKD3D_LIBS
1952 VKD3D_SHADER_CFLAGS
1953 VKD3D_SHADER_LIBS
1954 LDAP_CFLAGS
1955 LDAP_LIBS'
1958 # Initialize some variables set by options.
1959 ac_init_help=
1960 ac_init_version=false
1961 ac_unrecognized_opts=
1962 ac_unrecognized_sep=
1963 # The variables have the same names as the options, with
1964 # dashes changed to underlines.
1965 cache_file=/dev/null
1966 exec_prefix=NONE
1967 no_create=
1968 no_recursion=
1969 prefix=NONE
1970 program_prefix=NONE
1971 program_suffix=NONE
1972 program_transform_name=s,x,x,
1973 silent=
1974 site=
1975 srcdir=
1976 verbose=
1977 x_includes=NONE
1978 x_libraries=NONE
1980 # Installation directory options.
1981 # These are left unexpanded so users can "make install exec_prefix=/foo"
1982 # and all the variables that are supposed to be based on exec_prefix
1983 # by default will actually change.
1984 # Use braces instead of parens because sh, perl, etc. also accept them.
1985 # (The list follows the same order as the GNU Coding Standards.)
1986 bindir='${exec_prefix}/bin'
1987 sbindir='${exec_prefix}/sbin'
1988 libexecdir='${exec_prefix}/libexec'
1989 datarootdir='${prefix}/share'
1990 datadir='${datarootdir}'
1991 sysconfdir='${prefix}/etc'
1992 sharedstatedir='${prefix}/com'
1993 localstatedir='${prefix}/var'
1994 runstatedir='${localstatedir}/run'
1995 includedir='${prefix}/include'
1996 oldincludedir='/usr/include'
1997 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1998 infodir='${datarootdir}/info'
1999 htmldir='${docdir}'
2000 dvidir='${docdir}'
2001 pdfdir='${docdir}'
2002 psdir='${docdir}'
2003 libdir='${exec_prefix}/lib'
2004 localedir='${datarootdir}/locale'
2005 mandir='${datarootdir}/man'
2007 ac_prev=
2008 ac_dashdash=
2009 for ac_option
2011 # If the previous option needs an argument, assign it.
2012 if test -n "$ac_prev"; then
2013 eval $ac_prev=\$ac_option
2014 ac_prev=
2015 continue
2018 case $ac_option in
2019 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2020 *=) ac_optarg= ;;
2021 *) ac_optarg=yes ;;
2022 esac
2024 # Accept the important Cygnus configure options, so we can diagnose typos.
2026 case $ac_dashdash$ac_option in
2028 ac_dashdash=yes ;;
2030 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2031 ac_prev=bindir ;;
2032 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2033 bindir=$ac_optarg ;;
2035 -build | --build | --buil | --bui | --bu)
2036 ac_prev=build_alias ;;
2037 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2038 build_alias=$ac_optarg ;;
2040 -cache-file | --cache-file | --cache-fil | --cache-fi \
2041 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2042 ac_prev=cache_file ;;
2043 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2044 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2045 cache_file=$ac_optarg ;;
2047 --config-cache | -C)
2048 cache_file=config.cache ;;
2050 -datadir | --datadir | --datadi | --datad)
2051 ac_prev=datadir ;;
2052 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2053 datadir=$ac_optarg ;;
2055 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2056 | --dataroo | --dataro | --datar)
2057 ac_prev=datarootdir ;;
2058 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2059 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2060 datarootdir=$ac_optarg ;;
2062 -disable-* | --disable-*)
2063 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2064 # Reject names that are not valid shell variable names.
2065 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2066 as_fn_error $? "invalid feature name: $ac_useropt"
2067 ac_useropt_orig=$ac_useropt
2068 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2069 case $ac_user_opts in
2071 "enable_$ac_useropt"
2072 "*) ;;
2073 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2074 ac_unrecognized_sep=', ';;
2075 esac
2076 eval enable_$ac_useropt=no ;;
2078 -docdir | --docdir | --docdi | --doc | --do)
2079 ac_prev=docdir ;;
2080 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2081 docdir=$ac_optarg ;;
2083 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2084 ac_prev=dvidir ;;
2085 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2086 dvidir=$ac_optarg ;;
2088 -enable-* | --enable-*)
2089 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2090 # Reject names that are not valid shell variable names.
2091 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2092 as_fn_error $? "invalid feature name: $ac_useropt"
2093 ac_useropt_orig=$ac_useropt
2094 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2095 case $ac_user_opts in
2097 "enable_$ac_useropt"
2098 "*) ;;
2099 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2100 ac_unrecognized_sep=', ';;
2101 esac
2102 eval enable_$ac_useropt=\$ac_optarg ;;
2104 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2105 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2106 | --exec | --exe | --ex)
2107 ac_prev=exec_prefix ;;
2108 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2109 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2110 | --exec=* | --exe=* | --ex=*)
2111 exec_prefix=$ac_optarg ;;
2113 -gas | --gas | --ga | --g)
2114 # Obsolete; use --with-gas.
2115 with_gas=yes ;;
2117 -help | --help | --hel | --he | -h)
2118 ac_init_help=long ;;
2119 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2120 ac_init_help=recursive ;;
2121 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2122 ac_init_help=short ;;
2124 -host | --host | --hos | --ho)
2125 ac_prev=host_alias ;;
2126 -host=* | --host=* | --hos=* | --ho=*)
2127 host_alias=$ac_optarg ;;
2129 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2130 ac_prev=htmldir ;;
2131 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2132 | --ht=*)
2133 htmldir=$ac_optarg ;;
2135 -includedir | --includedir | --includedi | --included | --include \
2136 | --includ | --inclu | --incl | --inc)
2137 ac_prev=includedir ;;
2138 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2139 | --includ=* | --inclu=* | --incl=* | --inc=*)
2140 includedir=$ac_optarg ;;
2142 -infodir | --infodir | --infodi | --infod | --info | --inf)
2143 ac_prev=infodir ;;
2144 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2145 infodir=$ac_optarg ;;
2147 -libdir | --libdir | --libdi | --libd)
2148 ac_prev=libdir ;;
2149 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2150 libdir=$ac_optarg ;;
2152 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2153 | --libexe | --libex | --libe)
2154 ac_prev=libexecdir ;;
2155 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2156 | --libexe=* | --libex=* | --libe=*)
2157 libexecdir=$ac_optarg ;;
2159 -localedir | --localedir | --localedi | --localed | --locale)
2160 ac_prev=localedir ;;
2161 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2162 localedir=$ac_optarg ;;
2164 -localstatedir | --localstatedir | --localstatedi | --localstated \
2165 | --localstate | --localstat | --localsta | --localst | --locals)
2166 ac_prev=localstatedir ;;
2167 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2168 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2169 localstatedir=$ac_optarg ;;
2171 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2172 ac_prev=mandir ;;
2173 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2174 mandir=$ac_optarg ;;
2176 -nfp | --nfp | --nf)
2177 # Obsolete; use --without-fp.
2178 with_fp=no ;;
2180 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2181 | --no-cr | --no-c | -n)
2182 no_create=yes ;;
2184 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2185 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2186 no_recursion=yes ;;
2188 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2189 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2190 | --oldin | --oldi | --old | --ol | --o)
2191 ac_prev=oldincludedir ;;
2192 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2193 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2194 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2195 oldincludedir=$ac_optarg ;;
2197 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2198 ac_prev=prefix ;;
2199 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2200 prefix=$ac_optarg ;;
2202 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2203 | --program-pre | --program-pr | --program-p)
2204 ac_prev=program_prefix ;;
2205 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2206 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2207 program_prefix=$ac_optarg ;;
2209 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2210 | --program-suf | --program-su | --program-s)
2211 ac_prev=program_suffix ;;
2212 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2213 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2214 program_suffix=$ac_optarg ;;
2216 -program-transform-name | --program-transform-name \
2217 | --program-transform-nam | --program-transform-na \
2218 | --program-transform-n | --program-transform- \
2219 | --program-transform | --program-transfor \
2220 | --program-transfo | --program-transf \
2221 | --program-trans | --program-tran \
2222 | --progr-tra | --program-tr | --program-t)
2223 ac_prev=program_transform_name ;;
2224 -program-transform-name=* | --program-transform-name=* \
2225 | --program-transform-nam=* | --program-transform-na=* \
2226 | --program-transform-n=* | --program-transform-=* \
2227 | --program-transform=* | --program-transfor=* \
2228 | --program-transfo=* | --program-transf=* \
2229 | --program-trans=* | --program-tran=* \
2230 | --progr-tra=* | --program-tr=* | --program-t=*)
2231 program_transform_name=$ac_optarg ;;
2233 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2234 ac_prev=pdfdir ;;
2235 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2236 pdfdir=$ac_optarg ;;
2238 -psdir | --psdir | --psdi | --psd | --ps)
2239 ac_prev=psdir ;;
2240 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2241 psdir=$ac_optarg ;;
2243 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2244 | -silent | --silent | --silen | --sile | --sil)
2245 silent=yes ;;
2247 -runstatedir | --runstatedir | --runstatedi | --runstated \
2248 | --runstate | --runstat | --runsta | --runst | --runs \
2249 | --run | --ru | --r)
2250 ac_prev=runstatedir ;;
2251 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2252 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2253 | --run=* | --ru=* | --r=*)
2254 runstatedir=$ac_optarg ;;
2256 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2257 ac_prev=sbindir ;;
2258 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2259 | --sbi=* | --sb=*)
2260 sbindir=$ac_optarg ;;
2262 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2263 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2264 | --sharedst | --shareds | --shared | --share | --shar \
2265 | --sha | --sh)
2266 ac_prev=sharedstatedir ;;
2267 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2268 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2269 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2270 | --sha=* | --sh=*)
2271 sharedstatedir=$ac_optarg ;;
2273 -site | --site | --sit)
2274 ac_prev=site ;;
2275 -site=* | --site=* | --sit=*)
2276 site=$ac_optarg ;;
2278 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2279 ac_prev=srcdir ;;
2280 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2281 srcdir=$ac_optarg ;;
2283 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2284 | --syscon | --sysco | --sysc | --sys | --sy)
2285 ac_prev=sysconfdir ;;
2286 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2287 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2288 sysconfdir=$ac_optarg ;;
2290 -target | --target | --targe | --targ | --tar | --ta | --t)
2291 ac_prev=target_alias ;;
2292 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2293 target_alias=$ac_optarg ;;
2295 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2296 verbose=yes ;;
2298 -version | --version | --versio | --versi | --vers | -V)
2299 ac_init_version=: ;;
2301 -with-* | --with-*)
2302 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2303 # Reject names that are not valid shell variable names.
2304 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2305 as_fn_error $? "invalid package name: $ac_useropt"
2306 ac_useropt_orig=$ac_useropt
2307 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2308 case $ac_user_opts in
2310 "with_$ac_useropt"
2311 "*) ;;
2312 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2313 ac_unrecognized_sep=', ';;
2314 esac
2315 eval with_$ac_useropt=\$ac_optarg ;;
2317 -without-* | --without-*)
2318 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
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--without-$ac_useropt_orig"
2329 ac_unrecognized_sep=', ';;
2330 esac
2331 eval with_$ac_useropt=no ;;
2333 --x)
2334 # Obsolete; use --with-x.
2335 with_x=yes ;;
2337 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2338 | --x-incl | --x-inc | --x-in | --x-i)
2339 ac_prev=x_includes ;;
2340 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2341 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2342 x_includes=$ac_optarg ;;
2344 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2345 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2346 ac_prev=x_libraries ;;
2347 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2348 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2349 x_libraries=$ac_optarg ;;
2351 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2352 Try \`$0 --help' for more information"
2355 *=*)
2356 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2357 # Reject names that are not valid shell variable names.
2358 case $ac_envvar in #(
2359 '' | [0-9]* | *[!_$as_cr_alnum]* )
2360 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2361 esac
2362 eval $ac_envvar=\$ac_optarg
2363 export $ac_envvar ;;
2366 # FIXME: should be removed in autoconf 3.0.
2367 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2368 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2369 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2370 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2373 esac
2374 done
2376 if test -n "$ac_prev"; then
2377 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2378 as_fn_error $? "missing argument to $ac_option"
2381 if test -n "$ac_unrecognized_opts"; then
2382 case $enable_option_checking in
2383 no) ;;
2384 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2385 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2386 esac
2389 # Check all directory arguments for consistency.
2390 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2391 datadir sysconfdir sharedstatedir localstatedir includedir \
2392 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2393 libdir localedir mandir runstatedir
2395 eval ac_val=\$$ac_var
2396 # Remove trailing slashes.
2397 case $ac_val in
2398 */ )
2399 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2400 eval $ac_var=\$ac_val;;
2401 esac
2402 # Be sure to have absolute directory names.
2403 case $ac_val in
2404 [\\/$]* | ?:[\\/]* ) continue;;
2405 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2406 esac
2407 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2408 done
2410 # There might be people who depend on the old broken behavior: `$host'
2411 # used to hold the argument of --host etc.
2412 # FIXME: To remove some day.
2413 build=$build_alias
2414 host=$host_alias
2415 target=$target_alias
2417 # FIXME: To remove some day.
2418 if test "x$host_alias" != x; then
2419 if test "x$build_alias" = x; then
2420 cross_compiling=maybe
2421 elif test "x$build_alias" != "x$host_alias"; then
2422 cross_compiling=yes
2426 ac_tool_prefix=
2427 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2429 test "$silent" = yes && exec 6>/dev/null
2432 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2433 ac_ls_di=`ls -di .` &&
2434 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2435 as_fn_error $? "working directory cannot be determined"
2436 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2437 as_fn_error $? "pwd does not report name of working directory"
2440 # Find the source files, if location was not specified.
2441 if test -z "$srcdir"; then
2442 ac_srcdir_defaulted=yes
2443 # Try the directory containing this script, then the parent directory.
2444 ac_confdir=`$as_dirname -- "$as_myself" ||
2445 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2446 X"$as_myself" : 'X\(//\)[^/]' \| \
2447 X"$as_myself" : 'X\(//\)$' \| \
2448 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2449 $as_echo X"$as_myself" |
2450 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2451 s//\1/
2454 /^X\(\/\/\)[^/].*/{
2455 s//\1/
2458 /^X\(\/\/\)$/{
2459 s//\1/
2462 /^X\(\/\).*/{
2463 s//\1/
2466 s/.*/./; q'`
2467 srcdir=$ac_confdir
2468 if test ! -r "$srcdir/$ac_unique_file"; then
2469 srcdir=..
2471 else
2472 ac_srcdir_defaulted=no
2474 if test ! -r "$srcdir/$ac_unique_file"; then
2475 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2476 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2478 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2479 ac_abs_confdir=`(
2480 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2481 pwd)`
2482 # When building in place, set srcdir=.
2483 if test "$ac_abs_confdir" = "$ac_pwd"; then
2484 srcdir=.
2486 # Remove unnecessary trailing slashes from srcdir.
2487 # Double slashes in file names in object file debugging info
2488 # mess up M-x gdb in Emacs.
2489 case $srcdir in
2490 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2491 esac
2492 for ac_var in $ac_precious_vars; do
2493 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2494 eval ac_env_${ac_var}_value=\$${ac_var}
2495 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2496 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2497 done
2500 # Report the --help message.
2502 if test "$ac_init_help" = "long"; then
2503 # Omit some internal or obsolete options to make the list less imposing.
2504 # This message is too long to be a string in the A/UX 3.1 sh.
2505 cat <<_ACEOF
2506 \`configure' configures Wine 6.4 to adapt to many kinds of systems.
2508 Usage: $0 [OPTION]... [VAR=VALUE]...
2510 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2511 VAR=VALUE. See below for descriptions of some of the useful variables.
2513 Defaults for the options are specified in brackets.
2515 Configuration:
2516 -h, --help display this help and exit
2517 --help=short display options specific to this package
2518 --help=recursive display the short help of all the included packages
2519 -V, --version display version information and exit
2520 -q, --quiet, --silent do not print \`checking ...' messages
2521 --cache-file=FILE cache test results in FILE [disabled]
2522 -C, --config-cache alias for \`--cache-file=config.cache'
2523 -n, --no-create do not create output files
2524 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2526 Installation directories:
2527 --prefix=PREFIX install architecture-independent files in PREFIX
2528 [$ac_default_prefix]
2529 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2530 [PREFIX]
2532 By default, \`make install' will install all the files in
2533 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2534 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2535 for instance \`--prefix=\$HOME'.
2537 For better control, use the options below.
2539 Fine tuning of the installation directories:
2540 --bindir=DIR user executables [EPREFIX/bin]
2541 --sbindir=DIR system admin executables [EPREFIX/sbin]
2542 --libexecdir=DIR program executables [EPREFIX/libexec]
2543 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2544 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2545 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2546 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2547 --libdir=DIR object code libraries [EPREFIX/lib]
2548 --includedir=DIR C header files [PREFIX/include]
2549 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2550 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2551 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2552 --infodir=DIR info documentation [DATAROOTDIR/info]
2553 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2554 --mandir=DIR man documentation [DATAROOTDIR/man]
2555 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2556 --htmldir=DIR html documentation [DOCDIR]
2557 --dvidir=DIR dvi documentation [DOCDIR]
2558 --pdfdir=DIR pdf documentation [DOCDIR]
2559 --psdir=DIR ps documentation [DOCDIR]
2560 _ACEOF
2562 cat <<\_ACEOF
2564 X features:
2565 --x-includes=DIR X include files are in DIR
2566 --x-libraries=DIR X library files are in DIR
2568 System types:
2569 --build=BUILD configure for building on BUILD [guessed]
2570 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2571 _ACEOF
2574 if test -n "$ac_init_help"; then
2575 case $ac_init_help in
2576 short | recursive ) echo "Configuration of Wine 6.4:";;
2577 esac
2578 cat <<\_ACEOF
2580 Optional Features:
2581 --disable-option-checking ignore unrecognized --enable/--with options
2582 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2583 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2584 --disable-win16 do not include Win16 support
2585 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2586 binaries)
2587 --disable-tests do not build the regression tests
2588 --enable-build-id include .buildid section in output objects
2589 --enable-maintainer-mode
2590 enable maintainer-specific build rules
2591 --enable-silent-rules use silent build rules (override: "make V=1")
2592 --enable-werror treat compilation warnings as errors
2593 --disable-largefile omit support for large files
2595 Optional Packages:
2596 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2597 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2598 --without-alsa do not use the Alsa sound support
2599 --without-capi do not use CAPI (ISDN support)
2600 --without-cms do not use CMS (color management support)
2601 --without-coreaudio do not use the CoreAudio sound support
2602 --without-cups do not use CUPS
2603 --without-dbus do not use DBus (dynamic device support)
2604 --without-faudio do not use FAudio (XAudio2 support)
2605 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2606 --without-fontconfig do not use fontconfig
2607 --without-freetype do not use the FreeType library
2608 --without-gettext do not use gettext
2609 --with-gettextpo use the GetTextPO library to rebuild po files
2610 --without-gphoto do not use gphoto (Digital Camera support)
2611 --without-gnutls do not use GnuTLS (schannel support)
2612 --without-gsm do not use libgsm (GSM 06.10 codec support)
2613 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2614 --without-gstreamer do not use GStreamer (codecs support)
2615 --without-hal do not use HAL (dynamic device support)
2616 --without-inotify do not use inotify (filesystem change notifications)
2617 --without-jpeg do not use JPEG
2618 --without-jxrlib do not use JPEG-XR
2619 --without-krb5 do not use krb5 (Kerberos)
2620 --without-ldap do not use LDAP
2621 --without-mingw do not use the MinGW cross-compiler
2622 --without-mpg123 do not use the mpg123 library
2623 --without-netapi do not use the Samba NetAPI library
2624 --without-openal do not use OpenAL
2625 --without-opencl do not use OpenCL
2626 --without-opengl do not use OpenGL
2627 --without-osmesa do not use the OSMesa library
2628 --without-oss do not use the OSS sound support
2629 --without-pcap do not use the Packet Capture library
2630 --without-png do not use PNG
2631 --without-pthread do not use the pthread library
2632 --without-pulse do not use PulseAudio sound support
2633 --without-quicktime do not use QuickTime support
2634 --without-sane do not use SANE (scanner support)
2635 --without-sdl do not use SDL
2636 --without-tiff do not use TIFF
2637 --without-udev do not use udev (plug and play support)
2638 --without-unwind do not use the libunwind library (exception
2639 handling)
2640 --without-usb do not use the libusb library
2641 --without-v4l2 do not use v4l2 (video capture)
2642 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2643 --without-vulkan do not use Vulkan
2644 --without-xcomposite do not use the Xcomposite extension
2645 --without-xcursor do not use the Xcursor extension
2646 --without-xfixes do not use Xfixes for clipboard change notifications
2647 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2648 --without-xinput do not use the Xinput extension
2649 --without-xinput2 do not use the Xinput 2 extension
2650 --without-xml do not use XML
2651 --without-xrandr do not use Xrandr (multi-monitor support)
2652 --without-xrender do not use the Xrender extension
2653 --without-xshape do not use the Xshape extension
2654 --without-xshm do not use XShm (shared memory extension)
2655 --without-xslt do not use XSLT
2656 --without-xxf86vm do not use XFree video mode extension
2657 --with-wine-tools=DIR use Wine tools from directory DIR
2658 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2659 --with-x use the X Window System
2661 Some influential environment variables:
2662 CC C compiler command
2663 CFLAGS C compiler flags
2664 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2665 nonstandard directory <lib dir>
2666 LIBS libraries to pass to the linker, e.g. -l<library>
2667 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2668 you have headers in a nonstandard directory <include dir>
2669 CXX C++ compiler command
2670 CXXFLAGS C++ compiler flags
2671 CPP C preprocessor
2672 OBJC Objective C compiler command
2673 OBJCFLAGS Objective C compiler flags
2674 OBJCPP Objective C preprocessor
2675 XMKMF Path to xmkmf, Makefile generator for X Window System
2676 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2677 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2678 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2679 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2680 INOTIFY_CFLAGS
2681 C compiler flags for libinotify, overriding pkg-config
2682 INOTIFY_LIBS
2683 Linker flags for libinotify, overriding pkg-config
2684 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2685 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2686 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2687 HAL_LIBS Linker flags for hal, overriding pkg-config
2688 GNUTLS_CFLAGS
2689 C compiler flags for gnutls, overriding pkg-config
2690 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2691 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2692 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2693 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2694 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2695 GPHOTO2_CFLAGS
2696 C compiler flags for libgphoto2, overriding pkg-config
2697 GPHOTO2_LIBS
2698 Linker flags for libgphoto2, overriding pkg-config
2699 GPHOTO2_PORT_CFLAGS
2700 C compiler flags for libgphoto2_port, overriding pkg-config
2701 GPHOTO2_PORT_LIBS
2702 Linker flags for libgphoto2_port, overriding pkg-config
2703 LCMS2_CFLAGS
2704 C compiler flags for lcms2, overriding pkg-config
2705 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2706 FREETYPE_CFLAGS
2707 C compiler flags for freetype2, overriding pkg-config
2708 FREETYPE_LIBS
2709 Linker flags for freetype2, overriding pkg-config
2710 PULSE_CFLAGS
2711 C compiler flags for libpulse, overriding pkg-config
2712 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2713 GSTREAMER_CFLAGS
2714 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2715 gstreamer-audio-1.0, overriding pkg-config
2716 GSTREAMER_LIBS
2717 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2718 gstreamer-audio-1.0, overriding pkg-config
2719 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2720 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2721 UNWIND_CFLAGS
2722 C compiler flags for libunwind, overriding pkg-config
2723 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2724 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2725 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2726 FAUDIO_CFLAGS
2727 C compiler flags for faudio, overriding pkg-config
2728 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2729 CAPI20_CFLAGS
2730 C compiler flags for capi20, overriding pkg-config
2731 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2732 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2733 CUPS_LIBS Linker flags for cups, overriding pkg-config
2734 FONTCONFIG_CFLAGS
2735 C compiler flags for fontconfig, overriding pkg-config
2736 FONTCONFIG_LIBS
2737 Linker flags for fontconfig, overriding pkg-config
2738 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2739 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2740 GSSAPI_CFLAGS
2741 C compiler flags for krb5-gssapi, overriding pkg-config
2742 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2743 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2744 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2745 JXRLIB_CFLAGS
2746 C compiler flags for jxrlib, overriding pkg-config
2747 JXRLIB_LIBS Linker flags for jxrlib, overriding pkg-config
2748 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2749 PNG_LIBS Linker flags for libpng, overriding pkg-config
2750 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2751 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2752 MPG123_CFLAGS
2753 C compiler flags for libmpg123, overriding pkg-config
2754 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2755 NETAPI_CFLAGS
2756 C compiler flags for netapi, overriding pkg-config
2757 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2758 VKD3D_CFLAGS
2759 C compiler flags for libvkd3d, overriding pkg-config
2760 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2761 VKD3D_SHADER_CFLAGS
2762 C compiler flags for libvkd3d-shader, overriding pkg-config
2763 VKD3D_SHADER_LIBS
2764 Linker flags for libvkd3d-shader, overriding pkg-config
2765 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2766 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2768 Use these variables to override the choices made by `configure' or to help
2769 it to find libraries and programs with nonstandard names/locations.
2771 Report bugs to <wine-devel@winehq.org>.
2772 Wine home page: <https://www.winehq.org>.
2773 _ACEOF
2774 ac_status=$?
2777 if test "$ac_init_help" = "recursive"; then
2778 # If there are subdirs, report their specific --help.
2779 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2780 test -d "$ac_dir" ||
2781 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2782 continue
2783 ac_builddir=.
2785 case "$ac_dir" in
2786 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2788 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2789 # A ".." for each directory in $ac_dir_suffix.
2790 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2791 case $ac_top_builddir_sub in
2792 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2793 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2794 esac ;;
2795 esac
2796 ac_abs_top_builddir=$ac_pwd
2797 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2798 # for backward compatibility:
2799 ac_top_builddir=$ac_top_build_prefix
2801 case $srcdir in
2802 .) # We are building in place.
2803 ac_srcdir=.
2804 ac_top_srcdir=$ac_top_builddir_sub
2805 ac_abs_top_srcdir=$ac_pwd ;;
2806 [\\/]* | ?:[\\/]* ) # Absolute name.
2807 ac_srcdir=$srcdir$ac_dir_suffix;
2808 ac_top_srcdir=$srcdir
2809 ac_abs_top_srcdir=$srcdir ;;
2810 *) # Relative name.
2811 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2812 ac_top_srcdir=$ac_top_build_prefix$srcdir
2813 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2814 esac
2815 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2817 cd "$ac_dir" || { ac_status=$?; continue; }
2818 # Check for guested configure.
2819 if test -f "$ac_srcdir/configure.gnu"; then
2820 echo &&
2821 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2822 elif test -f "$ac_srcdir/configure"; then
2823 echo &&
2824 $SHELL "$ac_srcdir/configure" --help=recursive
2825 else
2826 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2827 fi || ac_status=$?
2828 cd "$ac_pwd" || { ac_status=$?; break; }
2829 done
2832 test -n "$ac_init_help" && exit $ac_status
2833 if $ac_init_version; then
2834 cat <<\_ACEOF
2835 Wine configure 6.4
2836 generated by GNU Autoconf 2.69
2838 Copyright (C) 2012 Free Software Foundation, Inc.
2839 This configure script is free software; the Free Software Foundation
2840 gives unlimited permission to copy, distribute and modify it.
2841 _ACEOF
2842 exit
2845 ## ------------------------ ##
2846 ## Autoconf initialization. ##
2847 ## ------------------------ ##
2849 # ac_fn_c_try_compile LINENO
2850 # --------------------------
2851 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2852 ac_fn_c_try_compile ()
2854 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2855 rm -f conftest.$ac_objext
2856 if { { ac_try="$ac_compile"
2857 case "(($ac_try" in
2858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2859 *) ac_try_echo=$ac_try;;
2860 esac
2861 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2862 $as_echo "$ac_try_echo"; } >&5
2863 (eval "$ac_compile") 2>conftest.err
2864 ac_status=$?
2865 if test -s conftest.err; then
2866 grep -v '^ *+' conftest.err >conftest.er1
2867 cat conftest.er1 >&5
2868 mv -f conftest.er1 conftest.err
2870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2871 test $ac_status = 0; } && {
2872 test -z "$ac_c_werror_flag" ||
2873 test ! -s conftest.err
2874 } && test -s conftest.$ac_objext; then :
2875 ac_retval=0
2876 else
2877 $as_echo "$as_me: failed program was:" >&5
2878 sed 's/^/| /' conftest.$ac_ext >&5
2880 ac_retval=1
2882 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2883 as_fn_set_status $ac_retval
2885 } # ac_fn_c_try_compile
2887 # ac_fn_cxx_try_compile LINENO
2888 # ----------------------------
2889 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2890 ac_fn_cxx_try_compile ()
2892 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2893 rm -f conftest.$ac_objext
2894 if { { ac_try="$ac_compile"
2895 case "(($ac_try" in
2896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2897 *) ac_try_echo=$ac_try;;
2898 esac
2899 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2900 $as_echo "$ac_try_echo"; } >&5
2901 (eval "$ac_compile") 2>conftest.err
2902 ac_status=$?
2903 if test -s conftest.err; then
2904 grep -v '^ *+' conftest.err >conftest.er1
2905 cat conftest.er1 >&5
2906 mv -f conftest.er1 conftest.err
2908 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2909 test $ac_status = 0; } && {
2910 test -z "$ac_cxx_werror_flag" ||
2911 test ! -s conftest.err
2912 } && test -s conftest.$ac_objext; then :
2913 ac_retval=0
2914 else
2915 $as_echo "$as_me: failed program was:" >&5
2916 sed 's/^/| /' conftest.$ac_ext >&5
2918 ac_retval=1
2920 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2921 as_fn_set_status $ac_retval
2923 } # ac_fn_cxx_try_compile
2925 # ac_fn_c_try_link LINENO
2926 # -----------------------
2927 # Try to link conftest.$ac_ext, and return whether this succeeded.
2928 ac_fn_c_try_link ()
2930 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2931 rm -f conftest.$ac_objext conftest$ac_exeext
2932 if { { ac_try="$ac_link"
2933 case "(($ac_try" in
2934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2935 *) ac_try_echo=$ac_try;;
2936 esac
2937 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2938 $as_echo "$ac_try_echo"; } >&5
2939 (eval "$ac_link") 2>conftest.err
2940 ac_status=$?
2941 if test -s conftest.err; then
2942 grep -v '^ *+' conftest.err >conftest.er1
2943 cat conftest.er1 >&5
2944 mv -f conftest.er1 conftest.err
2946 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2947 test $ac_status = 0; } && {
2948 test -z "$ac_c_werror_flag" ||
2949 test ! -s conftest.err
2950 } && test -s conftest$ac_exeext && {
2951 test "$cross_compiling" = yes ||
2952 test -x conftest$ac_exeext
2953 }; then :
2954 ac_retval=0
2955 else
2956 $as_echo "$as_me: failed program was:" >&5
2957 sed 's/^/| /' conftest.$ac_ext >&5
2959 ac_retval=1
2961 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2962 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2963 # interfere with the next link command; also delete a directory that is
2964 # left behind by Apple's compiler. We do this before executing the actions.
2965 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2966 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2967 as_fn_set_status $ac_retval
2969 } # ac_fn_c_try_link
2971 # ac_fn_c_try_cpp LINENO
2972 # ----------------------
2973 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2974 ac_fn_c_try_cpp ()
2976 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2977 if { { ac_try="$ac_cpp conftest.$ac_ext"
2978 case "(($ac_try" in
2979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2980 *) ac_try_echo=$ac_try;;
2981 esac
2982 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2983 $as_echo "$ac_try_echo"; } >&5
2984 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2985 ac_status=$?
2986 if test -s conftest.err; then
2987 grep -v '^ *+' conftest.err >conftest.er1
2988 cat conftest.er1 >&5
2989 mv -f conftest.er1 conftest.err
2991 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2992 test $ac_status = 0; } > conftest.i && {
2993 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2994 test ! -s conftest.err
2995 }; then :
2996 ac_retval=0
2997 else
2998 $as_echo "$as_me: failed program was:" >&5
2999 sed 's/^/| /' conftest.$ac_ext >&5
3001 ac_retval=1
3003 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3004 as_fn_set_status $ac_retval
3006 } # ac_fn_c_try_cpp
3008 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
3009 # -------------------------------------------------------
3010 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3011 # the include files in INCLUDES and setting the cache variable VAR
3012 # accordingly.
3013 ac_fn_c_check_header_mongrel ()
3015 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3016 if eval \${$3+:} false; then :
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3018 $as_echo_n "checking for $2... " >&6; }
3019 if eval \${$3+:} false; then :
3020 $as_echo_n "(cached) " >&6
3022 eval ac_res=\$$3
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3024 $as_echo "$ac_res" >&6; }
3025 else
3026 # Is the header compilable?
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3028 $as_echo_n "checking $2 usability... " >&6; }
3029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3030 /* end confdefs.h. */
3032 #include <$2>
3033 _ACEOF
3034 if ac_fn_c_try_compile "$LINENO"; then :
3035 ac_header_compiler=yes
3036 else
3037 ac_header_compiler=no
3039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3041 $as_echo "$ac_header_compiler" >&6; }
3043 # Is the header present?
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3045 $as_echo_n "checking $2 presence... " >&6; }
3046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3047 /* end confdefs.h. */
3048 #include <$2>
3049 _ACEOF
3050 if ac_fn_c_try_cpp "$LINENO"; then :
3051 ac_header_preproc=yes
3052 else
3053 ac_header_preproc=no
3055 rm -f conftest.err conftest.i conftest.$ac_ext
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3057 $as_echo "$ac_header_preproc" >&6; }
3059 # So? What about this header?
3060 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3061 yes:no: )
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3063 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3065 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3067 no:yes:* )
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3069 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3071 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3073 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3075 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3077 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3078 ( $as_echo "## ------------------------------------ ##
3079 ## Report this to wine-devel@winehq.org ##
3080 ## ------------------------------------ ##"
3081 ) | sed "s/^/$as_me: WARNING: /" >&2
3083 esac
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3085 $as_echo_n "checking for $2... " >&6; }
3086 if eval \${$3+:} false; then :
3087 $as_echo_n "(cached) " >&6
3088 else
3089 eval "$3=\$ac_header_compiler"
3091 eval ac_res=\$$3
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3093 $as_echo "$ac_res" >&6; }
3095 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3097 } # ac_fn_c_check_header_mongrel
3099 # ac_fn_c_try_run LINENO
3100 # ----------------------
3101 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3102 # that executables *can* be run.
3103 ac_fn_c_try_run ()
3105 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3106 if { { ac_try="$ac_link"
3107 case "(($ac_try" in
3108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3109 *) ac_try_echo=$ac_try;;
3110 esac
3111 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3112 $as_echo "$ac_try_echo"; } >&5
3113 (eval "$ac_link") 2>&5
3114 ac_status=$?
3115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3116 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3117 { { case "(($ac_try" in
3118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3119 *) ac_try_echo=$ac_try;;
3120 esac
3121 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3122 $as_echo "$ac_try_echo"; } >&5
3123 (eval "$ac_try") 2>&5
3124 ac_status=$?
3125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3126 test $ac_status = 0; }; }; then :
3127 ac_retval=0
3128 else
3129 $as_echo "$as_me: program exited with status $ac_status" >&5
3130 $as_echo "$as_me: failed program was:" >&5
3131 sed 's/^/| /' conftest.$ac_ext >&5
3133 ac_retval=$ac_status
3135 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3136 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3137 as_fn_set_status $ac_retval
3139 } # ac_fn_c_try_run
3141 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3142 # -------------------------------------------------------
3143 # Tests whether HEADER exists and can be compiled using the include files in
3144 # INCLUDES, setting the cache variable VAR accordingly.
3145 ac_fn_c_check_header_compile ()
3147 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3149 $as_echo_n "checking for $2... " >&6; }
3150 if eval \${$3+:} false; then :
3151 $as_echo_n "(cached) " >&6
3152 else
3153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3154 /* end confdefs.h. */
3156 #include <$2>
3157 _ACEOF
3158 if ac_fn_c_try_compile "$LINENO"; then :
3159 eval "$3=yes"
3160 else
3161 eval "$3=no"
3163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3165 eval ac_res=\$$3
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3167 $as_echo "$ac_res" >&6; }
3168 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3170 } # ac_fn_c_check_header_compile
3172 # ac_fn_objc_try_compile LINENO
3173 # -----------------------------
3174 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3175 ac_fn_objc_try_compile ()
3177 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3178 rm -f conftest.$ac_objext
3179 if { { ac_try="$ac_compile"
3180 case "(($ac_try" in
3181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3182 *) ac_try_echo=$ac_try;;
3183 esac
3184 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3185 $as_echo "$ac_try_echo"; } >&5
3186 (eval "$ac_compile") 2>conftest.err
3187 ac_status=$?
3188 if test -s conftest.err; then
3189 grep -v '^ *+' conftest.err >conftest.er1
3190 cat conftest.er1 >&5
3191 mv -f conftest.er1 conftest.err
3193 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3194 test $ac_status = 0; } && {
3195 test -z "$ac_objc_werror_flag" ||
3196 test ! -s conftest.err
3197 } && test -s conftest.$ac_objext; then :
3198 ac_retval=0
3199 else
3200 $as_echo "$as_me: failed program was:" >&5
3201 sed 's/^/| /' conftest.$ac_ext >&5
3203 ac_retval=1
3205 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3206 as_fn_set_status $ac_retval
3208 } # ac_fn_objc_try_compile
3210 # ac_fn_objc_try_cpp LINENO
3211 # -------------------------
3212 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3213 ac_fn_objc_try_cpp ()
3215 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3216 if { { ac_try="$ac_cpp conftest.$ac_ext"
3217 case "(($ac_try" in
3218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3219 *) ac_try_echo=$ac_try;;
3220 esac
3221 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3222 $as_echo "$ac_try_echo"; } >&5
3223 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3224 ac_status=$?
3225 if test -s conftest.err; then
3226 grep -v '^ *+' conftest.err >conftest.er1
3227 cat conftest.er1 >&5
3228 mv -f conftest.er1 conftest.err
3230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3231 test $ac_status = 0; } > conftest.i && {
3232 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3233 test ! -s conftest.err
3234 }; then :
3235 ac_retval=0
3236 else
3237 $as_echo "$as_me: failed program was:" >&5
3238 sed 's/^/| /' conftest.$ac_ext >&5
3240 ac_retval=1
3242 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3243 as_fn_set_status $ac_retval
3245 } # ac_fn_objc_try_cpp
3247 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3248 # ----------------------------------------------------------
3249 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3250 # the include files in INCLUDES and setting the cache variable VAR
3251 # accordingly.
3252 ac_fn_objc_check_header_mongrel ()
3254 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3255 if eval \${$3+:} false; then :
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3257 $as_echo_n "checking for $2... " >&6; }
3258 if eval \${$3+:} false; then :
3259 $as_echo_n "(cached) " >&6
3261 eval ac_res=\$$3
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3263 $as_echo "$ac_res" >&6; }
3264 else
3265 # Is the header compilable?
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3267 $as_echo_n "checking $2 usability... " >&6; }
3268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3269 /* end confdefs.h. */
3271 #include <$2>
3272 _ACEOF
3273 if ac_fn_objc_try_compile "$LINENO"; then :
3274 ac_header_compiler=yes
3275 else
3276 ac_header_compiler=no
3278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3280 $as_echo "$ac_header_compiler" >&6; }
3282 # Is the header present?
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3284 $as_echo_n "checking $2 presence... " >&6; }
3285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3286 /* end confdefs.h. */
3287 #include <$2>
3288 _ACEOF
3289 if ac_fn_objc_try_cpp "$LINENO"; then :
3290 ac_header_preproc=yes
3291 else
3292 ac_header_preproc=no
3294 rm -f conftest.err conftest.i conftest.$ac_ext
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3296 $as_echo "$ac_header_preproc" >&6; }
3298 # So? What about this header?
3299 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3300 yes:no: )
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3302 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3304 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3306 no:yes:* )
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3308 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3310 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3312 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3314 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3316 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3317 ( $as_echo "## ------------------------------------ ##
3318 ## Report this to wine-devel@winehq.org ##
3319 ## ------------------------------------ ##"
3320 ) | sed "s/^/$as_me: WARNING: /" >&2
3322 esac
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3324 $as_echo_n "checking for $2... " >&6; }
3325 if eval \${$3+:} false; then :
3326 $as_echo_n "(cached) " >&6
3327 else
3328 eval "$3=\$ac_header_compiler"
3330 eval ac_res=\$$3
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3332 $as_echo "$ac_res" >&6; }
3334 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3336 } # ac_fn_objc_check_header_mongrel
3338 # ac_fn_c_check_func LINENO FUNC VAR
3339 # ----------------------------------
3340 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3341 ac_fn_c_check_func ()
3343 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3345 $as_echo_n "checking for $2... " >&6; }
3346 if eval \${$3+:} false; then :
3347 $as_echo_n "(cached) " >&6
3348 else
3349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3350 /* end confdefs.h. */
3351 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3352 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3353 #define $2 innocuous_$2
3355 /* System header to define __stub macros and hopefully few prototypes,
3356 which can conflict with char $2 (); below.
3357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3358 <limits.h> exists even on freestanding compilers. */
3360 #ifdef __STDC__
3361 # include <limits.h>
3362 #else
3363 # include <assert.h>
3364 #endif
3366 #undef $2
3368 /* Override any GCC internal prototype to avoid an error.
3369 Use char because int might match the return type of a GCC
3370 builtin and then its argument prototype would still apply. */
3371 #ifdef __cplusplus
3372 extern "C"
3373 #endif
3374 char $2 ();
3375 /* The GNU C library defines this for functions which it implements
3376 to always fail with ENOSYS. Some functions are actually named
3377 something starting with __ and the normal name is an alias. */
3378 #if defined __stub_$2 || defined __stub___$2
3379 choke me
3380 #endif
3383 main ()
3385 return $2 ();
3387 return 0;
3389 _ACEOF
3390 if ac_fn_c_try_link "$LINENO"; then :
3391 eval "$3=yes"
3392 else
3393 eval "$3=no"
3395 rm -f core conftest.err conftest.$ac_objext \
3396 conftest$ac_exeext conftest.$ac_ext
3398 eval ac_res=\$$3
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3400 $as_echo "$ac_res" >&6; }
3401 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3403 } # ac_fn_c_check_func
3405 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3406 # ----------------------------------------------------
3407 # Tries to find if the field MEMBER exists in type AGGR, after including
3408 # INCLUDES, setting cache variable VAR accordingly.
3409 ac_fn_c_check_member ()
3411 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3413 $as_echo_n "checking for $2.$3... " >&6; }
3414 if eval \${$4+:} false; then :
3415 $as_echo_n "(cached) " >&6
3416 else
3417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3418 /* end confdefs.h. */
3421 main ()
3423 static $2 ac_aggr;
3424 if (ac_aggr.$3)
3425 return 0;
3427 return 0;
3429 _ACEOF
3430 if ac_fn_c_try_compile "$LINENO"; then :
3431 eval "$4=yes"
3432 else
3433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3434 /* end confdefs.h. */
3437 main ()
3439 static $2 ac_aggr;
3440 if (sizeof 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 eval "$4=no"
3451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3455 eval ac_res=\$$4
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3457 $as_echo "$ac_res" >&6; }
3458 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3460 } # ac_fn_c_check_member
3462 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3463 # -------------------------------------------
3464 # Tests whether TYPE exists after having included INCLUDES, setting cache
3465 # variable VAR accordingly.
3466 ac_fn_c_check_type ()
3468 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3470 $as_echo_n "checking for $2... " >&6; }
3471 if eval \${$3+:} false; then :
3472 $as_echo_n "(cached) " >&6
3473 else
3474 eval "$3=no"
3475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3476 /* end confdefs.h. */
3479 main ()
3481 if (sizeof ($2))
3482 return 0;
3484 return 0;
3486 _ACEOF
3487 if ac_fn_c_try_compile "$LINENO"; then :
3488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3489 /* end confdefs.h. */
3492 main ()
3494 if (sizeof (($2)))
3495 return 0;
3497 return 0;
3499 _ACEOF
3500 if ac_fn_c_try_compile "$LINENO"; then :
3502 else
3503 eval "$3=yes"
3505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3509 eval ac_res=\$$3
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3511 $as_echo "$ac_res" >&6; }
3512 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3514 } # ac_fn_c_check_type
3515 cat >config.log <<_ACEOF
3516 This file contains any messages produced by compilers while
3517 running configure, to aid debugging if configure makes a mistake.
3519 It was created by Wine $as_me 6.4, which was
3520 generated by GNU Autoconf 2.69. Invocation command line was
3522 $ $0 $@
3524 _ACEOF
3525 exec 5>>config.log
3527 cat <<_ASUNAME
3528 ## --------- ##
3529 ## Platform. ##
3530 ## --------- ##
3532 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3533 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3534 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3535 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3536 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3538 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3539 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3541 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3542 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3543 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3544 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3545 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3546 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3547 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3549 _ASUNAME
3551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3552 for as_dir in $PATH
3554 IFS=$as_save_IFS
3555 test -z "$as_dir" && as_dir=.
3556 $as_echo "PATH: $as_dir"
3557 done
3558 IFS=$as_save_IFS
3560 } >&5
3562 cat >&5 <<_ACEOF
3565 ## ----------- ##
3566 ## Core tests. ##
3567 ## ----------- ##
3569 _ACEOF
3572 # Keep a trace of the command line.
3573 # Strip out --no-create and --no-recursion so they do not pile up.
3574 # Strip out --silent because we don't want to record it for future runs.
3575 # Also quote any args containing shell meta-characters.
3576 # Make two passes to allow for proper duplicate-argument suppression.
3577 ac_configure_args=
3578 ac_configure_args0=
3579 ac_configure_args1=
3580 ac_must_keep_next=false
3581 for ac_pass in 1 2
3583 for ac_arg
3585 case $ac_arg in
3586 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3587 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3588 | -silent | --silent | --silen | --sile | --sil)
3589 continue ;;
3590 *\'*)
3591 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3592 esac
3593 case $ac_pass in
3594 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3596 as_fn_append ac_configure_args1 " '$ac_arg'"
3597 if test $ac_must_keep_next = true; then
3598 ac_must_keep_next=false # Got value, back to normal.
3599 else
3600 case $ac_arg in
3601 *=* | --config-cache | -C | -disable-* | --disable-* \
3602 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3603 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3604 | -with-* | --with-* | -without-* | --without-* | --x)
3605 case "$ac_configure_args0 " in
3606 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3607 esac
3609 -* ) ac_must_keep_next=true ;;
3610 esac
3612 as_fn_append ac_configure_args " '$ac_arg'"
3614 esac
3615 done
3616 done
3617 { ac_configure_args0=; unset ac_configure_args0;}
3618 { ac_configure_args1=; unset ac_configure_args1;}
3620 # When interrupted or exit'd, cleanup temporary files, and complete
3621 # config.log. We remove comments because anyway the quotes in there
3622 # would cause problems or look ugly.
3623 # WARNING: Use '\'' to represent an apostrophe within the trap.
3624 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3625 trap 'exit_status=$?
3626 # Save into config.log some information that might help in debugging.
3628 echo
3630 $as_echo "## ---------------- ##
3631 ## Cache variables. ##
3632 ## ---------------- ##"
3633 echo
3634 # The following way of writing the cache mishandles newlines in values,
3636 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3637 eval ac_val=\$$ac_var
3638 case $ac_val in #(
3639 *${as_nl}*)
3640 case $ac_var in #(
3641 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3642 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3643 esac
3644 case $ac_var in #(
3645 _ | IFS | as_nl) ;; #(
3646 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3647 *) { eval $ac_var=; unset $ac_var;} ;;
3648 esac ;;
3649 esac
3650 done
3651 (set) 2>&1 |
3652 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3653 *${as_nl}ac_space=\ *)
3654 sed -n \
3655 "s/'\''/'\''\\\\'\'''\''/g;
3656 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3657 ;; #(
3659 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3661 esac |
3662 sort
3664 echo
3666 $as_echo "## ----------------- ##
3667 ## Output variables. ##
3668 ## ----------------- ##"
3669 echo
3670 for ac_var in $ac_subst_vars
3672 eval ac_val=\$$ac_var
3673 case $ac_val in
3674 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3675 esac
3676 $as_echo "$ac_var='\''$ac_val'\''"
3677 done | sort
3678 echo
3680 if test -n "$ac_subst_files"; then
3681 $as_echo "## ------------------- ##
3682 ## File substitutions. ##
3683 ## ------------------- ##"
3684 echo
3685 for ac_var in $ac_subst_files
3687 eval ac_val=\$$ac_var
3688 case $ac_val in
3689 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3690 esac
3691 $as_echo "$ac_var='\''$ac_val'\''"
3692 done | sort
3693 echo
3696 if test -s confdefs.h; then
3697 $as_echo "## ----------- ##
3698 ## confdefs.h. ##
3699 ## ----------- ##"
3700 echo
3701 cat confdefs.h
3702 echo
3704 test "$ac_signal" != 0 &&
3705 $as_echo "$as_me: caught signal $ac_signal"
3706 $as_echo "$as_me: exit $exit_status"
3707 } >&5
3708 rm -f core *.core core.conftest.* &&
3709 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3710 exit $exit_status
3712 for ac_signal in 1 2 13 15; do
3713 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3714 done
3715 ac_signal=0
3717 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3718 rm -f -r conftest* confdefs.h
3720 $as_echo "/* confdefs.h */" > confdefs.h
3722 # Predefined preprocessor variables.
3724 cat >>confdefs.h <<_ACEOF
3725 #define PACKAGE_NAME "$PACKAGE_NAME"
3726 _ACEOF
3728 cat >>confdefs.h <<_ACEOF
3729 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3730 _ACEOF
3732 cat >>confdefs.h <<_ACEOF
3733 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3734 _ACEOF
3736 cat >>confdefs.h <<_ACEOF
3737 #define PACKAGE_STRING "$PACKAGE_STRING"
3738 _ACEOF
3740 cat >>confdefs.h <<_ACEOF
3741 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3742 _ACEOF
3744 cat >>confdefs.h <<_ACEOF
3745 #define PACKAGE_URL "$PACKAGE_URL"
3746 _ACEOF
3749 # Let the site file select an alternate cache file if it wants to.
3750 # Prefer an explicitly selected file to automatically selected ones.
3751 ac_site_file1=NONE
3752 ac_site_file2=NONE
3753 if test -n "$CONFIG_SITE"; then
3754 # We do not want a PATH search for config.site.
3755 case $CONFIG_SITE in #((
3756 -*) ac_site_file1=./$CONFIG_SITE;;
3757 */*) ac_site_file1=$CONFIG_SITE;;
3758 *) ac_site_file1=./$CONFIG_SITE;;
3759 esac
3760 elif test "x$prefix" != xNONE; then
3761 ac_site_file1=$prefix/share/config.site
3762 ac_site_file2=$prefix/etc/config.site
3763 else
3764 ac_site_file1=$ac_default_prefix/share/config.site
3765 ac_site_file2=$ac_default_prefix/etc/config.site
3767 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3769 test "x$ac_site_file" = xNONE && continue
3770 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3772 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3773 sed 's/^/| /' "$ac_site_file" >&5
3774 . "$ac_site_file" \
3775 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3776 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3777 as_fn_error $? "failed to load site script $ac_site_file
3778 See \`config.log' for more details" "$LINENO" 5; }
3780 done
3782 if test -r "$cache_file"; then
3783 # Some versions of bash will fail to source /dev/null (special files
3784 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3785 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3787 $as_echo "$as_me: loading cache $cache_file" >&6;}
3788 case $cache_file in
3789 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3790 *) . "./$cache_file";;
3791 esac
3793 else
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3795 $as_echo "$as_me: creating cache $cache_file" >&6;}
3796 >$cache_file
3799 # Check that the precious variables saved in the cache have kept the same
3800 # value.
3801 ac_cache_corrupted=false
3802 for ac_var in $ac_precious_vars; do
3803 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3804 eval ac_new_set=\$ac_env_${ac_var}_set
3805 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3806 eval ac_new_val=\$ac_env_${ac_var}_value
3807 case $ac_old_set,$ac_new_set in
3808 set,)
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3810 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3811 ac_cache_corrupted=: ;;
3812 ,set)
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3814 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3815 ac_cache_corrupted=: ;;
3816 ,);;
3818 if test "x$ac_old_val" != "x$ac_new_val"; then
3819 # differences in whitespace do not lead to failure.
3820 ac_old_val_w=`echo x $ac_old_val`
3821 ac_new_val_w=`echo x $ac_new_val`
3822 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3824 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3825 ac_cache_corrupted=:
3826 else
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3828 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3829 eval $ac_var=\$ac_old_val
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3832 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3834 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3835 fi;;
3836 esac
3837 # Pass precious variables to config.status.
3838 if test "$ac_new_set" = set; then
3839 case $ac_new_val in
3840 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3841 *) ac_arg=$ac_var=$ac_new_val ;;
3842 esac
3843 case " $ac_configure_args " in
3844 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3845 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3846 esac
3848 done
3849 if $ac_cache_corrupted; then
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3851 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3853 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3854 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3856 ## -------------------- ##
3857 ## Main body of script. ##
3858 ## -------------------- ##
3860 ac_ext=c
3861 ac_cpp='$CPP $CPPFLAGS'
3862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3868 ac_config_headers="$ac_config_headers include/config.h"
3870 ac_aux_dir=
3871 for ac_dir in tools "$srcdir"/tools; do
3872 if test -f "$ac_dir/install-sh"; then
3873 ac_aux_dir=$ac_dir
3874 ac_install_sh="$ac_aux_dir/install-sh -c"
3875 break
3876 elif test -f "$ac_dir/install.sh"; then
3877 ac_aux_dir=$ac_dir
3878 ac_install_sh="$ac_aux_dir/install.sh -c"
3879 break
3880 elif test -f "$ac_dir/shtool"; then
3881 ac_aux_dir=$ac_dir
3882 ac_install_sh="$ac_aux_dir/shtool install -c"
3883 break
3885 done
3886 if test -z "$ac_aux_dir"; then
3887 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3890 # These three variables are undocumented and unsupported,
3891 # and are intended to be withdrawn in a future Autoconf release.
3892 # They can cause serious problems if a builder's source tree is in a directory
3893 # whose full name contains unusual characters.
3894 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3895 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3896 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3900 libwine_version="1.0"
3904 # Check whether --enable-win16 was given.
3905 if test "${enable_win16+set}" = set; then :
3906 enableval=$enable_win16;
3909 # Check whether --enable-win64 was given.
3910 if test "${enable_win64+set}" = set; then :
3911 enableval=$enable_win64;
3914 # Check whether --enable-tests was given.
3915 if test "${enable_tests+set}" = set; then :
3916 enableval=$enable_tests;
3919 # Check whether --enable-build-id was given.
3920 if test "${enable_build_id+set}" = set; then :
3921 enableval=$enable_build_id;
3924 # Check whether --enable-maintainer-mode was given.
3925 if test "${enable_maintainer_mode+set}" = set; then :
3926 enableval=$enable_maintainer_mode;
3929 # Check whether --enable-silent-rules was given.
3930 if test "${enable_silent_rules+set}" = set; then :
3931 enableval=$enable_silent_rules;
3934 # Check whether --enable-werror was given.
3935 if test "${enable_werror+set}" = set; then :
3936 enableval=$enable_werror;
3941 # Check whether --with-alsa was given.
3942 if test "${with_alsa+set}" = set; then :
3943 withval=$with_alsa;
3947 # Check whether --with-capi was given.
3948 if test "${with_capi+set}" = set; then :
3949 withval=$with_capi;
3953 # Check whether --with-cms was given.
3954 if test "${with_cms+set}" = set; then :
3955 withval=$with_cms;
3959 # Check whether --with-coreaudio was given.
3960 if test "${with_coreaudio+set}" = set; then :
3961 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3965 # Check whether --with-cups was given.
3966 if test "${with_cups+set}" = set; then :
3967 withval=$with_cups;
3971 # Check whether --with-dbus was given.
3972 if test "${with_dbus+set}" = set; then :
3973 withval=$with_dbus;
3977 # Check whether --with-faudio was given.
3978 if test "${with_faudio+set}" = set; then :
3979 withval=$with_faudio;
3983 # Check whether --with-float-abi was given.
3984 if test "${with_float_abi+set}" = set; then :
3985 withval=$with_float_abi;
3989 # Check whether --with-fontconfig was given.
3990 if test "${with_fontconfig+set}" = set; then :
3991 withval=$with_fontconfig;
3995 # Check whether --with-freetype was given.
3996 if test "${with_freetype+set}" = set; then :
3997 withval=$with_freetype;
4001 # Check whether --with-gettext was given.
4002 if test "${with_gettext+set}" = set; then :
4003 withval=$with_gettext;
4007 # Check whether --with-gettextpo was given.
4008 if test "${with_gettextpo+set}" = set; then :
4009 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4013 # Check whether --with-gphoto was given.
4014 if test "${with_gphoto+set}" = set; then :
4015 withval=$with_gphoto;
4019 # Check whether --with-gnutls was given.
4020 if test "${with_gnutls+set}" = set; then :
4021 withval=$with_gnutls;
4025 # Check whether --with-gsm was given.
4026 if test "${with_gsm+set}" = set; then :
4027 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4031 # Check whether --with-gssapi was given.
4032 if test "${with_gssapi+set}" = set; then :
4033 withval=$with_gssapi;
4037 # Check whether --with-gstreamer was given.
4038 if test "${with_gstreamer+set}" = set; then :
4039 withval=$with_gstreamer;
4043 # Check whether --with-hal was given.
4044 if test "${with_hal+set}" = set; then :
4045 withval=$with_hal;
4049 # Check whether --with-inotify was given.
4050 if test "${with_inotify+set}" = set; then :
4051 withval=$with_inotify;
4055 # Check whether --with-jpeg was given.
4056 if test "${with_jpeg+set}" = set; then :
4057 withval=$with_jpeg;
4061 # Check whether --with-jxrlib was given.
4062 if test "${with_jxrlib+set}" = set; then :
4063 withval=$with_jxrlib;
4067 # Check whether --with-krb5 was given.
4068 if test "${with_krb5+set}" = set; then :
4069 withval=$with_krb5;
4073 # Check whether --with-ldap was given.
4074 if test "${with_ldap+set}" = set; then :
4075 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4079 # Check whether --with-mingw was given.
4080 if test "${with_mingw+set}" = set; then :
4081 withval=$with_mingw;
4085 # Check whether --with-mpg123 was given.
4086 if test "${with_mpg123+set}" = set; then :
4087 withval=$with_mpg123;
4091 # Check whether --with-netapi was given.
4092 if test "${with_netapi+set}" = set; then :
4093 withval=$with_netapi;
4097 # Check whether --with-openal was given.
4098 if test "${with_openal+set}" = set; then :
4099 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4103 # Check whether --with-opencl was given.
4104 if test "${with_opencl+set}" = set; then :
4105 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4109 # Check whether --with-opengl was given.
4110 if test "${with_opengl+set}" = set; then :
4111 withval=$with_opengl;
4115 # Check whether --with-osmesa was given.
4116 if test "${with_osmesa+set}" = set; then :
4117 withval=$with_osmesa;
4121 # Check whether --with-oss was given.
4122 if test "${with_oss+set}" = set; then :
4123 withval=$with_oss;
4127 # Check whether --with-pcap was given.
4128 if test "${with_pcap+set}" = set; then :
4129 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4133 # Check whether --with-png was given.
4134 if test "${with_png+set}" = set; then :
4135 withval=$with_png;
4139 # Check whether --with-pthread was given.
4140 if test "${with_pthread+set}" = set; then :
4141 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4145 # Check whether --with-pulse was given.
4146 if test "${with_pulse+set}" = set; then :
4147 withval=$with_pulse;
4151 # Check whether --with-quicktime was given.
4152 if test "${with_quicktime+set}" = set; then :
4153 withval=$with_quicktime;
4157 # Check whether --with-sane was given.
4158 if test "${with_sane+set}" = set; then :
4159 withval=$with_sane;
4163 # Check whether --with-sdl was given.
4164 if test "${with_sdl+set}" = set; then :
4165 withval=$with_sdl;
4169 # Check whether --with-tiff was given.
4170 if test "${with_tiff+set}" = set; then :
4171 withval=$with_tiff;
4175 # Check whether --with-udev was given.
4176 if test "${with_udev+set}" = set; then :
4177 withval=$with_udev;
4181 # Check whether --with-unwind was given.
4182 if test "${with_unwind+set}" = set; then :
4183 withval=$with_unwind;
4187 # Check whether --with-usb was given.
4188 if test "${with_usb+set}" = set; then :
4189 withval=$with_usb;
4193 # Check whether --with-v4l2 was given.
4194 if test "${with_v4l2+set}" = set; then :
4195 withval=$with_v4l2;
4199 # Check whether --with-vkd3d was given.
4200 if test "${with_vkd3d+set}" = set; then :
4201 withval=$with_vkd3d;
4205 # Check whether --with-vulkan was given.
4206 if test "${with_vulkan+set}" = set; then :
4207 withval=$with_vulkan;
4211 # Check whether --with-xcomposite was given.
4212 if test "${with_xcomposite+set}" = set; then :
4213 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4217 # Check whether --with-xcursor was given.
4218 if test "${with_xcursor+set}" = set; then :
4219 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4223 # Check whether --with-xfixes was given.
4224 if test "${with_xfixes+set}" = set; then :
4225 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4229 # Check whether --with-xinerama was given.
4230 if test "${with_xinerama+set}" = set; then :
4231 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4235 # Check whether --with-xinput was given.
4236 if test "${with_xinput+set}" = set; then :
4237 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4241 # Check whether --with-xinput2 was given.
4242 if test "${with_xinput2+set}" = set; then :
4243 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4247 # Check whether --with-xml was given.
4248 if test "${with_xml+set}" = set; then :
4249 withval=$with_xml;
4253 # Check whether --with-xrandr was given.
4254 if test "${with_xrandr+set}" = set; then :
4255 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4259 # Check whether --with-xrender was given.
4260 if test "${with_xrender+set}" = set; then :
4261 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4265 # Check whether --with-xshape was given.
4266 if test "${with_xshape+set}" = set; then :
4267 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4271 # Check whether --with-xshm was given.
4272 if test "${with_xshm+set}" = set; then :
4273 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4277 # Check whether --with-xslt was given.
4278 if test "${with_xslt+set}" = set; then :
4279 withval=$with_xslt;
4283 # Check whether --with-xxf86vm was given.
4284 if test "${with_xxf86vm+set}" = set; then :
4285 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
4290 # Check whether --with-wine-tools was given.
4291 if test "${with_wine_tools+set}" = set; then :
4292 withval=$with_wine_tools;
4296 # Check whether --with-wine64 was given.
4297 if test "${with_wine64+set}" = set; then :
4298 withval=$with_wine64;
4302 # Make sure we can run config.sub.
4303 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4304 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4307 $as_echo_n "checking build system type... " >&6; }
4308 if ${ac_cv_build+:} false; then :
4309 $as_echo_n "(cached) " >&6
4310 else
4311 ac_build_alias=$build_alias
4312 test "x$ac_build_alias" = x &&
4313 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4314 test "x$ac_build_alias" = x &&
4315 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4316 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4317 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4321 $as_echo "$ac_cv_build" >&6; }
4322 case $ac_cv_build in
4323 *-*-*) ;;
4324 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4325 esac
4326 build=$ac_cv_build
4327 ac_save_IFS=$IFS; IFS='-'
4328 set x $ac_cv_build
4329 shift
4330 build_cpu=$1
4331 build_vendor=$2
4332 shift; shift
4333 # Remember, the first character of IFS is used to create $*,
4334 # except with old shells:
4335 build_os=$*
4336 IFS=$ac_save_IFS
4337 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4341 $as_echo_n "checking host system type... " >&6; }
4342 if ${ac_cv_host+:} false; then :
4343 $as_echo_n "(cached) " >&6
4344 else
4345 if test "x$host_alias" = x; then
4346 ac_cv_host=$ac_cv_build
4347 else
4348 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4349 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4354 $as_echo "$ac_cv_host" >&6; }
4355 case $ac_cv_host in
4356 *-*-*) ;;
4357 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4358 esac
4359 host=$ac_cv_host
4360 ac_save_IFS=$IFS; IFS='-'
4361 set x $ac_cv_host
4362 shift
4363 host_cpu=$1
4364 host_vendor=$2
4365 shift; shift
4366 # Remember, the first character of IFS is used to create $*,
4367 # except with old shells:
4368 host_os=$*
4369 IFS=$ac_save_IFS
4370 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4376 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4377 set x ${MAKE-make}
4378 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4379 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4380 $as_echo_n "(cached) " >&6
4381 else
4382 cat >conftest.make <<\_ACEOF
4383 SHELL = /bin/sh
4384 all:
4385 @echo '@@@%%%=$(MAKE)=@@@%%%'
4386 _ACEOF
4387 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4388 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4389 *@@@%%%=?*=@@@%%%*)
4390 eval ac_cv_prog_make_${ac_make}_set=yes;;
4392 eval ac_cv_prog_make_${ac_make}_set=no;;
4393 esac
4394 rm -f conftest.make
4396 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4398 $as_echo "yes" >&6; }
4399 SET_MAKE=
4400 else
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4402 $as_echo "no" >&6; }
4403 SET_MAKE="MAKE=${MAKE-make}"
4406 ac_ext=c
4407 ac_cpp='$CPP $CPPFLAGS'
4408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4411 if test -n "$ac_tool_prefix"; then
4412 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4413 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4415 $as_echo_n "checking for $ac_word... " >&6; }
4416 if ${ac_cv_prog_CC+:} false; then :
4417 $as_echo_n "(cached) " >&6
4418 else
4419 if test -n "$CC"; then
4420 ac_cv_prog_CC="$CC" # Let the user override the test.
4421 else
4422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4423 for as_dir in $PATH
4425 IFS=$as_save_IFS
4426 test -z "$as_dir" && as_dir=.
4427 for ac_exec_ext in '' $ac_executable_extensions; do
4428 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4429 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4431 break 2
4433 done
4434 done
4435 IFS=$as_save_IFS
4439 CC=$ac_cv_prog_CC
4440 if test -n "$CC"; then
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4442 $as_echo "$CC" >&6; }
4443 else
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4445 $as_echo "no" >&6; }
4450 if test -z "$ac_cv_prog_CC"; then
4451 ac_ct_CC=$CC
4452 # Extract the first word of "gcc", so it can be a program name with args.
4453 set dummy gcc; ac_word=$2
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4455 $as_echo_n "checking for $ac_word... " >&6; }
4456 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4457 $as_echo_n "(cached) " >&6
4458 else
4459 if test -n "$ac_ct_CC"; then
4460 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4461 else
4462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4463 for as_dir in $PATH
4465 IFS=$as_save_IFS
4466 test -z "$as_dir" && as_dir=.
4467 for ac_exec_ext in '' $ac_executable_extensions; do
4468 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4469 ac_cv_prog_ac_ct_CC="gcc"
4470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4471 break 2
4473 done
4474 done
4475 IFS=$as_save_IFS
4479 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4480 if test -n "$ac_ct_CC"; then
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4482 $as_echo "$ac_ct_CC" >&6; }
4483 else
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4485 $as_echo "no" >&6; }
4488 if test "x$ac_ct_CC" = x; then
4489 CC=""
4490 else
4491 case $cross_compiling:$ac_tool_warned in
4492 yes:)
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4494 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4495 ac_tool_warned=yes ;;
4496 esac
4497 CC=$ac_ct_CC
4499 else
4500 CC="$ac_cv_prog_CC"
4503 if test -z "$CC"; then
4504 if test -n "$ac_tool_prefix"; then
4505 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4506 set dummy ${ac_tool_prefix}cc; ac_word=$2
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4508 $as_echo_n "checking for $ac_word... " >&6; }
4509 if ${ac_cv_prog_CC+:} false; then :
4510 $as_echo_n "(cached) " >&6
4511 else
4512 if test -n "$CC"; then
4513 ac_cv_prog_CC="$CC" # Let the user override the test.
4514 else
4515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4516 for as_dir in $PATH
4518 IFS=$as_save_IFS
4519 test -z "$as_dir" && as_dir=.
4520 for ac_exec_ext in '' $ac_executable_extensions; do
4521 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4522 ac_cv_prog_CC="${ac_tool_prefix}cc"
4523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4524 break 2
4526 done
4527 done
4528 IFS=$as_save_IFS
4532 CC=$ac_cv_prog_CC
4533 if test -n "$CC"; then
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4535 $as_echo "$CC" >&6; }
4536 else
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4538 $as_echo "no" >&6; }
4544 if test -z "$CC"; then
4545 # Extract the first word of "cc", so it can be a program name with args.
4546 set dummy cc; ac_word=$2
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4548 $as_echo_n "checking for $ac_word... " >&6; }
4549 if ${ac_cv_prog_CC+:} false; then :
4550 $as_echo_n "(cached) " >&6
4551 else
4552 if test -n "$CC"; then
4553 ac_cv_prog_CC="$CC" # Let the user override the test.
4554 else
4555 ac_prog_rejected=no
4556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4557 for as_dir in $PATH
4559 IFS=$as_save_IFS
4560 test -z "$as_dir" && as_dir=.
4561 for ac_exec_ext in '' $ac_executable_extensions; do
4562 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4563 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4564 ac_prog_rejected=yes
4565 continue
4567 ac_cv_prog_CC="cc"
4568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4569 break 2
4571 done
4572 done
4573 IFS=$as_save_IFS
4575 if test $ac_prog_rejected = yes; then
4576 # We found a bogon in the path, so make sure we never use it.
4577 set dummy $ac_cv_prog_CC
4578 shift
4579 if test $# != 0; then
4580 # We chose a different compiler from the bogus one.
4581 # However, it has the same basename, so the bogon will be chosen
4582 # first if we set CC to just the basename; use the full file name.
4583 shift
4584 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4589 CC=$ac_cv_prog_CC
4590 if test -n "$CC"; then
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4592 $as_echo "$CC" >&6; }
4593 else
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4595 $as_echo "no" >&6; }
4600 if test -z "$CC"; then
4601 if test -n "$ac_tool_prefix"; then
4602 for ac_prog in cl.exe
4604 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4605 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4607 $as_echo_n "checking for $ac_word... " >&6; }
4608 if ${ac_cv_prog_CC+:} false; then :
4609 $as_echo_n "(cached) " >&6
4610 else
4611 if test -n "$CC"; then
4612 ac_cv_prog_CC="$CC" # Let the user override the test.
4613 else
4614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4615 for as_dir in $PATH
4617 IFS=$as_save_IFS
4618 test -z "$as_dir" && as_dir=.
4619 for ac_exec_ext in '' $ac_executable_extensions; do
4620 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4621 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4623 break 2
4625 done
4626 done
4627 IFS=$as_save_IFS
4631 CC=$ac_cv_prog_CC
4632 if test -n "$CC"; then
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4634 $as_echo "$CC" >&6; }
4635 else
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4637 $as_echo "no" >&6; }
4641 test -n "$CC" && break
4642 done
4644 if test -z "$CC"; then
4645 ac_ct_CC=$CC
4646 for ac_prog in cl.exe
4648 # Extract the first word of "$ac_prog", so it can be a program name with args.
4649 set dummy $ac_prog; ac_word=$2
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4651 $as_echo_n "checking for $ac_word... " >&6; }
4652 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4653 $as_echo_n "(cached) " >&6
4654 else
4655 if test -n "$ac_ct_CC"; then
4656 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4657 else
4658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4659 for as_dir in $PATH
4661 IFS=$as_save_IFS
4662 test -z "$as_dir" && as_dir=.
4663 for ac_exec_ext in '' $ac_executable_extensions; do
4664 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4665 ac_cv_prog_ac_ct_CC="$ac_prog"
4666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4667 break 2
4669 done
4670 done
4671 IFS=$as_save_IFS
4675 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4676 if test -n "$ac_ct_CC"; then
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4678 $as_echo "$ac_ct_CC" >&6; }
4679 else
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4681 $as_echo "no" >&6; }
4685 test -n "$ac_ct_CC" && break
4686 done
4688 if test "x$ac_ct_CC" = x; then
4689 CC=""
4690 else
4691 case $cross_compiling:$ac_tool_warned in
4692 yes:)
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4694 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4695 ac_tool_warned=yes ;;
4696 esac
4697 CC=$ac_ct_CC
4704 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4705 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4706 as_fn_error $? "no acceptable C compiler found in \$PATH
4707 See \`config.log' for more details" "$LINENO" 5; }
4709 # Provide some information about the compiler.
4710 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4711 set X $ac_compile
4712 ac_compiler=$2
4713 for ac_option in --version -v -V -qversion; do
4714 { { ac_try="$ac_compiler $ac_option >&5"
4715 case "(($ac_try" in
4716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4717 *) ac_try_echo=$ac_try;;
4718 esac
4719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4720 $as_echo "$ac_try_echo"; } >&5
4721 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4722 ac_status=$?
4723 if test -s conftest.err; then
4724 sed '10a\
4725 ... rest of stderr output deleted ...
4726 10q' conftest.err >conftest.er1
4727 cat conftest.er1 >&5
4729 rm -f conftest.er1 conftest.err
4730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4731 test $ac_status = 0; }
4732 done
4734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4735 /* end confdefs.h. */
4738 main ()
4742 return 0;
4744 _ACEOF
4745 ac_clean_files_save=$ac_clean_files
4746 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4747 # Try to create an executable without -o first, disregard a.out.
4748 # It will help us diagnose broken compilers, and finding out an intuition
4749 # of exeext.
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4751 $as_echo_n "checking whether the C compiler works... " >&6; }
4752 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4754 # The possible output files:
4755 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4757 ac_rmfiles=
4758 for ac_file in $ac_files
4760 case $ac_file in
4761 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4762 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4763 esac
4764 done
4765 rm -f $ac_rmfiles
4767 if { { ac_try="$ac_link_default"
4768 case "(($ac_try" in
4769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4770 *) ac_try_echo=$ac_try;;
4771 esac
4772 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4773 $as_echo "$ac_try_echo"; } >&5
4774 (eval "$ac_link_default") 2>&5
4775 ac_status=$?
4776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4777 test $ac_status = 0; }; then :
4778 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4779 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4780 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4781 # so that the user can short-circuit this test for compilers unknown to
4782 # Autoconf.
4783 for ac_file in $ac_files ''
4785 test -f "$ac_file" || continue
4786 case $ac_file in
4787 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4789 [ab].out )
4790 # We found the default executable, but exeext='' is most
4791 # certainly right.
4792 break;;
4793 *.* )
4794 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4795 then :; else
4796 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4798 # We set ac_cv_exeext here because the later test for it is not
4799 # safe: cross compilers may not add the suffix if given an `-o'
4800 # argument, so we may need to know it at that point already.
4801 # Even if this section looks crufty: it has the advantage of
4802 # actually working.
4803 break;;
4805 break;;
4806 esac
4807 done
4808 test "$ac_cv_exeext" = no && ac_cv_exeext=
4810 else
4811 ac_file=''
4813 if test -z "$ac_file"; then :
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4815 $as_echo "no" >&6; }
4816 $as_echo "$as_me: failed program was:" >&5
4817 sed 's/^/| /' conftest.$ac_ext >&5
4819 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4820 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4821 as_fn_error 77 "C compiler cannot create executables
4822 See \`config.log' for more details" "$LINENO" 5; }
4823 else
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4825 $as_echo "yes" >&6; }
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4828 $as_echo_n "checking for C compiler default output file name... " >&6; }
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4830 $as_echo "$ac_file" >&6; }
4831 ac_exeext=$ac_cv_exeext
4833 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4834 ac_clean_files=$ac_clean_files_save
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4836 $as_echo_n "checking for suffix of executables... " >&6; }
4837 if { { ac_try="$ac_link"
4838 case "(($ac_try" in
4839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4840 *) ac_try_echo=$ac_try;;
4841 esac
4842 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4843 $as_echo "$ac_try_echo"; } >&5
4844 (eval "$ac_link") 2>&5
4845 ac_status=$?
4846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4847 test $ac_status = 0; }; then :
4848 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4849 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4850 # work properly (i.e., refer to `conftest.exe'), while it won't with
4851 # `rm'.
4852 for ac_file in conftest.exe conftest conftest.*; do
4853 test -f "$ac_file" || continue
4854 case $ac_file in
4855 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4856 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4857 break;;
4858 * ) break;;
4859 esac
4860 done
4861 else
4862 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4863 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4864 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4865 See \`config.log' for more details" "$LINENO" 5; }
4867 rm -f conftest conftest$ac_cv_exeext
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4869 $as_echo "$ac_cv_exeext" >&6; }
4871 rm -f conftest.$ac_ext
4872 EXEEXT=$ac_cv_exeext
4873 ac_exeext=$EXEEXT
4874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4875 /* end confdefs.h. */
4876 #include <stdio.h>
4878 main ()
4880 FILE *f = fopen ("conftest.out", "w");
4881 return ferror (f) || fclose (f) != 0;
4884 return 0;
4886 _ACEOF
4887 ac_clean_files="$ac_clean_files conftest.out"
4888 # Check that the compiler produces executables we can run. If not, either
4889 # the compiler is broken, or we cross compile.
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4891 $as_echo_n "checking whether we are cross compiling... " >&6; }
4892 if test "$cross_compiling" != yes; then
4893 { { ac_try="$ac_link"
4894 case "(($ac_try" in
4895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4896 *) ac_try_echo=$ac_try;;
4897 esac
4898 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4899 $as_echo "$ac_try_echo"; } >&5
4900 (eval "$ac_link") 2>&5
4901 ac_status=$?
4902 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4903 test $ac_status = 0; }
4904 if { ac_try='./conftest$ac_cv_exeext'
4905 { { case "(($ac_try" in
4906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4907 *) ac_try_echo=$ac_try;;
4908 esac
4909 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4910 $as_echo "$ac_try_echo"; } >&5
4911 (eval "$ac_try") 2>&5
4912 ac_status=$?
4913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4914 test $ac_status = 0; }; }; then
4915 cross_compiling=no
4916 else
4917 if test "$cross_compiling" = maybe; then
4918 cross_compiling=yes
4919 else
4920 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4921 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4922 as_fn_error $? "cannot run C compiled programs.
4923 If you meant to cross compile, use \`--host'.
4924 See \`config.log' for more details" "$LINENO" 5; }
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4929 $as_echo "$cross_compiling" >&6; }
4931 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4932 ac_clean_files=$ac_clean_files_save
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4934 $as_echo_n "checking for suffix of object files... " >&6; }
4935 if ${ac_cv_objext+:} false; then :
4936 $as_echo_n "(cached) " >&6
4937 else
4938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4939 /* end confdefs.h. */
4942 main ()
4946 return 0;
4948 _ACEOF
4949 rm -f conftest.o conftest.obj
4950 if { { ac_try="$ac_compile"
4951 case "(($ac_try" in
4952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4953 *) ac_try_echo=$ac_try;;
4954 esac
4955 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4956 $as_echo "$ac_try_echo"; } >&5
4957 (eval "$ac_compile") 2>&5
4958 ac_status=$?
4959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4960 test $ac_status = 0; }; then :
4961 for ac_file in conftest.o conftest.obj conftest.*; do
4962 test -f "$ac_file" || continue;
4963 case $ac_file in
4964 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4965 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4966 break;;
4967 esac
4968 done
4969 else
4970 $as_echo "$as_me: failed program was:" >&5
4971 sed 's/^/| /' conftest.$ac_ext >&5
4973 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4974 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4975 as_fn_error $? "cannot compute suffix of object files: cannot compile
4976 See \`config.log' for more details" "$LINENO" 5; }
4978 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4981 $as_echo "$ac_cv_objext" >&6; }
4982 OBJEXT=$ac_cv_objext
4983 ac_objext=$OBJEXT
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4985 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4986 if ${ac_cv_c_compiler_gnu+:} false; then :
4987 $as_echo_n "(cached) " >&6
4988 else
4989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4990 /* end confdefs.h. */
4993 main ()
4995 #ifndef __GNUC__
4996 choke me
4997 #endif
5000 return 0;
5002 _ACEOF
5003 if ac_fn_c_try_compile "$LINENO"; then :
5004 ac_compiler_gnu=yes
5005 else
5006 ac_compiler_gnu=no
5008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5009 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5013 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5014 if test $ac_compiler_gnu = yes; then
5015 GCC=yes
5016 else
5017 GCC=
5019 ac_test_CFLAGS=${CFLAGS+set}
5020 ac_save_CFLAGS=$CFLAGS
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5022 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5023 if ${ac_cv_prog_cc_g+:} false; then :
5024 $as_echo_n "(cached) " >&6
5025 else
5026 ac_save_c_werror_flag=$ac_c_werror_flag
5027 ac_c_werror_flag=yes
5028 ac_cv_prog_cc_g=no
5029 CFLAGS="-g"
5030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5031 /* end confdefs.h. */
5034 main ()
5038 return 0;
5040 _ACEOF
5041 if ac_fn_c_try_compile "$LINENO"; then :
5042 ac_cv_prog_cc_g=yes
5043 else
5044 CFLAGS=""
5045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5046 /* end confdefs.h. */
5049 main ()
5053 return 0;
5055 _ACEOF
5056 if ac_fn_c_try_compile "$LINENO"; then :
5058 else
5059 ac_c_werror_flag=$ac_save_c_werror_flag
5060 CFLAGS="-g"
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 :
5073 ac_cv_prog_cc_g=yes
5075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5080 ac_c_werror_flag=$ac_save_c_werror_flag
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5083 $as_echo "$ac_cv_prog_cc_g" >&6; }
5084 if test "$ac_test_CFLAGS" = set; then
5085 CFLAGS=$ac_save_CFLAGS
5086 elif test $ac_cv_prog_cc_g = yes; then
5087 if test "$GCC" = yes; then
5088 CFLAGS="-g -O2"
5089 else
5090 CFLAGS="-g"
5092 else
5093 if test "$GCC" = yes; then
5094 CFLAGS="-O2"
5095 else
5096 CFLAGS=
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5100 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5101 if ${ac_cv_prog_cc_c89+:} false; then :
5102 $as_echo_n "(cached) " >&6
5103 else
5104 ac_cv_prog_cc_c89=no
5105 ac_save_CC=$CC
5106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5107 /* end confdefs.h. */
5108 #include <stdarg.h>
5109 #include <stdio.h>
5110 struct stat;
5111 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5112 struct buf { int x; };
5113 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5114 static char *e (p, i)
5115 char **p;
5116 int i;
5118 return p[i];
5120 static char *f (char * (*g) (char **, int), char **p, ...)
5122 char *s;
5123 va_list v;
5124 va_start (v,p);
5125 s = g (p, va_arg (v,int));
5126 va_end (v);
5127 return s;
5130 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5131 function prototypes and stuff, but not '\xHH' hex character constants.
5132 These don't provoke an error unfortunately, instead are silently treated
5133 as 'x'. The following induces an error, until -std is added to get
5134 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5135 array size at least. It's necessary to write '\x00'==0 to get something
5136 that's true only with -std. */
5137 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5139 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5140 inside strings and character constants. */
5141 #define FOO(x) 'x'
5142 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5144 int test (int i, double x);
5145 struct s1 {int (*f) (int a);};
5146 struct s2 {int (*f) (double a);};
5147 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5148 int argc;
5149 char **argv;
5151 main ()
5153 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5155 return 0;
5157 _ACEOF
5158 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5159 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5161 CC="$ac_save_CC $ac_arg"
5162 if ac_fn_c_try_compile "$LINENO"; then :
5163 ac_cv_prog_cc_c89=$ac_arg
5165 rm -f core conftest.err conftest.$ac_objext
5166 test "x$ac_cv_prog_cc_c89" != "xno" && break
5167 done
5168 rm -f conftest.$ac_ext
5169 CC=$ac_save_CC
5172 # AC_CACHE_VAL
5173 case "x$ac_cv_prog_cc_c89" in
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5176 $as_echo "none needed" >&6; } ;;
5177 xno)
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5179 $as_echo "unsupported" >&6; } ;;
5181 CC="$CC $ac_cv_prog_cc_c89"
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5183 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5184 esac
5185 if test "x$ac_cv_prog_cc_c89" != xno; then :
5189 ac_ext=c
5190 ac_cpp='$CPP $CPPFLAGS'
5191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5195 ac_ext=cpp
5196 ac_cpp='$CXXCPP $CPPFLAGS'
5197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5200 if test -z "$CXX"; then
5201 if test -n "$CCC"; then
5202 CXX=$CCC
5203 else
5204 if test -n "$ac_tool_prefix"; then
5205 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5207 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5208 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5210 $as_echo_n "checking for $ac_word... " >&6; }
5211 if ${ac_cv_prog_CXX+:} false; then :
5212 $as_echo_n "(cached) " >&6
5213 else
5214 if test -n "$CXX"; then
5215 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5216 else
5217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5218 for as_dir in $PATH
5220 IFS=$as_save_IFS
5221 test -z "$as_dir" && as_dir=.
5222 for ac_exec_ext in '' $ac_executable_extensions; do
5223 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5224 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5226 break 2
5228 done
5229 done
5230 IFS=$as_save_IFS
5234 CXX=$ac_cv_prog_CXX
5235 if test -n "$CXX"; then
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5237 $as_echo "$CXX" >&6; }
5238 else
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5240 $as_echo "no" >&6; }
5244 test -n "$CXX" && break
5245 done
5247 if test -z "$CXX"; then
5248 ac_ct_CXX=$CXX
5249 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5251 # Extract the first word of "$ac_prog", so it can be a program name with args.
5252 set dummy $ac_prog; ac_word=$2
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5254 $as_echo_n "checking for $ac_word... " >&6; }
5255 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5256 $as_echo_n "(cached) " >&6
5257 else
5258 if test -n "$ac_ct_CXX"; then
5259 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5260 else
5261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5262 for as_dir in $PATH
5264 IFS=$as_save_IFS
5265 test -z "$as_dir" && as_dir=.
5266 for ac_exec_ext in '' $ac_executable_extensions; do
5267 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5268 ac_cv_prog_ac_ct_CXX="$ac_prog"
5269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5270 break 2
5272 done
5273 done
5274 IFS=$as_save_IFS
5278 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5279 if test -n "$ac_ct_CXX"; then
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5281 $as_echo "$ac_ct_CXX" >&6; }
5282 else
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5284 $as_echo "no" >&6; }
5288 test -n "$ac_ct_CXX" && break
5289 done
5291 if test "x$ac_ct_CXX" = x; then
5292 CXX="g++"
5293 else
5294 case $cross_compiling:$ac_tool_warned in
5295 yes:)
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5297 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5298 ac_tool_warned=yes ;;
5299 esac
5300 CXX=$ac_ct_CXX
5306 # Provide some information about the compiler.
5307 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5308 set X $ac_compile
5309 ac_compiler=$2
5310 for ac_option in --version -v -V -qversion; do
5311 { { ac_try="$ac_compiler $ac_option >&5"
5312 case "(($ac_try" in
5313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5314 *) ac_try_echo=$ac_try;;
5315 esac
5316 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5317 $as_echo "$ac_try_echo"; } >&5
5318 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5319 ac_status=$?
5320 if test -s conftest.err; then
5321 sed '10a\
5322 ... rest of stderr output deleted ...
5323 10q' conftest.err >conftest.er1
5324 cat conftest.er1 >&5
5326 rm -f conftest.er1 conftest.err
5327 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5328 test $ac_status = 0; }
5329 done
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5332 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5333 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5334 $as_echo_n "(cached) " >&6
5335 else
5336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5337 /* end confdefs.h. */
5340 main ()
5342 #ifndef __GNUC__
5343 choke me
5344 #endif
5347 return 0;
5349 _ACEOF
5350 if ac_fn_cxx_try_compile "$LINENO"; then :
5351 ac_compiler_gnu=yes
5352 else
5353 ac_compiler_gnu=no
5355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5356 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5360 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5361 if test $ac_compiler_gnu = yes; then
5362 GXX=yes
5363 else
5364 GXX=
5366 ac_test_CXXFLAGS=${CXXFLAGS+set}
5367 ac_save_CXXFLAGS=$CXXFLAGS
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5369 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5370 if ${ac_cv_prog_cxx_g+:} false; then :
5371 $as_echo_n "(cached) " >&6
5372 else
5373 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5374 ac_cxx_werror_flag=yes
5375 ac_cv_prog_cxx_g=no
5376 CXXFLAGS="-g"
5377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5378 /* end confdefs.h. */
5381 main ()
5385 return 0;
5387 _ACEOF
5388 if ac_fn_cxx_try_compile "$LINENO"; then :
5389 ac_cv_prog_cxx_g=yes
5390 else
5391 CXXFLAGS=""
5392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5393 /* end confdefs.h. */
5396 main ()
5400 return 0;
5402 _ACEOF
5403 if ac_fn_cxx_try_compile "$LINENO"; then :
5405 else
5406 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5407 CXXFLAGS="-g"
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 :
5420 ac_cv_prog_cxx_g=yes
5422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5427 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5430 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5431 if test "$ac_test_CXXFLAGS" = set; then
5432 CXXFLAGS=$ac_save_CXXFLAGS
5433 elif test $ac_cv_prog_cxx_g = yes; then
5434 if test "$GXX" = yes; then
5435 CXXFLAGS="-g -O2"
5436 else
5437 CXXFLAGS="-g"
5439 else
5440 if test "$GXX" = yes; then
5441 CXXFLAGS="-O2"
5442 else
5443 CXXFLAGS=
5446 ac_ext=c
5447 ac_cpp='$CPP $CPPFLAGS'
5448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5452 if test -n "$ac_tool_prefix"; then
5453 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5454 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5456 $as_echo_n "checking for $ac_word... " >&6; }
5457 if ${ac_cv_prog_CPPBIN+:} false; then :
5458 $as_echo_n "(cached) " >&6
5459 else
5460 if test -n "$CPPBIN"; then
5461 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5462 else
5463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5464 for as_dir in $PATH
5466 IFS=$as_save_IFS
5467 test -z "$as_dir" && as_dir=.
5468 for ac_exec_ext in '' $ac_executable_extensions; do
5469 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5470 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5472 break 2
5474 done
5475 done
5476 IFS=$as_save_IFS
5480 CPPBIN=$ac_cv_prog_CPPBIN
5481 if test -n "$CPPBIN"; then
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5483 $as_echo "$CPPBIN" >&6; }
5484 else
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5486 $as_echo "no" >&6; }
5491 if test -z "$ac_cv_prog_CPPBIN"; then
5492 ac_ct_CPPBIN=$CPPBIN
5493 # Extract the first word of "cpp", so it can be a program name with args.
5494 set dummy cpp; ac_word=$2
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5496 $as_echo_n "checking for $ac_word... " >&6; }
5497 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5498 $as_echo_n "(cached) " >&6
5499 else
5500 if test -n "$ac_ct_CPPBIN"; then
5501 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5502 else
5503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5504 for as_dir in $PATH
5506 IFS=$as_save_IFS
5507 test -z "$as_dir" && as_dir=.
5508 for ac_exec_ext in '' $ac_executable_extensions; do
5509 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5510 ac_cv_prog_ac_ct_CPPBIN="cpp"
5511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5512 break 2
5514 done
5515 done
5516 IFS=$as_save_IFS
5520 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5521 if test -n "$ac_ct_CPPBIN"; then
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5523 $as_echo "$ac_ct_CPPBIN" >&6; }
5524 else
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5526 $as_echo "no" >&6; }
5529 if test "x$ac_ct_CPPBIN" = x; then
5530 CPPBIN="cpp"
5531 else
5532 case $cross_compiling:$ac_tool_warned in
5533 yes:)
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5535 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5536 ac_tool_warned=yes ;;
5537 esac
5538 CPPBIN=$ac_ct_CPPBIN
5540 else
5541 CPPBIN="$ac_cv_prog_CPPBIN"
5545 cat >>confdefs.h <<_ACEOF
5546 #define EXEEXT "$ac_exeext"
5547 _ACEOF
5549 if test -n "$ac_tool_prefix"; then
5550 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5551 set dummy ${ac_tool_prefix}ld; ac_word=$2
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5553 $as_echo_n "checking for $ac_word... " >&6; }
5554 if ${ac_cv_prog_LD+:} false; then :
5555 $as_echo_n "(cached) " >&6
5556 else
5557 if test -n "$LD"; then
5558 ac_cv_prog_LD="$LD" # Let the user override the test.
5559 else
5560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5561 for as_dir in $PATH
5563 IFS=$as_save_IFS
5564 test -z "$as_dir" && as_dir=.
5565 for ac_exec_ext in '' $ac_executable_extensions; do
5566 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5567 ac_cv_prog_LD="${ac_tool_prefix}ld"
5568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5569 break 2
5571 done
5572 done
5573 IFS=$as_save_IFS
5577 LD=$ac_cv_prog_LD
5578 if test -n "$LD"; then
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5580 $as_echo "$LD" >&6; }
5581 else
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5583 $as_echo "no" >&6; }
5588 if test -z "$ac_cv_prog_LD"; then
5589 ac_ct_LD=$LD
5590 # Extract the first word of "ld", so it can be a program name with args.
5591 set dummy ld; ac_word=$2
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5593 $as_echo_n "checking for $ac_word... " >&6; }
5594 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5595 $as_echo_n "(cached) " >&6
5596 else
5597 if test -n "$ac_ct_LD"; then
5598 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5599 else
5600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5601 for as_dir in $PATH
5603 IFS=$as_save_IFS
5604 test -z "$as_dir" && as_dir=.
5605 for ac_exec_ext in '' $ac_executable_extensions; do
5606 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5607 ac_cv_prog_ac_ct_LD="ld"
5608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5609 break 2
5611 done
5612 done
5613 IFS=$as_save_IFS
5617 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5618 if test -n "$ac_ct_LD"; then
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5620 $as_echo "$ac_ct_LD" >&6; }
5621 else
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5623 $as_echo "no" >&6; }
5626 if test "x$ac_ct_LD" = x; then
5627 LD=""
5628 else
5629 case $cross_compiling:$ac_tool_warned in
5630 yes:)
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5632 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5633 ac_tool_warned=yes ;;
5634 esac
5635 LD=$ac_ct_LD
5637 else
5638 LD="$ac_cv_prog_LD"
5642 case $host in
5643 *-darwin*)
5644 with_fontconfig=${with_fontconfig:-no}
5646 *-mingw32*|*-cygwin*)
5647 enable_win16=${enable_win16:-no}
5648 with_mingw=${with_mingw:-no}
5649 CFLAGS="$CFLAGS -D_WIN32"
5651 esac
5654 case $host in
5655 x86_64*|amd64*)
5656 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5657 then
5658 CC="$CC -m32"
5659 CXX="$CXX -m32"
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5662 $as_echo_n "checking whether $CC works... " >&6; }
5663 if ${wine_cv_cc_m32+:} false; then :
5664 $as_echo_n "(cached) " >&6
5665 else
5666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5667 /* end confdefs.h. */
5670 main ()
5674 return 0;
5676 _ACEOF
5677 if ac_fn_c_try_link "$LINENO"; then :
5678 wine_cv_cc_m32=yes
5679 else
5680 wine_cv_cc_m32=no
5682 rm -f core conftest.err conftest.$ac_objext \
5683 conftest$ac_exeext conftest.$ac_ext
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5686 $as_echo "$wine_cv_cc_m32" >&6; }
5687 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
5688 host_cpu="i386"
5689 notice_platform="32-bit "
5690 TARGETFLAGS="$TARGETFLAGS -m32"
5691 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5692 export PKG_CONFIG_PATH
5693 enable_win16=${enable_win16:-yes}
5694 with_unwind=${with_unwind:-no}
5695 else
5696 if test "x${GCC}" = "xyes"
5697 then
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5699 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5700 if ${wine_cv_builtin_ms_va_list+:} false; then :
5701 $as_echo_n "(cached) " >&6
5702 else
5703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5704 /* end confdefs.h. */
5705 #include <stdarg.h>
5707 main ()
5709 void func(__builtin_ms_va_list *args);
5711 return 0;
5713 _ACEOF
5714 if ac_fn_c_try_compile "$LINENO"; then :
5715 wine_cv_builtin_ms_va_list=yes
5716 else
5717 wine_cv_builtin_ms_va_list=no
5719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5722 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5723 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
5725 CC="$CC -m64"
5726 CXX="$CXX -m64"
5727 host_cpu="x86_64"
5728 notice_platform="64-bit "
5729 TARGETFLAGS="$TARGETFLAGS -m64"
5730 enable_wow64cpu=${enable_wow64cpu:-yes}
5733 arm*)
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
5735 $as_echo_n "checking whether $CC supports Thumb-2... " >&6; }
5736 if ${wine_cv_thumb2+:} false; then :
5737 $as_echo_n "(cached) " >&6
5738 else
5739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5740 /* end confdefs.h. */
5743 main ()
5745 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
5747 return 0;
5749 _ACEOF
5750 if ac_fn_c_try_link "$LINENO"; then :
5751 wine_cv_thumb2=yes
5752 else
5753 wine_cv_thumb2=no
5755 rm -f core conftest.err conftest.$ac_objext \
5756 conftest$ac_exeext conftest.$ac_ext
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
5759 $as_echo "$wine_cv_thumb2" >&6; }
5760 if test x"$wine_cv_thumb2" = xyes
5761 then
5762 CFLAGS="$CFLAGS -mthumb"
5763 TARGETFLAGS="$TARGETFLAGS -mthumb"
5764 else
5765 CFLAGS="$CFLAGS -marm"
5766 TARGETFLAGS="$TARGETFLAGS -marm"
5768 case $with_float_abi in
5769 soft|softfp|hard)
5770 float_abi=$with_float_abi ;;
5772 case $host_os in
5773 *eabihf)
5774 float_abi=hard ;;
5776 float_abi=softfp
5777 saved_CFLAGS=$CFLAGS
5778 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5780 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5781 if ${wine_cv_float_abi+:} false; then :
5782 $as_echo_n "(cached) " >&6
5783 else
5784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5785 /* end confdefs.h. */
5788 main ()
5790 asm("vmrs r2,fpscr");
5792 return 0;
5794 _ACEOF
5795 if ac_fn_c_try_link "$LINENO"; then :
5796 wine_cv_float_abi=yes
5797 else
5798 wine_cv_float_abi=no
5800 rm -f core conftest.err conftest.$ac_objext \
5801 conftest$ac_exeext conftest.$ac_ext
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5804 $as_echo "$wine_cv_float_abi" >&6; }
5805 if test $wine_cv_float_abi = no
5806 then
5807 float_abi=soft
5808 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5810 CFLAGS=$saved_CFLAGS
5811 esac
5813 esac
5814 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5815 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
5817 aarch64*)
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5819 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5820 if ${wine_cv_builtin_ms_va_list+:} false; then :
5821 $as_echo_n "(cached) " >&6
5822 else
5823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5824 /* end confdefs.h. */
5825 #include <stdarg.h>
5827 main ()
5829 void func(__builtin_ms_va_list *args);
5831 return 0;
5833 _ACEOF
5834 if ac_fn_c_try_compile "$LINENO"; then :
5835 wine_cv_builtin_ms_va_list=yes
5836 else
5837 wine_cv_builtin_ms_va_list=no
5839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5842 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5843 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5845 i[3456789]86*)
5846 enable_win16=${enable_win16:-yes}
5847 with_unwind=${with_unwind:-no}
5849 esac
5851 enable_win16=${enable_win16:-no}
5852 enable_win64=${enable_win64:-no}
5853 enable_wow64cpu=${enable_wow64cpu:-no}
5855 enable_winetest=${enable_winetest:-$enable_tests}
5857 if test "x$enable_win64" = "xyes"
5858 then
5859 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5860 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5861 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5865 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5866 if ${wine_cv_toolsdir+:} false; then :
5867 $as_echo_n "(cached) " >&6
5868 else
5869 wine_cv_toolsdir="$with_wine_tools"
5870 if test -z "$with_wine_tools"; then
5871 if test "$cross_compiling" = "yes"; then
5872 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5873 elif test -n "$with_wine64"; then
5874 wine_cv_toolsdir="$with_wine64"
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5879 $as_echo "$wine_cv_toolsdir" >&6; }
5880 if test -z "$wine_cv_toolsdir"; then
5881 wine_makedep=tools/makedep
5882 TOOLSDIR="."
5884 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5885 wine_makedep=$wine_cv_toolsdir/tools/makedep
5886 TOOLSDIR=$wine_cv_toolsdir
5888 enable_tools=${enable_tools:-no}
5889 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5890 else
5891 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5893 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5894 then
5895 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5898 for ac_prog in flex
5900 # Extract the first word of "$ac_prog", so it can be a program name with args.
5901 set dummy $ac_prog; ac_word=$2
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5903 $as_echo_n "checking for $ac_word... " >&6; }
5904 if ${ac_cv_prog_FLEX+:} false; then :
5905 $as_echo_n "(cached) " >&6
5906 else
5907 if test -n "$FLEX"; then
5908 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5909 else
5910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5911 for as_dir in $PATH
5913 IFS=$as_save_IFS
5914 test -z "$as_dir" && as_dir=.
5915 for ac_exec_ext in '' $ac_executable_extensions; do
5916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5917 ac_cv_prog_FLEX="$ac_prog"
5918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5919 break 2
5921 done
5922 done
5923 IFS=$as_save_IFS
5927 FLEX=$ac_cv_prog_FLEX
5928 if test -n "$FLEX"; then
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5930 $as_echo "$FLEX" >&6; }
5931 else
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5933 $as_echo "no" >&6; }
5937 test -n "$FLEX" && break
5938 done
5939 test -n "$FLEX" || FLEX="none"
5941 if test "$FLEX" = "none"
5942 then
5943 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5946 $as_echo_n "checking whether flex is recent enough... " >&6; }
5947 if ${wine_cv_recent_flex+:} false; then :
5948 $as_echo_n "(cached) " >&6
5949 else
5950 cat >conftest.l <<EOF
5951 %top{
5952 #include "prediluvian.h"
5956 if $FLEX -t conftest.l >/dev/null 2>&5
5957 then
5958 wine_cv_recent_flex=yes
5959 else
5960 wine_cv_recent_flex=no
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5964 $as_echo "$wine_cv_recent_flex" >&6; }
5965 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
5967 for ac_prog in bison
5969 # Extract the first word of "$ac_prog", so it can be a program name with args.
5970 set dummy $ac_prog; ac_word=$2
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5972 $as_echo_n "checking for $ac_word... " >&6; }
5973 if ${ac_cv_prog_BISON+:} false; then :
5974 $as_echo_n "(cached) " >&6
5975 else
5976 if test -n "$BISON"; then
5977 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5978 else
5979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5980 for as_dir in $PATH
5982 IFS=$as_save_IFS
5983 test -z "$as_dir" && as_dir=.
5984 for ac_exec_ext in '' $ac_executable_extensions; do
5985 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5986 ac_cv_prog_BISON="$ac_prog"
5987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5988 break 2
5990 done
5991 done
5992 IFS=$as_save_IFS
5996 BISON=$ac_cv_prog_BISON
5997 if test -n "$BISON"; then
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5999 $as_echo "$BISON" >&6; }
6000 else
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6002 $as_echo "no" >&6; }
6006 test -n "$BISON" && break
6007 done
6008 test -n "$BISON" || BISON="none"
6010 if test "$BISON" = "none"
6011 then
6012 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6015 $as_echo_n "checking whether bison is recent enough... " >&6; }
6016 if ${wine_cv_recent_bison+:} false; then :
6017 $as_echo_n "(cached) " >&6
6018 else
6019 cat >conftest.y <<EOF
6020 %define parse.error verbose
6022 empty: ;
6024 if $BISON conftest.y >/dev/null 2>&5
6025 then
6026 wine_cv_recent_bison=yes
6027 else
6028 wine_cv_recent_bison=no
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6032 $as_echo "$wine_cv_recent_bison" >&6; }
6033 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
6035 if test -n "$ac_tool_prefix"; then
6036 for ac_prog in ar gar
6038 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6039 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6041 $as_echo_n "checking for $ac_word... " >&6; }
6042 if ${ac_cv_prog_AR+:} false; then :
6043 $as_echo_n "(cached) " >&6
6044 else
6045 if test -n "$AR"; then
6046 ac_cv_prog_AR="$AR" # Let the user override the test.
6047 else
6048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6049 for as_dir in $PATH
6051 IFS=$as_save_IFS
6052 test -z "$as_dir" && as_dir=.
6053 for ac_exec_ext in '' $ac_executable_extensions; do
6054 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6055 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6057 break 2
6059 done
6060 done
6061 IFS=$as_save_IFS
6065 AR=$ac_cv_prog_AR
6066 if test -n "$AR"; then
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6068 $as_echo "$AR" >&6; }
6069 else
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6071 $as_echo "no" >&6; }
6075 test -n "$AR" && break
6076 done
6078 if test -z "$AR"; then
6079 ac_ct_AR=$AR
6080 for ac_prog in ar gar
6082 # Extract the first word of "$ac_prog", so it can be a program name with args.
6083 set dummy $ac_prog; ac_word=$2
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6085 $as_echo_n "checking for $ac_word... " >&6; }
6086 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6087 $as_echo_n "(cached) " >&6
6088 else
6089 if test -n "$ac_ct_AR"; then
6090 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6091 else
6092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6093 for as_dir in $PATH
6095 IFS=$as_save_IFS
6096 test -z "$as_dir" && as_dir=.
6097 for ac_exec_ext in '' $ac_executable_extensions; do
6098 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6099 ac_cv_prog_ac_ct_AR="$ac_prog"
6100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6101 break 2
6103 done
6104 done
6105 IFS=$as_save_IFS
6109 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6110 if test -n "$ac_ct_AR"; then
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6112 $as_echo "$ac_ct_AR" >&6; }
6113 else
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6115 $as_echo "no" >&6; }
6119 test -n "$ac_ct_AR" && break
6120 done
6122 if test "x$ac_ct_AR" = x; then
6123 AR="ar"
6124 else
6125 case $cross_compiling:$ac_tool_warned in
6126 yes:)
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6128 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6129 ac_tool_warned=yes ;;
6130 esac
6131 AR=$ac_ct_AR
6135 if test -n "$ac_tool_prefix"; then
6136 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6137 set dummy ${ac_tool_prefix}strip; ac_word=$2
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6139 $as_echo_n "checking for $ac_word... " >&6; }
6140 if ${ac_cv_prog_STRIP+:} false; then :
6141 $as_echo_n "(cached) " >&6
6142 else
6143 if test -n "$STRIP"; then
6144 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6145 else
6146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6147 for as_dir in $PATH
6149 IFS=$as_save_IFS
6150 test -z "$as_dir" && as_dir=.
6151 for ac_exec_ext in '' $ac_executable_extensions; do
6152 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6153 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6155 break 2
6157 done
6158 done
6159 IFS=$as_save_IFS
6163 STRIP=$ac_cv_prog_STRIP
6164 if test -n "$STRIP"; then
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6166 $as_echo "$STRIP" >&6; }
6167 else
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6169 $as_echo "no" >&6; }
6174 if test -z "$ac_cv_prog_STRIP"; then
6175 ac_ct_STRIP=$STRIP
6176 # Extract the first word of "strip", so it can be a program name with args.
6177 set dummy strip; ac_word=$2
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6179 $as_echo_n "checking for $ac_word... " >&6; }
6180 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6181 $as_echo_n "(cached) " >&6
6182 else
6183 if test -n "$ac_ct_STRIP"; then
6184 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6185 else
6186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6187 for as_dir in $PATH
6189 IFS=$as_save_IFS
6190 test -z "$as_dir" && as_dir=.
6191 for ac_exec_ext in '' $ac_executable_extensions; do
6192 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6193 ac_cv_prog_ac_ct_STRIP="strip"
6194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6195 break 2
6197 done
6198 done
6199 IFS=$as_save_IFS
6203 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6204 if test -n "$ac_ct_STRIP"; then
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6206 $as_echo "$ac_ct_STRIP" >&6; }
6207 else
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6209 $as_echo "no" >&6; }
6212 if test "x$ac_ct_STRIP" = x; then
6213 STRIP="strip"
6214 else
6215 case $cross_compiling:$ac_tool_warned in
6216 yes:)
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6218 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6219 ac_tool_warned=yes ;;
6220 esac
6221 STRIP=$ac_ct_STRIP
6223 else
6224 STRIP="$ac_cv_prog_STRIP"
6227 if test -n "$ac_tool_prefix"; then
6228 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6229 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6231 $as_echo_n "checking for $ac_word... " >&6; }
6232 if ${ac_cv_prog_RANLIB+:} false; then :
6233 $as_echo_n "(cached) " >&6
6234 else
6235 if test -n "$RANLIB"; then
6236 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6237 else
6238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6239 for as_dir in $PATH
6241 IFS=$as_save_IFS
6242 test -z "$as_dir" && as_dir=.
6243 for ac_exec_ext in '' $ac_executable_extensions; do
6244 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6245 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6247 break 2
6249 done
6250 done
6251 IFS=$as_save_IFS
6255 RANLIB=$ac_cv_prog_RANLIB
6256 if test -n "$RANLIB"; then
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6258 $as_echo "$RANLIB" >&6; }
6259 else
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6261 $as_echo "no" >&6; }
6266 if test -z "$ac_cv_prog_RANLIB"; then
6267 ac_ct_RANLIB=$RANLIB
6268 # Extract the first word of "ranlib", so it can be a program name with args.
6269 set dummy ranlib; ac_word=$2
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6271 $as_echo_n "checking for $ac_word... " >&6; }
6272 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6273 $as_echo_n "(cached) " >&6
6274 else
6275 if test -n "$ac_ct_RANLIB"; then
6276 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6277 else
6278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6279 for as_dir in $PATH
6281 IFS=$as_save_IFS
6282 test -z "$as_dir" && as_dir=.
6283 for ac_exec_ext in '' $ac_executable_extensions; do
6284 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6285 ac_cv_prog_ac_ct_RANLIB="ranlib"
6286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6287 break 2
6289 done
6290 done
6291 IFS=$as_save_IFS
6295 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6296 if test -n "$ac_ct_RANLIB"; then
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6298 $as_echo "$ac_ct_RANLIB" >&6; }
6299 else
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6301 $as_echo "no" >&6; }
6304 if test "x$ac_ct_RANLIB" = x; then
6305 RANLIB=":"
6306 else
6307 case $cross_compiling:$ac_tool_warned in
6308 yes:)
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6310 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6311 ac_tool_warned=yes ;;
6312 esac
6313 RANLIB=$ac_ct_RANLIB
6315 else
6316 RANLIB="$ac_cv_prog_RANLIB"
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6320 $as_echo_n "checking whether ln -s works... " >&6; }
6321 LN_S=$as_ln_s
6322 if test "$LN_S" = "ln -s"; then
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6324 $as_echo "yes" >&6; }
6325 else
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6327 $as_echo "no, using $LN_S" >&6; }
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6331 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6332 if ${ac_cv_path_GREP+:} false; then :
6333 $as_echo_n "(cached) " >&6
6334 else
6335 if test -z "$GREP"; then
6336 ac_path_GREP_found=false
6337 # Loop through the user's path and test for each of PROGNAME-LIST
6338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6339 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6341 IFS=$as_save_IFS
6342 test -z "$as_dir" && as_dir=.
6343 for ac_prog in grep ggrep; do
6344 for ac_exec_ext in '' $ac_executable_extensions; do
6345 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6346 as_fn_executable_p "$ac_path_GREP" || continue
6347 # Check for GNU ac_path_GREP and select it if it is found.
6348 # Check for GNU $ac_path_GREP
6349 case `"$ac_path_GREP" --version 2>&1` in
6350 *GNU*)
6351 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6353 ac_count=0
6354 $as_echo_n 0123456789 >"conftest.in"
6355 while :
6357 cat "conftest.in" "conftest.in" >"conftest.tmp"
6358 mv "conftest.tmp" "conftest.in"
6359 cp "conftest.in" "conftest.nl"
6360 $as_echo 'GREP' >> "conftest.nl"
6361 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6362 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6363 as_fn_arith $ac_count + 1 && ac_count=$as_val
6364 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6365 # Best one so far, save it but keep looking for a better one
6366 ac_cv_path_GREP="$ac_path_GREP"
6367 ac_path_GREP_max=$ac_count
6369 # 10*(2^10) chars as input seems more than enough
6370 test $ac_count -gt 10 && break
6371 done
6372 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6373 esac
6375 $ac_path_GREP_found && break 3
6376 done
6377 done
6378 done
6379 IFS=$as_save_IFS
6380 if test -z "$ac_cv_path_GREP"; then
6381 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6383 else
6384 ac_cv_path_GREP=$GREP
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6389 $as_echo "$ac_cv_path_GREP" >&6; }
6390 GREP="$ac_cv_path_GREP"
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6394 $as_echo_n "checking for egrep... " >&6; }
6395 if ${ac_cv_path_EGREP+:} false; then :
6396 $as_echo_n "(cached) " >&6
6397 else
6398 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6399 then ac_cv_path_EGREP="$GREP -E"
6400 else
6401 if test -z "$EGREP"; then
6402 ac_path_EGREP_found=false
6403 # Loop through the user's path and test for each of PROGNAME-LIST
6404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6405 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6407 IFS=$as_save_IFS
6408 test -z "$as_dir" && as_dir=.
6409 for ac_prog in egrep; do
6410 for ac_exec_ext in '' $ac_executable_extensions; do
6411 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6412 as_fn_executable_p "$ac_path_EGREP" || continue
6413 # Check for GNU ac_path_EGREP and select it if it is found.
6414 # Check for GNU $ac_path_EGREP
6415 case `"$ac_path_EGREP" --version 2>&1` in
6416 *GNU*)
6417 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6419 ac_count=0
6420 $as_echo_n 0123456789 >"conftest.in"
6421 while :
6423 cat "conftest.in" "conftest.in" >"conftest.tmp"
6424 mv "conftest.tmp" "conftest.in"
6425 cp "conftest.in" "conftest.nl"
6426 $as_echo 'EGREP' >> "conftest.nl"
6427 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6428 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6429 as_fn_arith $ac_count + 1 && ac_count=$as_val
6430 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6431 # Best one so far, save it but keep looking for a better one
6432 ac_cv_path_EGREP="$ac_path_EGREP"
6433 ac_path_EGREP_max=$ac_count
6435 # 10*(2^10) chars as input seems more than enough
6436 test $ac_count -gt 10 && break
6437 done
6438 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6439 esac
6441 $ac_path_EGREP_found && break 3
6442 done
6443 done
6444 done
6445 IFS=$as_save_IFS
6446 if test -z "$ac_cv_path_EGREP"; then
6447 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6449 else
6450 ac_cv_path_EGREP=$EGREP
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6456 $as_echo "$ac_cv_path_EGREP" >&6; }
6457 EGREP="$ac_cv_path_EGREP"
6460 # Extract the first word of "ldconfig", so it can be a program name with args.
6461 set dummy ldconfig; ac_word=$2
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6463 $as_echo_n "checking for $ac_word... " >&6; }
6464 if ${ac_cv_path_LDCONFIG+:} false; then :
6465 $as_echo_n "(cached) " >&6
6466 else
6467 case $LDCONFIG in
6468 [\\/]* | ?:[\\/]*)
6469 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6473 for as_dir in /sbin /usr/sbin $PATH
6475 IFS=$as_save_IFS
6476 test -z "$as_dir" && as_dir=.
6477 for ac_exec_ext in '' $ac_executable_extensions; do
6478 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6479 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6481 break 2
6483 done
6484 done
6485 IFS=$as_save_IFS
6487 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6489 esac
6491 LDCONFIG=$ac_cv_path_LDCONFIG
6492 if test -n "$LDCONFIG"; then
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6494 $as_echo "$LDCONFIG" >&6; }
6495 else
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6497 $as_echo "no" >&6; }
6501 for ac_prog in msgfmt
6503 # Extract the first word of "$ac_prog", so it can be a program name with args.
6504 set dummy $ac_prog; ac_word=$2
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6506 $as_echo_n "checking for $ac_word... " >&6; }
6507 if ${ac_cv_prog_MSGFMT+:} false; then :
6508 $as_echo_n "(cached) " >&6
6509 else
6510 if test -n "$MSGFMT"; then
6511 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6512 else
6513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6514 for as_dir in $PATH
6516 IFS=$as_save_IFS
6517 test -z "$as_dir" && as_dir=.
6518 for ac_exec_ext in '' $ac_executable_extensions; do
6519 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6520 ac_cv_prog_MSGFMT="$ac_prog"
6521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6522 break 2
6524 done
6525 done
6526 IFS=$as_save_IFS
6530 MSGFMT=$ac_cv_prog_MSGFMT
6531 if test -n "$MSGFMT"; then
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6533 $as_echo "$MSGFMT" >&6; }
6534 else
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6536 $as_echo "no" >&6; }
6540 test -n "$MSGFMT" && break
6541 done
6542 test -n "$MSGFMT" || MSGFMT="false"
6544 if ${ac_tool_prefix+:} false; then :
6545 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6546 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6548 $as_echo_n "checking for $ac_word... " >&6; }
6549 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6550 $as_echo_n "(cached) " >&6
6551 else
6552 if test -n "$PKG_CONFIG"; then
6553 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6554 else
6555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6556 for as_dir in $PATH
6558 IFS=$as_save_IFS
6559 test -z "$as_dir" && as_dir=.
6560 for ac_exec_ext in '' $ac_executable_extensions; do
6561 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6562 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6564 break 2
6566 done
6567 done
6568 IFS=$as_save_IFS
6572 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6573 if test -n "$PKG_CONFIG"; then
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6575 $as_echo "$PKG_CONFIG" >&6; }
6576 else
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6578 $as_echo "no" >&6; }
6583 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6584 if test "x$cross_compiling" = xyes; then :
6586 else
6587 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6588 # Extract the first word of "pkg-config", so it can be a program name with args.
6589 set dummy pkg-config; ac_word=$2
6590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6591 $as_echo_n "checking for $ac_word... " >&6; }
6592 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6593 $as_echo_n "(cached) " >&6
6594 else
6595 if test -n "$PKG_CONFIG"; then
6596 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6597 else
6598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6599 for as_dir in $PATH
6601 IFS=$as_save_IFS
6602 test -z "$as_dir" && as_dir=.
6603 for ac_exec_ext in '' $ac_executable_extensions; do
6604 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6605 ac_cv_prog_PKG_CONFIG="pkg-config"
6606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6607 break 2
6609 done
6610 done
6611 IFS=$as_save_IFS
6615 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6616 if test -n "$PKG_CONFIG"; then
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6618 $as_echo "$PKG_CONFIG" >&6; }
6619 else
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6621 $as_echo "no" >&6; }
6626 else
6627 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6630 if test "x$enable_maintainer_mode" != "xyes"
6631 then
6632 FONTFORGE=""
6633 RSVG=""
6634 CONVERT=""
6635 ICOTOOL=""
6636 else
6637 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6638 for ac_prog in fontforge
6640 # Extract the first word of "$ac_prog", so it can be a program name with args.
6641 set dummy $ac_prog; ac_word=$2
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6643 $as_echo_n "checking for $ac_word... " >&6; }
6644 if ${ac_cv_prog_FONTFORGE+:} false; then :
6645 $as_echo_n "(cached) " >&6
6646 else
6647 if test -n "$FONTFORGE"; then
6648 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6649 else
6650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6651 for as_dir in $PATH
6653 IFS=$as_save_IFS
6654 test -z "$as_dir" && as_dir=.
6655 for ac_exec_ext in '' $ac_executable_extensions; do
6656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6657 ac_cv_prog_FONTFORGE="$ac_prog"
6658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6659 break 2
6661 done
6662 done
6663 IFS=$as_save_IFS
6667 FONTFORGE=$ac_cv_prog_FONTFORGE
6668 if test -n "$FONTFORGE"; then
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6670 $as_echo "$FONTFORGE" >&6; }
6671 else
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6673 $as_echo "no" >&6; }
6677 test -n "$FONTFORGE" && break
6678 done
6679 test -n "$FONTFORGE" || FONTFORGE="false"
6681 for ac_prog in rsvg-convert rsvg
6683 # Extract the first word of "$ac_prog", so it can be a program name with args.
6684 set dummy $ac_prog; ac_word=$2
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6686 $as_echo_n "checking for $ac_word... " >&6; }
6687 if ${ac_cv_prog_RSVG+:} false; then :
6688 $as_echo_n "(cached) " >&6
6689 else
6690 if test -n "$RSVG"; then
6691 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6692 else
6693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6694 for as_dir in $PATH
6696 IFS=$as_save_IFS
6697 test -z "$as_dir" && as_dir=.
6698 for ac_exec_ext in '' $ac_executable_extensions; do
6699 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6700 ac_cv_prog_RSVG="$ac_prog"
6701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6702 break 2
6704 done
6705 done
6706 IFS=$as_save_IFS
6710 RSVG=$ac_cv_prog_RSVG
6711 if test -n "$RSVG"; then
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6713 $as_echo "$RSVG" >&6; }
6714 else
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6716 $as_echo "no" >&6; }
6720 test -n "$RSVG" && break
6721 done
6722 test -n "$RSVG" || RSVG="false"
6724 for ac_prog in convert
6726 # Extract the first word of "$ac_prog", so it can be a program name with args.
6727 set dummy $ac_prog; ac_word=$2
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6729 $as_echo_n "checking for $ac_word... " >&6; }
6730 if ${ac_cv_prog_CONVERT+:} false; then :
6731 $as_echo_n "(cached) " >&6
6732 else
6733 if test -n "$CONVERT"; then
6734 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6735 else
6736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6737 for as_dir in $PATH
6739 IFS=$as_save_IFS
6740 test -z "$as_dir" && as_dir=.
6741 for ac_exec_ext in '' $ac_executable_extensions; do
6742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6743 ac_cv_prog_CONVERT="$ac_prog"
6744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6745 break 2
6747 done
6748 done
6749 IFS=$as_save_IFS
6753 CONVERT=$ac_cv_prog_CONVERT
6754 if test -n "$CONVERT"; then
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6756 $as_echo "$CONVERT" >&6; }
6757 else
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6759 $as_echo "no" >&6; }
6763 test -n "$CONVERT" && break
6764 done
6765 test -n "$CONVERT" || CONVERT="false"
6767 for ac_prog in icotool
6769 # Extract the first word of "$ac_prog", so it can be a program name with args.
6770 set dummy $ac_prog; ac_word=$2
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6772 $as_echo_n "checking for $ac_word... " >&6; }
6773 if ${ac_cv_prog_ICOTOOL+:} false; then :
6774 $as_echo_n "(cached) " >&6
6775 else
6776 if test -n "$ICOTOOL"; then
6777 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6778 else
6779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6780 for as_dir in $PATH
6782 IFS=$as_save_IFS
6783 test -z "$as_dir" && as_dir=.
6784 for ac_exec_ext in '' $ac_executable_extensions; do
6785 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6786 ac_cv_prog_ICOTOOL="$ac_prog"
6787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6788 break 2
6790 done
6791 done
6792 IFS=$as_save_IFS
6796 ICOTOOL=$ac_cv_prog_ICOTOOL
6797 if test -n "$ICOTOOL"; then
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6799 $as_echo "$ICOTOOL" >&6; }
6800 else
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6802 $as_echo "no" >&6; }
6806 test -n "$ICOTOOL" && break
6807 done
6808 test -n "$ICOTOOL" || ICOTOOL="false"
6810 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6811 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6813 if test "$CONVERT" = false
6814 then
6815 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6816 else
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6818 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6819 convert_version=`convert --version | head -n1`
6820 if test "x$convert_version" != "x"
6821 then
6822 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6823 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6824 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6825 then
6826 CONVERT=false
6829 if test "$CONVERT" = false
6830 then
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6832 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6833 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6834 else
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6836 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6840 if test "$ICOTOOL" = false
6841 then
6842 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6843 else
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6845 $as_echo_n "checking for recent enough icotool... " >&6; }
6846 icotool_version=`icotool --version | head -n1`
6847 if test "x$icotool_version" != "x"
6848 then
6849 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6850 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6851 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6852 then
6853 ICOTOOL=false
6854 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6857 if test "$ICOTOOL" = false
6858 then
6859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6860 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6861 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6862 else
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6864 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6868 with_gettext=yes
6869 with_gettextpo=yes
6871 enable_werror=yes
6874 test "x$with_gettext" != xno || MSGFMT=false
6875 if test "$MSGFMT" != "false"
6876 then
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6878 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6879 if ${wine_cv_msgfmt_contexts+:} false; then :
6880 $as_echo_n "(cached) " >&6
6881 else
6882 cat >conftest.po <<EOF
6883 # comment
6884 msgctxt "ctxt"
6885 msgid "id"
6886 msgstr "str"
6888 if $MSGFMT -o /dev/null conftest.po 2>&5
6889 then
6890 wine_cv_msgfmt_contexts=yes
6891 else
6892 wine_cv_msgfmt_contexts=no
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6896 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6897 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6899 if test "$MSGFMT" = false; then :
6900 case "x$with_gettext" in
6901 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6902 xno) ;;
6903 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6904 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6905 esac
6906 enable_po=${enable_po:-no}
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6911 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6912 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6913 $as_echo_n "(cached) " >&6
6914 else
6915 ac_check_lib_save_LIBS=$LIBS
6916 LIBS="-li386 $LIBS"
6917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6918 /* end confdefs.h. */
6920 /* Override any GCC internal prototype to avoid an error.
6921 Use char because int might match the return type of a GCC
6922 builtin and then its argument prototype would still apply. */
6923 #ifdef __cplusplus
6924 extern "C"
6925 #endif
6926 char i386_set_ldt ();
6928 main ()
6930 return i386_set_ldt ();
6932 return 0;
6934 _ACEOF
6935 if ac_fn_c_try_link "$LINENO"; then :
6936 ac_cv_lib_i386_i386_set_ldt=yes
6937 else
6938 ac_cv_lib_i386_i386_set_ldt=no
6940 rm -f core conftest.err conftest.$ac_objext \
6941 conftest$ac_exeext conftest.$ac_ext
6942 LIBS=$ac_check_lib_save_LIBS
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6945 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6946 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6947 I386_LIBS="-li386"
6952 OPENGL_LIBS=""
6956 # Check whether --enable-largefile was given.
6957 if test "${enable_largefile+set}" = set; then :
6958 enableval=$enable_largefile;
6961 if test "$enable_largefile" != no; then
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6964 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6965 if ${ac_cv_sys_largefile_CC+:} false; then :
6966 $as_echo_n "(cached) " >&6
6967 else
6968 ac_cv_sys_largefile_CC=no
6969 if test "$GCC" != yes; then
6970 ac_save_CC=$CC
6971 while :; do
6972 # IRIX 6.2 and later do not support large files by default,
6973 # so use the C compiler's -n32 option if that helps.
6974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6975 /* end confdefs.h. */
6976 #include <sys/types.h>
6977 /* Check that off_t can represent 2**63 - 1 correctly.
6978 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6979 since some C++ compilers masquerading as C compilers
6980 incorrectly reject 9223372036854775807. */
6981 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6982 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6983 && LARGE_OFF_T % 2147483647 == 1)
6984 ? 1 : -1];
6986 main ()
6990 return 0;
6992 _ACEOF
6993 if ac_fn_c_try_compile "$LINENO"; then :
6994 break
6996 rm -f core conftest.err conftest.$ac_objext
6997 CC="$CC -n32"
6998 if ac_fn_c_try_compile "$LINENO"; then :
6999 ac_cv_sys_largefile_CC=' -n32'; break
7001 rm -f core conftest.err conftest.$ac_objext
7002 break
7003 done
7004 CC=$ac_save_CC
7005 rm -f conftest.$ac_ext
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7009 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
7010 if test "$ac_cv_sys_largefile_CC" != no; then
7011 CC=$CC$ac_cv_sys_largefile_CC
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7015 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7016 if ${ac_cv_sys_file_offset_bits+:} false; then :
7017 $as_echo_n "(cached) " >&6
7018 else
7019 while :; do
7020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7021 /* end confdefs.h. */
7022 #include <sys/types.h>
7023 /* Check that off_t can represent 2**63 - 1 correctly.
7024 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7025 since some C++ compilers masquerading as C compilers
7026 incorrectly reject 9223372036854775807. */
7027 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7028 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7029 && LARGE_OFF_T % 2147483647 == 1)
7030 ? 1 : -1];
7032 main ()
7036 return 0;
7038 _ACEOF
7039 if ac_fn_c_try_compile "$LINENO"; then :
7040 ac_cv_sys_file_offset_bits=no; break
7042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7044 /* end confdefs.h. */
7045 #define _FILE_OFFSET_BITS 64
7046 #include <sys/types.h>
7047 /* Check that off_t can represent 2**63 - 1 correctly.
7048 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7049 since some C++ compilers masquerading as C compilers
7050 incorrectly reject 9223372036854775807. */
7051 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7052 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7053 && LARGE_OFF_T % 2147483647 == 1)
7054 ? 1 : -1];
7056 main ()
7060 return 0;
7062 _ACEOF
7063 if ac_fn_c_try_compile "$LINENO"; then :
7064 ac_cv_sys_file_offset_bits=64; break
7066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7067 ac_cv_sys_file_offset_bits=unknown
7068 break
7069 done
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7072 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7073 case $ac_cv_sys_file_offset_bits in #(
7074 no | unknown) ;;
7076 cat >>confdefs.h <<_ACEOF
7077 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7078 _ACEOF
7080 esac
7081 rm -rf conftest*
7082 if test $ac_cv_sys_file_offset_bits = unknown; then
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7084 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7085 if ${ac_cv_sys_large_files+:} false; then :
7086 $as_echo_n "(cached) " >&6
7087 else
7088 while :; do
7089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7090 /* end confdefs.h. */
7091 #include <sys/types.h>
7092 /* Check that off_t can represent 2**63 - 1 correctly.
7093 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7094 since some C++ compilers masquerading as C compilers
7095 incorrectly reject 9223372036854775807. */
7096 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7097 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7098 && LARGE_OFF_T % 2147483647 == 1)
7099 ? 1 : -1];
7101 main ()
7105 return 0;
7107 _ACEOF
7108 if ac_fn_c_try_compile "$LINENO"; then :
7109 ac_cv_sys_large_files=no; break
7111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7113 /* end confdefs.h. */
7114 #define _LARGE_FILES 1
7115 #include <sys/types.h>
7116 /* Check that off_t can represent 2**63 - 1 correctly.
7117 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7118 since some C++ compilers masquerading as C compilers
7119 incorrectly reject 9223372036854775807. */
7120 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7121 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7122 && LARGE_OFF_T % 2147483647 == 1)
7123 ? 1 : -1];
7125 main ()
7129 return 0;
7131 _ACEOF
7132 if ac_fn_c_try_compile "$LINENO"; then :
7133 ac_cv_sys_large_files=1; break
7135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7136 ac_cv_sys_large_files=unknown
7137 break
7138 done
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7141 $as_echo "$ac_cv_sys_large_files" >&6; }
7142 case $ac_cv_sys_large_files in #(
7143 no | unknown) ;;
7145 cat >>confdefs.h <<_ACEOF
7146 #define _LARGE_FILES $ac_cv_sys_large_files
7147 _ACEOF
7149 esac
7150 rm -rf conftest*
7157 ac_ext=c
7158 ac_cpp='$CPP $CPPFLAGS'
7159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7163 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7164 # On Suns, sometimes $CPP names a directory.
7165 if test -n "$CPP" && test -d "$CPP"; then
7166 CPP=
7168 if test -z "$CPP"; then
7169 if ${ac_cv_prog_CPP+:} false; then :
7170 $as_echo_n "(cached) " >&6
7171 else
7172 # Double quotes because CPP needs to be expanded
7173 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7175 ac_preproc_ok=false
7176 for ac_c_preproc_warn_flag in '' yes
7178 # Use a header file that comes with gcc, so configuring glibc
7179 # with a fresh cross-compiler works.
7180 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7181 # <limits.h> exists even on freestanding compilers.
7182 # On the NeXT, cc -E runs the code through the compiler's parser,
7183 # not just through cpp. "Syntax error" is here to catch this case.
7184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7185 /* end confdefs.h. */
7186 #ifdef __STDC__
7187 # include <limits.h>
7188 #else
7189 # include <assert.h>
7190 #endif
7191 Syntax error
7192 _ACEOF
7193 if ac_fn_c_try_cpp "$LINENO"; then :
7195 else
7196 # Broken: fails on valid input.
7197 continue
7199 rm -f conftest.err conftest.i conftest.$ac_ext
7201 # OK, works on sane cases. Now check whether nonexistent headers
7202 # can be detected and how.
7203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7204 /* end confdefs.h. */
7205 #include <ac_nonexistent.h>
7206 _ACEOF
7207 if ac_fn_c_try_cpp "$LINENO"; then :
7208 # Broken: success on invalid input.
7209 continue
7210 else
7211 # Passes both tests.
7212 ac_preproc_ok=:
7213 break
7215 rm -f conftest.err conftest.i conftest.$ac_ext
7217 done
7218 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7219 rm -f conftest.i conftest.err conftest.$ac_ext
7220 if $ac_preproc_ok; then :
7221 break
7224 done
7225 ac_cv_prog_CPP=$CPP
7228 CPP=$ac_cv_prog_CPP
7229 else
7230 ac_cv_prog_CPP=$CPP
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7233 $as_echo "$CPP" >&6; }
7234 ac_preproc_ok=false
7235 for ac_c_preproc_warn_flag in '' yes
7237 # Use a header file that comes with gcc, so configuring glibc
7238 # with a fresh cross-compiler works.
7239 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7240 # <limits.h> exists even on freestanding compilers.
7241 # On the NeXT, cc -E runs the code through the compiler's parser,
7242 # not just through cpp. "Syntax error" is here to catch this case.
7243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7244 /* end confdefs.h. */
7245 #ifdef __STDC__
7246 # include <limits.h>
7247 #else
7248 # include <assert.h>
7249 #endif
7250 Syntax error
7251 _ACEOF
7252 if ac_fn_c_try_cpp "$LINENO"; then :
7254 else
7255 # Broken: fails on valid input.
7256 continue
7258 rm -f conftest.err conftest.i conftest.$ac_ext
7260 # OK, works on sane cases. Now check whether nonexistent headers
7261 # can be detected and how.
7262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7263 /* end confdefs.h. */
7264 #include <ac_nonexistent.h>
7265 _ACEOF
7266 if ac_fn_c_try_cpp "$LINENO"; then :
7267 # Broken: success on invalid input.
7268 continue
7269 else
7270 # Passes both tests.
7271 ac_preproc_ok=:
7272 break
7274 rm -f conftest.err conftest.i conftest.$ac_ext
7276 done
7277 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7278 rm -f conftest.i conftest.err conftest.$ac_ext
7279 if $ac_preproc_ok; then :
7281 else
7282 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7283 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7284 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7285 See \`config.log' for more details" "$LINENO" 5; }
7288 ac_ext=c
7289 ac_cpp='$CPP $CPPFLAGS'
7290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7296 $as_echo_n "checking for ANSI C header files... " >&6; }
7297 if ${ac_cv_header_stdc+:} false; then :
7298 $as_echo_n "(cached) " >&6
7299 else
7300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7301 /* end confdefs.h. */
7302 #include <stdlib.h>
7303 #include <stdarg.h>
7304 #include <string.h>
7305 #include <float.h>
7308 main ()
7312 return 0;
7314 _ACEOF
7315 if ac_fn_c_try_compile "$LINENO"; then :
7316 ac_cv_header_stdc=yes
7317 else
7318 ac_cv_header_stdc=no
7320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7322 if test $ac_cv_header_stdc = yes; then
7323 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7325 /* end confdefs.h. */
7326 #include <string.h>
7328 _ACEOF
7329 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7330 $EGREP "memchr" >/dev/null 2>&1; then :
7332 else
7333 ac_cv_header_stdc=no
7335 rm -f conftest*
7339 if test $ac_cv_header_stdc = yes; then
7340 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7342 /* end confdefs.h. */
7343 #include <stdlib.h>
7345 _ACEOF
7346 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7347 $EGREP "free" >/dev/null 2>&1; then :
7349 else
7350 ac_cv_header_stdc=no
7352 rm -f conftest*
7356 if test $ac_cv_header_stdc = yes; then
7357 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7358 if test "$cross_compiling" = yes; then :
7360 else
7361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7362 /* end confdefs.h. */
7363 #include <ctype.h>
7364 #include <stdlib.h>
7365 #if ((' ' & 0x0FF) == 0x020)
7366 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7367 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7368 #else
7369 # define ISLOWER(c) \
7370 (('a' <= (c) && (c) <= 'i') \
7371 || ('j' <= (c) && (c) <= 'r') \
7372 || ('s' <= (c) && (c) <= 'z'))
7373 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7374 #endif
7376 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7378 main ()
7380 int i;
7381 for (i = 0; i < 256; i++)
7382 if (XOR (islower (i), ISLOWER (i))
7383 || toupper (i) != TOUPPER (i))
7384 return 2;
7385 return 0;
7387 _ACEOF
7388 if ac_fn_c_try_run "$LINENO"; then :
7390 else
7391 ac_cv_header_stdc=no
7393 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7394 conftest.$ac_objext conftest.beam conftest.$ac_ext
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7400 $as_echo "$ac_cv_header_stdc" >&6; }
7401 if test $ac_cv_header_stdc = yes; then
7403 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7407 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7408 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7409 inttypes.h stdint.h unistd.h
7410 do :
7411 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7412 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7414 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7415 cat >>confdefs.h <<_ACEOF
7416 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7417 _ACEOF
7421 done
7424 for ac_header in \
7425 AL/al.h \
7426 ApplicationServices/ApplicationServices.h \
7427 AudioToolbox/AudioConverter.h \
7428 AudioUnit/AudioUnit.h \
7429 AudioUnit/AudioComponent.h \
7430 CL/cl.h \
7431 Carbon/Carbon.h \
7432 CommonCrypto/CommonCryptor.h \
7433 CoreAudio/CoreAudio.h \
7434 DiskArbitration/DiskArbitration.h \
7435 EGL/egl.h \
7436 IOKit/IOKitLib.h \
7437 IOKit/hid/IOHIDLib.h \
7438 OpenAL/al.h \
7439 OpenCL/opencl.h \
7440 QuickTime/ImageCompression.h \
7441 Security/Security.h \
7442 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7443 SystemConfiguration/SCNetworkConfiguration.h \
7444 alias.h \
7445 arpa/inet.h \
7446 arpa/nameser.h \
7447 asm/types.h \
7448 asm/user.h \
7449 dirent.h \
7450 dlfcn.h \
7451 elf.h \
7452 float.h \
7453 fnmatch.h \
7454 getopt.h \
7455 gettext-po.h \
7456 grp.h \
7457 gsm.h \
7458 gsm/gsm.h \
7459 ieeefp.h \
7460 inet/mib2.h \
7461 kstat.h \
7462 libproc.h \
7463 link.h \
7464 linux/cdrom.h \
7465 linux/filter.h \
7466 linux/hdreg.h \
7467 linux/hidraw.h \
7468 linux/input.h \
7469 linux/ioctl.h \
7470 linux/joystick.h \
7471 linux/major.h \
7472 linux/param.h \
7473 linux/serial.h \
7474 linux/types.h \
7475 linux/ucdrom.h \
7476 lwp.h \
7477 mach-o/loader.h \
7478 mach/mach.h \
7479 machine/cpu.h \
7480 machine/sysarch.h \
7481 mntent.h \
7482 netdb.h \
7483 netinet/in.h \
7484 netinet/in_systm.h \
7485 netinet/tcp.h \
7486 netinet/tcp_fsm.h \
7487 pcap/pcap.h \
7488 poll.h \
7489 port.h \
7490 pthread.h \
7491 pwd.h \
7492 sasl/sasl.h \
7493 sched.h \
7494 scsi/scsi.h \
7495 scsi/scsi_ioctl.h \
7496 scsi/sg.h \
7497 stdint.h \
7498 stropts.h \
7499 sys/attr.h \
7500 sys/auxv.h \
7501 sys/cdio.h \
7502 sys/epoll.h \
7503 sys/event.h \
7504 sys/filio.h \
7505 sys/ioctl.h \
7506 sys/ipc.h \
7507 sys/link.h \
7508 sys/mman.h \
7509 sys/modem.h \
7510 sys/msg.h \
7511 sys/mtio.h \
7512 sys/param.h \
7513 sys/poll.h \
7514 sys/prctl.h \
7515 sys/protosw.h \
7516 sys/ptrace.h \
7517 sys/queue.h \
7518 sys/random.h \
7519 sys/resource.h \
7520 sys/scsiio.h \
7521 sys/shm.h \
7522 sys/signal.h \
7523 sys/socket.h \
7524 sys/socketvar.h \
7525 sys/sockio.h \
7526 sys/statvfs.h \
7527 sys/strtio.h \
7528 sys/syscall.h \
7529 sys/sysinfo.h \
7530 sys/tihdr.h \
7531 sys/time.h \
7532 sys/timeout.h \
7533 sys/times.h \
7534 sys/uio.h \
7535 sys/user.h \
7536 sys/utsname.h \
7537 sys/vnode.h \
7538 sys/wait.h \
7539 syscall.h \
7540 termios.h \
7541 unistd.h \
7542 utime.h \
7543 valgrind/memcheck.h \
7544 valgrind/valgrind.h
7546 do :
7547 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7548 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7549 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7550 cat >>confdefs.h <<_ACEOF
7551 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7552 _ACEOF
7556 done
7558 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7559 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7561 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7566 if test $ac_cv_header_sys_mkdev_h = no; then
7567 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7568 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7570 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7577 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7578 if ${ac_cv_header_stat_broken+:} false; then :
7579 $as_echo_n "(cached) " >&6
7580 else
7581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7582 /* end confdefs.h. */
7583 #include <sys/types.h>
7584 #include <sys/stat.h>
7586 #if defined S_ISBLK && defined S_IFDIR
7587 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7588 #endif
7590 #if defined S_ISBLK && defined S_IFCHR
7591 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7592 #endif
7594 #if defined S_ISLNK && defined S_IFREG
7595 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7596 #endif
7598 #if defined S_ISSOCK && defined S_IFREG
7599 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7600 #endif
7602 _ACEOF
7603 if ac_fn_c_try_compile "$LINENO"; then :
7604 ac_cv_header_stat_broken=no
7605 else
7606 ac_cv_header_stat_broken=yes
7608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7611 $as_echo "$ac_cv_header_stat_broken" >&6; }
7612 if test $ac_cv_header_stat_broken = yes; then
7614 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7620 for ac_header in sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7621 do :
7622 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7623 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7624 #ifdef HAVE_SYS_PARAM_H
7625 # include <sys/param.h>
7626 #endif
7628 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7629 cat >>confdefs.h <<_ACEOF
7630 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7631 _ACEOF
7635 done
7638 saved_sysctl_h_CFLAGS=$CFLAGS
7639 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7640 for ac_header in sys/sysctl.h
7641 do :
7642 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7643 #ifdef HAVE_SYS_PARAM_H
7644 # include <sys/param.h>
7645 #endif
7647 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7648 cat >>confdefs.h <<_ACEOF
7649 #define HAVE_SYS_SYSCTL_H 1
7650 _ACEOF
7654 done
7656 CFLAGS=$saved_sysctl_h_CFLAGS
7658 for ac_header in \
7659 netinet/ip.h \
7660 net/if.h \
7661 net/if_arp.h \
7662 net/if_dl.h \
7663 net/if_types.h \
7664 net/route.h \
7665 netinet/if_ether.h \
7666 netinet/if_inarp.h \
7667 netinet/in_pcb.h \
7668 netinet/ip_icmp.h \
7669 netinet/ip_var.h \
7670 netinet/udp.h \
7671 netipx/ipx.h \
7672 sys/un.h \
7674 do :
7675 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7676 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7677 #ifdef HAVE_SYS_SOCKET_H
7678 # include <sys/socket.h>
7679 #endif
7680 #ifdef HAVE_SYS_SOCKETVAR_H
7681 # include <sys/socketvar.h>
7682 #endif
7683 #ifdef HAVE_NET_ROUTE_H
7684 # include <net/route.h>
7685 #endif
7686 #ifdef HAVE_NETINET_IN_H
7687 # include <netinet/in.h>
7688 #endif
7689 #ifdef HAVE_NETINET_IN_SYSTM_H
7690 # include <netinet/in_systm.h>
7691 #endif
7692 #ifdef HAVE_NET_IF_H
7693 # include <net/if.h>
7694 #endif
7695 #ifdef HAVE_NETINET_IP_H
7696 # include <netinet/ip.h>
7697 #endif
7699 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7700 cat >>confdefs.h <<_ACEOF
7701 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7702 _ACEOF
7706 done
7709 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7710 do :
7711 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7712 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7713 #ifdef HAVE_ALIAS_H
7714 # include <alias.h>
7715 #endif
7716 #ifdef HAVE_SYS_SOCKET_H
7717 # include <sys/socket.h>
7718 #endif
7719 #ifdef HAVE_SYS_SOCKETVAR_H
7720 # include <sys/socketvar.h>
7721 #endif
7722 #ifdef HAVE_SYS_TIMEOUT_H
7723 # include <sys/timeout.h>
7724 #endif
7725 #ifdef HAVE_NETINET_IN_H
7726 # include <netinet/in.h>
7727 #endif
7728 #ifdef HAVE_NETINET_IN_SYSTM_H
7729 # include <netinet/in_systm.h>
7730 #endif
7731 #ifdef HAVE_NETINET_IP_H
7732 # include <netinet/ip.h>
7733 #endif
7734 #ifdef HAVE_NETINET_IP_VAR_H
7735 # include <netinet/ip_var.h>
7736 #endif
7737 #ifdef HAVE_NETINET_IP_ICMP_H
7738 # include <netinet/ip_icmp.h>
7739 #endif
7740 #ifdef HAVE_NETINET_UDP_H
7741 # include <netinet/udp.h>
7742 #endif
7743 #ifdef HAVE_NETINET_TCP_H
7744 # include <netinet/tcp.h>
7745 #endif
7746 #ifdef HAVE_NETINET_TCP_TIMER_H
7747 #include <netinet/tcp_timer.h>
7748 #endif
7750 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7751 cat >>confdefs.h <<_ACEOF
7752 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7753 _ACEOF
7757 done
7760 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7761 do :
7762 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7763 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7764 #ifdef HAVE_ASM_TYPES_H
7765 # include <asm/types.h>
7766 #endif
7767 #ifdef HAVE_SYS_SOCKET_H
7768 # include <sys/socket.h>
7769 #endif
7770 #ifdef HAVE_LINUX_TYPES_H
7771 # include <linux/types.h>
7772 #endif
7774 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7775 cat >>confdefs.h <<_ACEOF
7776 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7777 _ACEOF
7781 done
7784 for ac_header in resolv.h
7785 do :
7786 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7787 #ifdef HAVE_SYS_SOCKET_H
7788 # include <sys/socket.h>
7789 #endif
7790 #ifdef HAVE_NETINET_IN_H
7791 # include <netinet/in.h>
7792 #endif
7793 #ifdef HAVE_ARPA_NAMESER_H
7794 # include <arpa/nameser.h>
7795 #endif
7797 if test "x$ac_cv_header_resolv_h" = xyes; then :
7798 cat >>confdefs.h <<_ACEOF
7799 #define HAVE_RESOLV_H 1
7800 _ACEOF
7804 done
7807 for ac_header in ifaddrs.h
7808 do :
7809 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7811 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7812 cat >>confdefs.h <<_ACEOF
7813 #define HAVE_IFADDRS_H 1
7814 _ACEOF
7818 done
7821 for ac_header in sys/ucontext.h
7822 do :
7823 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7825 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7826 cat >>confdefs.h <<_ACEOF
7827 #define HAVE_SYS_UCONTEXT_H 1
7828 _ACEOF
7832 done
7835 for ac_header in sys/thr.h
7836 do :
7837 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7838 #ifdef HAVE_SYS_UCONTEXT_H
7839 #include <sys/ucontext.h>
7840 #endif
7842 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7843 cat >>confdefs.h <<_ACEOF
7844 #define HAVE_SYS_THR_H 1
7845 _ACEOF
7849 done
7852 for ac_header in pthread_np.h
7853 do :
7854 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7855 #include <pthread.h>
7856 #endif
7858 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7859 cat >>confdefs.h <<_ACEOF
7860 #define HAVE_PTHREAD_NP_H 1
7861 _ACEOF
7865 done
7868 for ac_header in linux/videodev2.h
7869 do :
7870 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7871 #include <sys/time.h>
7872 #endif
7873 #include <sys/types.h>
7874 #ifdef HAVE_ASM_TYPES_H
7875 #include <asm/types.h>
7876 #endif
7878 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7879 cat >>confdefs.h <<_ACEOF
7880 #define HAVE_LINUX_VIDEODEV2_H 1
7881 _ACEOF
7885 done
7888 for ac_header in libprocstat.h
7889 do :
7890 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7891 #include <sys/param.h>
7892 #endif
7893 #ifdef HAVE_SYS_QUEUE_H
7894 #include <sys/queue.h>
7895 #endif
7896 #ifdef HAVE_SYS_SOCKET_H
7897 #include <sys/socket.h>
7898 #endif
7900 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7901 cat >>confdefs.h <<_ACEOF
7902 #define HAVE_LIBPROCSTAT_H 1
7903 _ACEOF
7907 done
7911 DLLFLAGS="-D_REENTRANT"
7913 LDDLLFLAGS=""
7915 LDEXECFLAGS=""
7917 TOP_INSTALL_LIB=""
7919 TOP_INSTALL_DEV=""
7921 WINELOADER_LDFLAGS=""
7923 WINEPRELOADER_LDFLAGS=""
7925 LIBEXT="so"
7926 DLLEXT=".so"
7927 # Extract the first word of "ldd", so it can be a program name with args.
7928 set dummy ldd; ac_word=$2
7929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7930 $as_echo_n "checking for $ac_word... " >&6; }
7931 if ${ac_cv_path_LDD+:} false; then :
7932 $as_echo_n "(cached) " >&6
7933 else
7934 case $LDD in
7935 [\\/]* | ?:[\\/]*)
7936 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7940 as_dummy="/sbin:/usr/sbin:$PATH"
7941 for as_dir in $as_dummy
7943 IFS=$as_save_IFS
7944 test -z "$as_dir" && as_dir=.
7945 for ac_exec_ext in '' $ac_executable_extensions; do
7946 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7947 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7949 break 2
7951 done
7952 done
7953 IFS=$as_save_IFS
7955 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7957 esac
7959 LDD=$ac_cv_path_LDD
7960 if test -n "$LDD"; then
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7962 $as_echo "$LDD" >&6; }
7963 else
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7965 $as_echo "no" >&6; }
7969 if test -n "$ac_tool_prefix"; then
7970 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7971 set dummy ${ac_tool_prefix}otool; ac_word=$2
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7973 $as_echo_n "checking for $ac_word... " >&6; }
7974 if ${ac_cv_prog_OTOOL+:} false; then :
7975 $as_echo_n "(cached) " >&6
7976 else
7977 if test -n "$OTOOL"; then
7978 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7979 else
7980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7981 for as_dir in $PATH
7983 IFS=$as_save_IFS
7984 test -z "$as_dir" && as_dir=.
7985 for ac_exec_ext in '' $ac_executable_extensions; do
7986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7987 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7989 break 2
7991 done
7992 done
7993 IFS=$as_save_IFS
7997 OTOOL=$ac_cv_prog_OTOOL
7998 if test -n "$OTOOL"; then
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8000 $as_echo "$OTOOL" >&6; }
8001 else
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8003 $as_echo "no" >&6; }
8008 if test -z "$ac_cv_prog_OTOOL"; then
8009 ac_ct_OTOOL=$OTOOL
8010 # Extract the first word of "otool", so it can be a program name with args.
8011 set dummy otool; ac_word=$2
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8013 $as_echo_n "checking for $ac_word... " >&6; }
8014 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8015 $as_echo_n "(cached) " >&6
8016 else
8017 if test -n "$ac_ct_OTOOL"; then
8018 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8019 else
8020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8021 for as_dir in $PATH
8023 IFS=$as_save_IFS
8024 test -z "$as_dir" && as_dir=.
8025 for ac_exec_ext in '' $ac_executable_extensions; do
8026 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8027 ac_cv_prog_ac_ct_OTOOL="otool"
8028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8029 break 2
8031 done
8032 done
8033 IFS=$as_save_IFS
8037 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8038 if test -n "$ac_ct_OTOOL"; then
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8040 $as_echo "$ac_ct_OTOOL" >&6; }
8041 else
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8043 $as_echo "no" >&6; }
8046 if test "x$ac_ct_OTOOL" = x; then
8047 OTOOL="otool"
8048 else
8049 case $cross_compiling:$ac_tool_warned in
8050 yes:)
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8052 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8053 ac_tool_warned=yes ;;
8054 esac
8055 OTOOL=$ac_ct_OTOOL
8057 else
8058 OTOOL="$ac_cv_prog_OTOOL"
8061 if test -n "$ac_tool_prefix"; then
8062 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8063 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8065 $as_echo_n "checking for $ac_word... " >&6; }
8066 if ${ac_cv_prog_READELF+:} false; then :
8067 $as_echo_n "(cached) " >&6
8068 else
8069 if test -n "$READELF"; then
8070 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8071 else
8072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8073 for as_dir in $PATH
8075 IFS=$as_save_IFS
8076 test -z "$as_dir" && as_dir=.
8077 for ac_exec_ext in '' $ac_executable_extensions; do
8078 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8079 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8081 break 2
8083 done
8084 done
8085 IFS=$as_save_IFS
8089 READELF=$ac_cv_prog_READELF
8090 if test -n "$READELF"; then
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8092 $as_echo "$READELF" >&6; }
8093 else
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8095 $as_echo "no" >&6; }
8100 if test -z "$ac_cv_prog_READELF"; then
8101 ac_ct_READELF=$READELF
8102 # Extract the first word of "readelf", so it can be a program name with args.
8103 set dummy readelf; ac_word=$2
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8105 $as_echo_n "checking for $ac_word... " >&6; }
8106 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8107 $as_echo_n "(cached) " >&6
8108 else
8109 if test -n "$ac_ct_READELF"; then
8110 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8111 else
8112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8113 for as_dir in $PATH
8115 IFS=$as_save_IFS
8116 test -z "$as_dir" && as_dir=.
8117 for ac_exec_ext in '' $ac_executable_extensions; do
8118 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8119 ac_cv_prog_ac_ct_READELF="readelf"
8120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8121 break 2
8123 done
8124 done
8125 IFS=$as_save_IFS
8129 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8130 if test -n "$ac_ct_READELF"; then
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8132 $as_echo "$ac_ct_READELF" >&6; }
8133 else
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8135 $as_echo "no" >&6; }
8138 if test "x$ac_ct_READELF" = x; then
8139 READELF="true"
8140 else
8141 case $cross_compiling:$ac_tool_warned in
8142 yes:)
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8144 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8145 ac_tool_warned=yes ;;
8146 esac
8147 READELF=$ac_ct_READELF
8149 else
8150 READELF="$ac_cv_prog_READELF"
8153 wine_rules_file=conf$$rules.make
8154 rm -f $wine_rules_file
8155 SUBDIRS=""
8157 DISABLED_SUBDIRS=""
8159 CONFIGURE_TARGETS=""
8162 wine_fn_append_file ()
8164 as_fn_append $1 " \\$as_nl $2"
8167 wine_fn_append_rule ()
8169 $as_echo "$1" >>$wine_rules_file
8172 wine_fn_config_makefile ()
8174 wine_fn_append_file SUBDIRS $1
8175 if eval test \"x\$"$2"\" = x"no"; then :
8176 wine_fn_append_file DISABLED_SUBDIRS $1
8180 wine_fn_config_symlink ()
8182 ac_links=$@
8183 wine_fn_append_rule \
8184 "$ac_links:
8185 @./config.status \$@"
8186 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8189 wine_binary="wine"
8190 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8191 WINELOADER_PROGRAMS="$wine_binary"
8193 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8195 case $host_os in
8196 cygwin*|mingw32*)
8197 if test -n "$ac_tool_prefix"; then
8198 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8199 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8201 $as_echo_n "checking for $ac_word... " >&6; }
8202 if ${ac_cv_prog_DLLTOOL+:} false; then :
8203 $as_echo_n "(cached) " >&6
8204 else
8205 if test -n "$DLLTOOL"; then
8206 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8207 else
8208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8209 for as_dir in $PATH
8211 IFS=$as_save_IFS
8212 test -z "$as_dir" && as_dir=.
8213 for ac_exec_ext in '' $ac_executable_extensions; do
8214 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8215 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8217 break 2
8219 done
8220 done
8221 IFS=$as_save_IFS
8225 DLLTOOL=$ac_cv_prog_DLLTOOL
8226 if test -n "$DLLTOOL"; then
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8228 $as_echo "$DLLTOOL" >&6; }
8229 else
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8231 $as_echo "no" >&6; }
8236 if test -z "$ac_cv_prog_DLLTOOL"; then
8237 ac_ct_DLLTOOL=$DLLTOOL
8238 # Extract the first word of "dlltool", so it can be a program name with args.
8239 set dummy dlltool; ac_word=$2
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8241 $as_echo_n "checking for $ac_word... " >&6; }
8242 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8243 $as_echo_n "(cached) " >&6
8244 else
8245 if test -n "$ac_ct_DLLTOOL"; then
8246 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8247 else
8248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8249 for as_dir in $PATH
8251 IFS=$as_save_IFS
8252 test -z "$as_dir" && as_dir=.
8253 for ac_exec_ext in '' $ac_executable_extensions; do
8254 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8255 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8257 break 2
8259 done
8260 done
8261 IFS=$as_save_IFS
8265 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8266 if test -n "$ac_ct_DLLTOOL"; then
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8268 $as_echo "$ac_ct_DLLTOOL" >&6; }
8269 else
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8271 $as_echo "no" >&6; }
8274 if test "x$ac_ct_DLLTOOL" = x; then
8275 DLLTOOL="false"
8276 else
8277 case $cross_compiling:$ac_tool_warned in
8278 yes:)
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8280 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8281 ac_tool_warned=yes ;;
8282 esac
8283 DLLTOOL=$ac_ct_DLLTOOL
8285 else
8286 DLLTOOL="$ac_cv_prog_DLLTOOL"
8289 LIBEXT="dll"
8290 DLLEXT=""
8291 case $host_cpu in
8292 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8293 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8294 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8295 $as_echo_n "(cached) " >&6
8296 else
8297 ac_wine_try_cflags_saved=$CFLAGS
8298 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8300 /* end confdefs.h. */
8301 int main(int argc, char **argv) { return 0; }
8302 _ACEOF
8303 if ac_fn_c_try_link "$LINENO"; then :
8304 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8305 else
8306 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8308 rm -f core conftest.err conftest.$ac_objext \
8309 conftest$ac_exeext conftest.$ac_ext
8310 CFLAGS=$ac_wine_try_cflags_saved
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8313 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8314 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8315 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8316 fi ;;
8317 esac
8318 enable_iphlpapi=${enable_iphlpapi:-no}
8319 enable_ws2_32=${enable_ws2_32:-no}
8320 enable_loader=${enable_loader:-no}
8321 enable_server=${enable_server:-no}
8322 with_x=${with_x:-no}
8323 with_pthread=${with_pthread:-no}
8326 darwin*|macosx*)
8327 ac_ext=m
8328 ac_cpp='$OBJCPP $CPPFLAGS'
8329 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8330 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8331 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8333 ac_ext=m
8334 ac_cpp='$OBJCPP $CPPFLAGS'
8335 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8336 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8337 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8338 if test -n "$ac_tool_prefix"; then
8339 for ac_prog in gcc objcc objc cc CC
8341 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8342 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8344 $as_echo_n "checking for $ac_word... " >&6; }
8345 if ${ac_cv_prog_OBJC+:} false; then :
8346 $as_echo_n "(cached) " >&6
8347 else
8348 if test -n "$OBJC"; then
8349 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8350 else
8351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8352 for as_dir in $PATH
8354 IFS=$as_save_IFS
8355 test -z "$as_dir" && as_dir=.
8356 for ac_exec_ext in '' $ac_executable_extensions; do
8357 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8358 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8360 break 2
8362 done
8363 done
8364 IFS=$as_save_IFS
8368 OBJC=$ac_cv_prog_OBJC
8369 if test -n "$OBJC"; then
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8371 $as_echo "$OBJC" >&6; }
8372 else
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8374 $as_echo "no" >&6; }
8378 test -n "$OBJC" && break
8379 done
8381 if test -z "$OBJC"; then
8382 ac_ct_OBJC=$OBJC
8383 for ac_prog in gcc objcc objc cc CC
8385 # Extract the first word of "$ac_prog", so it can be a program name with args.
8386 set dummy $ac_prog; ac_word=$2
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8388 $as_echo_n "checking for $ac_word... " >&6; }
8389 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8390 $as_echo_n "(cached) " >&6
8391 else
8392 if test -n "$ac_ct_OBJC"; then
8393 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8394 else
8395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8396 for as_dir in $PATH
8398 IFS=$as_save_IFS
8399 test -z "$as_dir" && as_dir=.
8400 for ac_exec_ext in '' $ac_executable_extensions; do
8401 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8402 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8404 break 2
8406 done
8407 done
8408 IFS=$as_save_IFS
8412 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8413 if test -n "$ac_ct_OBJC"; then
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8415 $as_echo "$ac_ct_OBJC" >&6; }
8416 else
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8418 $as_echo "no" >&6; }
8422 test -n "$ac_ct_OBJC" && break
8423 done
8425 if test "x$ac_ct_OBJC" = x; then
8426 OBJC="gcc"
8427 else
8428 case $cross_compiling:$ac_tool_warned in
8429 yes:)
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8431 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8432 ac_tool_warned=yes ;;
8433 esac
8434 OBJC=$ac_ct_OBJC
8438 # Provide some information about the compiler.
8439 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8440 set X $ac_compile
8441 ac_compiler=$2
8442 for ac_option in --version -v -V -qversion; do
8443 { { ac_try="$ac_compiler $ac_option >&5"
8444 case "(($ac_try" in
8445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8446 *) ac_try_echo=$ac_try;;
8447 esac
8448 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8449 $as_echo "$ac_try_echo"; } >&5
8450 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8451 ac_status=$?
8452 if test -s conftest.err; then
8453 sed '10a\
8454 ... rest of stderr output deleted ...
8455 10q' conftest.err >conftest.er1
8456 cat conftest.er1 >&5
8458 rm -f conftest.er1 conftest.err
8459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8460 test $ac_status = 0; }
8461 done
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8464 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8465 if ${ac_cv_objc_compiler_gnu+:} false; then :
8466 $as_echo_n "(cached) " >&6
8467 else
8468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8469 /* end confdefs.h. */
8472 main ()
8474 #ifndef __GNUC__
8475 choke me
8476 #endif
8479 return 0;
8481 _ACEOF
8482 if ac_fn_objc_try_compile "$LINENO"; then :
8483 ac_compiler_gnu=yes
8484 else
8485 ac_compiler_gnu=no
8487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8488 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8492 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8493 if test $ac_compiler_gnu = yes; then
8494 GOBJC=yes
8495 else
8496 GOBJC=
8498 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8499 ac_save_OBJCFLAGS=$OBJCFLAGS
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8501 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8502 if ${ac_cv_prog_objc_g+:} false; then :
8503 $as_echo_n "(cached) " >&6
8504 else
8505 ac_save_objc_werror_flag=$ac_objc_werror_flag
8506 ac_objc_werror_flag=yes
8507 ac_cv_prog_objc_g=no
8508 OBJCFLAGS="-g"
8509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8510 /* end confdefs.h. */
8513 main ()
8517 return 0;
8519 _ACEOF
8520 if ac_fn_objc_try_compile "$LINENO"; then :
8521 ac_cv_prog_objc_g=yes
8522 else
8523 OBJCFLAGS=""
8524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8525 /* end confdefs.h. */
8528 main ()
8532 return 0;
8534 _ACEOF
8535 if ac_fn_objc_try_compile "$LINENO"; then :
8537 else
8538 ac_objc_werror_flag=$ac_save_objc_werror_flag
8539 OBJCFLAGS="-g"
8540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8541 /* end confdefs.h. */
8544 main ()
8548 return 0;
8550 _ACEOF
8551 if ac_fn_objc_try_compile "$LINENO"; then :
8552 ac_cv_prog_objc_g=yes
8554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8559 ac_objc_werror_flag=$ac_save_objc_werror_flag
8561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8562 $as_echo "$ac_cv_prog_objc_g" >&6; }
8563 if test "$ac_test_OBJCFLAGS" = set; then
8564 OBJCFLAGS=$ac_save_OBJCFLAGS
8565 elif test $ac_cv_prog_objc_g = yes; then
8566 if test "$GOBJC" = yes; then
8567 OBJCFLAGS="-g -O2"
8568 else
8569 OBJCFLAGS="-g"
8571 else
8572 if test "$GOBJC" = yes; then
8573 OBJCFLAGS="-O2"
8574 else
8575 OBJCFLAGS=
8578 ac_ext=m
8579 ac_cpp='$OBJCPP $CPPFLAGS'
8580 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8581 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8582 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8585 ac_ext=m
8586 ac_cpp='$OBJCPP $CPPFLAGS'
8587 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8588 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8589 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8591 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8592 if test -z "$OBJCPP"; then
8593 if ${ac_cv_prog_OBJCPP+:} false; then :
8594 $as_echo_n "(cached) " >&6
8595 else
8596 # Double quotes because OBJCPP needs to be expanded
8597 for OBJCPP in "$OBJC -E" "/lib/cpp"
8599 ac_preproc_ok=false
8600 for ac_objc_preproc_warn_flag in '' yes
8602 # Use a header file that comes with gcc, so configuring glibc
8603 # with a fresh cross-compiler works.
8604 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8605 # <limits.h> exists even on freestanding compilers.
8606 # On the NeXT, cc -E runs the code through the compiler's parser,
8607 # not just through cpp. "Syntax error" is here to catch this case.
8608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8609 /* end confdefs.h. */
8610 #ifdef __STDC__
8611 # include <limits.h>
8612 #else
8613 # include <assert.h>
8614 #endif
8615 Syntax error
8616 _ACEOF
8617 if ac_fn_objc_try_cpp "$LINENO"; then :
8619 else
8620 # Broken: fails on valid input.
8621 continue
8623 rm -f conftest.err conftest.i conftest.$ac_ext
8625 # OK, works on sane cases. Now check whether nonexistent headers
8626 # can be detected and how.
8627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8628 /* end confdefs.h. */
8629 #include <ac_nonexistent.h>
8630 _ACEOF
8631 if ac_fn_objc_try_cpp "$LINENO"; then :
8632 # Broken: success on invalid input.
8633 continue
8634 else
8635 # Passes both tests.
8636 ac_preproc_ok=:
8637 break
8639 rm -f conftest.err conftest.i conftest.$ac_ext
8641 done
8642 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8643 rm -f conftest.i conftest.err conftest.$ac_ext
8644 if $ac_preproc_ok; then :
8645 break
8648 done
8649 ac_cv_prog_OBJCPP=$OBJCPP
8652 OBJCPP=$ac_cv_prog_OBJCPP
8653 else
8654 ac_cv_prog_OBJCPP=$OBJCPP
8656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8657 $as_echo "$OBJCPP" >&6; }
8658 ac_preproc_ok=false
8659 for ac_objc_preproc_warn_flag in '' yes
8661 # Use a header file that comes with gcc, so configuring glibc
8662 # with a fresh cross-compiler works.
8663 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8664 # <limits.h> exists even on freestanding compilers.
8665 # On the NeXT, cc -E runs the code through the compiler's parser,
8666 # not just through cpp. "Syntax error" is here to catch this case.
8667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8668 /* end confdefs.h. */
8669 #ifdef __STDC__
8670 # include <limits.h>
8671 #else
8672 # include <assert.h>
8673 #endif
8674 Syntax error
8675 _ACEOF
8676 if ac_fn_objc_try_cpp "$LINENO"; then :
8678 else
8679 # Broken: fails on valid input.
8680 continue
8682 rm -f conftest.err conftest.i conftest.$ac_ext
8684 # OK, works on sane cases. Now check whether nonexistent headers
8685 # can be detected and how.
8686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8687 /* end confdefs.h. */
8688 #include <ac_nonexistent.h>
8689 _ACEOF
8690 if ac_fn_objc_try_cpp "$LINENO"; then :
8691 # Broken: success on invalid input.
8692 continue
8693 else
8694 # Passes both tests.
8695 ac_preproc_ok=:
8696 break
8698 rm -f conftest.err conftest.i conftest.$ac_ext
8700 done
8701 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8702 rm -f conftest.i conftest.err conftest.$ac_ext
8703 if $ac_preproc_ok; then :
8705 else
8706 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8707 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8708 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8709 See \`config.log' for more details" "$LINENO" 5; }
8712 ac_ext=m
8713 ac_cpp='$OBJCPP $CPPFLAGS'
8714 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8715 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8716 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8719 for ac_header in Metal/Metal.h
8720 do :
8721 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8722 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8723 cat >>confdefs.h <<_ACEOF
8724 #define HAVE_METAL_METAL_H 1
8725 _ACEOF
8729 done
8731 ac_ext=c
8732 ac_cpp='$CPP $CPPFLAGS'
8733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8737 LIBEXT="dylib"
8738 DLLFLAGS="$DLLFLAGS -fPIC"
8739 LDDLLFLAGS="-fPIC"
8740 COREFOUNDATION_LIBS="-framework CoreFoundation"
8742 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8744 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8746 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8748 CORESERVICES_LIBS="-framework CoreServices"
8750 APPKIT_LIBS="-framework AppKit"
8752 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8755 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8757 wine_can_build_preloader=yes
8758 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"
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8760 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8761 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8762 $as_echo_n "(cached) " >&6
8763 else
8764 ac_wine_try_cflags_saved=$CFLAGS
8765 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8767 /* end confdefs.h. */
8768 int main(int argc, char **argv) { return 0; }
8769 _ACEOF
8770 if ac_fn_c_try_link "$LINENO"; then :
8771 ac_cv_cflags__Wl__no_new_main__e__main=yes
8772 else
8773 ac_cv_cflags__Wl__no_new_main__e__main=no
8775 rm -f core conftest.err conftest.$ac_objext \
8776 conftest$ac_exeext conftest.$ac_ext
8777 CFLAGS=$ac_wine_try_cflags_saved
8779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8780 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8781 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8782 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8784 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8785 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8786 $as_echo_n "(cached) " >&6
8787 else
8788 ac_wine_try_cflags_saved=$CFLAGS
8789 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8791 /* end confdefs.h. */
8792 int main(int argc, char **argv) { return 0; }
8793 _ACEOF
8794 if ac_fn_c_try_link "$LINENO"; then :
8795 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8796 else
8797 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8799 rm -f core conftest.err conftest.$ac_objext \
8800 conftest$ac_exeext conftest.$ac_ext
8801 CFLAGS=$ac_wine_try_cflags_saved
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8804 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8805 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8806 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8807 else
8808 { $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
8809 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8810 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8811 $as_echo_n "(cached) " >&6
8812 else
8813 ac_wine_try_cflags_saved=$CFLAGS
8814 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8816 /* end confdefs.h. */
8817 int main(int argc, char **argv) { return 0; }
8818 _ACEOF
8819 if ac_fn_c_try_link "$LINENO"; then :
8820 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8821 else
8822 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8824 rm -f core conftest.err conftest.$ac_objext \
8825 conftest$ac_exeext conftest.$ac_ext
8826 CFLAGS=$ac_wine_try_cflags_saved
8828 { $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
8829 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8830 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8831 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8832 else
8833 wine_can_build_preloader=no
8836 else
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8838 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8839 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8840 $as_echo_n "(cached) " >&6
8841 else
8842 ac_wine_try_cflags_saved=$CFLAGS
8843 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8845 /* end confdefs.h. */
8846 int main(int argc, char **argv) { return 0; }
8847 _ACEOF
8848 if ac_fn_c_try_link "$LINENO"; then :
8849 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8850 else
8851 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8853 rm -f core conftest.err conftest.$ac_objext \
8854 conftest$ac_exeext conftest.$ac_ext
8855 CFLAGS=$ac_wine_try_cflags_saved
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8858 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8859 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8860 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8861 else
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8863 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8864 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8865 $as_echo_n "(cached) " >&6
8866 else
8867 ac_wine_try_cflags_saved=$CFLAGS
8868 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8870 /* end confdefs.h. */
8871 int main(int argc, char **argv) { return 0; }
8872 _ACEOF
8873 if ac_fn_c_try_link "$LINENO"; then :
8874 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8875 else
8876 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8878 rm -f core conftest.err conftest.$ac_objext \
8879 conftest$ac_exeext conftest.$ac_ext
8880 CFLAGS=$ac_wine_try_cflags_saved
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8883 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8884 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8885 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8886 else
8887 wine_can_build_preloader=no
8891 if test "$wine_can_build_preloader" = "yes"
8892 then
8893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8894 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8895 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8896 $as_echo_n "(cached) " >&6
8897 else
8898 ac_wine_try_cflags_saved=$CFLAGS
8899 CFLAGS="$CFLAGS -Wl,-no_pie"
8900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8901 /* end confdefs.h. */
8902 int main(int argc, char **argv) { return 0; }
8903 _ACEOF
8904 if ac_fn_c_try_link "$LINENO"; then :
8905 ac_cv_cflags__Wl__no_pie=yes
8906 else
8907 ac_cv_cflags__Wl__no_pie=no
8909 rm -f core conftest.err conftest.$ac_objext \
8910 conftest$ac_exeext conftest.$ac_ext
8911 CFLAGS=$ac_wine_try_cflags_saved
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8914 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8915 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8916 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8918 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8919 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8920 else
8921 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8924 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8925 then
8926 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8929 if test "$ac_cv_header_Security_Security_h" = "yes"
8930 then
8931 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8933 ac_save_LIBS="$LIBS"
8934 LIBS="$LIBS $SECURITY_LIBS"
8935 for ac_func in SSLCopyPeerCertificates
8936 do :
8937 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8938 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8939 cat >>confdefs.h <<_ACEOF
8940 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8941 _ACEOF
8944 done
8946 LIBS="$ac_save_LIBS"
8948 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8949 then
8950 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8951 then
8952 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8954 else
8955 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8958 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8959 ac_save_LIBS="$LIBS"
8960 LIBS="$LIBS $COREAUDIO_LIBS"
8961 for ac_func in AUGraphAddNode
8962 do :
8963 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8964 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8965 cat >>confdefs.h <<_ACEOF
8966 #define HAVE_AUGRAPHADDNODE 1
8967 _ACEOF
8970 done
8972 LIBS="$ac_save_LIBS"
8974 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8975 then
8976 OPENAL_LIBS="-framework OpenAL"
8979 cat >>confdefs.h <<_ACEOF
8980 #define HAVE_OPENAL 1
8981 _ACEOF
8983 ac_cv_lib_openal=yes
8985 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8986 then
8987 OPENCL_LIBS="-framework OpenCL"
8989 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8991 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8992 then
8993 ac_save_LIBS="$LIBS"
8994 LIBS="$LIBS $IOKIT_LIBS"
8995 for ac_func in IOHIDManagerCreate
8996 do :
8997 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8998 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8999 cat >>confdefs.h <<_ACEOF
9000 #define HAVE_IOHIDMANAGERCREATE 1
9001 _ACEOF
9004 done
9006 LIBS="$ac_save_LIBS"
9009 if test "x$with_quicktime" != "xno"
9010 then
9011 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
9012 then
9013 ac_save_LIBS="$LIBS"
9014 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
9016 $as_echo_n "checking for the QuickTime framework... " >&6; }
9017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9018 /* end confdefs.h. */
9019 #include <QuickTime/ImageCompression.h>
9021 main ()
9023 CodecManagerVersion(NULL);
9025 return 0;
9027 _ACEOF
9028 if ac_fn_c_try_link "$LINENO"; then :
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9030 $as_echo "yes" >&6; }
9031 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
9033 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
9034 else
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9036 $as_echo "no" >&6; }
9037 ac_cv_header_QuickTime_ImageCompression_h=no
9039 rm -f core conftest.err conftest.$ac_objext \
9040 conftest$ac_exeext conftest.$ac_ext
9041 LIBS="$ac_save_LIBS"
9044 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9045 case "x$with_quicktime" in
9046 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9047 xno) ;;
9048 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9049 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9050 esac
9054 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9055 then
9056 CARBON_LIBS="-framework Carbon"
9059 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9060 then
9061 METAL_LIBS="-framework Metal -framework QuartzCore"
9065 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9066 then
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9068 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9069 ac_ext=m
9070 ac_cpp='$OBJCPP $CPPFLAGS'
9071 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9072 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9073 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9076 /* end confdefs.h. */
9077 #include <Metal/Metal.h>
9079 main ()
9081 id<MTLDevice> device; device.registryID;
9083 return 0;
9085 _ACEOF
9086 if ac_fn_objc_try_compile "$LINENO"; then :
9087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9088 $as_echo "yes" >&6; }
9090 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9092 else
9093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9094 $as_echo "no" >&6; }
9096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9097 ac_ext=c
9098 ac_cpp='$CPP $CPPFLAGS'
9099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9105 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9106 then
9107 ac_save_LIBS="$LIBS"
9108 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9109 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9110 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9111 enable_winemac_drv=${enable_winemac_drv:-yes}
9114 LIBS="$ac_save_LIBS"
9117 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9119 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9121 WINELOADER_DEPENDS="wine_info.plist"
9123 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9126 linux-android*)
9127 DLLFLAGS="$DLLFLAGS -fPIC"
9128 LDDLLFLAGS="-fPIC"
9129 LDEXECFLAGS="-Wl,-pie"
9130 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9132 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9133 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9134 $as_echo_n "(cached) " >&6
9135 else
9136 ac_wine_try_cflags_saved=$CFLAGS
9137 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9139 /* end confdefs.h. */
9140 int main(int argc, char **argv) { return 0; }
9141 _ACEOF
9142 if ac_fn_c_try_link "$LINENO"; then :
9143 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9144 else
9145 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9147 rm -f core conftest.err conftest.$ac_objext \
9148 conftest$ac_exeext conftest.$ac_ext
9149 CFLAGS=$ac_wine_try_cflags_saved
9151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9152 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9153 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9154 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9156 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9158 LIBWINE_SHAREDLIB="libwine.so"
9160 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9162 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9165 $as_echo_n "checking for -lEGL... " >&6; }
9166 if ${ac_cv_lib_soname_EGL+:} false; then :
9167 $as_echo_n "(cached) " >&6
9168 else
9169 ac_check_soname_save_LIBS=$LIBS
9170 LIBS="-lEGL $LIBS"
9171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9172 /* end confdefs.h. */
9174 /* Override any GCC internal prototype to avoid an error.
9175 Use char because int might match the return type of a GCC
9176 builtin and then its argument prototype would still apply. */
9177 #ifdef __cplusplus
9178 extern "C"
9179 #endif
9180 char eglGetProcAddress ();
9182 main ()
9184 return eglGetProcAddress ();
9186 return 0;
9188 _ACEOF
9189 if ac_fn_c_try_link "$LINENO"; then :
9190 case "$LIBEXT" in
9191 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9192 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'` ;;
9193 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9194 if ${ac_cv_lib_soname_EGL:+false} :; then :
9195 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9196 fi ;;
9197 esac
9198 else
9199 ac_cv_lib_soname_EGL=
9201 rm -f core conftest.err conftest.$ac_objext \
9202 conftest$ac_exeext conftest.$ac_ext
9203 LIBS=$ac_check_soname_save_LIBS
9205 if ${ac_cv_lib_soname_EGL:+false} :; then :
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9207 $as_echo "not found" >&6; }
9209 else
9210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9211 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9213 cat >>confdefs.h <<_ACEOF
9214 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9215 _ACEOF
9219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9220 $as_echo_n "checking for -lGLESv2... " >&6; }
9221 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9222 $as_echo_n "(cached) " >&6
9223 else
9224 ac_check_soname_save_LIBS=$LIBS
9225 LIBS="-lGLESv2 $LIBS"
9226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9227 /* end confdefs.h. */
9229 /* Override any GCC internal prototype to avoid an error.
9230 Use char because int might match the return type of a GCC
9231 builtin and then its argument prototype would still apply. */
9232 #ifdef __cplusplus
9233 extern "C"
9234 #endif
9235 char glFlush ();
9237 main ()
9239 return glFlush ();
9241 return 0;
9243 _ACEOF
9244 if ac_fn_c_try_link "$LINENO"; then :
9245 case "$LIBEXT" in
9246 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9247 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'` ;;
9248 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9249 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9250 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9251 fi ;;
9252 esac
9253 else
9254 ac_cv_lib_soname_GLESv2=
9256 rm -f core conftest.err conftest.$ac_objext \
9257 conftest$ac_exeext conftest.$ac_ext
9258 LIBS=$ac_check_soname_save_LIBS
9260 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9262 $as_echo "not found" >&6; }
9264 else
9265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9266 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9268 cat >>confdefs.h <<_ACEOF
9269 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9270 _ACEOF
9275 if test "x$exec_prefix" = xNONE
9276 then
9277 case $host_cpu in
9278 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9279 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9280 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9281 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9282 esac
9287 case $host_cpu in
9288 *i[3456789]86*)
9289 DLLFLAGS="$DLLFLAGS -fno-PIC"
9290 LDDLLFLAGS="-fno-PIC"
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
9292 $as_echo_n "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
9293 if ${ac_cv_cflags__fno_PIC__Wl__z_notext+:} false; then :
9294 $as_echo_n "(cached) " >&6
9295 else
9296 ac_wine_try_cflags_saved=$CFLAGS
9297 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
9298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9299 /* end confdefs.h. */
9300 int main(int argc, char **argv) { return 0; }
9301 _ACEOF
9302 if ac_fn_c_try_link "$LINENO"; then :
9303 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
9304 else
9305 ac_cv_cflags__fno_PIC__Wl__z_notext=no
9307 rm -f core conftest.err conftest.$ac_objext \
9308 conftest$ac_exeext conftest.$ac_ext
9309 CFLAGS=$ac_wine_try_cflags_saved
9311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
9312 $as_echo "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
9313 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes; then :
9314 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
9318 DLLFLAGS="$DLLFLAGS -fPIC"
9319 LDDLLFLAGS="-fPIC" ;;
9320 esac
9321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9322 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9323 if ${ac_cv_c_dll_gnuelf+:} false; then :
9324 $as_echo_n "(cached) " >&6
9325 else
9326 ac_wine_try_cflags_saved=$CFLAGS
9327 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9329 /* end confdefs.h. */
9330 void myfunc() {}
9331 _ACEOF
9332 if ac_fn_c_try_link "$LINENO"; then :
9333 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9334 else
9335 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9337 rm -f core conftest.err conftest.$ac_objext \
9338 conftest$ac_exeext conftest.$ac_ext
9339 CFLAGS=$ac_wine_try_cflags_saved
9340 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9341 ac_cv_c_dll_gnuelf="yes"
9342 else
9343 ac_cv_c_dll_gnuelf="no"
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9347 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9348 if test "$ac_cv_c_dll_gnuelf" = "yes"
9349 then
9350 LIBWINE_LDFLAGS="-shared"
9351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9352 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9353 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9354 $as_echo_n "(cached) " >&6
9355 else
9356 ac_wine_try_cflags_saved=$CFLAGS
9357 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9359 /* end confdefs.h. */
9360 int main(int argc, char **argv) { return 0; }
9361 _ACEOF
9362 if ac_fn_c_try_link "$LINENO"; then :
9363 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9364 else
9365 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9367 rm -f core conftest.err conftest.$ac_objext \
9368 conftest$ac_exeext conftest.$ac_ext
9369 CFLAGS=$ac_wine_try_cflags_saved
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9372 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9373 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9374 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9375 else
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9377 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9378 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9379 $as_echo_n "(cached) " >&6
9380 else
9381 ac_wine_try_cflags_saved=$CFLAGS
9382 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9384 /* end confdefs.h. */
9385 int main(int argc, char **argv) { return 0; }
9386 _ACEOF
9387 if ac_fn_c_try_link "$LINENO"; then :
9388 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9389 else
9390 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9392 rm -f core conftest.err conftest.$ac_objext \
9393 conftest$ac_exeext conftest.$ac_ext
9394 CFLAGS=$ac_wine_try_cflags_saved
9396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9397 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9398 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9399 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9403 echo '{ global: *; };' >conftest.map
9404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9405 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9406 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9407 $as_echo_n "(cached) " >&6
9408 else
9409 ac_wine_try_cflags_saved=$CFLAGS
9410 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9412 /* end confdefs.h. */
9413 int main(int argc, char **argv) { return 0; }
9414 _ACEOF
9415 if ac_fn_c_try_link "$LINENO"; then :
9416 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9417 else
9418 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9420 rm -f core conftest.err conftest.$ac_objext \
9421 conftest$ac_exeext conftest.$ac_ext
9422 CFLAGS=$ac_wine_try_cflags_saved
9424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9425 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9426 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9427 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9429 rm -f conftest.map
9431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9432 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9433 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9434 $as_echo_n "(cached) " >&6
9435 else
9436 ac_wine_try_cflags_saved=$CFLAGS
9437 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9439 /* end confdefs.h. */
9440 int main(int argc, char **argv) { return 0; }
9441 _ACEOF
9442 if ac_fn_c_try_link "$LINENO"; then :
9443 ac_cv_cflags__Wl___export_dynamic=yes
9444 else
9445 ac_cv_cflags__Wl___export_dynamic=no
9447 rm -f core conftest.err conftest.$ac_objext \
9448 conftest$ac_exeext conftest.$ac_ext
9449 CFLAGS=$ac_wine_try_cflags_saved
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9452 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9453 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9454 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9456 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9458 case $host_cpu in
9459 *i[3456789]86* | x86_64 | *aarch64*)
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9461 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9462 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9463 $as_echo_n "(cached) " >&6
9464 else
9465 ac_wine_try_cflags_saved=$CFLAGS
9466 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9468 /* end confdefs.h. */
9469 int main(int argc, char **argv) { return 0; }
9470 _ACEOF
9471 if ac_fn_c_try_link "$LINENO"; then :
9472 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9473 else
9474 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9476 rm -f core conftest.err conftest.$ac_objext \
9477 conftest$ac_exeext conftest.$ac_ext
9478 CFLAGS=$ac_wine_try_cflags_saved
9480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9481 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9482 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9483 case $host_os in
9484 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9485 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9486 esac
9487 else
9488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9489 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9490 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9491 $as_echo_n "(cached) " >&6
9492 else
9493 ac_wine_try_cflags_saved=$CFLAGS
9494 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9496 /* end confdefs.h. */
9497 int main(int argc, char **argv) { return 0; }
9498 _ACEOF
9499 if ac_fn_c_try_link "$LINENO"; then :
9500 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9501 else
9502 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9504 rm -f core conftest.err conftest.$ac_objext \
9505 conftest$ac_exeext conftest.$ac_ext
9506 CFLAGS=$ac_wine_try_cflags_saved
9508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9509 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9510 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9511 case $host_os in
9512 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9513 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9514 esac
9516 # Extract the first word of "prelink", so it can be a program name with args.
9517 set dummy prelink; ac_word=$2
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9519 $as_echo_n "checking for $ac_word... " >&6; }
9520 if ${ac_cv_path_PRELINK+:} false; then :
9521 $as_echo_n "(cached) " >&6
9522 else
9523 case $PRELINK in
9524 [\\/]* | ?:[\\/]*)
9525 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9529 for as_dir in /sbin /usr/sbin $PATH
9531 IFS=$as_save_IFS
9532 test -z "$as_dir" && as_dir=.
9533 for ac_exec_ext in '' $ac_executable_extensions; do
9534 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9535 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9537 break 2
9539 done
9540 done
9541 IFS=$as_save_IFS
9543 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9545 esac
9547 PRELINK=$ac_cv_path_PRELINK
9548 if test -n "$PRELINK"; then
9549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9550 $as_echo "$PRELINK" >&6; }
9551 else
9552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9553 $as_echo "no" >&6; }
9557 if test "x$PRELINK" = xfalse
9558 then
9559 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9563 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9564 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9565 $as_echo_n "(cached) " >&6
9566 else
9567 ac_wine_try_cflags_saved=$CFLAGS
9568 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9570 /* end confdefs.h. */
9571 int main(int argc, char **argv) { return 0; }
9572 _ACEOF
9573 if ac_fn_c_try_link "$LINENO"; then :
9574 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9575 else
9576 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9578 rm -f core conftest.err conftest.$ac_objext \
9579 conftest$ac_exeext conftest.$ac_ext
9580 CFLAGS=$ac_wine_try_cflags_saved
9582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9583 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9584 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9585 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9588 esac
9590 else
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9592 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9593 if ${ac_cv_c_dll_unixware+:} false; then :
9594 $as_echo_n "(cached) " >&6
9595 else
9596 ac_wine_try_cflags_saved=$CFLAGS
9597 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9599 /* end confdefs.h. */
9600 void myfunc() {}
9601 _ACEOF
9602 if ac_fn_c_try_link "$LINENO"; then :
9603 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9604 else
9605 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9607 rm -f core conftest.err conftest.$ac_objext \
9608 conftest$ac_exeext conftest.$ac_ext
9609 CFLAGS=$ac_wine_try_cflags_saved
9610 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9611 ac_cv_c_dll_unixware="yes"
9612 else
9613 ac_cv_c_dll_unixware="no"
9616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9617 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9618 if test "$ac_cv_c_dll_unixware" = "yes"
9619 then
9620 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9623 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9625 LIBWINE_DEPENDS="wine.map"
9627 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9629 esac
9631 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9632 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9633 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9634 enable_winemac_drv=${enable_winemac_drv:-no}
9635 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9638 if test "x$with_mingw" != xno
9639 then
9640 case "x$with_mingw" in
9641 x|xyes) case "$host_cpu" in
9642 aarch64*)
9643 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9644 arm*)
9645 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9646 i[3456789]86*)
9647 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
9648 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9649 mingw32-gcc" ;;
9650 x86_64)
9651 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
9652 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9654 ac_prefix_list="" ;;
9655 esac
9656 for ac_prog in $ac_prefix_list
9658 # Extract the first word of "$ac_prog", so it can be a program name with args.
9659 set dummy $ac_prog; ac_word=$2
9660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9661 $as_echo_n "checking for $ac_word... " >&6; }
9662 if ${ac_cv_prog_CROSSCC+:} false; then :
9663 $as_echo_n "(cached) " >&6
9664 else
9665 if test -n "$CROSSCC"; then
9666 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9667 else
9668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9669 for as_dir in $PATH
9671 IFS=$as_save_IFS
9672 test -z "$as_dir" && as_dir=.
9673 for ac_exec_ext in '' $ac_executable_extensions; do
9674 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9675 ac_cv_prog_CROSSCC="$ac_prog"
9676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9677 break 2
9679 done
9680 done
9681 IFS=$as_save_IFS
9685 CROSSCC=$ac_cv_prog_CROSSCC
9686 if test -n "$CROSSCC"; then
9687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9688 $as_echo "$CROSSCC" >&6; }
9689 else
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9691 $as_echo "no" >&6; }
9695 test -n "$CROSSCC" && break
9696 done
9697 test -n "$CROSSCC" || CROSSCC="false"
9699 *) CROSSCC=$with_mingw ;;
9700 esac
9701 if test "$CROSSCC" != "false"
9702 then
9703 ac_save_CC="$CC"
9704 saved_CFLAGS=$CFLAGS
9705 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9707 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9711 CC="$CROSSCC"
9712 CFLAGS=$CROSSCFLAGS
9713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9714 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9715 if ${wine_cv_crosscc+:} false; then :
9716 $as_echo_n "(cached) " >&6
9717 else
9718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9719 /* end confdefs.h. */
9722 main ()
9726 return 0;
9728 _ACEOF
9729 if ac_fn_c_try_compile "$LINENO"; then :
9730 wine_cv_crosscc=yes
9731 else
9732 wine_cv_crosscc=no
9734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9737 $as_echo "$wine_cv_crosscc" >&6; }
9738 if test $wine_cv_crosscc = yes
9739 then
9740 set x $CROSSCC
9741 shift
9742 while test $# -ge 1
9744 case "$1" in
9745 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9746 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9747 esac
9748 shift
9749 done
9751 llvm_target=$CROSSTARGET
9752 llvm_cflags="-fuse-ld=lld"
9753 if test -z "$llvm_target"
9754 then
9755 case $host_cpu in
9756 *i[3456789]86*) llvm_target=i686-windows ;;
9757 *) llvm_target=$host_cpu-windows ;;
9758 esac
9760 case $llvm_target in
9761 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9762 esac
9763 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9765 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9766 if eval \${$as_ac_var+:} false; then :
9767 $as_echo_n "(cached) " >&6
9768 else
9769 ac_wine_try_cflags_saved=$CFLAGS
9770 ac_wine_try_cflags_saved_cc=$CC
9771 ac_wine_try_cflags_saved_exeext=$ac_exeext
9772 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9773 CC="$CROSSCC"
9774 ac_exeext=".exe"
9775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9776 /* end confdefs.h. */
9777 int __cdecl mainCRTStartup(void) { return 0; }
9778 _ACEOF
9779 if ac_fn_c_try_link "$LINENO"; then :
9780 eval "$as_ac_var=yes"
9781 else
9782 eval "$as_ac_var=no"
9784 rm -f core conftest.err conftest.$ac_objext \
9785 conftest$ac_exeext conftest.$ac_ext
9786 CFLAGS=$ac_wine_try_cflags_saved
9787 CC=$ac_wine_try_cflags_saved_cc
9788 ac_exeext=$ac_wine_try_cflags_saved_exeext
9790 eval ac_res=\$$as_ac_var
9791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9792 $as_echo "$ac_res" >&6; }
9793 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9794 CROSSTARGET=$llvm_target
9795 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9796 DELAYLOADFLAG="-Wl,-delayload,"
9798 CFLAGS="$CFLAGS $llvm_cflags"
9801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9802 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9803 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9804 $as_echo_n "(cached) " >&6
9805 else
9806 ac_wine_try_cflags_saved=$CFLAGS
9807 ac_wine_try_cflags_saved_cc=$CC
9808 ac_wine_try_cflags_saved_exeext=$ac_exeext
9809 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9810 CC="$CROSSCC"
9811 ac_exeext=".exe"
9812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9813 /* end confdefs.h. */
9814 int __cdecl mainCRTStartup(void) { return 0; }
9815 _ACEOF
9816 if ac_fn_c_try_link "$LINENO"; then :
9817 ac_cv_crosscflags__fno_strict_aliasing=yes
9818 else
9819 ac_cv_crosscflags__fno_strict_aliasing=no
9821 rm -f core conftest.err conftest.$ac_objext \
9822 conftest$ac_exeext conftest.$ac_ext
9823 CFLAGS=$ac_wine_try_cflags_saved
9824 CC=$ac_wine_try_cflags_saved_cc
9825 ac_exeext=$ac_wine_try_cflags_saved_exeext
9827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9828 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9829 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9830 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9833 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9834 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9835 $as_echo_n "(cached) " >&6
9836 else
9837 ac_wine_try_cflags_saved=$CFLAGS
9838 ac_wine_try_cflags_saved_cc=$CC
9839 ac_wine_try_cflags_saved_exeext=$ac_exeext
9840 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9841 CC="$CROSSCC"
9842 ac_exeext=".exe"
9843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9844 /* end confdefs.h. */
9845 int __cdecl mainCRTStartup(void) { return 0; }
9846 _ACEOF
9847 if ac_fn_c_try_link "$LINENO"; then :
9848 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9849 else
9850 ac_cv_crosscflags__Werror_unknown_warning_option=no
9852 rm -f core conftest.err conftest.$ac_objext \
9853 conftest$ac_exeext conftest.$ac_ext
9854 CFLAGS=$ac_wine_try_cflags_saved
9855 CC=$ac_wine_try_cflags_saved_cc
9856 ac_exeext=$ac_wine_try_cflags_saved_exeext
9858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9859 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9860 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9861 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9864 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9865 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9866 $as_echo_n "(cached) " >&6
9867 else
9868 ac_wine_try_cflags_saved=$CFLAGS
9869 ac_wine_try_cflags_saved_cc=$CC
9870 ac_wine_try_cflags_saved_exeext=$ac_exeext
9871 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9872 CC="$CROSSCC"
9873 ac_exeext=".exe"
9874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9875 /* end confdefs.h. */
9876 int __cdecl mainCRTStartup(void) { return 0; }
9877 _ACEOF
9878 if ac_fn_c_try_link "$LINENO"; then :
9879 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9880 else
9881 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9883 rm -f core conftest.err conftest.$ac_objext \
9884 conftest$ac_exeext conftest.$ac_ext
9885 CFLAGS=$ac_wine_try_cflags_saved
9886 CC=$ac_wine_try_cflags_saved_cc
9887 ac_exeext=$ac_wine_try_cflags_saved_exeext
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9890 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9891 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9892 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9895 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9896 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9897 $as_echo_n "(cached) " >&6
9898 else
9899 ac_wine_try_cflags_saved=$CFLAGS
9900 ac_wine_try_cflags_saved_cc=$CC
9901 ac_wine_try_cflags_saved_exeext=$ac_exeext
9902 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9903 CC="$CROSSCC"
9904 ac_exeext=".exe"
9905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9906 /* end confdefs.h. */
9907 int __cdecl mainCRTStartup(void) { return 0; }
9908 _ACEOF
9909 if ac_fn_c_try_link "$LINENO"; then :
9910 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9911 else
9912 ac_cv_crosscflags__Wdeclaration_after_statement=no
9914 rm -f core conftest.err conftest.$ac_objext \
9915 conftest$ac_exeext conftest.$ac_ext
9916 CFLAGS=$ac_wine_try_cflags_saved
9917 CC=$ac_wine_try_cflags_saved_cc
9918 ac_exeext=$ac_wine_try_cflags_saved_exeext
9920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9921 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9922 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9923 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9926 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9927 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9928 $as_echo_n "(cached) " >&6
9929 else
9930 ac_wine_try_cflags_saved=$CFLAGS
9931 ac_wine_try_cflags_saved_cc=$CC
9932 ac_wine_try_cflags_saved_exeext=$ac_exeext
9933 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9934 CC="$CROSSCC"
9935 ac_exeext=".exe"
9936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9937 /* end confdefs.h. */
9938 int __cdecl mainCRTStartup(void) { return 0; }
9939 _ACEOF
9940 if ac_fn_c_try_link "$LINENO"; then :
9941 ac_cv_crosscflags__Wempty_body=yes
9942 else
9943 ac_cv_crosscflags__Wempty_body=no
9945 rm -f core conftest.err conftest.$ac_objext \
9946 conftest$ac_exeext conftest.$ac_ext
9947 CFLAGS=$ac_wine_try_cflags_saved
9948 CC=$ac_wine_try_cflags_saved_cc
9949 ac_exeext=$ac_wine_try_cflags_saved_exeext
9951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9952 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9953 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9954 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9957 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9958 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9959 $as_echo_n "(cached) " >&6
9960 else
9961 ac_wine_try_cflags_saved=$CFLAGS
9962 ac_wine_try_cflags_saved_cc=$CC
9963 ac_wine_try_cflags_saved_exeext=$ac_exeext
9964 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9965 CC="$CROSSCC"
9966 ac_exeext=".exe"
9967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9968 /* end confdefs.h. */
9969 int __cdecl mainCRTStartup(void) { return 0; }
9970 _ACEOF
9971 if ac_fn_c_try_link "$LINENO"; then :
9972 ac_cv_crosscflags__Wignored_qualifiers=yes
9973 else
9974 ac_cv_crosscflags__Wignored_qualifiers=no
9976 rm -f core conftest.err conftest.$ac_objext \
9977 conftest$ac_exeext conftest.$ac_ext
9978 CFLAGS=$ac_wine_try_cflags_saved
9979 CC=$ac_wine_try_cflags_saved_cc
9980 ac_exeext=$ac_wine_try_cflags_saved_exeext
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9983 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9984 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9985 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
9988 $as_echo_n "checking whether the cross-compiler supports -Winit-self... " >&6; }
9989 if ${ac_cv_crosscflags__Winit_self+:} false; then :
9990 $as_echo_n "(cached) " >&6
9991 else
9992 ac_wine_try_cflags_saved=$CFLAGS
9993 ac_wine_try_cflags_saved_cc=$CC
9994 ac_wine_try_cflags_saved_exeext=$ac_exeext
9995 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
9996 CC="$CROSSCC"
9997 ac_exeext=".exe"
9998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9999 /* end confdefs.h. */
10000 int __cdecl mainCRTStartup(void) { return 0; }
10001 _ACEOF
10002 if ac_fn_c_try_link "$LINENO"; then :
10003 ac_cv_crosscflags__Winit_self=yes
10004 else
10005 ac_cv_crosscflags__Winit_self=no
10007 rm -f core conftest.err conftest.$ac_objext \
10008 conftest$ac_exeext conftest.$ac_ext
10009 CFLAGS=$ac_wine_try_cflags_saved
10010 CC=$ac_wine_try_cflags_saved_cc
10011 ac_exeext=$ac_wine_try_cflags_saved_exeext
10013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
10014 $as_echo "$ac_cv_crosscflags__Winit_self" >&6; }
10015 if test "x$ac_cv_crosscflags__Winit_self" = xyes; then :
10016 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
10018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10019 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10020 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10021 $as_echo_n "(cached) " >&6
10022 else
10023 ac_wine_try_cflags_saved=$CFLAGS
10024 ac_wine_try_cflags_saved_cc=$CC
10025 ac_wine_try_cflags_saved_exeext=$ac_exeext
10026 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10027 CC="$CROSSCC"
10028 ac_exeext=".exe"
10029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10030 /* end confdefs.h. */
10031 int __cdecl mainCRTStartup(void) { return 0; }
10032 _ACEOF
10033 if ac_fn_c_try_link "$LINENO"; then :
10034 ac_cv_crosscflags__Wpacked_not_aligned=yes
10035 else
10036 ac_cv_crosscflags__Wpacked_not_aligned=no
10038 rm -f core conftest.err conftest.$ac_objext \
10039 conftest$ac_exeext conftest.$ac_ext
10040 CFLAGS=$ac_wine_try_cflags_saved
10041 CC=$ac_wine_try_cflags_saved_cc
10042 ac_exeext=$ac_wine_try_cflags_saved_exeext
10044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10045 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10046 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10047 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10050 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10051 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10052 $as_echo_n "(cached) " >&6
10053 else
10054 ac_wine_try_cflags_saved=$CFLAGS
10055 ac_wine_try_cflags_saved_cc=$CC
10056 ac_wine_try_cflags_saved_exeext=$ac_exeext
10057 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10058 CC="$CROSSCC"
10059 ac_exeext=".exe"
10060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10061 /* end confdefs.h. */
10062 int __cdecl mainCRTStartup(void) { return 0; }
10063 _ACEOF
10064 if ac_fn_c_try_link "$LINENO"; then :
10065 ac_cv_crosscflags__Wpragma_pack=yes
10066 else
10067 ac_cv_crosscflags__Wpragma_pack=no
10069 rm -f core conftest.err conftest.$ac_objext \
10070 conftest$ac_exeext conftest.$ac_ext
10071 CFLAGS=$ac_wine_try_cflags_saved
10072 CC=$ac_wine_try_cflags_saved_cc
10073 ac_exeext=$ac_wine_try_cflags_saved_exeext
10075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10076 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10077 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10078 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10081 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10082 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10083 $as_echo_n "(cached) " >&6
10084 else
10085 ac_wine_try_cflags_saved=$CFLAGS
10086 ac_wine_try_cflags_saved_cc=$CC
10087 ac_wine_try_cflags_saved_exeext=$ac_exeext
10088 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10089 CC="$CROSSCC"
10090 ac_exeext=".exe"
10091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10092 /* end confdefs.h. */
10093 int __cdecl mainCRTStartup(void) { return 0; }
10094 _ACEOF
10095 if ac_fn_c_try_link "$LINENO"; then :
10096 ac_cv_crosscflags__Wshift_overflow_2=yes
10097 else
10098 ac_cv_crosscflags__Wshift_overflow_2=no
10100 rm -f core conftest.err conftest.$ac_objext \
10101 conftest$ac_exeext conftest.$ac_ext
10102 CFLAGS=$ac_wine_try_cflags_saved
10103 CC=$ac_wine_try_cflags_saved_cc
10104 ac_exeext=$ac_wine_try_cflags_saved_exeext
10106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10107 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10108 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10109 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10112 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10113 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10114 $as_echo_n "(cached) " >&6
10115 else
10116 ac_wine_try_cflags_saved=$CFLAGS
10117 ac_wine_try_cflags_saved_cc=$CC
10118 ac_wine_try_cflags_saved_exeext=$ac_exeext
10119 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10120 CC="$CROSSCC"
10121 ac_exeext=".exe"
10122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10123 /* end confdefs.h. */
10124 int __cdecl mainCRTStartup(void) { return 0; }
10125 _ACEOF
10126 if ac_fn_c_try_link "$LINENO"; then :
10127 ac_cv_crosscflags__Wstrict_prototypes=yes
10128 else
10129 ac_cv_crosscflags__Wstrict_prototypes=no
10131 rm -f core conftest.err conftest.$ac_objext \
10132 conftest$ac_exeext conftest.$ac_ext
10133 CFLAGS=$ac_wine_try_cflags_saved
10134 CC=$ac_wine_try_cflags_saved_cc
10135 ac_exeext=$ac_wine_try_cflags_saved_exeext
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10138 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10139 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10140 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10143 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10144 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10145 $as_echo_n "(cached) " >&6
10146 else
10147 ac_wine_try_cflags_saved=$CFLAGS
10148 ac_wine_try_cflags_saved_cc=$CC
10149 ac_wine_try_cflags_saved_exeext=$ac_exeext
10150 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10151 CC="$CROSSCC"
10152 ac_exeext=".exe"
10153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10154 /* end confdefs.h. */
10155 int __cdecl mainCRTStartup(void) { return 0; }
10156 _ACEOF
10157 if ac_fn_c_try_link "$LINENO"; then :
10158 ac_cv_crosscflags__Wtype_limits=yes
10159 else
10160 ac_cv_crosscflags__Wtype_limits=no
10162 rm -f core conftest.err conftest.$ac_objext \
10163 conftest$ac_exeext conftest.$ac_ext
10164 CFLAGS=$ac_wine_try_cflags_saved
10165 CC=$ac_wine_try_cflags_saved_cc
10166 ac_exeext=$ac_wine_try_cflags_saved_exeext
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10169 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10170 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10171 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10174 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10175 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10176 $as_echo_n "(cached) " >&6
10177 else
10178 ac_wine_try_cflags_saved=$CFLAGS
10179 ac_wine_try_cflags_saved_cc=$CC
10180 ac_wine_try_cflags_saved_exeext=$ac_exeext
10181 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10182 CC="$CROSSCC"
10183 ac_exeext=".exe"
10184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10185 /* end confdefs.h. */
10186 int __cdecl mainCRTStartup(void) { return 0; }
10187 _ACEOF
10188 if ac_fn_c_try_link "$LINENO"; then :
10189 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10190 else
10191 ac_cv_crosscflags__Wunused_but_set_parameter=no
10193 rm -f core conftest.err conftest.$ac_objext \
10194 conftest$ac_exeext conftest.$ac_ext
10195 CFLAGS=$ac_wine_try_cflags_saved
10196 CC=$ac_wine_try_cflags_saved_cc
10197 ac_exeext=$ac_wine_try_cflags_saved_exeext
10199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10200 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10201 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10202 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10205 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10206 if ${ac_cv_crosscflags__Wvla+:} false; then :
10207 $as_echo_n "(cached) " >&6
10208 else
10209 ac_wine_try_cflags_saved=$CFLAGS
10210 ac_wine_try_cflags_saved_cc=$CC
10211 ac_wine_try_cflags_saved_exeext=$ac_exeext
10212 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10213 CC="$CROSSCC"
10214 ac_exeext=".exe"
10215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10216 /* end confdefs.h. */
10217 int __cdecl mainCRTStartup(void) { return 0; }
10218 _ACEOF
10219 if ac_fn_c_try_link "$LINENO"; then :
10220 ac_cv_crosscflags__Wvla=yes
10221 else
10222 ac_cv_crosscflags__Wvla=no
10224 rm -f core conftest.err conftest.$ac_objext \
10225 conftest$ac_exeext conftest.$ac_ext
10226 CFLAGS=$ac_wine_try_cflags_saved
10227 CC=$ac_wine_try_cflags_saved_cc
10228 ac_exeext=$ac_wine_try_cflags_saved_exeext
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10231 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10232 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10233 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10236 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10237 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10238 $as_echo_n "(cached) " >&6
10239 else
10240 ac_wine_try_cflags_saved=$CFLAGS
10241 ac_wine_try_cflags_saved_cc=$CC
10242 ac_wine_try_cflags_saved_exeext=$ac_exeext
10243 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10244 CC="$CROSSCC"
10245 ac_exeext=".exe"
10246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10247 /* end confdefs.h. */
10248 int __cdecl mainCRTStartup(void) { return 0; }
10249 _ACEOF
10250 if ac_fn_c_try_link "$LINENO"; then :
10251 ac_cv_crosscflags__Wwrite_strings=yes
10252 else
10253 ac_cv_crosscflags__Wwrite_strings=no
10255 rm -f core conftest.err conftest.$ac_objext \
10256 conftest$ac_exeext conftest.$ac_ext
10257 CFLAGS=$ac_wine_try_cflags_saved
10258 CC=$ac_wine_try_cflags_saved_cc
10259 ac_exeext=$ac_wine_try_cflags_saved_exeext
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10262 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10263 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10264 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10267 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10268 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10269 $as_echo_n "(cached) " >&6
10270 else
10271 ac_wine_try_cflags_saved=$CFLAGS
10272 ac_wine_try_cflags_saved_cc=$CC
10273 ac_wine_try_cflags_saved_exeext=$ac_exeext
10274 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10275 CC="$CROSSCC"
10276 ac_exeext=".exe"
10277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10278 /* end confdefs.h. */
10279 int __cdecl mainCRTStartup(void) { return 0; }
10280 _ACEOF
10281 if ac_fn_c_try_link "$LINENO"; then :
10282 ac_cv_crosscflags__Wpointer_arith=yes
10283 else
10284 ac_cv_crosscflags__Wpointer_arith=no
10286 rm -f core conftest.err conftest.$ac_objext \
10287 conftest$ac_exeext conftest.$ac_ext
10288 CFLAGS=$ac_wine_try_cflags_saved
10289 CC=$ac_wine_try_cflags_saved_cc
10290 ac_exeext=$ac_wine_try_cflags_saved_exeext
10292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10293 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10294 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10295 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10298 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10299 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10300 $as_echo_n "(cached) " >&6
10301 else
10302 ac_wine_try_cflags_saved=$CFLAGS
10303 ac_wine_try_cflags_saved_cc=$CC
10304 ac_wine_try_cflags_saved_exeext=$ac_exeext
10305 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10306 CC="$CROSSCC"
10307 ac_exeext=".exe"
10308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10309 /* end confdefs.h. */
10310 int __cdecl mainCRTStartup(void) { return 0; }
10311 _ACEOF
10312 if ac_fn_c_try_link "$LINENO"; then :
10313 ac_cv_crosscflags__Wlogical_op=yes
10314 else
10315 ac_cv_crosscflags__Wlogical_op=no
10317 rm -f core conftest.err conftest.$ac_objext \
10318 conftest$ac_exeext conftest.$ac_ext
10319 CFLAGS=$ac_wine_try_cflags_saved
10320 CC=$ac_wine_try_cflags_saved_cc
10321 ac_exeext=$ac_wine_try_cflags_saved_exeext
10323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10324 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10325 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10326 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10329 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10330 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10331 $as_echo_n "(cached) " >&6
10332 else
10333 ac_wine_try_cflags_saved=$CFLAGS
10334 ac_wine_try_cflags_saved_cc=$CC
10335 ac_wine_try_cflags_saved_exeext=$ac_exeext
10336 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10337 CC="$CROSSCC"
10338 ac_exeext=".exe"
10339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10340 /* end confdefs.h. */
10341 int __cdecl mainCRTStartup(void) { return 0; }
10342 _ACEOF
10343 if ac_fn_c_try_link "$LINENO"; then :
10344 ac_cv_crosscflags__Wabsolute_value=yes
10345 else
10346 ac_cv_crosscflags__Wabsolute_value=no
10348 rm -f core conftest.err conftest.$ac_objext \
10349 conftest$ac_exeext conftest.$ac_ext
10350 CFLAGS=$ac_wine_try_cflags_saved
10351 CC=$ac_wine_try_cflags_saved_cc
10352 ac_exeext=$ac_wine_try_cflags_saved_exeext
10354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10355 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10356 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10357 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10360 case $host_cpu in
10361 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10362 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10363 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10364 $as_echo_n "(cached) " >&6
10365 else
10366 ac_wine_try_cflags_saved=$CFLAGS
10367 ac_wine_try_cflags_saved_cc=$CC
10368 ac_wine_try_cflags_saved_exeext=$ac_exeext
10369 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10370 CC="$CROSSCC"
10371 ac_exeext=".exe"
10372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10373 /* end confdefs.h. */
10374 int __cdecl mainCRTStartup(void) { return 0; }
10375 _ACEOF
10376 if ac_fn_c_try_link "$LINENO"; then :
10377 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10378 else
10379 ac_cv_crosscflags__fno_omit_frame_pointer=no
10381 rm -f core conftest.err conftest.$ac_objext \
10382 conftest$ac_exeext conftest.$ac_ext
10383 CFLAGS=$ac_wine_try_cflags_saved
10384 CC=$ac_wine_try_cflags_saved_cc
10385 ac_exeext=$ac_wine_try_cflags_saved_exeext
10387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10388 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10389 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10390 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10391 fi ;;
10392 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10393 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10394 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10395 $as_echo_n "(cached) " >&6
10396 else
10397 ac_wine_try_cflags_saved=$CFLAGS
10398 ac_wine_try_cflags_saved_cc=$CC
10399 ac_wine_try_cflags_saved_exeext=$ac_exeext
10400 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10401 CC="$CROSSCC"
10402 ac_exeext=".exe"
10403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10404 /* end confdefs.h. */
10405 int __cdecl mainCRTStartup(void) { return 0; }
10406 _ACEOF
10407 if ac_fn_c_try_link "$LINENO"; then :
10408 ac_cv_crosscflags__Wno_format=yes
10409 else
10410 ac_cv_crosscflags__Wno_format=no
10412 rm -f core conftest.err conftest.$ac_objext \
10413 conftest$ac_exeext conftest.$ac_ext
10414 CFLAGS=$ac_wine_try_cflags_saved
10415 CC=$ac_wine_try_cflags_saved_cc
10416 ac_exeext=$ac_wine_try_cflags_saved_exeext
10418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10419 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10420 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10421 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10424 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10425 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10426 $as_echo_n "(cached) " >&6
10427 else
10428 ac_wine_try_cflags_saved=$CFLAGS
10429 ac_wine_try_cflags_saved_cc=$CC
10430 ac_wine_try_cflags_saved_exeext=$ac_exeext
10431 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10432 CC="$CROSSCC"
10433 ac_exeext=".exe"
10434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10435 /* end confdefs.h. */
10436 int __cdecl mainCRTStartup(void) { return 0; }
10437 _ACEOF
10438 if ac_fn_c_try_link "$LINENO"; then :
10439 ac_cv_crosscflags__Wformat_overflow=yes
10440 else
10441 ac_cv_crosscflags__Wformat_overflow=no
10443 rm -f core conftest.err conftest.$ac_objext \
10444 conftest$ac_exeext conftest.$ac_ext
10445 CFLAGS=$ac_wine_try_cflags_saved
10446 CC=$ac_wine_try_cflags_saved_cc
10447 ac_exeext=$ac_wine_try_cflags_saved_exeext
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10450 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10451 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10452 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10455 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10456 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10457 $as_echo_n "(cached) " >&6
10458 else
10459 ac_wine_try_cflags_saved=$CFLAGS
10460 ac_wine_try_cflags_saved_cc=$CC
10461 ac_wine_try_cflags_saved_exeext=$ac_exeext
10462 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10463 CC="$CROSSCC"
10464 ac_exeext=".exe"
10465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10466 /* end confdefs.h. */
10467 int __cdecl mainCRTStartup(void) { return 0; }
10468 _ACEOF
10469 if ac_fn_c_try_link "$LINENO"; then :
10470 ac_cv_crosscflags__Wnonnull=yes
10471 else
10472 ac_cv_crosscflags__Wnonnull=no
10474 rm -f core conftest.err conftest.$ac_objext \
10475 conftest$ac_exeext conftest.$ac_ext
10476 CFLAGS=$ac_wine_try_cflags_saved
10477 CC=$ac_wine_try_cflags_saved_cc
10478 ac_exeext=$ac_wine_try_cflags_saved_exeext
10480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10481 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10482 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10483 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10486 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10487 if ${ac_cv_crosscflags__mcx16+:} false; then :
10488 $as_echo_n "(cached) " >&6
10489 else
10490 ac_wine_try_cflags_saved=$CFLAGS
10491 ac_wine_try_cflags_saved_cc=$CC
10492 ac_wine_try_cflags_saved_exeext=$ac_exeext
10493 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10494 CC="$CROSSCC"
10495 ac_exeext=".exe"
10496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10497 /* end confdefs.h. */
10498 int __cdecl mainCRTStartup(void) { return 0; }
10499 _ACEOF
10500 if ac_fn_c_try_link "$LINENO"; then :
10501 ac_cv_crosscflags__mcx16=yes
10502 else
10503 ac_cv_crosscflags__mcx16=no
10505 rm -f core conftest.err conftest.$ac_objext \
10506 conftest$ac_exeext conftest.$ac_ext
10507 CFLAGS=$ac_wine_try_cflags_saved
10508 CC=$ac_wine_try_cflags_saved_cc
10509 ac_exeext=$ac_wine_try_cflags_saved_exeext
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10512 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10513 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10514 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10515 fi ;;
10516 aarch64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10517 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10518 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10519 $as_echo_n "(cached) " >&6
10520 else
10521 ac_wine_try_cflags_saved=$CFLAGS
10522 ac_wine_try_cflags_saved_cc=$CC
10523 ac_wine_try_cflags_saved_exeext=$ac_exeext
10524 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10525 CC="$CROSSCC"
10526 ac_exeext=".exe"
10527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10528 /* end confdefs.h. */
10529 int __cdecl mainCRTStartup(void) { return 0; }
10530 _ACEOF
10531 if ac_fn_c_try_link "$LINENO"; then :
10532 ac_cv_crosscflags__Wno_format=yes
10533 else
10534 ac_cv_crosscflags__Wno_format=no
10536 rm -f core conftest.err conftest.$ac_objext \
10537 conftest$ac_exeext conftest.$ac_ext
10538 CFLAGS=$ac_wine_try_cflags_saved
10539 CC=$ac_wine_try_cflags_saved_cc
10540 ac_exeext=$ac_wine_try_cflags_saved_exeext
10542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10543 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10544 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10545 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10546 fi ;;
10547 esac
10550 if test -z "$CROSSDEBUG"
10551 then
10552 for ac_flag in $CROSSCFLAGS; do
10553 case $ac_flag in
10554 -gdwarf*) CROSSDEBUG=dwarf ;;
10555 -gcodeview) CROSSDEBUG=pdb ;;
10556 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10557 esac
10558 done
10560 case $CROSSDEBUG in
10561 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10562 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10563 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10564 $as_echo_n "(cached) " >&6
10565 else
10566 ac_wine_try_cflags_saved=$CFLAGS
10567 ac_wine_try_cflags_saved_cc=$CC
10568 ac_wine_try_cflags_saved_exeext=$ac_exeext
10569 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10570 CC="$CROSSCC"
10571 ac_exeext=".exe"
10572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10573 /* end confdefs.h. */
10574 int __cdecl mainCRTStartup(void) { return 0; }
10575 _ACEOF
10576 if ac_fn_c_try_link "$LINENO"; then :
10577 ac_cv_crosscflags__gdwarf_2=yes
10578 else
10579 ac_cv_crosscflags__gdwarf_2=no
10581 rm -f core conftest.err conftest.$ac_objext \
10582 conftest$ac_exeext conftest.$ac_ext
10583 CFLAGS=$ac_wine_try_cflags_saved
10584 CC=$ac_wine_try_cflags_saved_cc
10585 ac_exeext=$ac_wine_try_cflags_saved_exeext
10587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10588 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10589 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10590 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10593 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10594 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10595 $as_echo_n "(cached) " >&6
10596 else
10597 ac_wine_try_cflags_saved=$CFLAGS
10598 ac_wine_try_cflags_saved_cc=$CC
10599 ac_wine_try_cflags_saved_exeext=$ac_exeext
10600 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10601 CC="$CROSSCC"
10602 ac_exeext=".exe"
10603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10604 /* end confdefs.h. */
10605 int __cdecl mainCRTStartup(void) { return 0; }
10606 _ACEOF
10607 if ac_fn_c_try_link "$LINENO"; then :
10608 ac_cv_crosscflags__gstrict_dwarf=yes
10609 else
10610 ac_cv_crosscflags__gstrict_dwarf=no
10612 rm -f core conftest.err conftest.$ac_objext \
10613 conftest$ac_exeext conftest.$ac_ext
10614 CFLAGS=$ac_wine_try_cflags_saved
10615 CC=$ac_wine_try_cflags_saved_cc
10616 ac_exeext=$ac_wine_try_cflags_saved_exeext
10618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10619 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10620 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10621 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10622 fi ;;
10623 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10624 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10625 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10626 $as_echo_n "(cached) " >&6
10627 else
10628 ac_wine_try_cflags_saved=$CFLAGS
10629 ac_wine_try_cflags_saved_cc=$CC
10630 ac_wine_try_cflags_saved_exeext=$ac_exeext
10631 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10632 CC="$CROSSCC"
10633 ac_exeext=".exe"
10634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10635 /* end confdefs.h. */
10636 int __cdecl mainCRTStartup(void) { return 0; }
10637 _ACEOF
10638 if ac_fn_c_try_link "$LINENO"; then :
10639 ac_cv_crosscflags__gcodeview=yes
10640 else
10641 ac_cv_crosscflags__gcodeview=no
10643 rm -f core conftest.err conftest.$ac_objext \
10644 conftest$ac_exeext conftest.$ac_ext
10645 CFLAGS=$ac_wine_try_cflags_saved
10646 CC=$ac_wine_try_cflags_saved_cc
10647 ac_exeext=$ac_wine_try_cflags_saved_exeext
10649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10650 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10651 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10652 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10653 fi ;;
10654 esac
10656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10657 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10658 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10659 $as_echo_n "(cached) " >&6
10660 else
10661 ac_wine_try_cflags_saved=$CFLAGS
10662 ac_wine_try_cflags_saved_cc=$CC
10663 ac_wine_try_cflags_saved_exeext=$ac_exeext
10664 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10665 CC="$CROSSCC"
10666 ac_exeext=".exe"
10667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10668 /* end confdefs.h. */
10669 int __cdecl mainCRTStartup(void) { return 0; }
10670 _ACEOF
10671 if ac_fn_c_try_link "$LINENO"; then :
10672 ac_cv_crosscflags__fexcess_precision_standard=yes
10673 else
10674 ac_cv_crosscflags__fexcess_precision_standard=no
10676 rm -f core conftest.err conftest.$ac_objext \
10677 conftest$ac_exeext conftest.$ac_ext
10678 CFLAGS=$ac_wine_try_cflags_saved
10679 CC=$ac_wine_try_cflags_saved_cc
10680 ac_exeext=$ac_wine_try_cflags_saved_exeext
10682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10683 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10684 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10685 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10689 if test "x$enable_werror" = "xyes"
10690 then
10691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10692 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10693 if ${ac_cv_crosscflags__Werror+:} false; then :
10694 $as_echo_n "(cached) " >&6
10695 else
10696 ac_wine_try_cflags_saved=$CFLAGS
10697 ac_wine_try_cflags_saved_cc=$CC
10698 ac_wine_try_cflags_saved_exeext=$ac_exeext
10699 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10700 CC="$CROSSCC"
10701 ac_exeext=".exe"
10702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10703 /* end confdefs.h. */
10704 int __cdecl mainCRTStartup(void) { return 0; }
10705 _ACEOF
10706 if ac_fn_c_try_link "$LINENO"; then :
10707 ac_cv_crosscflags__Werror=yes
10708 else
10709 ac_cv_crosscflags__Werror=no
10711 rm -f core conftest.err conftest.$ac_objext \
10712 conftest$ac_exeext conftest.$ac_ext
10713 CFLAGS=$ac_wine_try_cflags_saved
10714 CC=$ac_wine_try_cflags_saved_cc
10715 ac_exeext=$ac_wine_try_cflags_saved_exeext
10717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10718 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10719 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10720 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10723 if test "x$enable_build_id" = "xyes"
10724 then
10725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
10726 $as_echo_n "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
10727 if ${ac_cv_crosscflags__Wl___build_id+:} false; then :
10728 $as_echo_n "(cached) " >&6
10729 else
10730 ac_wine_try_cflags_saved=$CFLAGS
10731 ac_wine_try_cflags_saved_cc=$CC
10732 ac_wine_try_cflags_saved_exeext=$ac_exeext
10733 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
10734 CC="$CROSSCC"
10735 ac_exeext=".exe"
10736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10737 /* end confdefs.h. */
10738 int __cdecl mainCRTStartup(void) { return 0; }
10739 _ACEOF
10740 if ac_fn_c_try_link "$LINENO"; then :
10741 ac_cv_crosscflags__Wl___build_id=yes
10742 else
10743 ac_cv_crosscflags__Wl___build_id=no
10745 rm -f core conftest.err conftest.$ac_objext \
10746 conftest$ac_exeext conftest.$ac_ext
10747 CFLAGS=$ac_wine_try_cflags_saved
10748 CC=$ac_wine_try_cflags_saved_cc
10749 ac_exeext=$ac_wine_try_cflags_saved_exeext
10751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
10752 $as_echo "$ac_cv_crosscflags__Wl___build_id" >&6; }
10753 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes; then :
10754 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
10755 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
10759 CFLAGS=$saved_CFLAGS
10760 CC="$ac_save_CC"
10763 if test "x$CROSSTARGET" = "x"; then :
10764 case "x$with_mingw" in
10765 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10766 xno) ;;
10767 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10768 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10769 esac
10774 if test "$ac_cv_header_pthread_h" = "yes"
10775 then
10776 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10777 if test "x$ac_cv_func_pthread_create" = xyes; then :
10779 else
10780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10781 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10782 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10783 $as_echo_n "(cached) " >&6
10784 else
10785 ac_check_lib_save_LIBS=$LIBS
10786 LIBS="-lpthread $LIBS"
10787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10788 /* end confdefs.h. */
10790 /* Override any GCC internal prototype to avoid an error.
10791 Use char because int might match the return type of a GCC
10792 builtin and then its argument prototype would still apply. */
10793 #ifdef __cplusplus
10794 extern "C"
10795 #endif
10796 char pthread_create ();
10798 main ()
10800 return pthread_create ();
10802 return 0;
10804 _ACEOF
10805 if ac_fn_c_try_link "$LINENO"; then :
10806 ac_cv_lib_pthread_pthread_create=yes
10807 else
10808 ac_cv_lib_pthread_pthread_create=no
10810 rm -f core conftest.err conftest.$ac_objext \
10811 conftest$ac_exeext conftest.$ac_ext
10812 LIBS=$ac_check_lib_save_LIBS
10814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10815 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10816 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10817 PTHREAD_LIBS="-lpthread"
10824 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10825 case "x$with_pthread" in
10826 xno) ;;
10827 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10828 Wine cannot support threads without libpthread.
10829 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10830 esac
10835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10836 $as_echo_n "checking for X... " >&6; }
10839 # Check whether --with-x was given.
10840 if test "${with_x+set}" = set; then :
10841 withval=$with_x;
10844 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10845 if test "x$with_x" = xno; then
10846 # The user explicitly disabled X.
10847 have_x=disabled
10848 else
10849 case $x_includes,$x_libraries in #(
10850 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10851 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10852 $as_echo_n "(cached) " >&6
10853 else
10854 # One or both of the vars are not set, and there is no cached value.
10855 ac_x_includes=no ac_x_libraries=no
10856 rm -f -r conftest.dir
10857 if mkdir conftest.dir; then
10858 cd conftest.dir
10859 cat >Imakefile <<'_ACEOF'
10860 incroot:
10861 @echo incroot='${INCROOT}'
10862 usrlibdir:
10863 @echo usrlibdir='${USRLIBDIR}'
10864 libdir:
10865 @echo libdir='${LIBDIR}'
10866 _ACEOF
10867 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10868 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10869 for ac_var in incroot usrlibdir libdir; do
10870 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10871 done
10872 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10873 for ac_extension in a so sl dylib la dll; do
10874 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10875 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10876 ac_im_usrlibdir=$ac_im_libdir; break
10878 done
10879 # Screen out bogus values from the imake configuration. They are
10880 # bogus both because they are the default anyway, and because
10881 # using them would break gcc on systems where it needs fixed includes.
10882 case $ac_im_incroot in
10883 /usr/include) ac_x_includes= ;;
10884 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10885 esac
10886 case $ac_im_usrlibdir in
10887 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10888 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10889 esac
10891 cd ..
10892 rm -f -r conftest.dir
10895 # Standard set of common directories for X headers.
10896 # Check X11 before X11Rn because it is often a symlink to the current release.
10897 ac_x_header_dirs='
10898 /usr/X11/include
10899 /usr/X11R7/include
10900 /usr/X11R6/include
10901 /usr/X11R5/include
10902 /usr/X11R4/include
10904 /usr/include/X11
10905 /usr/include/X11R7
10906 /usr/include/X11R6
10907 /usr/include/X11R5
10908 /usr/include/X11R4
10910 /usr/local/X11/include
10911 /usr/local/X11R7/include
10912 /usr/local/X11R6/include
10913 /usr/local/X11R5/include
10914 /usr/local/X11R4/include
10916 /usr/local/include/X11
10917 /usr/local/include/X11R7
10918 /usr/local/include/X11R6
10919 /usr/local/include/X11R5
10920 /usr/local/include/X11R4
10922 /usr/X386/include
10923 /usr/x386/include
10924 /usr/XFree86/include/X11
10926 /usr/include
10927 /usr/local/include
10928 /usr/unsupported/include
10929 /usr/athena/include
10930 /usr/local/x11r5/include
10931 /usr/lpp/Xamples/include
10933 /usr/openwin/include
10934 /usr/openwin/share/include'
10936 if test "$ac_x_includes" = no; then
10937 # Guess where to find include files, by looking for Xlib.h.
10938 # First, try using that file with no special directory specified.
10939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10940 /* end confdefs.h. */
10941 #include <X11/Xlib.h>
10942 _ACEOF
10943 if ac_fn_c_try_cpp "$LINENO"; then :
10944 # We can compile using X headers with no special include directory.
10945 ac_x_includes=
10946 else
10947 for ac_dir in $ac_x_header_dirs; do
10948 if test -r "$ac_dir/X11/Xlib.h"; then
10949 ac_x_includes=$ac_dir
10950 break
10952 done
10954 rm -f conftest.err conftest.i conftest.$ac_ext
10955 fi # $ac_x_includes = no
10957 if test "$ac_x_libraries" = no; then
10958 # Check for the libraries.
10959 # See if we find them without any special options.
10960 # Don't add to $LIBS permanently.
10961 ac_save_LIBS=$LIBS
10962 LIBS="-lX11 $LIBS"
10963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10964 /* end confdefs.h. */
10965 #include <X11/Xlib.h>
10967 main ()
10969 XrmInitialize ()
10971 return 0;
10973 _ACEOF
10974 if ac_fn_c_try_link "$LINENO"; then :
10975 LIBS=$ac_save_LIBS
10976 # We can link X programs with no special library path.
10977 ac_x_libraries=
10978 else
10979 LIBS=$ac_save_LIBS
10980 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10982 # Don't even attempt the hair of trying to link an X program!
10983 for ac_extension in a so sl dylib la dll; do
10984 if test -r "$ac_dir/libX11.$ac_extension"; then
10985 ac_x_libraries=$ac_dir
10986 break 2
10988 done
10989 done
10991 rm -f core conftest.err conftest.$ac_objext \
10992 conftest$ac_exeext conftest.$ac_ext
10993 fi # $ac_x_libraries = no
10995 case $ac_x_includes,$ac_x_libraries in #(
10996 no,* | *,no | *\'*)
10997 # Didn't find X, or a directory has "'" in its name.
10998 ac_cv_have_x="have_x=no";; #(
11000 # Record where we found X for the cache.
11001 ac_cv_have_x="have_x=yes\
11002 ac_x_includes='$ac_x_includes'\
11003 ac_x_libraries='$ac_x_libraries'"
11004 esac
11006 ;; #(
11007 *) have_x=yes;;
11008 esac
11009 eval "$ac_cv_have_x"
11010 fi # $with_x != no
11012 if test "$have_x" != yes; then
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
11014 $as_echo "$have_x" >&6; }
11015 no_x=yes
11016 else
11017 # If each of the values was on the command line, it overrides each guess.
11018 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11019 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11020 # Update the cache value to reflect the command line values.
11021 ac_cv_have_x="have_x=yes\
11022 ac_x_includes='$x_includes'\
11023 ac_x_libraries='$x_libraries'"
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
11025 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11028 if test "$no_x" = yes; then
11029 # Not all programs may use this symbol, but it does not hurt to define it.
11031 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
11033 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11034 else
11035 if test -n "$x_includes"; then
11036 X_CFLAGS="$X_CFLAGS -I$x_includes"
11039 # It would also be nice to do this for all -L options, not just this one.
11040 if test -n "$x_libraries"; then
11041 X_LIBS="$X_LIBS -L$x_libraries"
11042 # For Solaris; some versions of Sun CC require a space after -R and
11043 # others require no space. Words are not sufficient . . . .
11044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
11045 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
11046 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11047 ac_xsave_c_werror_flag=$ac_c_werror_flag
11048 ac_c_werror_flag=yes
11049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11050 /* end confdefs.h. */
11053 main ()
11057 return 0;
11059 _ACEOF
11060 if ac_fn_c_try_link "$LINENO"; then :
11061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11062 $as_echo "no" >&6; }
11063 X_LIBS="$X_LIBS -R$x_libraries"
11064 else
11065 LIBS="$ac_xsave_LIBS -R $x_libraries"
11066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11067 /* end confdefs.h. */
11070 main ()
11074 return 0;
11076 _ACEOF
11077 if ac_fn_c_try_link "$LINENO"; then :
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11079 $as_echo "yes" >&6; }
11080 X_LIBS="$X_LIBS -R $x_libraries"
11081 else
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11083 $as_echo "neither works" >&6; }
11085 rm -f core conftest.err conftest.$ac_objext \
11086 conftest$ac_exeext conftest.$ac_ext
11088 rm -f core conftest.err conftest.$ac_objext \
11089 conftest$ac_exeext conftest.$ac_ext
11090 ac_c_werror_flag=$ac_xsave_c_werror_flag
11091 LIBS=$ac_xsave_LIBS
11094 # Check for system-dependent libraries X programs must link with.
11095 # Do this before checking for the system-independent R6 libraries
11096 # (-lICE), since we may need -lsocket or whatever for X linking.
11098 if test "$ISC" = yes; then
11099 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11100 else
11101 # Martyn Johnson says this is needed for Ultrix, if the X
11102 # libraries were built with DECnet support. And Karl Berry says
11103 # the Alpha needs dnet_stub (dnet does not exist).
11104 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11106 /* end confdefs.h. */
11108 /* Override any GCC internal prototype to avoid an error.
11109 Use char because int might match the return type of a GCC
11110 builtin and then its argument prototype would still apply. */
11111 #ifdef __cplusplus
11112 extern "C"
11113 #endif
11114 char XOpenDisplay ();
11116 main ()
11118 return XOpenDisplay ();
11120 return 0;
11122 _ACEOF
11123 if ac_fn_c_try_link "$LINENO"; then :
11125 else
11126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11127 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11128 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11129 $as_echo_n "(cached) " >&6
11130 else
11131 ac_check_lib_save_LIBS=$LIBS
11132 LIBS="-ldnet $LIBS"
11133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11134 /* end confdefs.h. */
11136 /* Override any GCC internal prototype to avoid an error.
11137 Use char because int might match the return type of a GCC
11138 builtin and then its argument prototype would still apply. */
11139 #ifdef __cplusplus
11140 extern "C"
11141 #endif
11142 char dnet_ntoa ();
11144 main ()
11146 return dnet_ntoa ();
11148 return 0;
11150 _ACEOF
11151 if ac_fn_c_try_link "$LINENO"; then :
11152 ac_cv_lib_dnet_dnet_ntoa=yes
11153 else
11154 ac_cv_lib_dnet_dnet_ntoa=no
11156 rm -f core conftest.err conftest.$ac_objext \
11157 conftest$ac_exeext conftest.$ac_ext
11158 LIBS=$ac_check_lib_save_LIBS
11160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11161 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11162 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11163 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11166 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11168 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11169 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11170 $as_echo_n "(cached) " >&6
11171 else
11172 ac_check_lib_save_LIBS=$LIBS
11173 LIBS="-ldnet_stub $LIBS"
11174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11175 /* end confdefs.h. */
11177 /* Override any GCC internal prototype to avoid an error.
11178 Use char because int might match the return type of a GCC
11179 builtin and then its argument prototype would still apply. */
11180 #ifdef __cplusplus
11181 extern "C"
11182 #endif
11183 char dnet_ntoa ();
11185 main ()
11187 return dnet_ntoa ();
11189 return 0;
11191 _ACEOF
11192 if ac_fn_c_try_link "$LINENO"; then :
11193 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11194 else
11195 ac_cv_lib_dnet_stub_dnet_ntoa=no
11197 rm -f core conftest.err conftest.$ac_objext \
11198 conftest$ac_exeext conftest.$ac_ext
11199 LIBS=$ac_check_lib_save_LIBS
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11202 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11203 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11204 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11209 rm -f core conftest.err conftest.$ac_objext \
11210 conftest$ac_exeext conftest.$ac_ext
11211 LIBS="$ac_xsave_LIBS"
11213 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11214 # to get the SysV transport functions.
11215 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11216 # needs -lnsl.
11217 # The nsl library prevents programs from opening the X display
11218 # on Irix 5.2, according to T.E. Dickey.
11219 # The functions gethostbyname, getservbyname, and inet_addr are
11220 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11221 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11222 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11226 if test $ac_cv_func_gethostbyname = no; then
11227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11228 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11229 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11230 $as_echo_n "(cached) " >&6
11231 else
11232 ac_check_lib_save_LIBS=$LIBS
11233 LIBS="-lnsl $LIBS"
11234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11235 /* end confdefs.h. */
11237 /* Override any GCC internal prototype to avoid an error.
11238 Use char because int might match the return type of a GCC
11239 builtin and then its argument prototype would still apply. */
11240 #ifdef __cplusplus
11241 extern "C"
11242 #endif
11243 char gethostbyname ();
11245 main ()
11247 return gethostbyname ();
11249 return 0;
11251 _ACEOF
11252 if ac_fn_c_try_link "$LINENO"; then :
11253 ac_cv_lib_nsl_gethostbyname=yes
11254 else
11255 ac_cv_lib_nsl_gethostbyname=no
11257 rm -f core conftest.err conftest.$ac_objext \
11258 conftest$ac_exeext conftest.$ac_ext
11259 LIBS=$ac_check_lib_save_LIBS
11261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11262 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11263 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11264 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11267 if test $ac_cv_lib_nsl_gethostbyname = no; then
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11269 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11270 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11271 $as_echo_n "(cached) " >&6
11272 else
11273 ac_check_lib_save_LIBS=$LIBS
11274 LIBS="-lbsd $LIBS"
11275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11276 /* end confdefs.h. */
11278 /* Override any GCC internal prototype to avoid an error.
11279 Use char because int might match the return type of a GCC
11280 builtin and then its argument prototype would still apply. */
11281 #ifdef __cplusplus
11282 extern "C"
11283 #endif
11284 char gethostbyname ();
11286 main ()
11288 return gethostbyname ();
11290 return 0;
11292 _ACEOF
11293 if ac_fn_c_try_link "$LINENO"; then :
11294 ac_cv_lib_bsd_gethostbyname=yes
11295 else
11296 ac_cv_lib_bsd_gethostbyname=no
11298 rm -f core conftest.err conftest.$ac_objext \
11299 conftest$ac_exeext conftest.$ac_ext
11300 LIBS=$ac_check_lib_save_LIBS
11302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11303 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11304 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11305 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11311 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11312 # socket/setsockopt and other routines are undefined under SCO ODT
11313 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11314 # on later versions), says Simon Leinen: it contains gethostby*
11315 # variants that don't use the name server (or something). -lsocket
11316 # must be given before -lnsl if both are needed. We assume that
11317 # if connect needs -lnsl, so does gethostbyname.
11318 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11319 if test "x$ac_cv_func_connect" = xyes; then :
11323 if test $ac_cv_func_connect = no; then
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11325 $as_echo_n "checking for connect in -lsocket... " >&6; }
11326 if ${ac_cv_lib_socket_connect+:} false; then :
11327 $as_echo_n "(cached) " >&6
11328 else
11329 ac_check_lib_save_LIBS=$LIBS
11330 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11332 /* end confdefs.h. */
11334 /* Override any GCC internal prototype to avoid an error.
11335 Use char because int might match the return type of a GCC
11336 builtin and then its argument prototype would still apply. */
11337 #ifdef __cplusplus
11338 extern "C"
11339 #endif
11340 char connect ();
11342 main ()
11344 return connect ();
11346 return 0;
11348 _ACEOF
11349 if ac_fn_c_try_link "$LINENO"; then :
11350 ac_cv_lib_socket_connect=yes
11351 else
11352 ac_cv_lib_socket_connect=no
11354 rm -f core conftest.err conftest.$ac_objext \
11355 conftest$ac_exeext conftest.$ac_ext
11356 LIBS=$ac_check_lib_save_LIBS
11358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11359 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11360 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11361 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11366 # Guillermo Gomez says -lposix is necessary on A/UX.
11367 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11368 if test "x$ac_cv_func_remove" = xyes; then :
11372 if test $ac_cv_func_remove = no; then
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11374 $as_echo_n "checking for remove in -lposix... " >&6; }
11375 if ${ac_cv_lib_posix_remove+:} false; then :
11376 $as_echo_n "(cached) " >&6
11377 else
11378 ac_check_lib_save_LIBS=$LIBS
11379 LIBS="-lposix $LIBS"
11380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11381 /* end confdefs.h. */
11383 /* Override any GCC internal prototype to avoid an error.
11384 Use char because int might match the return type of a GCC
11385 builtin and then its argument prototype would still apply. */
11386 #ifdef __cplusplus
11387 extern "C"
11388 #endif
11389 char remove ();
11391 main ()
11393 return remove ();
11395 return 0;
11397 _ACEOF
11398 if ac_fn_c_try_link "$LINENO"; then :
11399 ac_cv_lib_posix_remove=yes
11400 else
11401 ac_cv_lib_posix_remove=no
11403 rm -f core conftest.err conftest.$ac_objext \
11404 conftest$ac_exeext conftest.$ac_ext
11405 LIBS=$ac_check_lib_save_LIBS
11407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11408 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11409 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11410 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11415 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11416 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11417 if test "x$ac_cv_func_shmat" = xyes; then :
11421 if test $ac_cv_func_shmat = no; then
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11423 $as_echo_n "checking for shmat in -lipc... " >&6; }
11424 if ${ac_cv_lib_ipc_shmat+:} false; then :
11425 $as_echo_n "(cached) " >&6
11426 else
11427 ac_check_lib_save_LIBS=$LIBS
11428 LIBS="-lipc $LIBS"
11429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11430 /* end confdefs.h. */
11432 /* Override any GCC internal prototype to avoid an error.
11433 Use char because int might match the return type of a GCC
11434 builtin and then its argument prototype would still apply. */
11435 #ifdef __cplusplus
11436 extern "C"
11437 #endif
11438 char shmat ();
11440 main ()
11442 return shmat ();
11444 return 0;
11446 _ACEOF
11447 if ac_fn_c_try_link "$LINENO"; then :
11448 ac_cv_lib_ipc_shmat=yes
11449 else
11450 ac_cv_lib_ipc_shmat=no
11452 rm -f core conftest.err conftest.$ac_objext \
11453 conftest$ac_exeext conftest.$ac_ext
11454 LIBS=$ac_check_lib_save_LIBS
11456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11457 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11458 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11459 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11465 # Check for libraries that X11R6 Xt/Xaw programs need.
11466 ac_save_LDFLAGS=$LDFLAGS
11467 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11468 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11469 # check for ICE first), but we must link in the order -lSM -lICE or
11470 # we get undefined symbols. So assume we have SM if we have ICE.
11471 # These have to be linked with before -lX11, unlike the other
11472 # libraries we check for below, so use a different variable.
11473 # John Interrante, Karl Berry
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11475 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11476 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11477 $as_echo_n "(cached) " >&6
11478 else
11479 ac_check_lib_save_LIBS=$LIBS
11480 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11482 /* end confdefs.h. */
11484 /* Override any GCC internal prototype to avoid an error.
11485 Use char because int might match the return type of a GCC
11486 builtin and then its argument prototype would still apply. */
11487 #ifdef __cplusplus
11488 extern "C"
11489 #endif
11490 char IceConnectionNumber ();
11492 main ()
11494 return IceConnectionNumber ();
11496 return 0;
11498 _ACEOF
11499 if ac_fn_c_try_link "$LINENO"; then :
11500 ac_cv_lib_ICE_IceConnectionNumber=yes
11501 else
11502 ac_cv_lib_ICE_IceConnectionNumber=no
11504 rm -f core conftest.err conftest.$ac_objext \
11505 conftest$ac_exeext conftest.$ac_ext
11506 LIBS=$ac_check_lib_save_LIBS
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11509 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11510 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11511 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11514 LDFLAGS=$ac_save_LDFLAGS
11519 if test "$have_x" = "yes"
11520 then
11521 ac_save_CPPFLAGS="$CPPFLAGS"
11522 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11525 $as_echo_n "checking for -lX11... " >&6; }
11526 if ${ac_cv_lib_soname_X11+:} false; then :
11527 $as_echo_n "(cached) " >&6
11528 else
11529 ac_check_soname_save_LIBS=$LIBS
11530 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11532 /* end confdefs.h. */
11534 /* Override any GCC internal prototype to avoid an error.
11535 Use char because int might match the return type of a GCC
11536 builtin and then its argument prototype would still apply. */
11537 #ifdef __cplusplus
11538 extern "C"
11539 #endif
11540 char XCreateWindow ();
11542 main ()
11544 return XCreateWindow ();
11546 return 0;
11548 _ACEOF
11549 if ac_fn_c_try_link "$LINENO"; then :
11550 case "$LIBEXT" in
11551 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11552 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'` ;;
11553 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11554 if ${ac_cv_lib_soname_X11:+false} :; then :
11555 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11556 fi ;;
11557 esac
11558 else
11559 ac_cv_lib_soname_X11=
11561 rm -f core conftest.err conftest.$ac_objext \
11562 conftest$ac_exeext conftest.$ac_ext
11563 LIBS=$ac_check_soname_save_LIBS
11565 if ${ac_cv_lib_soname_X11:+false} :; then :
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11567 $as_echo "not found" >&6; }
11569 else
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11571 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11573 cat >>confdefs.h <<_ACEOF
11574 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11575 _ACEOF
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11580 $as_echo_n "checking for -lXext... " >&6; }
11581 if ${ac_cv_lib_soname_Xext+:} false; then :
11582 $as_echo_n "(cached) " >&6
11583 else
11584 ac_check_soname_save_LIBS=$LIBS
11585 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11587 /* end confdefs.h. */
11589 /* Override any GCC internal prototype to avoid an error.
11590 Use char because int might match the return type of a GCC
11591 builtin and then its argument prototype would still apply. */
11592 #ifdef __cplusplus
11593 extern "C"
11594 #endif
11595 char XextCreateExtension ();
11597 main ()
11599 return XextCreateExtension ();
11601 return 0;
11603 _ACEOF
11604 if ac_fn_c_try_link "$LINENO"; then :
11605 case "$LIBEXT" in
11606 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11607 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'` ;;
11608 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11609 if ${ac_cv_lib_soname_Xext:+false} :; then :
11610 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11611 fi ;;
11612 esac
11613 else
11614 ac_cv_lib_soname_Xext=
11616 rm -f core conftest.err conftest.$ac_objext \
11617 conftest$ac_exeext conftest.$ac_ext
11618 LIBS=$ac_check_soname_save_LIBS
11620 if ${ac_cv_lib_soname_Xext:+false} :; then :
11621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11622 $as_echo "not found" >&6; }
11624 else
11625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11626 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11628 cat >>confdefs.h <<_ACEOF
11629 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11630 _ACEOF
11632 X_LIBS="$X_LIBS -lXext"
11634 X_LIBS="$X_LIBS -lX11"
11636 for ac_header in X11/Xlib.h \
11637 X11/XKBlib.h \
11638 X11/Xutil.h \
11639 X11/Xcursor/Xcursor.h \
11640 X11/extensions/shape.h \
11641 X11/extensions/XInput.h \
11642 X11/extensions/XInput2.h \
11643 X11/extensions/XShm.h \
11644 X11/extensions/Xcomposite.h \
11645 X11/extensions/Xfixes.h \
11646 X11/extensions/Xinerama.h \
11647 X11/extensions/Xrandr.h \
11648 X11/extensions/Xrender.h \
11649 X11/extensions/xf86vmode.h \
11650 X11/extensions/xf86vmproto.h
11651 do :
11652 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11653 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11654 # include <X11/Xlib.h>
11655 #endif
11656 #ifdef HAVE_X11_XUTIL_H
11657 # include <X11/Xutil.h>
11658 #endif
11660 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11661 cat >>confdefs.h <<_ACEOF
11662 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11663 _ACEOF
11667 done
11670 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11671 then
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11673 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11674 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11675 $as_echo_n "(cached) " >&6
11676 else
11677 ac_check_lib_save_LIBS=$LIBS
11678 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11680 /* end confdefs.h. */
11682 /* Override any GCC internal prototype to avoid an error.
11683 Use char because int might match the return type of a GCC
11684 builtin and then its argument prototype would still apply. */
11685 #ifdef __cplusplus
11686 extern "C"
11687 #endif
11688 char XkbQueryExtension ();
11690 main ()
11692 return XkbQueryExtension ();
11694 return 0;
11696 _ACEOF
11697 if ac_fn_c_try_link "$LINENO"; then :
11698 ac_cv_lib_X11_XkbQueryExtension=yes
11699 else
11700 ac_cv_lib_X11_XkbQueryExtension=no
11702 rm -f core conftest.err conftest.$ac_objext \
11703 conftest$ac_exeext conftest.$ac_ext
11704 LIBS=$ac_check_lib_save_LIBS
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11707 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11708 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11710 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11716 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11717 then
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11719 $as_echo_n "checking for -lXcursor... " >&6; }
11720 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11721 $as_echo_n "(cached) " >&6
11722 else
11723 ac_check_soname_save_LIBS=$LIBS
11724 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11726 /* end confdefs.h. */
11728 /* Override any GCC internal prototype to avoid an error.
11729 Use char because int might match the return type of a GCC
11730 builtin and then its argument prototype would still apply. */
11731 #ifdef __cplusplus
11732 extern "C"
11733 #endif
11734 char XcursorImageLoadCursor ();
11736 main ()
11738 return XcursorImageLoadCursor ();
11740 return 0;
11742 _ACEOF
11743 if ac_fn_c_try_link "$LINENO"; then :
11744 case "$LIBEXT" in
11745 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11746 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'` ;;
11747 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11748 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11749 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11750 fi ;;
11751 esac
11752 else
11753 ac_cv_lib_soname_Xcursor=
11755 rm -f core conftest.err conftest.$ac_objext \
11756 conftest$ac_exeext conftest.$ac_ext
11757 LIBS=$ac_check_soname_save_LIBS
11759 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11761 $as_echo "not found" >&6; }
11763 else
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11765 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11767 cat >>confdefs.h <<_ACEOF
11768 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11769 _ACEOF
11774 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11775 case "x$with_xcursor" in
11776 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11777 xno) ;;
11778 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11779 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11780 esac
11784 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11785 then
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11787 $as_echo_n "checking for -lXi... " >&6; }
11788 if ${ac_cv_lib_soname_Xi+:} false; then :
11789 $as_echo_n "(cached) " >&6
11790 else
11791 ac_check_soname_save_LIBS=$LIBS
11792 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11794 /* end confdefs.h. */
11796 /* Override any GCC internal prototype to avoid an error.
11797 Use char because int might match the return type of a GCC
11798 builtin and then its argument prototype would still apply. */
11799 #ifdef __cplusplus
11800 extern "C"
11801 #endif
11802 char XOpenDevice ();
11804 main ()
11806 return XOpenDevice ();
11808 return 0;
11810 _ACEOF
11811 if ac_fn_c_try_link "$LINENO"; then :
11812 case "$LIBEXT" in
11813 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11814 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'` ;;
11815 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11816 if ${ac_cv_lib_soname_Xi:+false} :; then :
11817 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11818 fi ;;
11819 esac
11820 else
11821 ac_cv_lib_soname_Xi=
11823 rm -f core conftest.err conftest.$ac_objext \
11824 conftest$ac_exeext conftest.$ac_ext
11825 LIBS=$ac_check_soname_save_LIBS
11827 if ${ac_cv_lib_soname_Xi:+false} :; then :
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11829 $as_echo "not found" >&6; }
11831 else
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11833 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11835 cat >>confdefs.h <<_ACEOF
11836 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11837 _ACEOF
11842 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11843 case "x$with_xinput" in
11844 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11845 xno) ;;
11846 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11847 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11848 esac
11852 if test "x$ac_cv_lib_soname_Xi" != x
11853 then
11854 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11855 case "x$with_xinput2" in
11856 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11857 xno) ;;
11858 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11859 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11860 esac
11865 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11866 then
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11868 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11869 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11870 $as_echo_n "(cached) " >&6
11871 else
11872 ac_check_lib_save_LIBS=$LIBS
11873 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11875 /* end confdefs.h. */
11877 /* Override any GCC internal prototype to avoid an error.
11878 Use char because int might match the return type of a GCC
11879 builtin and then its argument prototype would still apply. */
11880 #ifdef __cplusplus
11881 extern "C"
11882 #endif
11883 char XShmQueryExtension ();
11885 main ()
11887 return XShmQueryExtension ();
11889 return 0;
11891 _ACEOF
11892 if ac_fn_c_try_link "$LINENO"; then :
11893 ac_cv_lib_Xext_XShmQueryExtension=yes
11894 else
11895 ac_cv_lib_Xext_XShmQueryExtension=no
11897 rm -f core conftest.err conftest.$ac_objext \
11898 conftest$ac_exeext conftest.$ac_ext
11899 LIBS=$ac_check_lib_save_LIBS
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11902 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11903 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11905 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11910 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11911 case "x$with_xshm" in
11912 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11913 xno) ;;
11914 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11915 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11916 esac
11920 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11921 then
11922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11923 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11924 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11925 $as_echo_n "(cached) " >&6
11926 else
11927 ac_check_lib_save_LIBS=$LIBS
11928 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11930 /* end confdefs.h. */
11932 /* Override any GCC internal prototype to avoid an error.
11933 Use char because int might match the return type of a GCC
11934 builtin and then its argument prototype would still apply. */
11935 #ifdef __cplusplus
11936 extern "C"
11937 #endif
11938 char XShapeQueryExtension ();
11940 main ()
11942 return XShapeQueryExtension ();
11944 return 0;
11946 _ACEOF
11947 if ac_fn_c_try_link "$LINENO"; then :
11948 ac_cv_lib_Xext_XShapeQueryExtension=yes
11949 else
11950 ac_cv_lib_Xext_XShapeQueryExtension=no
11952 rm -f core conftest.err conftest.$ac_objext \
11953 conftest$ac_exeext conftest.$ac_ext
11954 LIBS=$ac_check_lib_save_LIBS
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11957 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11958 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11960 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11965 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11966 case "x$with_xshape" in
11967 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11968 xno) ;;
11969 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11970 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11971 esac
11975 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11976 then
11977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11978 $as_echo_n "checking for -lXxf86vm... " >&6; }
11979 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11980 $as_echo_n "(cached) " >&6
11981 else
11982 ac_check_soname_save_LIBS=$LIBS
11983 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11985 /* end confdefs.h. */
11987 /* Override any GCC internal prototype to avoid an error.
11988 Use char because int might match the return type of a GCC
11989 builtin and then its argument prototype would still apply. */
11990 #ifdef __cplusplus
11991 extern "C"
11992 #endif
11993 char XF86VidModeQueryExtension ();
11995 main ()
11997 return XF86VidModeQueryExtension ();
11999 return 0;
12001 _ACEOF
12002 if ac_fn_c_try_link "$LINENO"; then :
12003 case "$LIBEXT" in
12004 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12005 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'` ;;
12006 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12007 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12008 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12009 fi ;;
12010 esac
12011 else
12012 ac_cv_lib_soname_Xxf86vm=
12014 rm -f core conftest.err conftest.$ac_objext \
12015 conftest$ac_exeext conftest.$ac_ext
12016 LIBS=$ac_check_soname_save_LIBS
12018 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12020 $as_echo "not found" >&6; }
12022 else
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
12024 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
12026 cat >>confdefs.h <<_ACEOF
12027 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
12028 _ACEOF
12033 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
12034 case "x$with_xxf86vm" in
12035 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
12036 xno) ;;
12037 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
12038 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
12039 esac
12043 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
12044 then
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
12046 $as_echo_n "checking for -lXrender... " >&6; }
12047 if ${ac_cv_lib_soname_Xrender+:} false; then :
12048 $as_echo_n "(cached) " >&6
12049 else
12050 ac_check_soname_save_LIBS=$LIBS
12051 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12053 /* end confdefs.h. */
12055 /* Override any GCC internal prototype to avoid an error.
12056 Use char because int might match the return type of a GCC
12057 builtin and then its argument prototype would still apply. */
12058 #ifdef __cplusplus
12059 extern "C"
12060 #endif
12061 char XRenderQueryExtension ();
12063 main ()
12065 return XRenderQueryExtension ();
12067 return 0;
12069 _ACEOF
12070 if ac_fn_c_try_link "$LINENO"; then :
12071 case "$LIBEXT" in
12072 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12073 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'` ;;
12074 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12075 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12076 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12077 fi ;;
12078 esac
12079 else
12080 ac_cv_lib_soname_Xrender=
12082 rm -f core conftest.err conftest.$ac_objext \
12083 conftest$ac_exeext conftest.$ac_ext
12084 LIBS=$ac_check_soname_save_LIBS
12086 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12088 $as_echo "not found" >&6; }
12090 else
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12092 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12094 cat >>confdefs.h <<_ACEOF
12095 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12096 _ACEOF
12098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12099 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12100 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12101 $as_echo_n "(cached) " >&6
12102 else
12103 ac_check_lib_save_LIBS=$LIBS
12104 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12106 /* end confdefs.h. */
12108 /* Override any GCC internal prototype to avoid an error.
12109 Use char because int might match the return type of a GCC
12110 builtin and then its argument prototype would still apply. */
12111 #ifdef __cplusplus
12112 extern "C"
12113 #endif
12114 char XRenderSetPictureTransform ();
12116 main ()
12118 return XRenderSetPictureTransform ();
12120 return 0;
12122 _ACEOF
12123 if ac_fn_c_try_link "$LINENO"; then :
12124 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12125 else
12126 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12128 rm -f core conftest.err conftest.$ac_objext \
12129 conftest$ac_exeext conftest.$ac_ext
12130 LIBS=$ac_check_lib_save_LIBS
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12133 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12134 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12136 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12141 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12142 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12143 $as_echo_n "(cached) " >&6
12144 else
12145 ac_check_lib_save_LIBS=$LIBS
12146 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12148 /* end confdefs.h. */
12150 /* Override any GCC internal prototype to avoid an error.
12151 Use char because int might match the return type of a GCC
12152 builtin and then its argument prototype would still apply. */
12153 #ifdef __cplusplus
12154 extern "C"
12155 #endif
12156 char XRenderCreateLinearGradient ();
12158 main ()
12160 return XRenderCreateLinearGradient ();
12162 return 0;
12164 _ACEOF
12165 if ac_fn_c_try_link "$LINENO"; then :
12166 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12167 else
12168 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12170 rm -f core conftest.err conftest.$ac_objext \
12171 conftest$ac_exeext conftest.$ac_ext
12172 LIBS=$ac_check_lib_save_LIBS
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12175 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12176 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12178 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12185 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12186 case "x$with_xrender" in
12187 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12188 xno) ;;
12189 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12190 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12191 esac
12195 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12196 then
12197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12198 /* end confdefs.h. */
12199 #include <X11/Xlib.h>
12200 #include <X11/extensions/Xrandr.h>
12202 main ()
12204 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12206 return 0;
12208 _ACEOF
12209 if ac_fn_c_try_compile "$LINENO"; then :
12210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12211 $as_echo_n "checking for -lXrandr... " >&6; }
12212 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12213 $as_echo_n "(cached) " >&6
12214 else
12215 ac_check_soname_save_LIBS=$LIBS
12216 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12218 /* end confdefs.h. */
12220 /* Override any GCC internal prototype to avoid an error.
12221 Use char because int might match the return type of a GCC
12222 builtin and then its argument prototype would still apply. */
12223 #ifdef __cplusplus
12224 extern "C"
12225 #endif
12226 char XRRQueryExtension ();
12228 main ()
12230 return XRRQueryExtension ();
12232 return 0;
12234 _ACEOF
12235 if ac_fn_c_try_link "$LINENO"; then :
12236 case "$LIBEXT" in
12237 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12238 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'` ;;
12239 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12240 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12241 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12242 fi ;;
12243 esac
12244 else
12245 ac_cv_lib_soname_Xrandr=
12247 rm -f core conftest.err conftest.$ac_objext \
12248 conftest$ac_exeext conftest.$ac_ext
12249 LIBS=$ac_check_soname_save_LIBS
12251 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12253 $as_echo "not found" >&6; }
12255 else
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12257 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12259 cat >>confdefs.h <<_ACEOF
12260 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12261 _ACEOF
12263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12264 /* end confdefs.h. */
12265 #include <X11/Xlib.h>
12266 #include <X11/extensions/Xrandr.h>
12268 main ()
12270 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12272 return 0;
12274 _ACEOF
12275 if ac_fn_c_try_compile "$LINENO"; then :
12277 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12279 else
12280 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12287 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12288 case "x$with_xrandr" in
12289 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12290 xno) ;;
12291 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12292 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12293 esac
12297 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12298 then
12299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12300 /* end confdefs.h. */
12301 #include <X11/Xlib.h>
12302 #include <X11/extensions/Xfixes.h>
12304 main ()
12306 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12308 return 0;
12310 _ACEOF
12311 if ac_fn_c_try_compile "$LINENO"; then :
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12313 $as_echo_n "checking for -lXfixes... " >&6; }
12314 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12315 $as_echo_n "(cached) " >&6
12316 else
12317 ac_check_soname_save_LIBS=$LIBS
12318 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12320 /* end confdefs.h. */
12322 /* Override any GCC internal prototype to avoid an error.
12323 Use char because int might match the return type of a GCC
12324 builtin and then its argument prototype would still apply. */
12325 #ifdef __cplusplus
12326 extern "C"
12327 #endif
12328 char XFixesQueryVersion ();
12330 main ()
12332 return XFixesQueryVersion ();
12334 return 0;
12336 _ACEOF
12337 if ac_fn_c_try_link "$LINENO"; then :
12338 case "$LIBEXT" in
12339 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12340 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'` ;;
12341 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12342 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12343 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12344 fi ;;
12345 esac
12346 else
12347 ac_cv_lib_soname_Xfixes=
12349 rm -f core conftest.err conftest.$ac_objext \
12350 conftest$ac_exeext conftest.$ac_ext
12351 LIBS=$ac_check_soname_save_LIBS
12353 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12355 $as_echo "not found" >&6; }
12357 else
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12359 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12361 cat >>confdefs.h <<_ACEOF
12362 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12363 _ACEOF
12368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12370 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12371 case "x$with_xfixes" in
12372 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12373 xno) ;;
12374 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12375 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12376 esac
12380 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12381 then
12382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12383 /* end confdefs.h. */
12384 #include <X11/Xlib.h>
12385 #include <X11/extensions/Xinerama.h>
12387 main ()
12389 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12391 return 0;
12393 _ACEOF
12394 if ac_fn_c_try_compile "$LINENO"; then :
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12396 $as_echo_n "checking for -lXinerama... " >&6; }
12397 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12398 $as_echo_n "(cached) " >&6
12399 else
12400 ac_check_soname_save_LIBS=$LIBS
12401 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12403 /* end confdefs.h. */
12405 /* Override any GCC internal prototype to avoid an error.
12406 Use char because int might match the return type of a GCC
12407 builtin and then its argument prototype would still apply. */
12408 #ifdef __cplusplus
12409 extern "C"
12410 #endif
12411 char XineramaQueryScreens ();
12413 main ()
12415 return XineramaQueryScreens ();
12417 return 0;
12419 _ACEOF
12420 if ac_fn_c_try_link "$LINENO"; then :
12421 case "$LIBEXT" in
12422 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12423 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'` ;;
12424 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12425 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12426 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12427 fi ;;
12428 esac
12429 else
12430 ac_cv_lib_soname_Xinerama=
12432 rm -f core conftest.err conftest.$ac_objext \
12433 conftest$ac_exeext conftest.$ac_ext
12434 LIBS=$ac_check_soname_save_LIBS
12436 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12438 $as_echo "not found" >&6; }
12440 else
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12442 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12444 cat >>confdefs.h <<_ACEOF
12445 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12446 _ACEOF
12451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12453 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12454 case "x$with_xinerama" in
12455 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12456 xno) ;;
12457 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12458 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12459 esac
12463 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12464 then
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12466 $as_echo_n "checking for -lXcomposite... " >&6; }
12467 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12468 $as_echo_n "(cached) " >&6
12469 else
12470 ac_check_soname_save_LIBS=$LIBS
12471 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12473 /* end confdefs.h. */
12475 /* Override any GCC internal prototype to avoid an error.
12476 Use char because int might match the return type of a GCC
12477 builtin and then its argument prototype would still apply. */
12478 #ifdef __cplusplus
12479 extern "C"
12480 #endif
12481 char XCompositeRedirectWindow ();
12483 main ()
12485 return XCompositeRedirectWindow ();
12487 return 0;
12489 _ACEOF
12490 if ac_fn_c_try_link "$LINENO"; then :
12491 case "$LIBEXT" in
12492 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12493 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'` ;;
12494 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12495 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12496 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12497 fi ;;
12498 esac
12499 else
12500 ac_cv_lib_soname_Xcomposite=
12502 rm -f core conftest.err conftest.$ac_objext \
12503 conftest$ac_exeext conftest.$ac_ext
12504 LIBS=$ac_check_soname_save_LIBS
12506 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12508 $as_echo "not found" >&6; }
12510 else
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12512 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12514 cat >>confdefs.h <<_ACEOF
12515 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12516 _ACEOF
12521 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12522 case "x$with_xcomposite" in
12523 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12524 xno) ;;
12525 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12526 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12527 esac
12531 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12532 #include <X11/Xlib.h>
12533 #endif
12535 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12537 cat >>confdefs.h <<_ACEOF
12538 #define HAVE_XICCALLBACK_CALLBACK 1
12539 _ACEOF
12543 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12544 #include <X11/Xlib.h>
12545 #endif
12547 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12549 cat >>confdefs.h <<_ACEOF
12550 #define HAVE_XEVENT_XCOOKIE 1
12551 _ACEOF
12558 opengl_msg=""
12559 if test "x$with_opengl" != "xno"
12560 then
12561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12562 $as_echo_n "checking for -lGL... " >&6; }
12563 if ${ac_cv_lib_soname_GL+:} false; then :
12564 $as_echo_n "(cached) " >&6
12565 else
12566 ac_check_soname_save_LIBS=$LIBS
12567 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12569 /* end confdefs.h. */
12571 /* Override any GCC internal prototype to avoid an error.
12572 Use char because int might match the return type of a GCC
12573 builtin and then its argument prototype would still apply. */
12574 #ifdef __cplusplus
12575 extern "C"
12576 #endif
12577 char glXCreateContext ();
12579 main ()
12581 return glXCreateContext ();
12583 return 0;
12585 _ACEOF
12586 if ac_fn_c_try_link "$LINENO"; then :
12587 case "$LIBEXT" in
12588 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12589 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'` ;;
12590 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12591 if ${ac_cv_lib_soname_GL:+false} :; then :
12592 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12593 fi ;;
12594 esac
12595 else
12596 ac_cv_lib_soname_GL=
12598 rm -f core conftest.err conftest.$ac_objext \
12599 conftest$ac_exeext conftest.$ac_ext
12600 LIBS=$ac_check_soname_save_LIBS
12602 if ${ac_cv_lib_soname_GL:+false} :; then :
12603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12604 $as_echo "not found" >&6; }
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12606 $as_echo_n "checking for -lGL... " >&6; }
12607 if ${ac_cv_lib_soname_GL+:} false; then :
12608 $as_echo_n "(cached) " >&6
12609 else
12610 ac_check_soname_save_LIBS=$LIBS
12611 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"
12612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12613 /* end confdefs.h. */
12615 /* Override any GCC internal prototype to avoid an error.
12616 Use char because int might match the return type of a GCC
12617 builtin and then its argument prototype would still apply. */
12618 #ifdef __cplusplus
12619 extern "C"
12620 #endif
12621 char glXCreateContext ();
12623 main ()
12625 return glXCreateContext ();
12627 return 0;
12629 _ACEOF
12630 if ac_fn_c_try_link "$LINENO"; then :
12631 case "$LIBEXT" in
12632 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12633 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'` ;;
12634 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12635 if ${ac_cv_lib_soname_GL:+false} :; then :
12636 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12637 fi ;;
12638 esac
12639 else
12640 ac_cv_lib_soname_GL=
12642 rm -f core conftest.err conftest.$ac_objext \
12643 conftest$ac_exeext conftest.$ac_ext
12644 LIBS=$ac_check_soname_save_LIBS
12646 if ${ac_cv_lib_soname_GL:+false} :; then :
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12648 $as_echo "not found" >&6; }
12649 if test -f /usr/X11R6/lib/libGL.a
12650 then
12651 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12652 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12653 else
12654 opengl_msg="No OpenGL library found on this system."
12656 else
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12658 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12660 cat >>confdefs.h <<_ACEOF
12661 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12662 _ACEOF
12664 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"
12666 else
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12668 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12670 cat >>confdefs.h <<_ACEOF
12671 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12672 _ACEOF
12674 OPENGL_LIBS="-lGL"
12676 if test "x$with_osmesa" != "xno"
12677 then
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12679 $as_echo_n "checking for -lOSMesa... " >&6; }
12680 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12681 $as_echo_n "(cached) " >&6
12682 else
12683 ac_check_soname_save_LIBS=$LIBS
12684 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12686 /* end confdefs.h. */
12688 /* Override any GCC internal prototype to avoid an error.
12689 Use char because int might match the return type of a GCC
12690 builtin and then its argument prototype would still apply. */
12691 #ifdef __cplusplus
12692 extern "C"
12693 #endif
12694 char OSMesaGetProcAddress ();
12696 main ()
12698 return OSMesaGetProcAddress ();
12700 return 0;
12702 _ACEOF
12703 if ac_fn_c_try_link "$LINENO"; then :
12704 case "$LIBEXT" in
12705 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12706 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'` ;;
12707 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12708 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12709 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12710 fi ;;
12711 esac
12712 else
12713 ac_cv_lib_soname_OSMesa=
12715 rm -f core conftest.err conftest.$ac_objext \
12716 conftest$ac_exeext conftest.$ac_ext
12717 LIBS=$ac_check_soname_save_LIBS
12719 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12721 $as_echo "not found" >&6; }
12723 else
12724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12725 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12727 cat >>confdefs.h <<_ACEOF
12728 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12729 _ACEOF
12733 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12734 case "x$with_osmesa" in
12735 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12736 xno) ;;
12737 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12738 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12739 esac
12744 if test -n "$opengl_msg"; then :
12745 case "x$with_opengl" in
12746 x) as_fn_append wine_warnings "|$opengl_msg
12747 OpenGL and Direct3D won't be supported." ;;
12748 xno) ;;
12749 *) as_fn_error $? "$opengl_msg
12750 OpenGL and Direct3D won't be supported.
12751 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12752 esac
12756 CPPFLAGS="$ac_save_CPPFLAGS"
12757 else
12758 X_CFLAGS=""
12759 X_LIBS=""
12762 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12763 then
12764 if test "x$X_LIBS" = "x"; then :
12765 case "x$with_x" in
12766 xno) ;;
12767 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12768 without X support, which probably isn't what you want. You will need
12769 to install ${notice_platform}development packages of Xlib at the very least.
12770 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12771 esac
12772 enable_winex11_drv=${enable_winex11_drv:-no}
12774 else
12775 if test "x$X_LIBS" = "x"; then :
12776 case "x$with_x" in
12777 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12778 xno) ;;
12779 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12780 This is an error since --with-x was requested." "$LINENO" 5 ;;
12781 esac
12782 enable_winex11_drv=${enable_winex11_drv:-no}
12786 if test "$ac_cv_header_CL_cl_h" = "yes"
12787 then
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12789 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12790 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12791 $as_echo_n "(cached) " >&6
12792 else
12793 ac_check_lib_save_LIBS=$LIBS
12794 LIBS="-lOpenCL $LIBS"
12795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12796 /* end confdefs.h. */
12798 /* Override any GCC internal prototype to avoid an error.
12799 Use char because int might match the return type of a GCC
12800 builtin and then its argument prototype would still apply. */
12801 #ifdef __cplusplus
12802 extern "C"
12803 #endif
12804 char clGetPlatformInfo ();
12806 main ()
12808 return clGetPlatformInfo ();
12810 return 0;
12812 _ACEOF
12813 if ac_fn_c_try_link "$LINENO"; then :
12814 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12815 else
12816 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12818 rm -f core conftest.err conftest.$ac_objext \
12819 conftest$ac_exeext conftest.$ac_ext
12820 LIBS=$ac_check_lib_save_LIBS
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12823 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12824 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12825 OPENCL_LIBS="-lOpenCL"
12830 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12831 case "x$with_opencl" in
12832 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12833 xno) ;;
12834 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12835 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12836 esac
12837 enable_opencl=${enable_opencl:-no}
12840 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12841 then
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12843 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12844 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12845 $as_echo_n "(cached) " >&6
12846 else
12847 ac_check_lib_save_LIBS=$LIBS
12848 LIBS="-lpcap $LIBS"
12849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12850 /* end confdefs.h. */
12852 /* Override any GCC internal prototype to avoid an error.
12853 Use char because int might match the return type of a GCC
12854 builtin and then its argument prototype would still apply. */
12855 #ifdef __cplusplus
12856 extern "C"
12857 #endif
12858 char pcap_create ();
12860 main ()
12862 return pcap_create ();
12864 return 0;
12866 _ACEOF
12867 if ac_fn_c_try_link "$LINENO"; then :
12868 ac_cv_lib_pcap_pcap_create=yes
12869 else
12870 ac_cv_lib_pcap_pcap_create=no
12872 rm -f core conftest.err conftest.$ac_objext \
12873 conftest$ac_exeext conftest.$ac_ext
12874 LIBS=$ac_check_lib_save_LIBS
12876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12877 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12878 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12879 PCAP_LIBS="-lpcap"
12884 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12885 case "x$with_pcap" in
12886 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12887 xno) ;;
12888 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12889 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12890 esac
12891 enable_wpcap=${enable_wpcap:-no}
12895 if test "x$with_xml" != "xno"
12896 then
12897 if ${XML2_CFLAGS:+false} :; then :
12898 if ${PKG_CONFIG+:} false; then :
12899 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12902 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12903 if ${XML2_LIBS:+false} :; then :
12904 if ${PKG_CONFIG+:} false; then :
12905 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12908 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12909 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12910 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12911 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12912 ac_save_CPPFLAGS=$CPPFLAGS
12913 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12914 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12915 do :
12916 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12917 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12918 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12919 cat >>confdefs.h <<_ACEOF
12920 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12921 _ACEOF
12925 done
12927 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"
12928 then
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12930 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12931 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12932 $as_echo_n "(cached) " >&6
12933 else
12934 ac_check_lib_save_LIBS=$LIBS
12935 LIBS="-lxml2 $XML2_LIBS $LIBS"
12936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12937 /* end confdefs.h. */
12939 /* Override any GCC internal prototype to avoid an error.
12940 Use char because int might match the return type of a GCC
12941 builtin and then its argument prototype would still apply. */
12942 #ifdef __cplusplus
12943 extern "C"
12944 #endif
12945 char xmlParseMemory ();
12947 main ()
12949 return xmlParseMemory ();
12951 return 0;
12953 _ACEOF
12954 if ac_fn_c_try_link "$LINENO"; then :
12955 ac_cv_lib_xml2_xmlParseMemory=yes
12956 else
12957 ac_cv_lib_xml2_xmlParseMemory=no
12959 rm -f core conftest.err conftest.$ac_objext \
12960 conftest$ac_exeext conftest.$ac_ext
12961 LIBS=$ac_check_lib_save_LIBS
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12964 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12965 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12967 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12969 else
12970 XML2_LIBS=""
12973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12974 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12975 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12976 $as_echo_n "(cached) " >&6
12977 else
12978 ac_check_lib_save_LIBS=$LIBS
12979 LIBS="-lxml2 $XML2_LIBS $LIBS"
12980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12981 /* end confdefs.h. */
12983 /* Override any GCC internal prototype to avoid an error.
12984 Use char because int might match the return type of a GCC
12985 builtin and then its argument prototype would still apply. */
12986 #ifdef __cplusplus
12987 extern "C"
12988 #endif
12989 char xmlReadMemory ();
12991 main ()
12993 return xmlReadMemory ();
12995 return 0;
12997 _ACEOF
12998 if ac_fn_c_try_link "$LINENO"; then :
12999 ac_cv_lib_xml2_xmlReadMemory=yes
13000 else
13001 ac_cv_lib_xml2_xmlReadMemory=no
13003 rm -f core conftest.err conftest.$ac_objext \
13004 conftest$ac_exeext conftest.$ac_ext
13005 LIBS=$ac_check_lib_save_LIBS
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
13008 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
13009 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
13011 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
13015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
13016 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
13017 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
13018 $as_echo_n "(cached) " >&6
13019 else
13020 ac_check_lib_save_LIBS=$LIBS
13021 LIBS="-lxml2 $XML2_LIBS $LIBS"
13022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13023 /* end confdefs.h. */
13025 /* Override any GCC internal prototype to avoid an error.
13026 Use char because int might match the return type of a GCC
13027 builtin and then its argument prototype would still apply. */
13028 #ifdef __cplusplus
13029 extern "C"
13030 #endif
13031 char xmlNewDocPI ();
13033 main ()
13035 return xmlNewDocPI ();
13037 return 0;
13039 _ACEOF
13040 if ac_fn_c_try_link "$LINENO"; then :
13041 ac_cv_lib_xml2_xmlNewDocPI=yes
13042 else
13043 ac_cv_lib_xml2_xmlNewDocPI=no
13045 rm -f core conftest.err conftest.$ac_objext \
13046 conftest$ac_exeext conftest.$ac_ext
13047 LIBS=$ac_check_lib_save_LIBS
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13050 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13051 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13053 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13058 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13059 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13060 $as_echo_n "(cached) " >&6
13061 else
13062 ac_check_lib_save_LIBS=$LIBS
13063 LIBS="-lxml2 $XML2_LIBS $LIBS"
13064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13065 /* end confdefs.h. */
13067 /* Override any GCC internal prototype to avoid an error.
13068 Use char because int might match the return type of a GCC
13069 builtin and then its argument prototype would still apply. */
13070 #ifdef __cplusplus
13071 extern "C"
13072 #endif
13073 char xmlSchemaSetParserStructuredErrors ();
13075 main ()
13077 return xmlSchemaSetParserStructuredErrors ();
13079 return 0;
13081 _ACEOF
13082 if ac_fn_c_try_link "$LINENO"; then :
13083 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13084 else
13085 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13087 rm -f core conftest.err conftest.$ac_objext \
13088 conftest$ac_exeext conftest.$ac_ext
13089 LIBS=$ac_check_lib_save_LIBS
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13092 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13093 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13095 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13100 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13101 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13102 $as_echo_n "(cached) " >&6
13103 else
13104 ac_check_lib_save_LIBS=$LIBS
13105 LIBS="-lxml2 $XML2_LIBS $LIBS"
13106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13107 /* end confdefs.h. */
13109 /* Override any GCC internal prototype to avoid an error.
13110 Use char because int might match the return type of a GCC
13111 builtin and then its argument prototype would still apply. */
13112 #ifdef __cplusplus
13113 extern "C"
13114 #endif
13115 char xmlSchemaSetValidStructuredErrors ();
13117 main ()
13119 return xmlSchemaSetValidStructuredErrors ();
13121 return 0;
13123 _ACEOF
13124 if ac_fn_c_try_link "$LINENO"; then :
13125 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13126 else
13127 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13129 rm -f core conftest.err conftest.$ac_objext \
13130 conftest$ac_exeext conftest.$ac_ext
13131 LIBS=$ac_check_lib_save_LIBS
13133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13134 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13135 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13137 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13142 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13143 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13144 $as_echo_n "(cached) " >&6
13145 else
13146 ac_check_lib_save_LIBS=$LIBS
13147 LIBS="-lxml2 $XML2_LIBS $LIBS"
13148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13149 /* end confdefs.h. */
13151 /* Override any GCC internal prototype to avoid an error.
13152 Use char because int might match the return type of a GCC
13153 builtin and then its argument prototype would still apply. */
13154 #ifdef __cplusplus
13155 extern "C"
13156 #endif
13157 char xmlFirstElementChild ();
13159 main ()
13161 return xmlFirstElementChild ();
13163 return 0;
13165 _ACEOF
13166 if ac_fn_c_try_link "$LINENO"; then :
13167 ac_cv_lib_xml2_xmlFirstElementChild=yes
13168 else
13169 ac_cv_lib_xml2_xmlFirstElementChild=no
13171 rm -f core conftest.err conftest.$ac_objext \
13172 conftest$ac_exeext conftest.$ac_ext
13173 LIBS=$ac_check_lib_save_LIBS
13175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13176 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13177 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13179 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13183 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13185 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13187 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13191 else
13192 XML2_CFLAGS=""
13193 XML2_LIBS=""
13195 CPPFLAGS=$ac_save_CPPFLAGS
13198 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13199 case "x$with_xml" in
13200 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13201 xno) ;;
13202 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13203 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13204 esac
13208 if test "x$with_xslt" != "xno"
13209 then
13210 if ${XSLT_CFLAGS:+false} :; then :
13211 if ${PKG_CONFIG+:} false; then :
13212 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13215 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13216 if ${XSLT_LIBS:+false} :; then :
13217 if ${PKG_CONFIG+:} false; then :
13218 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13221 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13222 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13223 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13224 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13225 ac_save_CPPFLAGS=$CPPFLAGS
13226 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13227 for ac_header in libxslt/pattern.h libxslt/transform.h
13228 do :
13229 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13230 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13231 # include <libxslt/pattern.h>
13232 #endif
13234 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13235 cat >>confdefs.h <<_ACEOF
13236 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13237 _ACEOF
13241 done
13243 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13244 then
13245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13246 $as_echo_n "checking for -lxslt... " >&6; }
13247 if ${ac_cv_lib_soname_xslt+:} false; then :
13248 $as_echo_n "(cached) " >&6
13249 else
13250 ac_check_soname_save_LIBS=$LIBS
13251 LIBS="-lxslt $XSLT_LIBS $LIBS"
13252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13253 /* end confdefs.h. */
13255 /* Override any GCC internal prototype to avoid an error.
13256 Use char because int might match the return type of a GCC
13257 builtin and then its argument prototype would still apply. */
13258 #ifdef __cplusplus
13259 extern "C"
13260 #endif
13261 char xsltCompilePattern ();
13263 main ()
13265 return xsltCompilePattern ();
13267 return 0;
13269 _ACEOF
13270 if ac_fn_c_try_link "$LINENO"; then :
13271 case "$LIBEXT" in
13272 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13273 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'` ;;
13274 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13275 if ${ac_cv_lib_soname_xslt:+false} :; then :
13276 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13277 fi ;;
13278 esac
13279 else
13280 ac_cv_lib_soname_xslt=
13282 rm -f core conftest.err conftest.$ac_objext \
13283 conftest$ac_exeext conftest.$ac_ext
13284 LIBS=$ac_check_soname_save_LIBS
13286 if ${ac_cv_lib_soname_xslt:+false} :; then :
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13288 $as_echo "not found" >&6; }
13290 else
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13292 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13294 cat >>confdefs.h <<_ACEOF
13295 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13296 _ACEOF
13300 else
13301 XSLT_CFLAGS=""
13303 CPPFLAGS=$ac_save_CPPFLAGS
13306 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13307 case "x$with_xslt" in
13308 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13309 xno) ;;
13310 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13311 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13312 esac
13316 if test "x$with_inotify" != "xno"
13317 then
13318 if ${INOTIFY_CFLAGS:+false} :; then :
13319 if ${PKG_CONFIG+:} false; then :
13320 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13324 if ${INOTIFY_LIBS:+false} :; then :
13325 if ${PKG_CONFIG+:} false; then :
13326 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13331 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13332 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13333 ac_save_CPPFLAGS=$CPPFLAGS
13334 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13335 for ac_header in sys/inotify.h
13336 do :
13337 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13338 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13339 cat >>confdefs.h <<_ACEOF
13340 #define HAVE_SYS_INOTIFY_H 1
13341 _ACEOF
13345 done
13347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13348 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13349 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13350 $as_echo_n "(cached) " >&6
13351 else
13352 ac_check_lib_save_LIBS=$LIBS
13353 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13355 /* end confdefs.h. */
13357 /* Override any GCC internal prototype to avoid an error.
13358 Use char because int might match the return type of a GCC
13359 builtin and then its argument prototype would still apply. */
13360 #ifdef __cplusplus
13361 extern "C"
13362 #endif
13363 char inotify_add_watch ();
13365 main ()
13367 return inotify_add_watch ();
13369 return 0;
13371 _ACEOF
13372 if ac_fn_c_try_link "$LINENO"; then :
13373 ac_cv_lib_inotify_inotify_add_watch=yes
13374 else
13375 ac_cv_lib_inotify_inotify_add_watch=no
13377 rm -f core conftest.err conftest.$ac_objext \
13378 conftest$ac_exeext conftest.$ac_ext
13379 LIBS=$ac_check_lib_save_LIBS
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13382 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13383 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13385 else
13386 INOTIFY_LIBS=""
13389 CPPFLAGS=$ac_save_CPPFLAGS
13392 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13393 case "x$with_inotify" in
13394 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13395 xno) ;;
13396 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13397 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13398 esac
13402 if test "x$with_dbus" != "xno"
13403 then
13404 if ${DBUS_CFLAGS:+false} :; then :
13405 if ${PKG_CONFIG+:} false; then :
13406 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13410 if ${DBUS_LIBS:+false} :; then :
13411 if ${PKG_CONFIG+:} false; then :
13412 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13417 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13418 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13419 ac_save_CPPFLAGS=$CPPFLAGS
13420 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13421 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13422 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13424 $as_echo_n "checking for -ldbus-1... " >&6; }
13425 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13426 $as_echo_n "(cached) " >&6
13427 else
13428 ac_check_soname_save_LIBS=$LIBS
13429 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13431 /* end confdefs.h. */
13433 /* Override any GCC internal prototype to avoid an error.
13434 Use char because int might match the return type of a GCC
13435 builtin and then its argument prototype would still apply. */
13436 #ifdef __cplusplus
13437 extern "C"
13438 #endif
13439 char dbus_connection_close ();
13441 main ()
13443 return dbus_connection_close ();
13445 return 0;
13447 _ACEOF
13448 if ac_fn_c_try_link "$LINENO"; then :
13449 case "$LIBEXT" in
13450 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13451 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'` ;;
13452 *) 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'`
13453 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13454 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13455 fi ;;
13456 esac
13457 else
13458 ac_cv_lib_soname_dbus_1=
13460 rm -f core conftest.err conftest.$ac_objext \
13461 conftest$ac_exeext conftest.$ac_ext
13462 LIBS=$ac_check_soname_save_LIBS
13464 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13466 $as_echo "not found" >&6; }
13467 DBUS_CFLAGS=""
13468 else
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13470 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13472 cat >>confdefs.h <<_ACEOF
13473 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13474 _ACEOF
13478 else
13479 DBUS_CFLAGS=""
13483 CPPFLAGS=$ac_save_CPPFLAGS
13486 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13487 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13488 case "x$with_dbus" in
13489 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13490 xno) ;;
13491 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13492 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13493 esac
13497 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13498 then
13499 if ${HAL_CFLAGS:+false} :; then :
13500 if ${PKG_CONFIG+:} false; then :
13501 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13505 if ${HAL_LIBS:+false} :; then :
13506 if ${PKG_CONFIG+:} false; then :
13507 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13511 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13512 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13513 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13514 ac_save_CPPFLAGS=$CPPFLAGS
13515 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13516 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13517 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13519 $as_echo_n "checking for -lhal... " >&6; }
13520 if ${ac_cv_lib_soname_hal+:} false; then :
13521 $as_echo_n "(cached) " >&6
13522 else
13523 ac_check_soname_save_LIBS=$LIBS
13524 LIBS="-lhal $HAL_LIBS $LIBS"
13525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13526 /* end confdefs.h. */
13528 /* Override any GCC internal prototype to avoid an error.
13529 Use char because int might match the return type of a GCC
13530 builtin and then its argument prototype would still apply. */
13531 #ifdef __cplusplus
13532 extern "C"
13533 #endif
13534 char libhal_ctx_new ();
13536 main ()
13538 return libhal_ctx_new ();
13540 return 0;
13542 _ACEOF
13543 if ac_fn_c_try_link "$LINENO"; then :
13544 case "$LIBEXT" in
13545 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13546 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'` ;;
13547 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13548 if ${ac_cv_lib_soname_hal:+false} :; then :
13549 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13550 fi ;;
13551 esac
13552 else
13553 ac_cv_lib_soname_hal=
13555 rm -f core conftest.err conftest.$ac_objext \
13556 conftest$ac_exeext conftest.$ac_ext
13557 LIBS=$ac_check_soname_save_LIBS
13559 if ${ac_cv_lib_soname_hal:+false} :; then :
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13561 $as_echo "not found" >&6; }
13562 HAL_CFLAGS=""
13563 else
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13565 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13567 cat >>confdefs.h <<_ACEOF
13568 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13569 _ACEOF
13573 else
13574 HAL_CFLAGS=""
13578 CPPFLAGS=$ac_save_CPPFLAGS
13580 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13581 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13582 case "x$with_hal" in
13583 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13584 xno) ;;
13585 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13586 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13587 esac
13592 if test "x$with_gnutls" != "xno"
13593 then
13594 if ${GNUTLS_CFLAGS:+false} :; then :
13595 if ${PKG_CONFIG+:} false; then :
13596 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13600 if ${GNUTLS_LIBS:+false} :; then :
13601 if ${PKG_CONFIG+:} false; then :
13602 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13606 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13607 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13608 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13609 ac_save_CPPFLAGS=$CPPFLAGS
13610 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13611 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13612 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13614 /* end confdefs.h. */
13615 #include <gnutls/gnutls.h>
13616 #include <gnutls/crypto.h>
13618 main ()
13620 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13622 return 0;
13624 _ACEOF
13625 if ac_fn_c_try_compile "$LINENO"; then :
13626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13627 $as_echo_n "checking for -lgnutls... " >&6; }
13628 if ${ac_cv_lib_soname_gnutls+:} false; then :
13629 $as_echo_n "(cached) " >&6
13630 else
13631 ac_check_soname_save_LIBS=$LIBS
13632 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13634 /* end confdefs.h. */
13636 /* Override any GCC internal prototype to avoid an error.
13637 Use char because int might match the return type of a GCC
13638 builtin and then its argument prototype would still apply. */
13639 #ifdef __cplusplus
13640 extern "C"
13641 #endif
13642 char gnutls_global_init ();
13644 main ()
13646 return gnutls_global_init ();
13648 return 0;
13650 _ACEOF
13651 if ac_fn_c_try_link "$LINENO"; then :
13652 case "$LIBEXT" in
13653 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13654 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'` ;;
13655 *) 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'`
13656 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13657 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'`
13658 fi ;;
13659 esac
13660 else
13661 ac_cv_lib_soname_gnutls=
13663 rm -f core conftest.err conftest.$ac_objext \
13664 conftest$ac_exeext conftest.$ac_ext
13665 LIBS=$ac_check_soname_save_LIBS
13667 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13669 $as_echo "not found" >&6; }
13670 GNUTLS_CFLAGS=""
13671 else
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13673 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13675 cat >>confdefs.h <<_ACEOF
13676 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13677 _ACEOF
13681 ac_wine_check_funcs_save_LIBS="$LIBS"
13682 LIBS="$LIBS $GNUTLS_LIBS"
13683 for ac_func in gnutls_cipher_init
13684 do :
13685 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13686 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13687 cat >>confdefs.h <<_ACEOF
13688 #define HAVE_GNUTLS_CIPHER_INIT 1
13689 _ACEOF
13691 else
13692 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13694 done
13696 LIBS="$ac_wine_check_funcs_save_LIBS"
13698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13699 else
13700 GNUTLS_CFLAGS=""
13704 CPPFLAGS=$ac_save_CPPFLAGS
13707 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13708 case "x$with_gnutls" in
13709 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13710 xno) ;;
13711 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13712 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13713 esac
13717 if test "x$with_sane" != "xno"
13718 then
13719 if ${SANE_CFLAGS:+false} :; then :
13720 if ${PKG_CONFIG+:} false; then :
13721 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
13724 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13725 if ${SANE_LIBS:+false} :; then :
13726 if ${PKG_CONFIG+:} false; then :
13727 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
13730 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13732 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
13733 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
13734 ac_save_CPPFLAGS=$CPPFLAGS
13735 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13736 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13737 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13739 $as_echo_n "checking for -lsane... " >&6; }
13740 if ${ac_cv_lib_soname_sane+:} false; then :
13741 $as_echo_n "(cached) " >&6
13742 else
13743 ac_check_soname_save_LIBS=$LIBS
13744 LIBS="-lsane $SANE_LIBS $LIBS"
13745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13746 /* end confdefs.h. */
13748 /* Override any GCC internal prototype to avoid an error.
13749 Use char because int might match the return type of a GCC
13750 builtin and then its argument prototype would still apply. */
13751 #ifdef __cplusplus
13752 extern "C"
13753 #endif
13754 char sane_init ();
13756 main ()
13758 return sane_init ();
13760 return 0;
13762 _ACEOF
13763 if ac_fn_c_try_link "$LINENO"; then :
13764 case "$LIBEXT" in
13765 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13766 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'` ;;
13767 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13768 if ${ac_cv_lib_soname_sane:+false} :; then :
13769 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13770 fi ;;
13771 esac
13772 else
13773 ac_cv_lib_soname_sane=
13775 rm -f core conftest.err conftest.$ac_objext \
13776 conftest$ac_exeext conftest.$ac_ext
13777 LIBS=$ac_check_soname_save_LIBS
13779 if ${ac_cv_lib_soname_sane:+false} :; then :
13780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13781 $as_echo "not found" >&6; }
13782 SANE_CFLAGS=""
13783 else
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13785 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13787 cat >>confdefs.h <<_ACEOF
13788 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13789 _ACEOF
13793 else
13794 SANE_CFLAGS=""
13798 CPPFLAGS=$ac_save_CPPFLAGS
13801 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13802 case "x$with_sane" in
13803 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13804 xno) ;;
13805 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13806 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13807 esac
13811 if test "x$with_usb" != "xno"
13812 then
13813 if ${USB_CFLAGS:+false} :; then :
13814 if ${PKG_CONFIG+:} false; then :
13815 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13819 if ${USB_LIBS:+false} :; then :
13820 if ${PKG_CONFIG+:} false; then :
13821 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13825 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13826 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13827 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13828 ac_save_CPPFLAGS=$CPPFLAGS
13829 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13830 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13831 if test "x$ac_cv_header_libusb_h" = xyes; then :
13832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13833 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13834 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13835 $as_echo_n "(cached) " >&6
13836 else
13837 ac_check_lib_save_LIBS=$LIBS
13838 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13840 /* end confdefs.h. */
13842 /* Override any GCC internal prototype to avoid an error.
13843 Use char because int might match the return type of a GCC
13844 builtin and then its argument prototype would still apply. */
13845 #ifdef __cplusplus
13846 extern "C"
13847 #endif
13848 char libusb_interrupt_event_handler ();
13850 main ()
13852 return libusb_interrupt_event_handler ();
13854 return 0;
13856 _ACEOF
13857 if ac_fn_c_try_link "$LINENO"; then :
13858 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13859 else
13860 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13862 rm -f core conftest.err conftest.$ac_objext \
13863 conftest$ac_exeext conftest.$ac_ext
13864 LIBS=$ac_check_lib_save_LIBS
13866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13867 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13868 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13870 else
13871 USB_LIBS=""
13874 else
13875 USB_LIBS=""
13879 CPPFLAGS=$ac_save_CPPFLAGS
13882 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13883 case "x$with_usb" in
13884 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13885 xno) ;;
13886 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13887 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13888 esac
13889 enable_wineusb_sys=${enable_wineusb_sys:-no}
13892 if test "x$with_v4l2" != "xno"
13893 then
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13895 $as_echo_n "checking for -lv4l2... " >&6; }
13896 if ${ac_cv_lib_soname_v4l2+:} false; then :
13897 $as_echo_n "(cached) " >&6
13898 else
13899 ac_check_soname_save_LIBS=$LIBS
13900 LIBS="-lv4l2 $LIBS"
13901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13902 /* end confdefs.h. */
13904 /* Override any GCC internal prototype to avoid an error.
13905 Use char because int might match the return type of a GCC
13906 builtin and then its argument prototype would still apply. */
13907 #ifdef __cplusplus
13908 extern "C"
13909 #endif
13910 char v4l2_open ();
13912 main ()
13914 return v4l2_open ();
13916 return 0;
13918 _ACEOF
13919 if ac_fn_c_try_link "$LINENO"; then :
13920 case "$LIBEXT" in
13921 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13922 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'` ;;
13923 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13924 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13925 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13926 fi ;;
13927 esac
13928 else
13929 ac_cv_lib_soname_v4l2=
13931 rm -f core conftest.err conftest.$ac_objext \
13932 conftest$ac_exeext conftest.$ac_ext
13933 LIBS=$ac_check_soname_save_LIBS
13935 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13937 $as_echo "not found" >&6; }
13939 else
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13941 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13943 cat >>confdefs.h <<_ACEOF
13944 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13945 _ACEOF
13950 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13951 case "x$with_v4l2" in
13952 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13953 xno) ;;
13954 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13955 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13956 esac
13960 if test "x$with_gphoto" != "xno"
13961 then
13962 if ${GPHOTO2_CFLAGS:+false} :; then :
13963 if ${PKG_CONFIG+:} false; then :
13964 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13967 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13968 if ${GPHOTO2_LIBS:+false} :; then :
13969 if ${PKG_CONFIG+:} false; then :
13970 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13973 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13974 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13975 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13976 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13977 ac_save_CPPFLAGS=$CPPFLAGS
13978 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13979 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13980 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13982 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13983 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13984 $as_echo_n "(cached) " >&6
13985 else
13986 ac_check_lib_save_LIBS=$LIBS
13987 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13989 /* end confdefs.h. */
13991 /* Override any GCC internal prototype to avoid an error.
13992 Use char because int might match the return type of a GCC
13993 builtin and then its argument prototype would still apply. */
13994 #ifdef __cplusplus
13995 extern "C"
13996 #endif
13997 char gp_camera_new ();
13999 main ()
14001 return gp_camera_new ();
14003 return 0;
14005 _ACEOF
14006 if ac_fn_c_try_link "$LINENO"; then :
14007 ac_cv_lib_gphoto2_gp_camera_new=yes
14008 else
14009 ac_cv_lib_gphoto2_gp_camera_new=no
14011 rm -f core conftest.err conftest.$ac_objext \
14012 conftest$ac_exeext conftest.$ac_ext
14013 LIBS=$ac_check_lib_save_LIBS
14015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14016 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14017 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14019 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14021 else
14022 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14025 else
14026 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14030 CPPFLAGS=$ac_save_CPPFLAGS
14032 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14033 if ${PKG_CONFIG+:} false; then :
14034 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14037 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14038 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14039 if ${PKG_CONFIG+:} false; then :
14040 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14043 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14044 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14045 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14046 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14047 ac_save_CPPFLAGS=$CPPFLAGS
14048 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14049 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14050 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14052 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14053 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14054 $as_echo_n "(cached) " >&6
14055 else
14056 ac_check_lib_save_LIBS=$LIBS
14057 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14059 /* end confdefs.h. */
14061 /* Override any GCC internal prototype to avoid an error.
14062 Use char because int might match the return type of a GCC
14063 builtin and then its argument prototype would still apply. */
14064 #ifdef __cplusplus
14065 extern "C"
14066 #endif
14067 char gp_port_info_list_new ();
14069 main ()
14071 return gp_port_info_list_new ();
14073 return 0;
14075 _ACEOF
14076 if ac_fn_c_try_link "$LINENO"; then :
14077 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14078 else
14079 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14081 rm -f core conftest.err conftest.$ac_objext \
14082 conftest$ac_exeext conftest.$ac_ext
14083 LIBS=$ac_check_lib_save_LIBS
14085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14086 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14087 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14089 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14091 else
14092 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14095 else
14096 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14100 CPPFLAGS=$ac_save_CPPFLAGS
14103 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14104 case "x$with_gphoto" in
14105 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14106 xno) ;;
14107 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14108 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14109 esac
14112 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14113 case "x$with_gphoto" in
14114 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14115 xno) ;;
14116 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14117 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14118 esac
14123 if test "$ac_cv_header_resolv_h" = "yes"
14124 then
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14126 $as_echo_n "checking for resolver library... " >&6; }
14127 if ${ac_cv_have_resolv+:} false; then :
14128 $as_echo_n "(cached) " >&6
14129 else
14130 ac_save_LIBS="$LIBS"
14131 for lib in '' -lresolv
14133 LIBS="$lib $ac_save_LIBS"
14134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14135 /* end confdefs.h. */
14136 #ifdef HAVE_NETINET_IN_H
14137 #include <netinet/in.h>
14138 #endif
14139 #include <resolv.h>
14141 main ()
14143 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14145 return 0;
14147 _ACEOF
14148 if ac_fn_c_try_link "$LINENO"; then :
14149 ac_cv_have_resolv=${lib:-"none required"}
14150 else
14151 ac_cv_have_resolv="not found"
14153 rm -f core conftest.err conftest.$ac_objext \
14154 conftest$ac_exeext conftest.$ac_ext
14155 test "x$ac_cv_have_resolv" = "xnot found" || break
14156 done
14157 LIBS="$ac_save_LIBS"
14159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14160 $as_echo "$ac_cv_have_resolv" >&6; }
14162 case "$ac_cv_have_resolv" in
14163 "not found") ;;
14164 "none required")
14166 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14169 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14171 RESOLV_LIBS=$ac_cv_have_resolv
14173 esac
14175 if test "x$ac_cv_have_resolv" != "xnot found"
14176 then
14177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14178 $as_echo_n "checking for res_getservers... " >&6; }
14179 if ${ac_cv_have_res_getservers+:} false; then :
14180 $as_echo_n "(cached) " >&6
14181 else
14182 ac_save_LIBS="$LIBS"
14183 LIBS="$RESOLV_LIBS $LIBS"
14184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14185 /* end confdefs.h. */
14186 #include <resolv.h>
14188 main ()
14190 res_getservers(NULL, NULL, 0);
14192 return 0;
14194 _ACEOF
14195 if ac_fn_c_try_link "$LINENO"; then :
14196 ac_cv_have_res_getservers=yes
14197 else
14198 ac_cv_have_res_getservers=no
14200 rm -f core conftest.err conftest.$ac_objext \
14201 conftest$ac_exeext conftest.$ac_ext
14202 LIBS="$ac_save_LIBS"
14204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14205 $as_echo "$ac_cv_have_res_getservers" >&6; }
14206 if test "$ac_cv_have_res_getservers" = "yes"
14207 then
14209 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14215 if test "x$with_cms" != "xno"
14216 then
14217 if ${LCMS2_CFLAGS:+false} :; then :
14218 if ${PKG_CONFIG+:} false; then :
14219 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14223 if ${LCMS2_LIBS:+false} :; then :
14224 if ${PKG_CONFIG+:} false; then :
14225 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14229 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14230 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14231 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14232 ac_save_CPPFLAGS=$CPPFLAGS
14233 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14234 for ac_header in lcms2.h
14235 do :
14236 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14237 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14238 cat >>confdefs.h <<_ACEOF
14239 #define HAVE_LCMS2_H 1
14240 _ACEOF
14244 done
14246 if test "$ac_cv_header_lcms2_h" = "yes"
14247 then
14248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14249 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14250 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14251 $as_echo_n "(cached) " >&6
14252 else
14253 ac_check_lib_save_LIBS=$LIBS
14254 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14256 /* end confdefs.h. */
14258 /* Override any GCC internal prototype to avoid an error.
14259 Use char because int might match the return type of a GCC
14260 builtin and then its argument prototype would still apply. */
14261 #ifdef __cplusplus
14262 extern "C"
14263 #endif
14264 char cmsOpenProfileFromFile ();
14266 main ()
14268 return cmsOpenProfileFromFile ();
14270 return 0;
14272 _ACEOF
14273 if ac_fn_c_try_link "$LINENO"; then :
14274 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14275 else
14276 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14278 rm -f core conftest.err conftest.$ac_objext \
14279 conftest$ac_exeext conftest.$ac_ext
14280 LIBS=$ac_check_lib_save_LIBS
14282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14283 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14284 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14286 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14288 else
14289 LCMS2_LIBS=""
14292 else
14293 LCMS2_CFLAGS=""
14294 LCMS2_LIBS=""
14296 CPPFLAGS=$ac_save_CPPFLAGS
14299 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14300 case "x$with_cms" in
14301 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14302 xno) ;;
14303 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14304 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14305 esac
14309 if test "x$with_freetype" != "xno"
14310 then
14311 if ${FREETYPE_CFLAGS:+false} :; then :
14312 if ${PKG_CONFIG+:} false; then :
14313 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14316 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14317 if ${FREETYPE_LIBS:+false} :; then :
14318 if ${PKG_CONFIG+:} false; then :
14319 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14322 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14323 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14324 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14325 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14326 ac_save_CPPFLAGS=$CPPFLAGS
14327 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14328 for ac_header in ft2build.h
14329 do :
14330 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14331 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14332 cat >>confdefs.h <<_ACEOF
14333 #define HAVE_FT2BUILD_H 1
14334 _ACEOF
14338 done
14340 if test "$ac_cv_header_ft2build_h" = "yes"
14341 then
14342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14343 $as_echo_n "checking for -lfreetype... " >&6; }
14344 if ${ac_cv_lib_soname_freetype+:} false; then :
14345 $as_echo_n "(cached) " >&6
14346 else
14347 ac_check_soname_save_LIBS=$LIBS
14348 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14350 /* end confdefs.h. */
14352 /* Override any GCC internal prototype to avoid an error.
14353 Use char because int might match the return type of a GCC
14354 builtin and then its argument prototype would still apply. */
14355 #ifdef __cplusplus
14356 extern "C"
14357 #endif
14358 char FT_Init_FreeType ();
14360 main ()
14362 return FT_Init_FreeType ();
14364 return 0;
14366 _ACEOF
14367 if ac_fn_c_try_link "$LINENO"; then :
14368 case "$LIBEXT" in
14369 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14370 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'` ;;
14371 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14372 if ${ac_cv_lib_soname_freetype:+false} :; then :
14373 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14374 fi ;;
14375 esac
14376 else
14377 ac_cv_lib_soname_freetype=
14379 rm -f core conftest.err conftest.$ac_objext \
14380 conftest$ac_exeext conftest.$ac_ext
14381 LIBS=$ac_check_soname_save_LIBS
14383 if ${ac_cv_lib_soname_freetype:+false} :; then :
14384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14385 $as_echo "not found" >&6; }
14386 FREETYPE_LIBS=""
14387 else
14388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14389 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14391 cat >>confdefs.h <<_ACEOF
14392 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14393 _ACEOF
14396 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14398 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14399 #include FT_MODULE_H
14401 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14403 cat >>confdefs.h <<_ACEOF
14404 #define HAVE_FT_TRUETYPEENGINETYPE 1
14405 _ACEOF
14411 else
14412 FREETYPE_CFLAGS=""
14413 FREETYPE_LIBS=""
14415 CPPFLAGS=$ac_save_CPPFLAGS
14418 if test "x$ac_cv_lib_soname_freetype" = x; then :
14419 case "x$with_freetype" in
14420 xno) ;;
14421 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14422 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14423 esac
14424 enable_fonts=${enable_fonts:-no}
14427 ac_wine_check_funcs_save_LIBS="$LIBS"
14428 LIBS="$LIBS $PTHREAD_LIBS"
14429 for ac_func in \
14430 pthread_getthreadid_np
14431 do :
14432 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14433 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14434 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14435 cat >>confdefs.h <<_ACEOF
14436 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14437 _ACEOF
14440 done
14442 LIBS="$ac_wine_check_funcs_save_LIBS"
14444 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14445 then
14446 if test "$ac_cv_header_gettext_po_h" = "yes"
14447 then
14448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14449 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14450 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14451 $as_echo_n "(cached) " >&6
14452 else
14453 ac_check_lib_save_LIBS=$LIBS
14454 LIBS="-lgettextpo $LIBS"
14455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14456 /* end confdefs.h. */
14458 /* Override any GCC internal prototype to avoid an error.
14459 Use char because int might match the return type of a GCC
14460 builtin and then its argument prototype would still apply. */
14461 #ifdef __cplusplus
14462 extern "C"
14463 #endif
14464 char po_message_msgctxt ();
14466 main ()
14468 return po_message_msgctxt ();
14470 return 0;
14472 _ACEOF
14473 if ac_fn_c_try_link "$LINENO"; then :
14474 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14475 else
14476 ac_cv_lib_gettextpo_po_message_msgctxt=no
14478 rm -f core conftest.err conftest.$ac_objext \
14479 conftest$ac_exeext conftest.$ac_ext
14480 LIBS=$ac_check_lib_save_LIBS
14482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14483 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14484 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14486 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14488 GETTEXTPO_LIBS="-lgettextpo"
14493 if test "x$GETTEXTPO_LIBS" = "x"; then :
14494 case "x$with_gettextpo" in
14495 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14496 xno) ;;
14497 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14498 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14499 esac
14502 if test "$srcdir" != .; then :
14503 case "x$with_gettextpo" in
14504 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14505 xno) ;;
14506 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14507 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14508 esac
14513 if test "x$with_pulse" != "xno";
14514 then
14515 if ${PULSE_CFLAGS:+false} :; then :
14516 if ${PKG_CONFIG+:} false; then :
14517 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14521 if ${PULSE_LIBS:+false} :; then :
14522 if ${PKG_CONFIG+:} false; then :
14523 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14528 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14529 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14530 ac_save_CPPFLAGS=$CPPFLAGS
14531 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14532 for ac_header in pulse/pulseaudio.h
14533 do :
14534 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14535 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14536 cat >>confdefs.h <<_ACEOF
14537 #define HAVE_PULSE_PULSEAUDIO_H 1
14538 _ACEOF
14539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14540 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14541 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14542 $as_echo_n "(cached) " >&6
14543 else
14544 ac_check_lib_save_LIBS=$LIBS
14545 LIBS="-lpulse $PULSE_LIBS $LIBS"
14546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14547 /* end confdefs.h. */
14549 /* Override any GCC internal prototype to avoid an error.
14550 Use char because int might match the return type of a GCC
14551 builtin and then its argument prototype would still apply. */
14552 #ifdef __cplusplus
14553 extern "C"
14554 #endif
14555 char pa_stream_is_corked ();
14557 main ()
14559 return pa_stream_is_corked ();
14561 return 0;
14563 _ACEOF
14564 if ac_fn_c_try_link "$LINENO"; then :
14565 ac_cv_lib_pulse_pa_stream_is_corked=yes
14566 else
14567 ac_cv_lib_pulse_pa_stream_is_corked=no
14569 rm -f core conftest.err conftest.$ac_objext \
14570 conftest$ac_exeext conftest.$ac_ext
14571 LIBS=$ac_check_lib_save_LIBS
14573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14574 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14575 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14577 else
14578 PULSE_LIBS=""
14581 else
14582 PULSE_LIBS=""
14585 done
14587 CPPFLAGS=$ac_save_CPPFLAGS
14590 if test -z "$PULSE_LIBS"; then :
14591 case "x$with_pulse" in
14592 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14593 xno) ;;
14594 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14595 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14596 esac
14597 enable_winepulse_drv=${enable_winepulse_drv:-no}
14600 if test "x$with_gstreamer" != "xno"
14601 then
14602 if ${GSTREAMER_CFLAGS:+false} :; then :
14603 if ${PKG_CONFIG+:} false; then :
14604 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14608 if ${GSTREAMER_LIBS:+false} :; then :
14609 if ${PKG_CONFIG+:} false; then :
14610 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14615 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14616 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14617 ac_save_CPPFLAGS=$CPPFLAGS
14618 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14619 ac_gst_incl=""
14620 for i in $GSTREAMER_CFLAGS
14622 case "$i" in
14623 -I*) ac_gst_incl="$ac_gst_incl $i";;
14624 esac
14625 done
14626 GSTREAMER_CFLAGS=$ac_gst_incl
14627 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14628 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14629 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14631 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14633 /* end confdefs.h. */
14634 #include <gst/gst.h>
14636 main ()
14638 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14640 return 0;
14642 _ACEOF
14643 if ac_fn_c_try_compile "$LINENO"; then :
14644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14645 $as_echo "yes" >&6; }
14646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14647 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14648 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14649 $as_echo_n "(cached) " >&6
14650 else
14651 ac_check_lib_save_LIBS=$LIBS
14652 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14654 /* end confdefs.h. */
14656 /* Override any GCC internal prototype to avoid an error.
14657 Use char because int might match the return type of a GCC
14658 builtin and then its argument prototype would still apply. */
14659 #ifdef __cplusplus
14660 extern "C"
14661 #endif
14662 char gst_pad_new ();
14664 main ()
14666 return gst_pad_new ();
14668 return 0;
14670 _ACEOF
14671 if ac_fn_c_try_link "$LINENO"; then :
14672 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14673 else
14674 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14676 rm -f core conftest.err conftest.$ac_objext \
14677 conftest$ac_exeext conftest.$ac_ext
14678 LIBS=$ac_check_lib_save_LIBS
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14681 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14682 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14686 else
14687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14688 $as_echo "no" >&6; }
14689 ac_glib2_broken=yes
14690 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14696 CPPFLAGS=$ac_save_CPPFLAGS
14699 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes ; then :
14700 case "x$with_gstreamer" in
14701 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14702 xno) ;;
14703 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14704 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14705 esac
14708 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14710 ALSA_LIBS=""
14712 if test "x$with_alsa" != "xno"
14713 then
14714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14715 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14716 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14717 $as_echo_n "(cached) " >&6
14718 else
14719 ac_check_lib_save_LIBS=$LIBS
14720 LIBS="-lasound $LIBS"
14721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14722 /* end confdefs.h. */
14724 /* Override any GCC internal prototype to avoid an error.
14725 Use char because int might match the return type of a GCC
14726 builtin and then its argument prototype would still apply. */
14727 #ifdef __cplusplus
14728 extern "C"
14729 #endif
14730 char snd_pcm_hw_params_get_access_mask ();
14732 main ()
14734 return snd_pcm_hw_params_get_access_mask ();
14736 return 0;
14738 _ACEOF
14739 if ac_fn_c_try_link "$LINENO"; then :
14740 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14741 else
14742 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14744 rm -f core conftest.err conftest.$ac_objext \
14745 conftest$ac_exeext conftest.$ac_ext
14746 LIBS=$ac_check_lib_save_LIBS
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14749 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14750 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14752 /* end confdefs.h. */
14753 #include <alsa/asoundlib.h>
14755 main ()
14757 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14759 return 0;
14761 _ACEOF
14762 if ac_fn_c_try_compile "$LINENO"; then :
14763 ALSA_LIBS="-lasound"
14765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14769 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14771 if test "x$with_oss" != xno
14772 then
14773 ac_save_CPPFLAGS="$CPPFLAGS"
14774 if test -f /etc/oss.conf
14775 then
14776 . /etc/oss.conf
14778 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14779 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14780 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14781 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14782 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14784 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14786 cat >>confdefs.h <<_ACEOF
14787 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14788 _ACEOF
14790 OSS4_CFLAGS="$ac_oss_incl"
14792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14793 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14794 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14795 $as_echo_n "(cached) " >&6
14796 else
14797 ac_check_lib_save_LIBS=$LIBS
14798 LIBS="-lossaudio $LIBS"
14799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14800 /* end confdefs.h. */
14802 /* Override any GCC internal prototype to avoid an error.
14803 Use char because int might match the return type of a GCC
14804 builtin and then its argument prototype would still apply. */
14805 #ifdef __cplusplus
14806 extern "C"
14807 #endif
14808 char _oss_ioctl ();
14810 main ()
14812 return _oss_ioctl ();
14814 return 0;
14816 _ACEOF
14817 if ac_fn_c_try_link "$LINENO"; then :
14818 ac_cv_lib_ossaudio__oss_ioctl=yes
14819 else
14820 ac_cv_lib_ossaudio__oss_ioctl=no
14822 rm -f core conftest.err conftest.$ac_objext \
14823 conftest$ac_exeext conftest.$ac_ext
14824 LIBS=$ac_check_lib_save_LIBS
14826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14827 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14828 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14829 OSS4_LIBS="-lossaudio"
14838 CPPFLAGS="$ac_save_CPPFLAGS"
14840 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14841 case "x$with_oss" in
14842 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14843 xno) ;;
14844 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14845 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14846 esac
14847 enable_wineoss_drv=${enable_wineoss_drv:-no}
14850 if test "x$with_udev" != "xno"
14851 then
14852 if ${UDEV_CFLAGS:+false} :; then :
14853 if ${PKG_CONFIG+:} false; then :
14854 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14858 if ${UDEV_LIBS:+false} :; then :
14859 if ${PKG_CONFIG+:} false; then :
14860 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14864 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14865 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14866 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14867 ac_save_CPPFLAGS=$CPPFLAGS
14868 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14869 for ac_header in libudev.h
14870 do :
14871 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14872 if test "x$ac_cv_header_libudev_h" = xyes; then :
14873 cat >>confdefs.h <<_ACEOF
14874 #define HAVE_LIBUDEV_H 1
14875 _ACEOF
14876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14877 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14878 if ${ac_cv_lib_udev_udev_new+:} false; then :
14879 $as_echo_n "(cached) " >&6
14880 else
14881 ac_check_lib_save_LIBS=$LIBS
14882 LIBS="-ludev $UDEV_LIBS $LIBS"
14883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14884 /* end confdefs.h. */
14886 /* Override any GCC internal prototype to avoid an error.
14887 Use char because int might match the return type of a GCC
14888 builtin and then its argument prototype would still apply. */
14889 #ifdef __cplusplus
14890 extern "C"
14891 #endif
14892 char udev_new ();
14894 main ()
14896 return udev_new ();
14898 return 0;
14900 _ACEOF
14901 if ac_fn_c_try_link "$LINENO"; then :
14902 ac_cv_lib_udev_udev_new=yes
14903 else
14904 ac_cv_lib_udev_udev_new=no
14906 rm -f core conftest.err conftest.$ac_objext \
14907 conftest$ac_exeext conftest.$ac_ext
14908 LIBS=$ac_check_lib_save_LIBS
14910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14911 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14912 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14914 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14916 else
14917 UDEV_LIBS=""
14920 else
14921 UDEV_LIBS=""
14924 done
14926 CPPFLAGS=$ac_save_CPPFLAGS
14929 if test "x$UDEV_LIBS" = "x"; then :
14930 case "x$with_udev" in
14931 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14932 xno) ;;
14933 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14934 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14935 esac
14939 if test "x$with_unwind" != xno
14940 then
14941 if ${UNWIND_CFLAGS:+false} :; then :
14942 if ${PKG_CONFIG+:} false; then :
14943 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14947 if ${UNWIND_LIBS:+false} :; then :
14948 if ${PKG_CONFIG+:} false; then :
14949 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14953 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14954 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14955 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14956 ac_save_CPPFLAGS=$CPPFLAGS
14957 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14959 $as_echo_n "checking for unw_step... " >&6; }
14960 if ${wine_cv_have_unw_step+:} false; then :
14961 $as_echo_n "(cached) " >&6
14962 else
14963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14964 /* end confdefs.h. */
14965 #define UNW_LOCAL_ONLY
14966 #include <libunwind.h>
14968 main ()
14970 unw_cursor_t cursor; unw_step( &cursor );
14972 return 0;
14974 _ACEOF
14975 if ac_fn_c_try_link "$LINENO"; then :
14976 wine_cv_have_unw_step="yes"
14977 else
14978 wine_cv_have_unw_step="no"
14980 rm -f core conftest.err conftest.$ac_objext \
14981 conftest$ac_exeext conftest.$ac_ext
14983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14984 $as_echo "$wine_cv_have_unw_step" >&6; }
14985 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14986 then
14987 save_libs=$LIBS
14988 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
14989 LIBS="$UNWIND_LIBS $LIBS"
14990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14991 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14992 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14993 $as_echo_n "(cached) " >&6
14994 else
14995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14996 /* end confdefs.h. */
14997 #define UNW_LOCAL_ONLY
14998 #include <libunwind.h>
15000 main ()
15002 unw_cursor_t cursor; unw_step( &cursor );
15004 return 0;
15006 _ACEOF
15007 if ac_fn_c_try_link "$LINENO"; then :
15008 wine_cv_have_libunwind_unw_step="yes"
15009 else
15010 wine_cv_have_libunwind_unw_step="no"
15012 rm -f core conftest.err conftest.$ac_objext \
15013 conftest$ac_exeext conftest.$ac_ext
15015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15016 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15017 LIBS=$save_libs
15019 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15020 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15021 then
15023 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15026 CPPFLAGS=$ac_save_CPPFLAGS
15029 case $host in
15030 aarch64*|*-darwin*)
15031 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15032 case "x$with_unwind" in
15033 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15034 xno) ;;
15035 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15036 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15037 esac
15039 fi ;;
15040 esac
15042 if test "x$with_sdl" != "xno"
15043 then
15044 if ${SDL2_CFLAGS:+false} :; then :
15045 if ${PKG_CONFIG+:} false; then :
15046 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15050 if ${SDL2_LIBS:+false} :; then :
15051 if ${PKG_CONFIG+:} false; then :
15052 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15056 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15057 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15058 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15059 ac_save_CPPFLAGS=$CPPFLAGS
15060 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15061 for ac_header in SDL.h
15062 do :
15063 ac_fn_c_check_header_mongrel "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
15064 if test "x$ac_cv_header_SDL_h" = xyes; then :
15065 cat >>confdefs.h <<_ACEOF
15066 #define HAVE_SDL_H 1
15067 _ACEOF
15068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15069 $as_echo_n "checking for -lSDL2... " >&6; }
15070 if ${ac_cv_lib_soname_SDL2+:} false; then :
15071 $as_echo_n "(cached) " >&6
15072 else
15073 ac_check_soname_save_LIBS=$LIBS
15074 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15076 /* end confdefs.h. */
15078 /* Override any GCC internal prototype to avoid an error.
15079 Use char because int might match the return type of a GCC
15080 builtin and then its argument prototype would still apply. */
15081 #ifdef __cplusplus
15082 extern "C"
15083 #endif
15084 char SDL_Init ();
15086 main ()
15088 return SDL_Init ();
15090 return 0;
15092 _ACEOF
15093 if ac_fn_c_try_link "$LINENO"; then :
15094 case "$LIBEXT" in
15095 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15096 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'` ;;
15097 *) 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'`
15098 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15099 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15100 fi ;;
15101 esac
15102 else
15103 ac_cv_lib_soname_SDL2=
15105 rm -f core conftest.err conftest.$ac_objext \
15106 conftest$ac_exeext conftest.$ac_ext
15107 LIBS=$ac_check_soname_save_LIBS
15109 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15111 $as_echo "not found" >&6; }
15113 else
15114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15115 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15117 cat >>confdefs.h <<_ACEOF
15118 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15119 _ACEOF
15125 done
15127 CPPFLAGS=$ac_save_CPPFLAGS
15130 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15131 case "x$with_sdl" in
15132 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15133 xno) ;;
15134 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15135 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15136 esac
15140 if test "x$with_faudio" != "xno"
15141 then
15142 if ${FAUDIO_CFLAGS:+false} :; then :
15143 if ${PKG_CONFIG+:} false; then :
15144 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15148 if ${FAUDIO_LIBS:+false} :; then :
15149 if ${PKG_CONFIG+:} false; then :
15150 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15154 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15155 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15156 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15157 ac_save_CPPFLAGS=$CPPFLAGS
15158 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15159 for ac_header in FAudio.h
15160 do :
15161 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15162 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15163 cat >>confdefs.h <<_ACEOF
15164 #define HAVE_FAUDIO_H 1
15165 _ACEOF
15166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15167 $as_echo_n "checking for -lFAudio... " >&6; }
15168 if ${ac_cv_lib_soname_FAudio+:} false; then :
15169 $as_echo_n "(cached) " >&6
15170 else
15171 ac_check_soname_save_LIBS=$LIBS
15172 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15174 /* end confdefs.h. */
15176 /* Override any GCC internal prototype to avoid an error.
15177 Use char because int might match the return type of a GCC
15178 builtin and then its argument prototype would still apply. */
15179 #ifdef __cplusplus
15180 extern "C"
15181 #endif
15182 char FAudioCreate ();
15184 main ()
15186 return FAudioCreate ();
15188 return 0;
15190 _ACEOF
15191 if ac_fn_c_try_link "$LINENO"; then :
15192 case "$LIBEXT" in
15193 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15194 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'` ;;
15195 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15196 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15197 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15198 fi ;;
15199 esac
15200 else
15201 ac_cv_lib_soname_FAudio=
15203 rm -f core conftest.err conftest.$ac_objext \
15204 conftest$ac_exeext conftest.$ac_ext
15205 LIBS=$ac_check_soname_save_LIBS
15207 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15209 $as_echo "not found" >&6; }
15211 else
15212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15213 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15215 cat >>confdefs.h <<_ACEOF
15216 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15217 _ACEOF
15223 done
15225 ac_wine_check_funcs_save_LIBS="$LIBS"
15226 LIBS="$LIBS $FAUDIO_LIBS"
15227 for ac_func in FAudio_CommitOperationSet \
15228 F3DAudioInitialize8 \
15229 FAudioLinkedVersion \
15230 FAudioCreateReverb9WithCustomAllocatorEXT
15231 do :
15232 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15233 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15234 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15235 cat >>confdefs.h <<_ACEOF
15236 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15237 _ACEOF
15240 done
15242 LIBS="$ac_wine_check_funcs_save_LIBS"
15244 CPPFLAGS=$ac_save_CPPFLAGS
15247 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15248 case "x$with_faudio" in
15249 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15250 xno) ;;
15251 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15252 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15253 esac
15257 if test "x$with_capi" != "xno"
15258 then
15259 if ${CAPI20_CFLAGS:+false} :; then :
15260 if ${PKG_CONFIG+:} false; then :
15261 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15265 if ${CAPI20_LIBS:+false} :; then :
15266 if ${PKG_CONFIG+:} false; then :
15267 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15272 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15273 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15274 ac_save_CPPFLAGS=$CPPFLAGS
15275 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15276 for ac_header in capi20.h linux/capi.h
15277 do :
15278 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15279 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15281 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15282 cat >>confdefs.h <<_ACEOF
15283 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15284 _ACEOF
15288 done
15290 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15291 then
15292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15293 $as_echo_n "checking for -lcapi20... " >&6; }
15294 if ${ac_cv_lib_soname_capi20+:} false; then :
15295 $as_echo_n "(cached) " >&6
15296 else
15297 ac_check_soname_save_LIBS=$LIBS
15298 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15300 /* end confdefs.h. */
15302 /* Override any GCC internal prototype to avoid an error.
15303 Use char because int might match the return type of a GCC
15304 builtin and then its argument prototype would still apply. */
15305 #ifdef __cplusplus
15306 extern "C"
15307 #endif
15308 char capi20_register ();
15310 main ()
15312 return capi20_register ();
15314 return 0;
15316 _ACEOF
15317 if ac_fn_c_try_link "$LINENO"; then :
15318 case "$LIBEXT" in
15319 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15320 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'` ;;
15321 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15322 if ${ac_cv_lib_soname_capi20:+false} :; then :
15323 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15324 fi ;;
15325 esac
15326 else
15327 ac_cv_lib_soname_capi20=
15329 rm -f core conftest.err conftest.$ac_objext \
15330 conftest$ac_exeext conftest.$ac_ext
15331 LIBS=$ac_check_soname_save_LIBS
15333 if ${ac_cv_lib_soname_capi20:+false} :; then :
15334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15335 $as_echo "not found" >&6; }
15337 else
15338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15339 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15341 cat >>confdefs.h <<_ACEOF
15342 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15343 _ACEOF
15348 CPPFLAGS=$ac_save_CPPFLAGS
15351 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15352 case "x$with_capi" in
15353 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15354 xno) ;;
15355 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15356 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15357 esac
15361 if test "x$with_cups" != "xno"
15362 then
15363 if ${CUPS_CFLAGS:+false} :; then :
15364 if ${PKG_CONFIG+:} false; then :
15365 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15368 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15369 if ${CUPS_LIBS:+false} :; then :
15370 if ${PKG_CONFIG+:} false; then :
15371 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15374 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15375 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15376 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15377 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15378 ac_save_CPPFLAGS=$CPPFLAGS
15379 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15380 for ac_header in cups/cups.h cups/ppd.h
15381 do :
15382 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15383 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15384 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15385 cat >>confdefs.h <<_ACEOF
15386 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15387 _ACEOF
15391 done
15393 if test "$ac_cv_header_cups_cups_h" = "yes"
15394 then
15395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15396 $as_echo_n "checking for -lcups... " >&6; }
15397 if ${ac_cv_lib_soname_cups+:} false; then :
15398 $as_echo_n "(cached) " >&6
15399 else
15400 ac_check_soname_save_LIBS=$LIBS
15401 LIBS="-lcups $CUPS_LIBS $LIBS"
15402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15403 /* end confdefs.h. */
15405 /* Override any GCC internal prototype to avoid an error.
15406 Use char because int might match the return type of a GCC
15407 builtin and then its argument prototype would still apply. */
15408 #ifdef __cplusplus
15409 extern "C"
15410 #endif
15411 char cupsGetDefault ();
15413 main ()
15415 return cupsGetDefault ();
15417 return 0;
15419 _ACEOF
15420 if ac_fn_c_try_link "$LINENO"; then :
15421 case "$LIBEXT" in
15422 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15423 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'` ;;
15424 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15425 if ${ac_cv_lib_soname_cups:+false} :; then :
15426 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15427 fi ;;
15428 esac
15429 else
15430 ac_cv_lib_soname_cups=
15432 rm -f core conftest.err conftest.$ac_objext \
15433 conftest$ac_exeext conftest.$ac_ext
15434 LIBS=$ac_check_soname_save_LIBS
15436 if ${ac_cv_lib_soname_cups:+false} :; then :
15437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15438 $as_echo "not found" >&6; }
15439 CUPS_LIBS=""
15440 else
15441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15442 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15444 cat >>confdefs.h <<_ACEOF
15445 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15446 _ACEOF
15450 else
15451 CUPS_CFLAGS=""
15452 CUPS_LIBS=""
15454 CPPFLAGS=$ac_save_CPPFLAGS
15457 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15458 case "x$with_cups" in
15459 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15460 xno) ;;
15461 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15462 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15463 esac
15467 if test "x$with_fontconfig" != "xno"
15468 then
15469 if ${FONTCONFIG_CFLAGS:+false} :; then :
15470 if ${PKG_CONFIG+:} false; then :
15471 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15474 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15475 if ${FONTCONFIG_LIBS:+false} :; then :
15476 if ${PKG_CONFIG+:} false; then :
15477 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15480 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15482 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15483 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15484 ac_save_CPPFLAGS=$CPPFLAGS
15485 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15486 for ac_header in fontconfig/fontconfig.h
15487 do :
15488 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15489 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15490 cat >>confdefs.h <<_ACEOF
15491 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15492 _ACEOF
15496 done
15498 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15499 then
15500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15501 $as_echo_n "checking for -lfontconfig... " >&6; }
15502 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15503 $as_echo_n "(cached) " >&6
15504 else
15505 ac_check_soname_save_LIBS=$LIBS
15506 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15508 /* end confdefs.h. */
15510 /* Override any GCC internal prototype to avoid an error.
15511 Use char because int might match the return type of a GCC
15512 builtin and then its argument prototype would still apply. */
15513 #ifdef __cplusplus
15514 extern "C"
15515 #endif
15516 char FcInit ();
15518 main ()
15520 return FcInit ();
15522 return 0;
15524 _ACEOF
15525 if ac_fn_c_try_link "$LINENO"; then :
15526 case "$LIBEXT" in
15527 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15528 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'` ;;
15529 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15530 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15531 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15532 fi ;;
15533 esac
15534 else
15535 ac_cv_lib_soname_fontconfig=
15537 rm -f core conftest.err conftest.$ac_objext \
15538 conftest$ac_exeext conftest.$ac_ext
15539 LIBS=$ac_check_soname_save_LIBS
15541 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15543 $as_echo "not found" >&6; }
15544 FONTCONFIG_CFLAGS=""
15545 else
15546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15547 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15549 cat >>confdefs.h <<_ACEOF
15550 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15551 _ACEOF
15555 else
15556 FONTCONFIG_CFLAGS=""
15558 CPPFLAGS=$ac_save_CPPFLAGS
15561 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15562 case "x$with_fontconfig" in
15563 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15564 xno) ;;
15565 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15566 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15567 esac
15571 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15572 then
15573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15574 $as_echo_n "checking for -lgsm... " >&6; }
15575 if ${ac_cv_lib_soname_gsm+:} false; then :
15576 $as_echo_n "(cached) " >&6
15577 else
15578 ac_check_soname_save_LIBS=$LIBS
15579 LIBS="-lgsm $LIBS"
15580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15581 /* end confdefs.h. */
15583 /* Override any GCC internal prototype to avoid an error.
15584 Use char because int might match the return type of a GCC
15585 builtin and then its argument prototype would still apply. */
15586 #ifdef __cplusplus
15587 extern "C"
15588 #endif
15589 char gsm_create ();
15591 main ()
15593 return gsm_create ();
15595 return 0;
15597 _ACEOF
15598 if ac_fn_c_try_link "$LINENO"; then :
15599 case "$LIBEXT" in
15600 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15601 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'` ;;
15602 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15603 if ${ac_cv_lib_soname_gsm:+false} :; then :
15604 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15605 fi ;;
15606 esac
15607 else
15608 ac_cv_lib_soname_gsm=
15610 rm -f core conftest.err conftest.$ac_objext \
15611 conftest$ac_exeext conftest.$ac_ext
15612 LIBS=$ac_check_soname_save_LIBS
15614 if ${ac_cv_lib_soname_gsm:+false} :; then :
15615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15616 $as_echo "not found" >&6; }
15618 else
15619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15620 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15622 cat >>confdefs.h <<_ACEOF
15623 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15624 _ACEOF
15629 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15630 case "x$with_gsm" in
15631 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15632 xno) ;;
15633 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15634 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15635 esac
15639 if test "x$with_krb5" != "xno"
15640 then
15641 if ${KRB5_CFLAGS:+false} :; then :
15642 if ${PKG_CONFIG+:} false; then :
15643 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15646 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15647 if ${KRB5_LIBS:+false} :; then :
15648 if ${PKG_CONFIG+:} false; then :
15649 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15652 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15654 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15655 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15656 ac_save_CPPFLAGS=$CPPFLAGS
15657 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15658 for ac_header in krb5/krb5.h
15659 do :
15660 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15661 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15662 cat >>confdefs.h <<_ACEOF
15663 #define HAVE_KRB5_KRB5_H 1
15664 _ACEOF
15668 done
15670 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15671 then
15672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15673 $as_echo_n "checking for -lkrb5... " >&6; }
15674 if ${ac_cv_lib_soname_krb5+:} false; then :
15675 $as_echo_n "(cached) " >&6
15676 else
15677 ac_check_soname_save_LIBS=$LIBS
15678 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15680 /* end confdefs.h. */
15682 /* Override any GCC internal prototype to avoid an error.
15683 Use char because int might match the return type of a GCC
15684 builtin and then its argument prototype would still apply. */
15685 #ifdef __cplusplus
15686 extern "C"
15687 #endif
15688 char krb5_is_config_principal ();
15690 main ()
15692 return krb5_is_config_principal ();
15694 return 0;
15696 _ACEOF
15697 if ac_fn_c_try_link "$LINENO"; then :
15698 case "$LIBEXT" in
15699 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15700 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'` ;;
15701 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15702 if ${ac_cv_lib_soname_krb5:+false} :; then :
15703 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15704 fi ;;
15705 esac
15706 else
15707 ac_cv_lib_soname_krb5=
15709 rm -f core conftest.err conftest.$ac_objext \
15710 conftest$ac_exeext conftest.$ac_ext
15711 LIBS=$ac_check_soname_save_LIBS
15713 if ${ac_cv_lib_soname_krb5:+false} :; then :
15714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15715 $as_echo "not found" >&6; }
15716 KRB5_CFLAGS=""
15717 else
15718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15719 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15721 cat >>confdefs.h <<_ACEOF
15722 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15723 _ACEOF
15727 else
15728 KRB5_CFLAGS=""
15730 CPPFLAGS=$ac_save_CPPFLAGS
15733 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15734 case "x$with_krb5" in
15735 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15736 xno) ;;
15737 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15738 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15739 esac
15742 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15744 if test "x$with_gssapi" != "xno"
15745 then
15746 if ${GSSAPI_CFLAGS:+false} :; then :
15747 if ${PKG_CONFIG+:} false; then :
15748 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15751 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15752 if ${GSSAPI_LIBS:+false} :; then :
15753 if ${PKG_CONFIG+:} false; then :
15754 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15757 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15759 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15760 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15761 ac_save_CPPFLAGS=$CPPFLAGS
15762 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15763 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15764 do :
15765 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15766 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15767 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15768 cat >>confdefs.h <<_ACEOF
15769 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15770 _ACEOF
15774 done
15776 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15777 then
15778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15779 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15780 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15781 $as_echo_n "(cached) " >&6
15782 else
15783 ac_check_soname_save_LIBS=$LIBS
15784 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15786 /* end confdefs.h. */
15788 /* Override any GCC internal prototype to avoid an error.
15789 Use char because int might match the return type of a GCC
15790 builtin and then its argument prototype would still apply. */
15791 #ifdef __cplusplus
15792 extern "C"
15793 #endif
15794 char gss_init_sec_context ();
15796 main ()
15798 return gss_init_sec_context ();
15800 return 0;
15802 _ACEOF
15803 if ac_fn_c_try_link "$LINENO"; then :
15804 case "$LIBEXT" in
15805 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15806 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'` ;;
15807 *) 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'`
15808 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15809 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15810 fi ;;
15811 esac
15812 else
15813 ac_cv_lib_soname_gssapi_krb5=
15815 rm -f core conftest.err conftest.$ac_objext \
15816 conftest$ac_exeext conftest.$ac_ext
15817 LIBS=$ac_check_soname_save_LIBS
15819 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15821 $as_echo "not found" >&6; }
15822 GSSAPI_CFLAGS=""
15823 else
15824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15825 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15827 cat >>confdefs.h <<_ACEOF
15828 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15829 _ACEOF
15833 else
15834 GSSAPI_CFLAGS=""
15836 CPPFLAGS=$ac_save_CPPFLAGS
15839 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15840 case "x$with_gssapi" in
15841 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15842 xno) ;;
15843 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15844 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15845 esac
15849 if test "x$with_jpeg" != "xno"
15850 then
15851 if ${JPEG_CFLAGS:+false} :; then :
15852 if ${PKG_CONFIG+:} false; then :
15853 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15857 if ${JPEG_LIBS:+false} :; then :
15858 if ${PKG_CONFIG+:} false; then :
15859 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15864 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15865 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15866 ac_save_CPPFLAGS=$CPPFLAGS
15867 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15868 for ac_header in jpeglib.h
15869 do :
15870 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15871 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15872 cat >>confdefs.h <<_ACEOF
15873 #define HAVE_JPEGLIB_H 1
15874 _ACEOF
15878 done
15880 if test "$ac_cv_header_jpeglib_h" = "yes"
15881 then
15882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15883 $as_echo_n "checking for -ljpeg... " >&6; }
15884 if ${ac_cv_lib_soname_jpeg+:} false; then :
15885 $as_echo_n "(cached) " >&6
15886 else
15887 ac_check_soname_save_LIBS=$LIBS
15888 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15890 /* end confdefs.h. */
15892 /* Override any GCC internal prototype to avoid an error.
15893 Use char because int might match the return type of a GCC
15894 builtin and then its argument prototype would still apply. */
15895 #ifdef __cplusplus
15896 extern "C"
15897 #endif
15898 char jpeg_start_decompress ();
15900 main ()
15902 return jpeg_start_decompress ();
15904 return 0;
15906 _ACEOF
15907 if ac_fn_c_try_link "$LINENO"; then :
15908 case "$LIBEXT" in
15909 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15910 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'` ;;
15911 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15912 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15913 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15914 fi ;;
15915 esac
15916 else
15917 ac_cv_lib_soname_jpeg=
15919 rm -f core conftest.err conftest.$ac_objext \
15920 conftest$ac_exeext conftest.$ac_ext
15921 LIBS=$ac_check_soname_save_LIBS
15923 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15925 $as_echo "not found" >&6; }
15926 JPEG_CFLAGS=""
15927 else
15928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15929 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15931 cat >>confdefs.h <<_ACEOF
15932 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15933 _ACEOF
15937 else
15938 JPEG_CFLAGS=""
15940 CPPFLAGS=$ac_save_CPPFLAGS
15943 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15944 case "x$with_jpeg" in
15945 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15946 xno) ;;
15947 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15948 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15949 esac
15953 if test "x$with_jxrlib" != "xno"
15954 then
15955 if ${JXRLIB_CFLAGS:+false} :; then :
15956 if ${PKG_CONFIG+:} false; then :
15957 JXRLIB_CFLAGS=`$PKG_CONFIG --cflags jxrlib 2>/dev/null`
15960 test "$cross_compiling" = yes || JXRLIB_CFLAGS=${JXRLIB_CFLAGS:-${JXRLIB_CFLAGS:--I/usr/include/jxrlib}}
15961 if ${JXRLIB_LIBS:+false} :; then :
15962 if ${PKG_CONFIG+:} false; then :
15963 JXRLIB_LIBS=`$PKG_CONFIG --libs jxrlib 2>/dev/null`
15968 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib cflags: $JXRLIB_CFLAGS" >&5
15969 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib libs: $JXRLIB_LIBS" >&5
15970 ac_save_CPPFLAGS=$CPPFLAGS
15971 CPPFLAGS="$CPPFLAGS $JXRLIB_CFLAGS"
15972 for ac_header in JXRGlue.h
15973 do :
15974 ac_fn_c_check_header_compile "$LINENO" "JXRGlue.h" "ac_cv_header_JXRGlue_h" "#define FAR
15976 if test "x$ac_cv_header_JXRGlue_h" = xyes; then :
15977 cat >>confdefs.h <<_ACEOF
15978 #define HAVE_JXRGLUE_H 1
15979 _ACEOF
15983 done
15985 if test "$ac_cv_header_JXRGlue_h" = "yes"
15986 then
15987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljxrglue" >&5
15988 $as_echo_n "checking for -ljxrglue... " >&6; }
15989 if ${ac_cv_lib_soname_jxrglue+:} false; then :
15990 $as_echo_n "(cached) " >&6
15991 else
15992 ac_check_soname_save_LIBS=$LIBS
15993 LIBS="-ljxrglue $JXRLIB_LIBS $LIBS"
15994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15995 /* end confdefs.h. */
15997 /* Override any GCC internal prototype to avoid an error.
15998 Use char because int might match the return type of a GCC
15999 builtin and then its argument prototype would still apply. */
16000 #ifdef __cplusplus
16001 extern "C"
16002 #endif
16003 char PKImageDecode_Create_WMP ();
16005 main ()
16007 return PKImageDecode_Create_WMP ();
16009 return 0;
16011 _ACEOF
16012 if ac_fn_c_try_link "$LINENO"; then :
16013 case "$LIBEXT" in
16014 dll) ac_cv_lib_soname_jxrglue=`$ac_cv_path_LDD conftest.exe | grep "jxrglue" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16015 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'` ;;
16016 *) ac_cv_lib_soname_jxrglue=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjxrglue\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjxrglue\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16017 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16018 ac_cv_lib_soname_jxrglue=`$LDD conftest$ac_exeext | grep "libjxrglue\\.$LIBEXT" | sed -e "s/^.*\(libjxrglue\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16019 fi ;;
16020 esac
16021 else
16022 ac_cv_lib_soname_jxrglue=
16024 rm -f core conftest.err conftest.$ac_objext \
16025 conftest$ac_exeext conftest.$ac_ext
16026 LIBS=$ac_check_soname_save_LIBS
16028 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16030 $as_echo "not found" >&6; }
16031 JXRLIB_CFLAGS=""
16032 else
16033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jxrglue" >&5
16034 $as_echo "$ac_cv_lib_soname_jxrglue" >&6; }
16036 cat >>confdefs.h <<_ACEOF
16037 #define SONAME_LIBJXRGLUE "$ac_cv_lib_soname_jxrglue"
16038 _ACEOF
16042 else
16043 JXRLIB_CFLAGS=""
16045 CPPFLAGS=$ac_save_CPPFLAGS
16048 if test "x$ac_cv_lib_soname_jxrglue" = "x"; then :
16049 case "x$with_jxrlib" in
16050 x) as_fn_append wine_notices "|jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported." ;;
16051 xno) ;;
16052 *) as_fn_error $? "jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported.
16053 This is an error since --with-jxrlib was requested." "$LINENO" 5 ;;
16054 esac
16058 if test "x$with_png" != "xno"
16059 then
16060 if ${PNG_CFLAGS:+false} :; then :
16061 if ${PKG_CONFIG+:} false; then :
16062 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16065 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16066 if ${PNG_LIBS:+false} :; then :
16067 if ${PKG_CONFIG+:} false; then :
16068 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16071 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16073 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16074 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16075 ac_save_CPPFLAGS=$CPPFLAGS
16076 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16077 for ac_header in png.h
16078 do :
16079 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16080 if test "x$ac_cv_header_png_h" = xyes; then :
16081 cat >>confdefs.h <<_ACEOF
16082 #define HAVE_PNG_H 1
16083 _ACEOF
16087 done
16089 if test "$ac_cv_header_png_h" = "yes"
16090 then
16091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16092 $as_echo_n "checking for -lpng... " >&6; }
16093 if ${ac_cv_lib_soname_png+:} false; then :
16094 $as_echo_n "(cached) " >&6
16095 else
16096 ac_check_soname_save_LIBS=$LIBS
16097 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16099 /* end confdefs.h. */
16101 /* Override any GCC internal prototype to avoid an error.
16102 Use char because int might match the return type of a GCC
16103 builtin and then its argument prototype would still apply. */
16104 #ifdef __cplusplus
16105 extern "C"
16106 #endif
16107 char png_create_read_struct ();
16109 main ()
16111 return png_create_read_struct ();
16113 return 0;
16115 _ACEOF
16116 if ac_fn_c_try_link "$LINENO"; then :
16117 case "$LIBEXT" in
16118 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16119 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'` ;;
16120 *) 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'`
16121 if ${ac_cv_lib_soname_png:+false} :; then :
16122 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16123 fi ;;
16124 esac
16125 else
16126 ac_cv_lib_soname_png=
16128 rm -f core conftest.err conftest.$ac_objext \
16129 conftest$ac_exeext conftest.$ac_ext
16130 LIBS=$ac_check_soname_save_LIBS
16132 if ${ac_cv_lib_soname_png:+false} :; then :
16133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16134 $as_echo "not found" >&6; }
16135 PNG_CFLAGS=""
16136 else
16137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16138 $as_echo "$ac_cv_lib_soname_png" >&6; }
16140 cat >>confdefs.h <<_ACEOF
16141 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16142 _ACEOF
16146 else
16147 PNG_CFLAGS=""
16149 CPPFLAGS=$ac_save_CPPFLAGS
16152 if test "x$ac_cv_lib_soname_png" = "x"; then :
16153 case "x$with_png" in
16154 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16155 xno) ;;
16156 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16157 This is an error since --with-png was requested." "$LINENO" 5 ;;
16158 esac
16162 if test "x$with_tiff" != "xno"
16163 then
16164 if ${TIFF_CFLAGS:+false} :; then :
16165 if ${PKG_CONFIG+:} false; then :
16166 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16170 if ${TIFF_LIBS:+false} :; then :
16171 if ${PKG_CONFIG+:} false; then :
16172 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16177 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16178 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16179 ac_save_CPPFLAGS=$CPPFLAGS
16180 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16181 for ac_header in tiffio.h
16182 do :
16183 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16184 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16185 cat >>confdefs.h <<_ACEOF
16186 #define HAVE_TIFFIO_H 1
16187 _ACEOF
16191 done
16193 if test "$ac_cv_header_tiffio_h" = "yes"
16194 then
16195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16196 $as_echo_n "checking for -ltiff... " >&6; }
16197 if ${ac_cv_lib_soname_tiff+:} false; then :
16198 $as_echo_n "(cached) " >&6
16199 else
16200 ac_check_soname_save_LIBS=$LIBS
16201 LIBS="-ltiff $TIFF_LIBS $LIBS"
16202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16203 /* end confdefs.h. */
16205 /* Override any GCC internal prototype to avoid an error.
16206 Use char because int might match the return type of a GCC
16207 builtin and then its argument prototype would still apply. */
16208 #ifdef __cplusplus
16209 extern "C"
16210 #endif
16211 char TIFFClientOpen ();
16213 main ()
16215 return TIFFClientOpen ();
16217 return 0;
16219 _ACEOF
16220 if ac_fn_c_try_link "$LINENO"; then :
16221 case "$LIBEXT" in
16222 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16223 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'` ;;
16224 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16225 if ${ac_cv_lib_soname_tiff:+false} :; then :
16226 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16227 fi ;;
16228 esac
16229 else
16230 ac_cv_lib_soname_tiff=
16232 rm -f core conftest.err conftest.$ac_objext \
16233 conftest$ac_exeext conftest.$ac_ext
16234 LIBS=$ac_check_soname_save_LIBS
16236 if ${ac_cv_lib_soname_tiff:+false} :; then :
16237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16238 $as_echo "not found" >&6; }
16240 else
16241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16242 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16244 cat >>confdefs.h <<_ACEOF
16245 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16246 _ACEOF
16251 CPPFLAGS=$ac_save_CPPFLAGS
16254 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16255 case "x$with_tiff" in
16256 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16257 xno) ;;
16258 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16259 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16260 esac
16264 if test "x$with_mpg123" != "xno"
16265 then
16266 if ${MPG123_CFLAGS:+false} :; then :
16267 if ${PKG_CONFIG+:} false; then :
16268 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16272 if ${MPG123_LIBS:+false} :; then :
16273 if ${PKG_CONFIG+:} false; then :
16274 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16278 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16279 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16280 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16281 ac_save_CPPFLAGS=$CPPFLAGS
16282 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16283 for ac_header in mpg123.h
16284 do :
16285 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16286 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16287 cat >>confdefs.h <<_ACEOF
16288 #define HAVE_MPG123_H 1
16289 _ACEOF
16293 done
16295 if test "$ac_cv_header_mpg123_h" = "yes"
16296 then
16297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16298 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16299 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16300 $as_echo_n "(cached) " >&6
16301 else
16302 ac_check_lib_save_LIBS=$LIBS
16303 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16305 /* end confdefs.h. */
16307 /* Override any GCC internal prototype to avoid an error.
16308 Use char because int might match the return type of a GCC
16309 builtin and then its argument prototype would still apply. */
16310 #ifdef __cplusplus
16311 extern "C"
16312 #endif
16313 char mpg123_feed ();
16315 main ()
16317 return mpg123_feed ();
16319 return 0;
16321 _ACEOF
16322 if ac_fn_c_try_link "$LINENO"; then :
16323 ac_cv_lib_mpg123_mpg123_feed=yes
16324 else
16325 ac_cv_lib_mpg123_mpg123_feed=no
16327 rm -f core conftest.err conftest.$ac_objext \
16328 conftest$ac_exeext conftest.$ac_ext
16329 LIBS=$ac_check_lib_save_LIBS
16331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16332 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16333 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16335 else
16336 MPG123_LIBS=""
16339 else
16340 MPG123_CFLAGS=""
16341 MPG123_LIBS=""
16343 CPPFLAGS=$ac_save_CPPFLAGS
16346 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16347 case "x$with_mpg123" in
16348 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16349 xno) ;;
16350 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16351 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16352 esac
16353 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16355 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16357 if test "$ac_cv_header_AL_al_h" = "yes"
16358 then
16359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16360 $as_echo_n "checking for -lopenal... " >&6; }
16361 if ${ac_cv_lib_soname_openal+:} false; then :
16362 $as_echo_n "(cached) " >&6
16363 else
16364 ac_check_soname_save_LIBS=$LIBS
16365 LIBS="-lopenal $LIBS"
16366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16367 /* end confdefs.h. */
16369 /* Override any GCC internal prototype to avoid an error.
16370 Use char because int might match the return type of a GCC
16371 builtin and then its argument prototype would still apply. */
16372 #ifdef __cplusplus
16373 extern "C"
16374 #endif
16375 char alGetSource3i ();
16377 main ()
16379 return alGetSource3i ();
16381 return 0;
16383 _ACEOF
16384 if ac_fn_c_try_link "$LINENO"; then :
16385 case "$LIBEXT" in
16386 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16387 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'` ;;
16388 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16389 if ${ac_cv_lib_soname_openal:+false} :; then :
16390 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16391 fi ;;
16392 esac
16393 else
16394 ac_cv_lib_soname_openal=
16396 rm -f core conftest.err conftest.$ac_objext \
16397 conftest$ac_exeext conftest.$ac_ext
16398 LIBS=$ac_check_soname_save_LIBS
16400 if ${ac_cv_lib_soname_openal:+false} :; then :
16401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16402 $as_echo "not found" >&6; }
16404 else
16405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16406 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16408 cat >>confdefs.h <<_ACEOF
16409 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16410 _ACEOF
16412 OPENAL_LIBS="-lopenal"
16414 ac_cv_lib_openal=yes
16416 cat >>confdefs.h <<_ACEOF
16417 #define HAVE_OPENAL 1
16418 _ACEOF
16422 if test "x$ac_cv_lib_openal" != xyes; then :
16423 case "x$with_openal" in
16424 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16425 xno) ;;
16426 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16427 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16428 esac
16429 enable_openal32=${enable_openal32:-no}
16432 if test "x$ac_cv_lib_soname_FAudio" = "x"
16433 then
16434 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16435 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16436 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16437 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16438 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16439 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16440 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16441 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16442 enable_xactengine3_0=${enable_xactengine3_0:-no}
16443 enable_xactengine3_1=${enable_xactengine3_1:-no}
16444 enable_xactengine3_2=${enable_xactengine3_2:-no}
16445 enable_xactengine3_3=${enable_xactengine3_3:-no}
16446 enable_xactengine3_4=${enable_xactengine3_4:-no}
16447 enable_xactengine3_5=${enable_xactengine3_5:-no}
16448 enable_xactengine3_6=${enable_xactengine3_6:-no}
16449 enable_xactengine3_7=${enable_xactengine3_7:-no}
16450 enable_xapofx1_1=${enable_xapofx1_1:-no}
16451 enable_xapofx1_2=${enable_xapofx1_2:-no}
16452 enable_xapofx1_3=${enable_xapofx1_3:-no}
16453 enable_xapofx1_4=${enable_xapofx1_4:-no}
16454 enable_xapofx1_5=${enable_xapofx1_5:-no}
16455 enable_xaudio2_0=${enable_xaudio2_0:-no}
16456 enable_xaudio2_1=${enable_xaudio2_1:-no}
16457 enable_xaudio2_2=${enable_xaudio2_2:-no}
16458 enable_xaudio2_3=${enable_xaudio2_3:-no}
16459 enable_xaudio2_4=${enable_xaudio2_4:-no}
16460 enable_xaudio2_5=${enable_xaudio2_5:-no}
16461 enable_xaudio2_6=${enable_xaudio2_6:-no}
16462 enable_xaudio2_7=${enable_xaudio2_7:-no}
16463 enable_xaudio2_8=${enable_xaudio2_8:-no}
16464 enable_xaudio2_9=${enable_xaudio2_9:-no}
16467 if test "$ac_cv_header_kstat_h" = "yes"
16468 then
16469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16470 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16471 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16472 $as_echo_n "(cached) " >&6
16473 else
16474 ac_check_lib_save_LIBS=$LIBS
16475 LIBS="-lkstat $LIBS"
16476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16477 /* end confdefs.h. */
16479 /* Override any GCC internal prototype to avoid an error.
16480 Use char because int might match the return type of a GCC
16481 builtin and then its argument prototype would still apply. */
16482 #ifdef __cplusplus
16483 extern "C"
16484 #endif
16485 char kstat_open ();
16487 main ()
16489 return kstat_open ();
16491 return 0;
16493 _ACEOF
16494 if ac_fn_c_try_link "$LINENO"; then :
16495 ac_cv_lib_kstat_kstat_open=yes
16496 else
16497 ac_cv_lib_kstat_kstat_open=no
16499 rm -f core conftest.err conftest.$ac_objext \
16500 conftest$ac_exeext conftest.$ac_ext
16501 LIBS=$ac_check_lib_save_LIBS
16503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16504 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16505 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16507 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16509 KSTAT_LIBS="-lkstat"
16515 if test "$ac_cv_header_libprocstat_h" = "yes"
16516 then
16517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16518 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16519 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16520 $as_echo_n "(cached) " >&6
16521 else
16522 ac_check_lib_save_LIBS=$LIBS
16523 LIBS="-lprocstat $LIBS"
16524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16525 /* end confdefs.h. */
16527 /* Override any GCC internal prototype to avoid an error.
16528 Use char because int might match the return type of a GCC
16529 builtin and then its argument prototype would still apply. */
16530 #ifdef __cplusplus
16531 extern "C"
16532 #endif
16533 char procstat_open_sysctl ();
16535 main ()
16537 return procstat_open_sysctl ();
16539 return 0;
16541 _ACEOF
16542 if ac_fn_c_try_link "$LINENO"; then :
16543 ac_cv_lib_procstat_procstat_open_sysctl=yes
16544 else
16545 ac_cv_lib_procstat_procstat_open_sysctl=no
16547 rm -f core conftest.err conftest.$ac_objext \
16548 conftest$ac_exeext conftest.$ac_ext
16549 LIBS=$ac_check_lib_save_LIBS
16551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16552 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16553 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16555 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16557 PROCSTAT_LIBS="-lprocstat"
16563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16564 $as_echo_n "checking for -lodbc... " >&6; }
16565 if ${ac_cv_lib_soname_odbc+:} false; then :
16566 $as_echo_n "(cached) " >&6
16567 else
16568 ac_check_soname_save_LIBS=$LIBS
16569 LIBS="-lodbc $LIBS"
16570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16571 /* end confdefs.h. */
16573 /* Override any GCC internal prototype to avoid an error.
16574 Use char because int might match the return type of a GCC
16575 builtin and then its argument prototype would still apply. */
16576 #ifdef __cplusplus
16577 extern "C"
16578 #endif
16579 char SQLConnect ();
16581 main ()
16583 return SQLConnect ();
16585 return 0;
16587 _ACEOF
16588 if ac_fn_c_try_link "$LINENO"; then :
16589 case "$LIBEXT" in
16590 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16591 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'` ;;
16592 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16593 if ${ac_cv_lib_soname_odbc:+false} :; then :
16594 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16595 fi ;;
16596 esac
16597 else
16598 ac_cv_lib_soname_odbc=
16600 rm -f core conftest.err conftest.$ac_objext \
16601 conftest$ac_exeext conftest.$ac_ext
16602 LIBS=$ac_check_soname_save_LIBS
16604 if ${ac_cv_lib_soname_odbc:+false} :; then :
16605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16606 $as_echo "not found" >&6; }
16607 cat >>confdefs.h <<_ACEOF
16608 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16609 _ACEOF
16611 else
16612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16613 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16615 cat >>confdefs.h <<_ACEOF
16616 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16617 _ACEOF
16622 if test "x$with_netapi" != "xno"
16623 then
16624 if ${NETAPI_CFLAGS:+false} :; then :
16625 if ${PKG_CONFIG+:} false; then :
16626 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16630 if ${NETAPI_LIBS:+false} :; then :
16631 if ${PKG_CONFIG+:} false; then :
16632 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16637 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16638 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16639 ac_save_CPPFLAGS=$CPPFLAGS
16640 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16642 $as_echo_n "checking for -lnetapi... " >&6; }
16643 if ${ac_cv_lib_soname_netapi+:} false; then :
16644 $as_echo_n "(cached) " >&6
16645 else
16646 ac_check_soname_save_LIBS=$LIBS
16647 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16649 /* end confdefs.h. */
16651 /* Override any GCC internal prototype to avoid an error.
16652 Use char because int might match the return type of a GCC
16653 builtin and then its argument prototype would still apply. */
16654 #ifdef __cplusplus
16655 extern "C"
16656 #endif
16657 char libnetapi_init ();
16659 main ()
16661 return libnetapi_init ();
16663 return 0;
16665 _ACEOF
16666 if ac_fn_c_try_link "$LINENO"; then :
16667 case "$LIBEXT" in
16668 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16669 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'` ;;
16670 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16671 if ${ac_cv_lib_soname_netapi:+false} :; then :
16672 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16673 fi ;;
16674 esac
16675 else
16676 ac_cv_lib_soname_netapi=
16678 rm -f core conftest.err conftest.$ac_objext \
16679 conftest$ac_exeext conftest.$ac_ext
16680 LIBS=$ac_check_soname_save_LIBS
16682 if ${ac_cv_lib_soname_netapi:+false} :; then :
16683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16684 $as_echo "not found" >&6; }
16685 cat >>confdefs.h <<_ACEOF
16686 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16687 _ACEOF
16689 else
16690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16691 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16693 cat >>confdefs.h <<_ACEOF
16694 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16695 _ACEOF
16699 CPPFLAGS=$ac_save_CPPFLAGS
16703 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16704 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16705 then
16706 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16709 if test "x$with_vulkan" != "xno"
16710 then
16711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16712 $as_echo_n "checking for -lvulkan... " >&6; }
16713 if ${ac_cv_lib_soname_vulkan+:} false; then :
16714 $as_echo_n "(cached) " >&6
16715 else
16716 ac_check_soname_save_LIBS=$LIBS
16717 LIBS="-lvulkan $LIBS"
16718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16719 /* end confdefs.h. */
16721 /* Override any GCC internal prototype to avoid an error.
16722 Use char because int might match the return type of a GCC
16723 builtin and then its argument prototype would still apply. */
16724 #ifdef __cplusplus
16725 extern "C"
16726 #endif
16727 char vkGetInstanceProcAddr ();
16729 main ()
16731 return vkGetInstanceProcAddr ();
16733 return 0;
16735 _ACEOF
16736 if ac_fn_c_try_link "$LINENO"; then :
16737 case "$LIBEXT" in
16738 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16739 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'` ;;
16740 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16741 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16742 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16743 fi ;;
16744 esac
16745 else
16746 ac_cv_lib_soname_vulkan=
16748 rm -f core conftest.err conftest.$ac_objext \
16749 conftest$ac_exeext conftest.$ac_ext
16750 LIBS=$ac_check_soname_save_LIBS
16752 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16754 $as_echo "not found" >&6; }
16756 else
16757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16758 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16760 cat >>confdefs.h <<_ACEOF
16761 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16762 _ACEOF
16766 if test "x$ac_cv_lib_soname_vulkan" = "x"
16767 then
16768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16769 $as_echo_n "checking for -lMoltenVK... " >&6; }
16770 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16771 $as_echo_n "(cached) " >&6
16772 else
16773 ac_check_soname_save_LIBS=$LIBS
16774 LIBS="-lMoltenVK $LIBS"
16775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16776 /* end confdefs.h. */
16778 /* Override any GCC internal prototype to avoid an error.
16779 Use char because int might match the return type of a GCC
16780 builtin and then its argument prototype would still apply. */
16781 #ifdef __cplusplus
16782 extern "C"
16783 #endif
16784 char vkGetInstanceProcAddr ();
16786 main ()
16788 return vkGetInstanceProcAddr ();
16790 return 0;
16792 _ACEOF
16793 if ac_fn_c_try_link "$LINENO"; then :
16794 case "$LIBEXT" in
16795 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16796 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'` ;;
16797 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16798 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16799 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16800 fi ;;
16801 esac
16802 else
16803 ac_cv_lib_soname_MoltenVK=
16805 rm -f core conftest.err conftest.$ac_objext \
16806 conftest$ac_exeext conftest.$ac_ext
16807 LIBS=$ac_check_soname_save_LIBS
16809 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16811 $as_echo "not found" >&6; }
16813 else
16814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16815 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16817 cat >>confdefs.h <<_ACEOF
16818 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16819 _ACEOF
16825 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16826 case "x$with_vulkan" in
16827 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16828 xno) ;;
16829 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16830 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16831 esac
16835 if test "x$with_vkd3d" != "xno"
16836 then
16837 if ${VKD3D_CFLAGS:+false} :; then :
16838 if ${PKG_CONFIG+:} false; then :
16839 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16843 if ${VKD3D_LIBS:+false} :; then :
16844 if ${PKG_CONFIG+:} false; then :
16845 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16850 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16851 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16852 ac_save_CPPFLAGS=$CPPFLAGS
16853 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16855 $as_echo_n "checking for -lvkd3d... " >&6; }
16856 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16857 $as_echo_n "(cached) " >&6
16858 else
16859 ac_check_soname_save_LIBS=$LIBS
16860 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16862 /* end confdefs.h. */
16864 /* Override any GCC internal prototype to avoid an error.
16865 Use char because int might match the return type of a GCC
16866 builtin and then its argument prototype would still apply. */
16867 #ifdef __cplusplus
16868 extern "C"
16869 #endif
16870 char vkd3d_serialize_versioned_root_signature ();
16872 main ()
16874 return vkd3d_serialize_versioned_root_signature ();
16876 return 0;
16878 _ACEOF
16879 if ac_fn_c_try_link "$LINENO"; then :
16880 case "$LIBEXT" in
16881 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16882 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'` ;;
16883 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16884 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16885 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16886 fi ;;
16887 esac
16888 else
16889 ac_cv_lib_soname_vkd3d=
16891 rm -f core conftest.err conftest.$ac_objext \
16892 conftest$ac_exeext conftest.$ac_ext
16893 LIBS=$ac_check_soname_save_LIBS
16895 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16897 $as_echo "not found" >&6; }
16899 else
16900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16901 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16903 cat >>confdefs.h <<_ACEOF
16904 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16905 _ACEOF
16909 CPPFLAGS=$ac_save_CPPFLAGS
16911 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
16912 if ${PKG_CONFIG+:} false; then :
16913 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
16917 if ${VKD3D_SHADER_LIBS:+false} :; then :
16918 if ${PKG_CONFIG+:} false; then :
16919 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
16924 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
16925 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
16926 ac_save_CPPFLAGS=$CPPFLAGS
16927 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
16928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
16929 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
16930 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
16931 $as_echo_n "(cached) " >&6
16932 else
16933 ac_check_soname_save_LIBS=$LIBS
16934 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
16935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16936 /* end confdefs.h. */
16938 /* Override any GCC internal prototype to avoid an error.
16939 Use char because int might match the return type of a GCC
16940 builtin and then its argument prototype would still apply. */
16941 #ifdef __cplusplus
16942 extern "C"
16943 #endif
16944 char vkd3d_shader_compile ();
16946 main ()
16948 return vkd3d_shader_compile ();
16950 return 0;
16952 _ACEOF
16953 if ac_fn_c_try_link "$LINENO"; then :
16954 case "$LIBEXT" in
16955 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16956 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'` ;;
16957 *) 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'`
16958 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16959 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16960 fi ;;
16961 esac
16962 else
16963 ac_cv_lib_soname_vkd3d_shader=
16965 rm -f core conftest.err conftest.$ac_objext \
16966 conftest$ac_exeext conftest.$ac_ext
16967 LIBS=$ac_check_soname_save_LIBS
16969 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16971 $as_echo "not found" >&6; }
16973 else
16974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
16975 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
16977 cat >>confdefs.h <<_ACEOF
16978 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
16979 _ACEOF
16983 CPPFLAGS=$ac_save_CPPFLAGS
16986 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16987 case "x$with_vkd3d" in
16988 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16989 xno) ;;
16990 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16991 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16992 esac
16995 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16998 EXTRACFLAGS=""
17000 if test "x${GCC}" = "xyes"
17001 then
17002 EXTRACFLAGS="-Wall -pipe"
17004 saved_CFLAGS=$CFLAGS
17005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17006 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17007 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
17008 $as_echo_n "(cached) " >&6
17009 else
17010 ac_wine_try_cflags_saved=$CFLAGS
17011 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17013 /* end confdefs.h. */
17014 int main(int argc, char **argv) { return 0; }
17015 _ACEOF
17016 if ac_fn_c_try_link "$LINENO"; then :
17017 ac_cv_cflags__Werror_unknown_warning_option=yes
17018 else
17019 ac_cv_cflags__Werror_unknown_warning_option=no
17021 rm -f core conftest.err conftest.$ac_objext \
17022 conftest$ac_exeext conftest.$ac_ext
17023 CFLAGS=$ac_wine_try_cflags_saved
17025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17026 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17027 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17028 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17031 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17032 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17033 $as_echo_n "(cached) " >&6
17034 else
17035 ac_wine_try_cflags_saved=$CFLAGS
17036 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17038 /* end confdefs.h. */
17039 int main(int argc, char **argv) { return 0; }
17040 _ACEOF
17041 if ac_fn_c_try_link "$LINENO"; then :
17042 ac_cv_cflags__Werror_unused_command_line_argument=yes
17043 else
17044 ac_cv_cflags__Werror_unused_command_line_argument=no
17046 rm -f core conftest.err conftest.$ac_objext \
17047 conftest$ac_exeext conftest.$ac_ext
17048 CFLAGS=$ac_wine_try_cflags_saved
17050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17051 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17052 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17053 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17056 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17057 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
17058 $as_echo_n "(cached) " >&6
17059 else
17060 ac_wine_try_cflags_saved=$CFLAGS
17061 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17063 /* end confdefs.h. */
17064 int main(int argc, char **argv) { return 0; }
17065 _ACEOF
17066 if ac_fn_c_try_link "$LINENO"; then :
17067 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17068 else
17069 ac_cv_cflags__Werror_ignored_optimization_argument=no
17071 rm -f core conftest.err conftest.$ac_objext \
17072 conftest$ac_exeext conftest.$ac_ext
17073 CFLAGS=$ac_wine_try_cflags_saved
17075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17076 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17077 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17078 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17081 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17082 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17083 $as_echo_n "(cached) " >&6
17084 else
17085 ac_wine_try_cflags_saved=$CFLAGS
17086 CFLAGS="$CFLAGS -fcf-protection=none"
17087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17088 /* end confdefs.h. */
17089 int main(int argc, char **argv) { return 0; }
17090 _ACEOF
17091 if ac_fn_c_try_link "$LINENO"; then :
17092 ac_cv_cflags__fcf_protection_none=yes
17093 else
17094 ac_cv_cflags__fcf_protection_none=no
17096 rm -f core conftest.err conftest.$ac_objext \
17097 conftest$ac_exeext conftest.$ac_ext
17098 CFLAGS=$ac_wine_try_cflags_saved
17100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17101 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17102 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17103 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17106 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17107 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17108 $as_echo_n "(cached) " >&6
17109 else
17110 ac_wine_try_cflags_saved=$CFLAGS
17111 CFLAGS="$CFLAGS -fno-stack-protector"
17112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17113 /* end confdefs.h. */
17114 int main(int argc, char **argv) { return 0; }
17115 _ACEOF
17116 if ac_fn_c_try_link "$LINENO"; then :
17117 ac_cv_cflags__fno_stack_protector=yes
17118 else
17119 ac_cv_cflags__fno_stack_protector=no
17121 rm -f core conftest.err conftest.$ac_objext \
17122 conftest$ac_exeext conftest.$ac_ext
17123 CFLAGS=$ac_wine_try_cflags_saved
17125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17126 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17127 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17128 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17131 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17132 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17133 $as_echo_n "(cached) " >&6
17134 else
17135 ac_wine_try_cflags_saved=$CFLAGS
17136 CFLAGS="$CFLAGS -fno-strict-aliasing"
17137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17138 /* end confdefs.h. */
17139 int main(int argc, char **argv) { return 0; }
17140 _ACEOF
17141 if ac_fn_c_try_link "$LINENO"; then :
17142 ac_cv_cflags__fno_strict_aliasing=yes
17143 else
17144 ac_cv_cflags__fno_strict_aliasing=no
17146 rm -f core conftest.err conftest.$ac_objext \
17147 conftest$ac_exeext conftest.$ac_ext
17148 CFLAGS=$ac_wine_try_cflags_saved
17150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17151 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17152 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17153 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17156 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17157 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17158 $as_echo_n "(cached) " >&6
17159 else
17160 ac_wine_try_cflags_saved=$CFLAGS
17161 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17163 /* end confdefs.h. */
17164 int main(int argc, char **argv) { return 0; }
17165 _ACEOF
17166 if ac_fn_c_try_link "$LINENO"; then :
17167 ac_cv_cflags__Wdeclaration_after_statement=yes
17168 else
17169 ac_cv_cflags__Wdeclaration_after_statement=no
17171 rm -f core conftest.err conftest.$ac_objext \
17172 conftest$ac_exeext conftest.$ac_ext
17173 CFLAGS=$ac_wine_try_cflags_saved
17175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17176 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17177 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17178 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17181 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17182 if ${ac_cv_cflags__Wempty_body+:} false; then :
17183 $as_echo_n "(cached) " >&6
17184 else
17185 ac_wine_try_cflags_saved=$CFLAGS
17186 CFLAGS="$CFLAGS -Wempty-body"
17187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17188 /* end confdefs.h. */
17189 int main(int argc, char **argv) { return 0; }
17190 _ACEOF
17191 if ac_fn_c_try_link "$LINENO"; then :
17192 ac_cv_cflags__Wempty_body=yes
17193 else
17194 ac_cv_cflags__Wempty_body=no
17196 rm -f core conftest.err conftest.$ac_objext \
17197 conftest$ac_exeext conftest.$ac_ext
17198 CFLAGS=$ac_wine_try_cflags_saved
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17201 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17202 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17203 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17206 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17207 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17208 $as_echo_n "(cached) " >&6
17209 else
17210 ac_wine_try_cflags_saved=$CFLAGS
17211 CFLAGS="$CFLAGS -Wignored-qualifiers"
17212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17213 /* end confdefs.h. */
17214 int main(int argc, char **argv) { return 0; }
17215 _ACEOF
17216 if ac_fn_c_try_link "$LINENO"; then :
17217 ac_cv_cflags__Wignored_qualifiers=yes
17218 else
17219 ac_cv_cflags__Wignored_qualifiers=no
17221 rm -f core conftest.err conftest.$ac_objext \
17222 conftest$ac_exeext conftest.$ac_ext
17223 CFLAGS=$ac_wine_try_cflags_saved
17225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17226 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17227 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17228 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
17231 $as_echo_n "checking whether the compiler supports -Winit-self... " >&6; }
17232 if ${ac_cv_cflags__Winit_self+:} false; then :
17233 $as_echo_n "(cached) " >&6
17234 else
17235 ac_wine_try_cflags_saved=$CFLAGS
17236 CFLAGS="$CFLAGS -Winit-self"
17237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17238 /* end confdefs.h. */
17239 int main(int argc, char **argv) { return 0; }
17240 _ACEOF
17241 if ac_fn_c_try_link "$LINENO"; then :
17242 ac_cv_cflags__Winit_self=yes
17243 else
17244 ac_cv_cflags__Winit_self=no
17246 rm -f core conftest.err conftest.$ac_objext \
17247 conftest$ac_exeext conftest.$ac_ext
17248 CFLAGS=$ac_wine_try_cflags_saved
17250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
17251 $as_echo "$ac_cv_cflags__Winit_self" >&6; }
17252 if test "x$ac_cv_cflags__Winit_self" = xyes; then :
17253 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
17255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17256 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17257 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17258 $as_echo_n "(cached) " >&6
17259 else
17260 ac_wine_try_cflags_saved=$CFLAGS
17261 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17263 /* end confdefs.h. */
17264 int main(int argc, char **argv) { return 0; }
17265 _ACEOF
17266 if ac_fn_c_try_link "$LINENO"; then :
17267 ac_cv_cflags__Wpacked_not_aligned=yes
17268 else
17269 ac_cv_cflags__Wpacked_not_aligned=no
17271 rm -f core conftest.err conftest.$ac_objext \
17272 conftest$ac_exeext conftest.$ac_ext
17273 CFLAGS=$ac_wine_try_cflags_saved
17275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17276 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17277 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17278 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17281 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17282 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17283 $as_echo_n "(cached) " >&6
17284 else
17285 ac_wine_try_cflags_saved=$CFLAGS
17286 CFLAGS="$CFLAGS -Wpragma-pack"
17287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17288 /* end confdefs.h. */
17289 int main(int argc, char **argv) { return 0; }
17290 _ACEOF
17291 if ac_fn_c_try_link "$LINENO"; then :
17292 ac_cv_cflags__Wpragma_pack=yes
17293 else
17294 ac_cv_cflags__Wpragma_pack=no
17296 rm -f core conftest.err conftest.$ac_objext \
17297 conftest$ac_exeext conftest.$ac_ext
17298 CFLAGS=$ac_wine_try_cflags_saved
17300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17301 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17302 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17303 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17306 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17307 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17308 $as_echo_n "(cached) " >&6
17309 else
17310 ac_wine_try_cflags_saved=$CFLAGS
17311 CFLAGS="$CFLAGS -Wshift-overflow=2"
17312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17313 /* end confdefs.h. */
17314 int main(int argc, char **argv) { return 0; }
17315 _ACEOF
17316 if ac_fn_c_try_link "$LINENO"; then :
17317 ac_cv_cflags__Wshift_overflow_2=yes
17318 else
17319 ac_cv_cflags__Wshift_overflow_2=no
17321 rm -f core conftest.err conftest.$ac_objext \
17322 conftest$ac_exeext conftest.$ac_ext
17323 CFLAGS=$ac_wine_try_cflags_saved
17325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17326 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17327 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17328 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17331 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17332 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17333 $as_echo_n "(cached) " >&6
17334 else
17335 ac_wine_try_cflags_saved=$CFLAGS
17336 CFLAGS="$CFLAGS -Wstrict-prototypes"
17337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17338 /* end confdefs.h. */
17339 int main(int argc, char **argv) { return 0; }
17340 _ACEOF
17341 if ac_fn_c_try_link "$LINENO"; then :
17342 ac_cv_cflags__Wstrict_prototypes=yes
17343 else
17344 ac_cv_cflags__Wstrict_prototypes=no
17346 rm -f core conftest.err conftest.$ac_objext \
17347 conftest$ac_exeext conftest.$ac_ext
17348 CFLAGS=$ac_wine_try_cflags_saved
17350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17351 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17352 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17353 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17356 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17357 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17358 $as_echo_n "(cached) " >&6
17359 else
17360 ac_wine_try_cflags_saved=$CFLAGS
17361 CFLAGS="$CFLAGS -Wtype-limits"
17362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17363 /* end confdefs.h. */
17364 int main(int argc, char **argv) { return 0; }
17365 _ACEOF
17366 if ac_fn_c_try_link "$LINENO"; then :
17367 ac_cv_cflags__Wtype_limits=yes
17368 else
17369 ac_cv_cflags__Wtype_limits=no
17371 rm -f core conftest.err conftest.$ac_objext \
17372 conftest$ac_exeext conftest.$ac_ext
17373 CFLAGS=$ac_wine_try_cflags_saved
17375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17376 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17377 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17378 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17381 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17382 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17383 $as_echo_n "(cached) " >&6
17384 else
17385 ac_wine_try_cflags_saved=$CFLAGS
17386 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17388 /* end confdefs.h. */
17389 int main(int argc, char **argv) { return 0; }
17390 _ACEOF
17391 if ac_fn_c_try_link "$LINENO"; then :
17392 ac_cv_cflags__Wunused_but_set_parameter=yes
17393 else
17394 ac_cv_cflags__Wunused_but_set_parameter=no
17396 rm -f core conftest.err conftest.$ac_objext \
17397 conftest$ac_exeext conftest.$ac_ext
17398 CFLAGS=$ac_wine_try_cflags_saved
17400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17401 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17402 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17403 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17406 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17407 if ${ac_cv_cflags__Wvla+:} false; then :
17408 $as_echo_n "(cached) " >&6
17409 else
17410 ac_wine_try_cflags_saved=$CFLAGS
17411 CFLAGS="$CFLAGS -Wvla"
17412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17413 /* end confdefs.h. */
17414 int main(int argc, char **argv) { return 0; }
17415 _ACEOF
17416 if ac_fn_c_try_link "$LINENO"; then :
17417 ac_cv_cflags__Wvla=yes
17418 else
17419 ac_cv_cflags__Wvla=no
17421 rm -f core conftest.err conftest.$ac_objext \
17422 conftest$ac_exeext conftest.$ac_ext
17423 CFLAGS=$ac_wine_try_cflags_saved
17425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17426 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17427 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17428 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17431 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17432 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17433 $as_echo_n "(cached) " >&6
17434 else
17435 ac_wine_try_cflags_saved=$CFLAGS
17436 CFLAGS="$CFLAGS -Wwrite-strings"
17437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17438 /* end confdefs.h. */
17439 int main(int argc, char **argv) { return 0; }
17440 _ACEOF
17441 if ac_fn_c_try_link "$LINENO"; then :
17442 ac_cv_cflags__Wwrite_strings=yes
17443 else
17444 ac_cv_cflags__Wwrite_strings=no
17446 rm -f core conftest.err conftest.$ac_objext \
17447 conftest$ac_exeext conftest.$ac_ext
17448 CFLAGS=$ac_wine_try_cflags_saved
17450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17451 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17452 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17453 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17456 if test -z "$CROSSTARGET"
17457 then
17458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17459 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17460 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17461 $as_echo_n "(cached) " >&6
17462 else
17463 ac_wine_try_cflags_saved=$CFLAGS
17464 CFLAGS="$CFLAGS -fexcess-precision=standard"
17465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17466 /* end confdefs.h. */
17467 int main(int argc, char **argv) { return 0; }
17468 _ACEOF
17469 if ac_fn_c_try_link "$LINENO"; then :
17470 ac_cv_cflags__fexcess_precision_standard=yes
17471 else
17472 ac_cv_cflags__fexcess_precision_standard=no
17474 rm -f core conftest.err conftest.$ac_objext \
17475 conftest$ac_exeext conftest.$ac_ext
17476 CFLAGS=$ac_wine_try_cflags_saved
17478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17479 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17480 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17481 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17487 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17488 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17489 $as_echo_n "(cached) " >&6
17490 else
17491 ac_wine_try_cflags_saved=$CFLAGS
17492 CFLAGS="$CFLAGS -Wpointer-arith"
17493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17494 /* end confdefs.h. */
17495 int main(int argc, char **argv) { return 0; }
17496 _ACEOF
17497 if ac_fn_c_try_link "$LINENO"; then :
17498 ac_cv_cflags__Wpointer_arith=yes
17499 else
17500 ac_cv_cflags__Wpointer_arith=no
17502 rm -f core conftest.err conftest.$ac_objext \
17503 conftest$ac_exeext conftest.$ac_ext
17504 CFLAGS=$ac_wine_try_cflags_saved
17506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17507 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17508 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17509 saved_string_h_CFLAGS=$CFLAGS
17510 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17512 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17513 if ${ac_cv_c_string_h_warnings+:} false; then :
17514 $as_echo_n "(cached) " >&6
17515 else
17516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17517 /* end confdefs.h. */
17518 #include <string.h>
17520 main ()
17524 return 0;
17526 _ACEOF
17527 if ac_fn_c_try_compile "$LINENO"; then :
17528 ac_cv_c_string_h_warnings=no
17529 else
17530 ac_cv_c_string_h_warnings=yes
17532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17535 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17536 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17537 CFLAGS=$saved_string_h_CFLAGS
17540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17541 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17542 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17543 $as_echo_n "(cached) " >&6
17544 else
17545 ac_wine_try_cflags_saved=$CFLAGS
17546 CFLAGS="$CFLAGS -Wlogical-op"
17547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17548 /* end confdefs.h. */
17549 int main(int argc, char **argv) { return 0; }
17550 _ACEOF
17551 if ac_fn_c_try_link "$LINENO"; then :
17552 ac_cv_cflags__Wlogical_op=yes
17553 else
17554 ac_cv_cflags__Wlogical_op=no
17556 rm -f core conftest.err conftest.$ac_objext \
17557 conftest$ac_exeext conftest.$ac_ext
17558 CFLAGS=$ac_wine_try_cflags_saved
17560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17561 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17562 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17563 saved_string_h_CFLAGS=$CFLAGS
17564 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17566 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17567 if ${ac_cv_c_logicalop_noisy+:} false; then :
17568 $as_echo_n "(cached) " >&6
17569 else
17570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17571 /* end confdefs.h. */
17572 #include <string.h>
17573 char*f(const char *h,char n) {return strchr(h,n);}
17575 main ()
17579 return 0;
17581 _ACEOF
17582 if ac_fn_c_try_compile "$LINENO"; then :
17583 ac_cv_c_logicalop_noisy=no
17584 else
17585 ac_cv_c_logicalop_noisy=yes
17587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17590 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17591 CFLAGS=$saved_string_h_CFLAGS
17592 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
17596 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
17597 if ${wine_cv_64bit_compare_swap+:} false; then :
17598 $as_echo_n "(cached) " >&6
17599 else
17600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17601 /* end confdefs.h. */
17602 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17603 #error no
17604 #endif
17606 main ()
17610 return 0;
17612 _ACEOF
17613 if ac_fn_c_try_compile "$LINENO"; then :
17614 wine_cv_64bit_compare_swap="none needed"
17615 else
17616 case $host_cpu in
17617 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
17618 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
17619 *) wine_cv_64bit_compare_swap="unknown" ;;
17620 esac
17621 if test "x$wine_cv_64bit_compare_swap" != xunknown
17622 then
17623 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
17624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17625 /* end confdefs.h. */
17626 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17627 #error no
17628 #endif
17630 main ()
17634 return 0;
17636 _ACEOF
17637 if ac_fn_c_try_compile "$LINENO"; then :
17639 else
17640 wine_cv_64bit_compare_swap="unknown"
17642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17643 CFLAGS=$saved_CFLAGS
17646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
17649 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
17650 case "$wine_cv_64bit_compare_swap" in
17651 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
17652 "none needed") ;;
17653 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
17654 esac
17656 for ac_flag in $CFLAGS; do
17657 case $ac_flag in
17658 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17659 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17660 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17661 $as_echo_n "(cached) " >&6
17662 else
17663 ac_wine_try_cflags_saved=$CFLAGS
17664 CFLAGS="$CFLAGS -gdwarf-2"
17665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17666 /* end confdefs.h. */
17667 int main(int argc, char **argv) { return 0; }
17668 _ACEOF
17669 if ac_fn_c_try_link "$LINENO"; then :
17670 ac_cv_cflags__gdwarf_2=yes
17671 else
17672 ac_cv_cflags__gdwarf_2=no
17674 rm -f core conftest.err conftest.$ac_objext \
17675 conftest$ac_exeext conftest.$ac_ext
17676 CFLAGS=$ac_wine_try_cflags_saved
17678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17679 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17680 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17681 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17684 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17685 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17686 $as_echo_n "(cached) " >&6
17687 else
17688 ac_wine_try_cflags_saved=$CFLAGS
17689 CFLAGS="$CFLAGS -gstrict-dwarf"
17690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17691 /* end confdefs.h. */
17692 int main(int argc, char **argv) { return 0; }
17693 _ACEOF
17694 if ac_fn_c_try_link "$LINENO"; then :
17695 ac_cv_cflags__gstrict_dwarf=yes
17696 else
17697 ac_cv_cflags__gstrict_dwarf=no
17699 rm -f core conftest.err conftest.$ac_objext \
17700 conftest$ac_exeext conftest.$ac_ext
17701 CFLAGS=$ac_wine_try_cflags_saved
17703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17704 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17705 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17706 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17707 fi ;;
17708 esac
17709 done
17711 MSVCRTFLAGS=""
17713 case $host_os in
17714 mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
17715 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
17716 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
17717 $as_echo_n "(cached) " >&6
17718 else
17719 ac_wine_try_cflags_saved=$CFLAGS
17720 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
17721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17722 /* end confdefs.h. */
17723 int main(int argc, char **argv) { return 0; }
17724 _ACEOF
17725 if ac_fn_c_try_link "$LINENO"; then :
17726 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
17727 else
17728 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
17730 rm -f core conftest.err conftest.$ac_objext \
17731 conftest$ac_exeext conftest.$ac_ext
17732 CFLAGS=$ac_wine_try_cflags_saved
17734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
17735 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
17736 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
17737 DELAYLOADFLAG="-Wl,-delayload,"
17739 fi ;;
17740 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17741 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17742 if ${ac_cv_cflags__fno_builtin+:} false; then :
17743 $as_echo_n "(cached) " >&6
17744 else
17745 ac_wine_try_cflags_saved=$CFLAGS
17746 CFLAGS="$CFLAGS -fno-builtin"
17747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17748 /* end confdefs.h. */
17749 int main(int argc, char **argv) { return 0; }
17750 _ACEOF
17751 if ac_fn_c_try_link "$LINENO"; then :
17752 ac_cv_cflags__fno_builtin=yes
17753 else
17754 ac_cv_cflags__fno_builtin=no
17756 rm -f core conftest.err conftest.$ac_objext \
17757 conftest$ac_exeext conftest.$ac_ext
17758 CFLAGS=$ac_wine_try_cflags_saved
17760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17761 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17762 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17763 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17766 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17767 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17768 $as_echo_n "(cached) " >&6
17769 else
17770 ac_wine_try_cflags_saved=$CFLAGS
17771 CFLAGS="$CFLAGS -fshort-wchar"
17772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17773 /* end confdefs.h. */
17774 int main(int argc, char **argv) { return 0; }
17775 _ACEOF
17776 if ac_fn_c_try_link "$LINENO"; then :
17777 ac_cv_cflags__fshort_wchar=yes
17778 else
17779 ac_cv_cflags__fshort_wchar=no
17781 rm -f core conftest.err conftest.$ac_objext \
17782 conftest$ac_exeext conftest.$ac_ext
17783 CFLAGS=$ac_wine_try_cflags_saved
17785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17786 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17787 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17788 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17789 fi ;;
17790 esac
17792 case $host_cpu in
17793 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17794 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17795 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17796 $as_echo_n "(cached) " >&6
17797 else
17798 ac_wine_try_cflags_saved=$CFLAGS
17799 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17801 /* end confdefs.h. */
17802 int main(int argc, char **argv) { return 0; }
17803 _ACEOF
17804 if ac_fn_c_try_link "$LINENO"; then :
17805 ac_cv_cflags__fno_omit_frame_pointer=yes
17806 else
17807 ac_cv_cflags__fno_omit_frame_pointer=no
17809 rm -f core conftest.err conftest.$ac_objext \
17810 conftest$ac_exeext conftest.$ac_ext
17811 CFLAGS=$ac_wine_try_cflags_saved
17813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17814 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17815 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17816 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17817 fi ;;
17818 *x86_64*)
17819 case $host_os in
17820 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17821 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17822 if ${ac_cv_cflags__Wno_format+:} false; then :
17823 $as_echo_n "(cached) " >&6
17824 else
17825 ac_wine_try_cflags_saved=$CFLAGS
17826 CFLAGS="$CFLAGS -Wno-format"
17827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17828 /* end confdefs.h. */
17829 int main(int argc, char **argv) { return 0; }
17830 _ACEOF
17831 if ac_fn_c_try_link "$LINENO"; then :
17832 ac_cv_cflags__Wno_format=yes
17833 else
17834 ac_cv_cflags__Wno_format=no
17836 rm -f core conftest.err conftest.$ac_objext \
17837 conftest$ac_exeext conftest.$ac_ext
17838 CFLAGS=$ac_wine_try_cflags_saved
17840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17841 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17842 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17843 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17844 fi ;;
17845 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17846 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17847 if ${ac_cv_cflags__mabi_ms+:} false; then :
17848 $as_echo_n "(cached) " >&6
17849 else
17850 ac_wine_try_cflags_saved=$CFLAGS
17851 CFLAGS="$CFLAGS -mabi=ms"
17852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17853 /* end confdefs.h. */
17854 int main(int argc, char **argv) { return 0; }
17855 _ACEOF
17856 if ac_fn_c_try_link "$LINENO"; then :
17857 ac_cv_cflags__mabi_ms=yes
17858 else
17859 ac_cv_cflags__mabi_ms=no
17861 rm -f core conftest.err conftest.$ac_objext \
17862 conftest$ac_exeext conftest.$ac_ext
17863 CFLAGS=$ac_wine_try_cflags_saved
17865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17866 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17867 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17868 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17869 fi ;;
17870 esac ;;
17871 esac
17873 CFLAGS=$saved_CFLAGS
17875 if test "x$enable_werror" = "xyes"
17876 then
17877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17878 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17879 if ${ac_cv_cflags__Werror+:} false; then :
17880 $as_echo_n "(cached) " >&6
17881 else
17882 ac_wine_try_cflags_saved=$CFLAGS
17883 CFLAGS="$CFLAGS -Werror"
17884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17885 /* end confdefs.h. */
17886 int main(int argc, char **argv) { return 0; }
17887 _ACEOF
17888 if ac_fn_c_try_link "$LINENO"; then :
17889 ac_cv_cflags__Werror=yes
17890 else
17891 ac_cv_cflags__Werror=no
17893 rm -f core conftest.err conftest.$ac_objext \
17894 conftest$ac_exeext conftest.$ac_ext
17895 CFLAGS=$ac_wine_try_cflags_saved
17897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17898 $as_echo "$ac_cv_cflags__Werror" >&6; }
17899 if test "x$ac_cv_cflags__Werror" = xyes; then :
17900 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17903 if test "x$enable_build_id" = "xyes"
17904 then
17905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
17906 $as_echo_n "checking whether the compiler supports -Wl,--build-id... " >&6; }
17907 if ${ac_cv_cflags__Wl___build_id+:} false; then :
17908 $as_echo_n "(cached) " >&6
17909 else
17910 ac_wine_try_cflags_saved=$CFLAGS
17911 CFLAGS="$CFLAGS -Wl,--build-id"
17912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17913 /* end confdefs.h. */
17914 int main(int argc, char **argv) { return 0; }
17915 _ACEOF
17916 if ac_fn_c_try_link "$LINENO"; then :
17917 ac_cv_cflags__Wl___build_id=yes
17918 else
17919 ac_cv_cflags__Wl___build_id=no
17921 rm -f core conftest.err conftest.$ac_objext \
17922 conftest$ac_exeext conftest.$ac_ext
17923 CFLAGS=$ac_wine_try_cflags_saved
17925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
17926 $as_echo "$ac_cv_cflags__Wl___build_id" >&6; }
17927 if test "x$ac_cv_cflags__Wl___build_id" = xyes; then :
17928 CFLAGS="$CFLAGS -Wl,--build-id"
17929 LDFLAGS="$LDFLAGS -Wl,--build-id"
17935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17936 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17937 if ${ac_cv_c_fortify_enabled+:} false; then :
17938 $as_echo_n "(cached) " >&6
17939 else
17940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17941 /* end confdefs.h. */
17942 #include <string.h>
17944 main ()
17946 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17947 #error Fortify enabled
17948 #endif
17950 return 0;
17952 _ACEOF
17953 if ac_fn_c_try_compile "$LINENO"; then :
17954 ac_cv_c_fortify_enabled=no
17955 else
17956 ac_cv_c_fortify_enabled=yes
17958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17961 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17962 if test "$ac_cv_c_fortify_enabled" = yes
17963 then
17964 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17969 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17970 if ${ac_cv_c_cfi_support+:} false; then :
17971 $as_echo_n "(cached) " >&6
17972 else
17973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17974 /* end confdefs.h. */
17975 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17977 main ()
17981 return 0;
17983 _ACEOF
17984 if ac_fn_c_try_compile "$LINENO"; then :
17985 ac_cv_c_cfi_support="yes"
17986 else
17987 ac_cv_c_cfi_support="no"
17989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17992 $as_echo "$ac_cv_c_cfi_support" >&6; }
17993 if test "$ac_cv_c_cfi_support" = "yes"
17994 then
17995 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
17996 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17997 else
17998 if test "x$enable_win64" = "xyes"
17999 then
18000 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
18005 case $build_os in
18006 cygwin*|mingw32*) TOOLSEXT=".exe"
18008 esac
18010 case $host_os in
18011 linux*)
18012 case $host_cpu in
18013 *i[3456789]86*|x86_64*|*aarch64*)
18014 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
18015 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
18017 esac
18019 esac
18022 ac_save_CFLAGS="$CFLAGS"
18023 CFLAGS="$CFLAGS $BUILTINFLAG"
18024 for ac_func in \
18025 __res_get_state \
18026 __res_getservers \
18027 _spawnvp \
18028 epoll_create \
18029 fnmatch \
18030 fork \
18031 fstatfs \
18032 futimens \
18033 futimes \
18034 futimesat \
18035 getattrlist \
18036 getauxval \
18037 getifaddrs \
18038 getopt_long_only \
18039 getrandom \
18040 kqueue \
18041 lstat \
18042 mach_continuous_time \
18043 pipe2 \
18044 poll \
18045 port_create \
18046 prctl \
18047 pread \
18048 proc_pidinfo \
18049 pwrite \
18050 readlink \
18051 sched_yield \
18052 setproctitle \
18053 setprogname \
18054 sigprocmask \
18055 symlink \
18056 tcdrain \
18057 thr_kill2
18059 do :
18060 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18061 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18062 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18063 cat >>confdefs.h <<_ACEOF
18064 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18065 _ACEOF
18068 done
18070 CFLAGS="$ac_save_CFLAGS"
18072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18073 $as_echo_n "checking for library containing dlopen... " >&6; }
18074 if ${ac_cv_search_dlopen+:} false; then :
18075 $as_echo_n "(cached) " >&6
18076 else
18077 ac_func_search_save_LIBS=$LIBS
18078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18079 /* end confdefs.h. */
18081 /* Override any GCC internal prototype to avoid an error.
18082 Use char because int might match the return type of a GCC
18083 builtin and then its argument prototype would still apply. */
18084 #ifdef __cplusplus
18085 extern "C"
18086 #endif
18087 char dlopen ();
18089 main ()
18091 return dlopen ();
18093 return 0;
18095 _ACEOF
18096 for ac_lib in '' dl; do
18097 if test -z "$ac_lib"; then
18098 ac_res="none required"
18099 else
18100 ac_res=-l$ac_lib
18101 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18103 if ac_fn_c_try_link "$LINENO"; then :
18104 ac_cv_search_dlopen=$ac_res
18106 rm -f core conftest.err conftest.$ac_objext \
18107 conftest$ac_exeext
18108 if ${ac_cv_search_dlopen+:} false; then :
18109 break
18111 done
18112 if ${ac_cv_search_dlopen+:} false; then :
18114 else
18115 ac_cv_search_dlopen=no
18117 rm conftest.$ac_ext
18118 LIBS=$ac_func_search_save_LIBS
18120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18121 $as_echo "$ac_cv_search_dlopen" >&6; }
18122 ac_res=$ac_cv_search_dlopen
18123 if test "$ac_res" != no; then :
18124 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18128 ac_wine_check_funcs_save_LIBS="$LIBS"
18129 LIBS="$LIBS $DL_LIBS"
18130 for ac_func in dladdr dlinfo
18131 do :
18132 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18133 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18134 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18135 cat >>confdefs.h <<_ACEOF
18136 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18137 _ACEOF
18140 done
18142 LIBS="$ac_wine_check_funcs_save_LIBS"
18144 if test "$ac_cv_func_poll" = no
18145 then
18146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18147 $as_echo_n "checking for poll in -lpoll... " >&6; }
18148 if ${ac_cv_lib_poll_poll+:} false; then :
18149 $as_echo_n "(cached) " >&6
18150 else
18151 ac_check_lib_save_LIBS=$LIBS
18152 LIBS="-lpoll $LIBS"
18153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18154 /* end confdefs.h. */
18156 /* Override any GCC internal prototype to avoid an error.
18157 Use char because int might match the return type of a GCC
18158 builtin and then its argument prototype would still apply. */
18159 #ifdef __cplusplus
18160 extern "C"
18161 #endif
18162 char poll ();
18164 main ()
18166 return poll ();
18168 return 0;
18170 _ACEOF
18171 if ac_fn_c_try_link "$LINENO"; then :
18172 ac_cv_lib_poll_poll=yes
18173 else
18174 ac_cv_lib_poll_poll=no
18176 rm -f core conftest.err conftest.$ac_objext \
18177 conftest$ac_exeext conftest.$ac_ext
18178 LIBS=$ac_check_lib_save_LIBS
18180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18181 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18182 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18183 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18184 POLL_LIBS="-lpoll"
18190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18191 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18192 if ${ac_cv_search_gethostbyname+:} false; then :
18193 $as_echo_n "(cached) " >&6
18194 else
18195 ac_func_search_save_LIBS=$LIBS
18196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18197 /* end confdefs.h. */
18199 /* Override any GCC internal prototype to avoid an error.
18200 Use char because int might match the return type of a GCC
18201 builtin and then its argument prototype would still apply. */
18202 #ifdef __cplusplus
18203 extern "C"
18204 #endif
18205 char gethostbyname ();
18207 main ()
18209 return gethostbyname ();
18211 return 0;
18213 _ACEOF
18214 for ac_lib in '' nsl; do
18215 if test -z "$ac_lib"; then
18216 ac_res="none required"
18217 else
18218 ac_res=-l$ac_lib
18219 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18221 if ac_fn_c_try_link "$LINENO"; then :
18222 ac_cv_search_gethostbyname=$ac_res
18224 rm -f core conftest.err conftest.$ac_objext \
18225 conftest$ac_exeext
18226 if ${ac_cv_search_gethostbyname+:} false; then :
18227 break
18229 done
18230 if ${ac_cv_search_gethostbyname+:} false; then :
18232 else
18233 ac_cv_search_gethostbyname=no
18235 rm conftest.$ac_ext
18236 LIBS=$ac_func_search_save_LIBS
18238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18239 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18240 ac_res=$ac_cv_search_gethostbyname
18241 if test "$ac_res" != no; then :
18242 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18248 $as_echo_n "checking for library containing connect... " >&6; }
18249 if ${ac_cv_search_connect+:} false; then :
18250 $as_echo_n "(cached) " >&6
18251 else
18252 ac_func_search_save_LIBS=$LIBS
18253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18254 /* end confdefs.h. */
18256 /* Override any GCC internal prototype to avoid an error.
18257 Use char because int might match the return type of a GCC
18258 builtin and then its argument prototype would still apply. */
18259 #ifdef __cplusplus
18260 extern "C"
18261 #endif
18262 char connect ();
18264 main ()
18266 return connect ();
18268 return 0;
18270 _ACEOF
18271 for ac_lib in '' socket; do
18272 if test -z "$ac_lib"; then
18273 ac_res="none required"
18274 else
18275 ac_res=-l$ac_lib
18276 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18278 if ac_fn_c_try_link "$LINENO"; then :
18279 ac_cv_search_connect=$ac_res
18281 rm -f core conftest.err conftest.$ac_objext \
18282 conftest$ac_exeext
18283 if ${ac_cv_search_connect+:} false; then :
18284 break
18286 done
18287 if ${ac_cv_search_connect+:} false; then :
18289 else
18290 ac_cv_search_connect=no
18292 rm conftest.$ac_ext
18293 LIBS=$ac_func_search_save_LIBS
18295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18296 $as_echo "$ac_cv_search_connect" >&6; }
18297 ac_res=$ac_cv_search_connect
18298 if test "$ac_res" != no; then :
18299 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18305 $as_echo_n "checking for library containing inet_aton... " >&6; }
18306 if ${ac_cv_search_inet_aton+:} false; then :
18307 $as_echo_n "(cached) " >&6
18308 else
18309 ac_func_search_save_LIBS=$LIBS
18310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18311 /* end confdefs.h. */
18313 /* Override any GCC internal prototype to avoid an error.
18314 Use char because int might match the return type of a GCC
18315 builtin and then its argument prototype would still apply. */
18316 #ifdef __cplusplus
18317 extern "C"
18318 #endif
18319 char inet_aton ();
18321 main ()
18323 return inet_aton ();
18325 return 0;
18327 _ACEOF
18328 for ac_lib in '' resolv; do
18329 if test -z "$ac_lib"; then
18330 ac_res="none required"
18331 else
18332 ac_res=-l$ac_lib
18333 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18335 if ac_fn_c_try_link "$LINENO"; then :
18336 ac_cv_search_inet_aton=$ac_res
18338 rm -f core conftest.err conftest.$ac_objext \
18339 conftest$ac_exeext
18340 if ${ac_cv_search_inet_aton+:} false; then :
18341 break
18343 done
18344 if ${ac_cv_search_inet_aton+:} false; then :
18346 else
18347 ac_cv_search_inet_aton=no
18349 rm conftest.$ac_ext
18350 LIBS=$ac_func_search_save_LIBS
18352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18353 $as_echo "$ac_cv_search_inet_aton" >&6; }
18354 ac_res=$ac_cv_search_inet_aton
18355 if test "$ac_res" != no; then :
18356 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18361 for ac_func in \
18362 getaddrinfo \
18363 getnameinfo \
18364 getservbyport \
18366 do :
18367 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18368 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18369 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18370 cat >>confdefs.h <<_ACEOF
18371 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18372 _ACEOF
18375 done
18378 case $host_os in
18379 darwin*|macosx*) ;;
18380 *) ac_save_LIBS=$LIBS
18381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18382 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18383 if ${ac_cv_search_clock_gettime+:} false; then :
18384 $as_echo_n "(cached) " >&6
18385 else
18386 ac_func_search_save_LIBS=$LIBS
18387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18388 /* end confdefs.h. */
18390 /* Override any GCC internal prototype to avoid an error.
18391 Use char because int might match the return type of a GCC
18392 builtin and then its argument prototype would still apply. */
18393 #ifdef __cplusplus
18394 extern "C"
18395 #endif
18396 char clock_gettime ();
18398 main ()
18400 return clock_gettime ();
18402 return 0;
18404 _ACEOF
18405 for ac_lib in '' rt; do
18406 if test -z "$ac_lib"; then
18407 ac_res="none required"
18408 else
18409 ac_res=-l$ac_lib
18410 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18412 if ac_fn_c_try_link "$LINENO"; then :
18413 ac_cv_search_clock_gettime=$ac_res
18415 rm -f core conftest.err conftest.$ac_objext \
18416 conftest$ac_exeext
18417 if ${ac_cv_search_clock_gettime+:} false; then :
18418 break
18420 done
18421 if ${ac_cv_search_clock_gettime+:} false; then :
18423 else
18424 ac_cv_search_clock_gettime=no
18426 rm conftest.$ac_ext
18427 LIBS=$ac_func_search_save_LIBS
18429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18430 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18431 ac_res=$ac_cv_search_clock_gettime
18432 if test "$ac_res" != no; then :
18433 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18435 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18437 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18441 LIBS=$ac_save_LIBS
18443 esac
18445 if test "x$with_ldap" != "xno"
18446 then
18447 if ${LDAP_CFLAGS:+false} :; then :
18448 if ${PKG_CONFIG+:} false; then :
18449 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18453 if ${LDAP_LIBS:+false} :; then :
18454 if ${PKG_CONFIG+:} false; then :
18455 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18459 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18460 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18461 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18462 ac_save_CPPFLAGS=$CPPFLAGS
18463 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18464 for ac_header in ldap.h lber.h
18465 do :
18466 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18467 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18468 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18469 cat >>confdefs.h <<_ACEOF
18470 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18471 _ACEOF
18475 done
18477 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18478 then
18479 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18481 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18483 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18484 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18485 $as_echo_n "(cached) " >&6
18486 else
18487 ac_check_lib_save_LIBS=$LIBS
18488 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18490 /* end confdefs.h. */
18492 /* Override any GCC internal prototype to avoid an error.
18493 Use char because int might match the return type of a GCC
18494 builtin and then its argument prototype would still apply. */
18495 #ifdef __cplusplus
18496 extern "C"
18497 #endif
18498 char ldap_initialize ();
18500 main ()
18502 return ldap_initialize ();
18504 return 0;
18506 _ACEOF
18507 if ac_fn_c_try_link "$LINENO"; then :
18508 ac_cv_lib_ldap_r_ldap_initialize=yes
18509 else
18510 ac_cv_lib_ldap_r_ldap_initialize=no
18512 rm -f core conftest.err conftest.$ac_objext \
18513 conftest$ac_exeext conftest.$ac_ext
18514 LIBS=$ac_check_lib_save_LIBS
18516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18517 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18518 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18520 $as_echo_n "checking for ber_init in -llber... " >&6; }
18521 if ${ac_cv_lib_lber_ber_init+:} false; then :
18522 $as_echo_n "(cached) " >&6
18523 else
18524 ac_check_lib_save_LIBS=$LIBS
18525 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18527 /* end confdefs.h. */
18529 /* Override any GCC internal prototype to avoid an error.
18530 Use char because int might match the return type of a GCC
18531 builtin and then its argument prototype would still apply. */
18532 #ifdef __cplusplus
18533 extern "C"
18534 #endif
18535 char ber_init ();
18537 main ()
18539 return ber_init ();
18541 return 0;
18543 _ACEOF
18544 if ac_fn_c_try_link "$LINENO"; then :
18545 ac_cv_lib_lber_ber_init=yes
18546 else
18547 ac_cv_lib_lber_ber_init=no
18549 rm -f core conftest.err conftest.$ac_objext \
18550 conftest$ac_exeext conftest.$ac_ext
18551 LIBS=$ac_check_lib_save_LIBS
18553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18554 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18555 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18557 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18559 else
18560 LDAP_LIBS=""
18563 else
18564 LDAP_LIBS=""
18567 else
18568 LDAP_LIBS=""
18571 ac_wine_check_funcs_save_LIBS="$LIBS"
18572 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18573 for ac_func in \
18574 ldap_count_references \
18575 ldap_first_reference \
18576 ldap_next_reference \
18577 ldap_parse_reference \
18578 ldap_parse_sort_control \
18579 ldap_parse_sortresponse_control \
18580 ldap_parse_vlv_control \
18581 ldap_parse_vlvresponse_control
18582 do :
18583 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18584 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18585 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18586 cat >>confdefs.h <<_ACEOF
18587 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18588 _ACEOF
18591 done
18593 LIBS="$ac_wine_check_funcs_save_LIBS"
18594 else
18595 LDAP_LIBS=""
18597 CPPFLAGS=$ac_save_CPPFLAGS
18600 if test "x$LDAP_LIBS" = "x"; then :
18601 case "x$with_ldap" in
18602 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18603 xno) ;;
18604 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18605 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18606 esac
18610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18611 $as_echo_n "checking for sched_setaffinity... " >&6; }
18612 if ${wine_cv_have_sched_setaffinity+:} false; then :
18613 $as_echo_n "(cached) " >&6
18614 else
18615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18616 /* end confdefs.h. */
18617 #define _GNU_SOURCE
18618 #include <sched.h>
18620 main ()
18622 sched_setaffinity(0, 0, 0);
18624 return 0;
18626 _ACEOF
18627 if ac_fn_c_try_link "$LINENO"; then :
18628 wine_cv_have_sched_setaffinity=yes
18629 else
18630 wine_cv_have_sched_setaffinity=no
18632 rm -f core conftest.err conftest.$ac_objext \
18633 conftest$ac_exeext conftest.$ac_ext
18635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18636 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18637 if test "$wine_cv_have_sched_setaffinity" = "yes"
18638 then
18640 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18645 $as_echo_n "checking for fallocate... " >&6; }
18646 if ${wine_cv_have_fallocate+:} false; then :
18647 $as_echo_n "(cached) " >&6
18648 else
18649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18650 /* end confdefs.h. */
18651 #define _GNU_SOURCE
18652 #include <fcntl.h>
18654 main ()
18656 fallocate(-1, 0, 0, 0);
18658 return 0;
18660 _ACEOF
18661 if ac_fn_c_try_link "$LINENO"; then :
18662 wine_cv_have_fallocate=yes
18663 else
18664 wine_cv_have_fallocate=no
18666 rm -f core conftest.err conftest.$ac_objext \
18667 conftest$ac_exeext conftest.$ac_ext
18669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18670 $as_echo "$wine_cv_have_fallocate" >&6; }
18671 if test "$wine_cv_have_fallocate" = "yes"
18672 then
18674 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18680 $as_echo_n "checking for inline... " >&6; }
18681 if ${ac_cv_c_inline+:} false; then :
18682 $as_echo_n "(cached) " >&6
18683 else
18684 ac_cv_c_inline=no
18685 for ac_kw in inline __inline__ __inline; do
18686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18687 /* end confdefs.h. */
18688 #ifndef __cplusplus
18689 typedef int foo_t;
18690 static $ac_kw foo_t static_foo () {return 0; }
18691 $ac_kw foo_t foo () {return 0; }
18692 #endif
18694 _ACEOF
18695 if ac_fn_c_try_compile "$LINENO"; then :
18696 ac_cv_c_inline=$ac_kw
18698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18699 test "$ac_cv_c_inline" != no && break
18700 done
18703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18704 $as_echo "$ac_cv_c_inline" >&6; }
18706 case $ac_cv_c_inline in
18707 inline | yes) ;;
18709 case $ac_cv_c_inline in
18710 no) ac_val=;;
18711 *) ac_val=$ac_cv_c_inline;;
18712 esac
18713 cat >>confdefs.h <<_ACEOF
18714 #ifndef __cplusplus
18715 #define inline $ac_val
18716 #endif
18717 _ACEOF
18719 esac
18721 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18722 #include <signal.h>
18724 if test "x$ac_cv_type_sigset_t" = xyes; then :
18726 cat >>confdefs.h <<_ACEOF
18727 #define HAVE_SIGSET_T 1
18728 _ACEOF
18733 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18735 if test "x$ac_cv_type_request_sense" = xyes; then :
18737 cat >>confdefs.h <<_ACEOF
18738 #define HAVE_REQUEST_SENSE 1
18739 _ACEOF
18745 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18746 #ifdef HAVE_SYS_SOCKET_H
18747 #include <sys/socket.h>
18748 #endif
18749 #ifdef HAVE_SYS_SOCKETVAR_H
18750 #include <sys/socketvar.h>
18751 #endif
18752 #ifdef HAVE_NET_ROUTE_H
18753 #include <net/route.h>
18754 #endif
18755 #ifdef HAVE_NETINET_IN_H
18756 #include <netinet/in.h>
18757 #endif
18758 #ifdef HAVE_NETINET_IN_SYSTM_H
18759 #include <netinet/in_systm.h>
18760 #endif
18761 #ifdef HAVE_NETINET_IP_H
18762 #include <netinet/ip.h>
18763 #endif
18764 #ifdef HAVE_NETINET_IN_PCB_H
18765 #include <netinet/in_pcb.h>
18766 #endif
18768 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18770 cat >>confdefs.h <<_ACEOF
18771 #define HAVE_STRUCT_XINPGEN 1
18772 _ACEOF
18778 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18779 #include <linux/input.h>
18780 #endif
18782 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18784 cat >>confdefs.h <<_ACEOF
18785 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18786 _ACEOF
18792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18793 $as_echo_n "checking for if_nameindex... " >&6; }
18794 if ${wine_cv_have_if_nameindex+:} false; then :
18795 $as_echo_n "(cached) " >&6
18796 else
18797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18798 /* end confdefs.h. */
18799 #ifdef HAVE_SYS_TYPES_H
18800 #include <sys/types.h>
18801 #endif
18802 #ifdef HAVE_SYS_SOCKET_H
18803 #include <sys/socket.h>
18804 #endif
18805 #ifdef HAVE_NET_IF_H
18806 # include <net/if.h>
18807 #endif
18809 main ()
18811 struct if_nameindex *p = if_nameindex(); return p->if_index;
18813 return 0;
18815 _ACEOF
18816 if ac_fn_c_try_link "$LINENO"; then :
18817 wine_cv_have_if_nameindex=yes
18818 else
18819 wine_cv_have_if_nameindex=no
18821 rm -f core conftest.err conftest.$ac_objext \
18822 conftest$ac_exeext conftest.$ac_ext
18824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18825 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18826 if test "$wine_cv_have_if_nameindex" = "yes"
18827 then
18829 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18834 $as_echo_n "checking for sigaddset... " >&6; }
18835 if ${wine_cv_have_sigaddset+:} false; then :
18836 $as_echo_n "(cached) " >&6
18837 else
18838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18839 /* end confdefs.h. */
18840 #include <signal.h>
18842 main ()
18844 sigset_t set; sigaddset(&set,SIGTERM);
18846 return 0;
18848 _ACEOF
18849 if ac_fn_c_try_link "$LINENO"; then :
18850 wine_cv_have_sigaddset=yes
18851 else
18852 wine_cv_have_sigaddset=no
18854 rm -f core conftest.err conftest.$ac_objext \
18855 conftest$ac_exeext conftest.$ac_ext
18857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18858 $as_echo "$wine_cv_have_sigaddset" >&6; }
18859 if test "$wine_cv_have_sigaddset" = "yes"
18860 then
18862 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18868 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18869 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18870 $as_echo_n "(cached) " >&6
18871 else
18872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18873 /* end confdefs.h. */
18874 #include <netdb.h>
18876 main ()
18879 char *name=0;
18880 struct hostent he;
18881 struct hostent *result;
18882 char *buf=0;
18883 int bufsize=0;
18884 int errnr;
18885 char *addr=0;
18886 int addrlen=0;
18887 int addrtype=0;
18888 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18889 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18892 return 0;
18894 _ACEOF
18895 if ac_fn_c_try_link "$LINENO"; then :
18896 wine_cv_linux_gethostbyname_r_6=yes
18897 else
18898 wine_cv_linux_gethostbyname_r_6=no
18901 rm -f core conftest.err conftest.$ac_objext \
18902 conftest$ac_exeext conftest.$ac_ext
18905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18906 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18907 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18908 then
18910 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18914 if test "$ac_cv_header_linux_joystick_h" = "yes"
18915 then
18916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18917 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18918 if ${wine_cv_linux_joystick_22_api+:} false; then :
18919 $as_echo_n "(cached) " >&6
18920 else
18921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18922 /* end confdefs.h. */
18924 #include <sys/ioctl.h>
18925 #include <sys/types.h>
18926 #include <linux/joystick.h>
18928 struct js_event blub;
18929 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18930 #error "no 2.2 header"
18931 #endif
18934 main ()
18936 /*empty*/
18938 return 0;
18940 _ACEOF
18941 if ac_fn_c_try_compile "$LINENO"; then :
18942 wine_cv_linux_joystick_22_api=yes
18943 else
18944 wine_cv_linux_joystick_22_api=no
18946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18950 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18951 if test "$wine_cv_linux_joystick_22_api" = "yes"
18952 then
18954 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18959 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18960 #ifdef HAVE_SYS_SOCKET_H
18961 # include <sys/socket.h>
18962 #endif
18963 #ifdef HAVE_SYS_UN_H
18964 # include <sys/un.h>
18965 #endif
18967 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18969 cat >>confdefs.h <<_ACEOF
18970 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18971 _ACEOF
18975 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18976 #ifdef HAVE_SYS_SOCKET_H
18977 # include <sys/socket.h>
18978 #endif
18979 #ifdef HAVE_SYS_UN_H
18980 # include <sys/un.h>
18981 #endif
18983 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18985 cat >>confdefs.h <<_ACEOF
18986 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18987 _ACEOF
18991 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18992 #ifdef HAVE_SYS_SOCKET_H
18993 # include <sys/socket.h>
18994 #endif
18995 #ifdef HAVE_SYS_UN_H
18996 # include <sys/un.h>
18997 #endif
18999 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
19001 cat >>confdefs.h <<_ACEOF
19002 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19003 _ACEOF
19009 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19010 #ifdef HAVE_SCSI_SG_H
19011 #include <scsi/sg.h>
19012 #endif
19014 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
19016 cat >>confdefs.h <<_ACEOF
19017 #define HAVE_SCSIREQ_T_CMD 1
19018 _ACEOF
19022 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>
19023 #ifdef HAVE_SCSI_SG_H
19024 #include <scsi/sg.h>
19025 #endif
19027 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
19029 cat >>confdefs.h <<_ACEOF
19030 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19031 _ACEOF
19037 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19039 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19041 cat >>confdefs.h <<_ACEOF
19042 #define HAVE_SIGINFO_T_SI_FD 1
19043 _ACEOF
19049 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19050 #ifdef HAVE_SYS_MTIO_H
19051 #include <sys/mtio.h>
19052 #endif
19054 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19056 cat >>confdefs.h <<_ACEOF
19057 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19058 _ACEOF
19062 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19063 #ifdef HAVE_SYS_MTIO_H
19064 #include <sys/mtio.h>
19065 #endif
19067 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19069 cat >>confdefs.h <<_ACEOF
19070 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19071 _ACEOF
19075 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19076 #ifdef HAVE_SYS_MTIO_H
19077 #include <sys/mtio.h>
19078 #endif
19080 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19082 cat >>confdefs.h <<_ACEOF
19083 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19084 _ACEOF
19090 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19091 #include <getopt.h>
19092 #endif
19094 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19096 cat >>confdefs.h <<_ACEOF
19097 #define HAVE_STRUCT_OPTION_NAME 1
19098 _ACEOF
19104 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19105 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19107 cat >>confdefs.h <<_ACEOF
19108 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19109 _ACEOF
19113 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19114 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19116 cat >>confdefs.h <<_ACEOF
19117 #define HAVE_STRUCT_STAT_ST_MTIM 1
19118 _ACEOF
19122 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19123 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19125 cat >>confdefs.h <<_ACEOF
19126 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19127 _ACEOF
19131 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19132 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19134 cat >>confdefs.h <<_ACEOF
19135 #define HAVE_STRUCT_STAT_ST_CTIM 1
19136 _ACEOF
19140 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19141 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19143 cat >>confdefs.h <<_ACEOF
19144 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19145 _ACEOF
19149 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19150 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19152 cat >>confdefs.h <<_ACEOF
19153 #define HAVE_STRUCT_STAT_ST_ATIM 1
19154 _ACEOF
19158 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19159 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19161 cat >>confdefs.h <<_ACEOF
19162 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19163 _ACEOF
19167 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19168 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19170 cat >>confdefs.h <<_ACEOF
19171 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19172 _ACEOF
19176 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19177 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19179 cat >>confdefs.h <<_ACEOF
19180 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19181 _ACEOF
19185 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19186 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19188 cat >>confdefs.h <<_ACEOF
19189 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19190 _ACEOF
19194 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19195 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19197 cat >>confdefs.h <<_ACEOF
19198 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19199 _ACEOF
19203 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19204 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19206 cat >>confdefs.h <<_ACEOF
19207 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19208 _ACEOF
19214 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
19215 #include <sys/types.h>
19216 #endif
19217 #ifdef HAVE_NETINET_IN_H
19218 #include <netinet/in.h>
19219 #endif
19221 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19223 cat >>confdefs.h <<_ACEOF
19224 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19225 _ACEOF
19231 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19232 #include <sys/types.h>
19233 #endif
19234 #ifdef HAVE_NETINET_IN_H
19235 #include <netinet/in.h>
19236 #endif
19237 #ifdef HAVE_RESOLV_H
19238 #include <resolv.h>
19239 #endif
19241 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19243 cat >>confdefs.h <<_ACEOF
19244 #define HAVE_STRUCT___RES_STATE 1
19245 _ACEOF
19251 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
19252 #include <resolv.h>
19253 #endif
19255 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19257 cat >>confdefs.h <<_ACEOF
19258 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19259 _ACEOF
19265 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19266 #include <sys/types.h>
19267 #endif
19268 #ifdef HAVE_NETINET_IN_H
19269 # include <netinet/in.h>
19270 #endif
19271 #ifdef HAVE_ARPA_NAMESER_H
19272 # include <arpa/nameser.h>
19273 #endif
19275 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19277 cat >>confdefs.h <<_ACEOF
19278 #define HAVE_NS_MSG__MSG_PTR 1
19279 _ACEOF
19285 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#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_NETINET_IP_H
19292 #include <netinet/ip.h>
19293 #endif
19294 #ifdef HAVE_NETINET_IP_ICMP_H
19295 #include <netinet/ip_icmp.h>
19296 #endif
19297 #ifdef HAVE_NETINET_ICMP_VAR_H
19298 #include <netinet/icmp_var.h>
19299 #endif
19301 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19303 cat >>confdefs.h <<_ACEOF
19304 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19305 _ACEOF
19311 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19312 #include <sys/types.h>
19313 #endif
19314 #ifdef HAVE_ALIAS_H
19315 #include <alias.h>
19316 #endif
19317 #ifdef HAVE_SYS_SOCKET_H
19318 #include <sys/socket.h>
19319 #endif
19320 #ifdef HAVE_SYS_SOCKETVAR_H
19321 #include <sys/socketvar.h>
19322 #endif
19323 #ifdef HAVE_SYS_TIMEOUT_H
19324 #include <sys/timeout.h>
19325 #endif
19326 #ifdef HAVE_NETINET_IN_H
19327 #include <netinet/in.h>
19328 #endif
19329 #ifdef HAVE_NETINET_IN_SYSTM_H
19330 #include <netinet/in_systm.h>
19331 #endif
19332 #ifdef HAVE_NETINET_IP_H
19333 #include <netinet/ip.h>
19334 #endif
19335 #ifdef HAVE_NETINET_IP_VAR_H
19336 #include <netinet/ip_var.h>
19337 #endif
19338 #ifdef HAVE_NETINET_IP_ICMP_H
19339 #include <netinet/ip_icmp.h>
19340 #endif
19341 #ifdef HAVE_NETINET_ICMP_VAR_H
19342 #include <netinet/icmp_var.h>
19343 #endif
19345 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19347 cat >>confdefs.h <<_ACEOF
19348 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19349 _ACEOF
19355 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19356 #include <sys/types.h>
19357 #endif
19358 #ifdef HAVE_SYS_SOCKETVAR_H
19359 #include <sys/socketvar.h>
19360 #endif
19361 #ifdef HAVE_NETINET_IN_H
19362 #include <netinet/in.h>
19363 #endif
19364 #ifdef HAVE_NETINET_IP_VAR_H
19365 #include <netinet/ip_var.h>
19366 #endif
19368 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19370 cat >>confdefs.h <<_ACEOF
19371 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19372 _ACEOF
19378 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
19379 #include <netinet/ip_var.h>
19380 #endif
19382 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19384 cat >>confdefs.h <<_ACEOF
19385 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19386 _ACEOF
19392 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19393 #include <sys/types.h>
19394 #endif
19395 #ifdef HAVE_SYS_SOCKETVAR_H
19396 #include <sys/socketvar.h>
19397 #endif
19398 #ifdef HAVE_NETINET_IN_H
19399 #include <netinet/in.h>
19400 #endif
19401 #ifdef HAVE_NETINET_TCP_H
19402 #include <netinet/tcp.h>
19403 #endif
19404 #ifdef HAVE_NETINET_TCP_VAR_H
19405 #include <netinet/tcp_var.h>
19406 #endif
19408 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19410 cat >>confdefs.h <<_ACEOF
19411 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19412 _ACEOF
19418 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
19419 #include <netinet/tcp_var.h>
19420 #endif
19422 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19424 cat >>confdefs.h <<_ACEOF
19425 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19426 _ACEOF
19432 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19433 #include <sys/types.h>
19434 #endif
19435 #ifdef HAVE_NETINET_IN_H
19436 #include <netinet/in.h>
19437 #endif
19438 #ifdef HAVE_NETINET_IP_VAR_H
19439 #include <netinet/ip_var.h>
19440 #endif
19441 #ifdef HAVE_NETINET_UDP_H
19442 #include <netinet/udp.h>
19443 #endif
19444 #ifdef HAVE_NETINET_UDP_VAR_H
19445 #include <netinet/udp_var.h>
19446 #endif
19448 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19450 cat >>confdefs.h <<_ACEOF
19451 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19452 _ACEOF
19458 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19459 #include <sys/types.h>
19460 #endif
19461 #ifdef HAVE_NET_IF_H
19462 # include <net/if.h>
19463 #endif
19465 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19467 cat >>confdefs.h <<_ACEOF
19468 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19469 _ACEOF
19475 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19476 # include <sys/sysinfo.h>
19477 #endif
19479 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19481 cat >>confdefs.h <<_ACEOF
19482 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19483 _ACEOF
19487 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19488 # include <sys/sysinfo.h>
19489 #endif
19491 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19493 cat >>confdefs.h <<_ACEOF
19494 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19495 _ACEOF
19501 ac_save_LIBS="$LIBS"
19502 LIBS="$LIBS -lm"
19503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19504 $as_echo_n "checking for isfinite... " >&6; }
19505 if ${ac_cv_have_isfinite+:} false; then :
19506 $as_echo_n "(cached) " >&6
19507 else
19508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19509 /* end confdefs.h. */
19510 #define _GNU_SOURCE
19511 #include <math.h>
19513 main ()
19515 float f = 0.0; return isfinite(f)
19517 return 0;
19519 _ACEOF
19520 if ac_fn_c_try_link "$LINENO"; then :
19521 ac_cv_have_isfinite="yes"
19522 else
19523 ac_cv_have_isfinite="no"
19525 rm -f core conftest.err conftest.$ac_objext \
19526 conftest$ac_exeext conftest.$ac_ext
19528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19529 $as_echo "$ac_cv_have_isfinite" >&6; }
19530 if test "$ac_cv_have_isfinite" = "yes"
19531 then
19533 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19538 $as_echo_n "checking for isinf... " >&6; }
19539 if ${ac_cv_have_isinf+:} false; then :
19540 $as_echo_n "(cached) " >&6
19541 else
19542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19543 /* end confdefs.h. */
19544 #include <math.h>
19546 main ()
19548 float f = 0.0; return isinf(f)
19550 return 0;
19552 _ACEOF
19553 if ac_fn_c_try_link "$LINENO"; then :
19554 ac_cv_have_isinf="yes"
19555 else
19556 ac_cv_have_isinf="no"
19558 rm -f core conftest.err conftest.$ac_objext \
19559 conftest$ac_exeext conftest.$ac_ext
19561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19562 $as_echo "$ac_cv_have_isinf" >&6; }
19563 if test "$ac_cv_have_isinf" = "yes"
19564 then
19566 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19571 $as_echo_n "checking for isnan... " >&6; }
19572 if ${ac_cv_have_isnan+:} false; then :
19573 $as_echo_n "(cached) " >&6
19574 else
19575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19576 /* end confdefs.h. */
19577 #include <math.h>
19579 main ()
19581 float f = 0.0; return isnan(f)
19583 return 0;
19585 _ACEOF
19586 if ac_fn_c_try_link "$LINENO"; then :
19587 ac_cv_have_isnan="yes"
19588 else
19589 ac_cv_have_isnan="no"
19591 rm -f core conftest.err conftest.$ac_objext \
19592 conftest$ac_exeext conftest.$ac_ext
19594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19595 $as_echo "$ac_cv_have_isnan" >&6; }
19596 if test "$ac_cv_have_isnan" = "yes"
19597 then
19599 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19603 for ac_func in \
19604 acosh \
19605 acoshf \
19606 asinh \
19607 asinhf \
19608 atanh \
19609 atanhf \
19610 cbrt \
19611 cbrtf \
19612 erf \
19613 erfc \
19614 erfcf \
19615 erff \
19616 exp2 \
19617 exp2f \
19618 expm1 \
19619 expm1f \
19620 fma \
19621 fmaf \
19622 j0 \
19623 j1 \
19624 jn \
19625 lgamma \
19626 lgammaf \
19627 llrint \
19628 llrintf \
19629 llround \
19630 llroundf \
19631 log1p \
19632 log1pf \
19633 log2 \
19634 log2f \
19635 lrint \
19636 lrintf \
19637 lround \
19638 lroundf \
19639 nearbyint \
19640 nearbyintf \
19641 nexttoward \
19642 nexttowardf \
19643 remainder \
19644 remainderf \
19645 remquo \
19646 remquof \
19647 rint \
19648 rintf \
19649 round \
19650 roundf \
19651 tgamma \
19652 tgammaf \
19653 trunc \
19654 truncf \
19655 y0 \
19656 y1 \
19659 do :
19660 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19661 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19662 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19663 cat >>confdefs.h <<_ACEOF
19664 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19665 _ACEOF
19668 done
19670 LIBS="$ac_save_LIBS"
19672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19673 $as_echo_n "checking for __builtin_popcount... " >&6; }
19674 if ${ac_cv_have___builtin_popcount+:} false; then :
19675 $as_echo_n "(cached) " >&6
19676 else
19677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19678 /* end confdefs.h. */
19681 main ()
19683 return __builtin_popcount(1)
19685 return 0;
19687 _ACEOF
19688 if ac_fn_c_try_link "$LINENO"; then :
19689 ac_cv_have___builtin_popcount="yes"
19690 else
19691 ac_cv_have___builtin_popcount="no"
19693 rm -f core conftest.err conftest.$ac_objext \
19694 conftest$ac_exeext conftest.$ac_ext
19696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19697 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19698 if test "$ac_cv_have___builtin_popcount" = "yes"
19699 then
19701 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19706 $as_echo_n "checking for __clear_cache... " >&6; }
19707 if ${ac_cv_have___clear_cache+:} false; then :
19708 $as_echo_n "(cached) " >&6
19709 else
19710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19711 /* end confdefs.h. */
19714 main ()
19716 __clear_cache((void*)0, (void*)0); return 0;
19718 return 0;
19720 _ACEOF
19721 if ac_fn_c_try_link "$LINENO"; then :
19722 ac_cv_have___clear_cache="yes"
19723 else
19724 ac_cv_have___clear_cache="no"
19726 rm -f core conftest.err conftest.$ac_objext \
19727 conftest$ac_exeext conftest.$ac_ext
19729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19730 $as_echo "$ac_cv_have___clear_cache" >&6; }
19731 if test "$ac_cv_have___clear_cache" = "yes"
19732 then
19734 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19739 case $host_cpu in
19740 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19741 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19742 if ${ac_cv_cpp_def___i386__+:} false; then :
19743 $as_echo_n "(cached) " >&6
19744 else
19745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19746 /* end confdefs.h. */
19747 #ifndef __i386__
19749 #endif
19750 _ACEOF
19751 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19752 $EGREP "yes" >/dev/null 2>&1; then :
19753 ac_cv_cpp_def___i386__=yes
19754 else
19755 ac_cv_cpp_def___i386__=no
19757 rm -f conftest*
19760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19761 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19762 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19763 CFLAGS="$CFLAGS -D__i386__"
19764 LINTFLAGS="$LINTFLAGS -D__i386__"
19765 fi ;;
19766 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19767 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19768 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19769 $as_echo_n "(cached) " >&6
19770 else
19771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19772 /* end confdefs.h. */
19773 #ifndef __x86_64__
19775 #endif
19776 _ACEOF
19777 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19778 $EGREP "yes" >/dev/null 2>&1; then :
19779 ac_cv_cpp_def___x86_64__=yes
19780 else
19781 ac_cv_cpp_def___x86_64__=no
19783 rm -f conftest*
19786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19787 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19788 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19789 CFLAGS="$CFLAGS -D__x86_64__"
19790 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19791 fi ;;
19792 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19793 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19794 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19795 $as_echo_n "(cached) " >&6
19796 else
19797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19798 /* end confdefs.h. */
19799 #ifndef __sparc64__
19801 #endif
19802 _ACEOF
19803 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19804 $EGREP "yes" >/dev/null 2>&1; then :
19805 ac_cv_cpp_def___sparc64__=yes
19806 else
19807 ac_cv_cpp_def___sparc64__=no
19809 rm -f conftest*
19812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19813 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19814 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19815 CFLAGS="$CFLAGS -D__sparc64__"
19816 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19817 fi ;;
19818 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19819 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19820 if ${ac_cv_cpp_def___sparc__+:} false; then :
19821 $as_echo_n "(cached) " >&6
19822 else
19823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19824 /* end confdefs.h. */
19825 #ifndef __sparc__
19827 #endif
19828 _ACEOF
19829 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19830 $EGREP "yes" >/dev/null 2>&1; then :
19831 ac_cv_cpp_def___sparc__=yes
19832 else
19833 ac_cv_cpp_def___sparc__=no
19835 rm -f conftest*
19838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19839 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19840 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19841 CFLAGS="$CFLAGS -D__sparc__"
19842 LINTFLAGS="$LINTFLAGS -D__sparc__"
19843 fi ;;
19844 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19845 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19846 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19847 $as_echo_n "(cached) " >&6
19848 else
19849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19850 /* end confdefs.h. */
19851 #ifndef __powerpc64__
19853 #endif
19854 _ACEOF
19855 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19856 $EGREP "yes" >/dev/null 2>&1; then :
19857 ac_cv_cpp_def___powerpc64__=yes
19858 else
19859 ac_cv_cpp_def___powerpc64__=no
19861 rm -f conftest*
19864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19865 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19866 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19867 CFLAGS="$CFLAGS -D__powerpc64__"
19868 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19869 fi ;;
19870 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19871 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19872 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19873 $as_echo_n "(cached) " >&6
19874 else
19875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19876 /* end confdefs.h. */
19877 #ifndef __powerpc__
19879 #endif
19880 _ACEOF
19881 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19882 $EGREP "yes" >/dev/null 2>&1; then :
19883 ac_cv_cpp_def___powerpc__=yes
19884 else
19885 ac_cv_cpp_def___powerpc__=no
19887 rm -f conftest*
19890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19891 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19892 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19893 CFLAGS="$CFLAGS -D__powerpc__"
19894 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19895 fi ;;
19896 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19897 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19898 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19899 $as_echo_n "(cached) " >&6
19900 else
19901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19902 /* end confdefs.h. */
19903 #ifndef __aarch64__
19905 #endif
19906 _ACEOF
19907 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19908 $EGREP "yes" >/dev/null 2>&1; then :
19909 ac_cv_cpp_def___aarch64__=yes
19910 else
19911 ac_cv_cpp_def___aarch64__=no
19913 rm -f conftest*
19916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19917 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19918 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19919 CFLAGS="$CFLAGS -D__aarch64__"
19920 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19921 fi ;;
19922 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19923 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19924 if ${ac_cv_cpp_def___arm__+:} false; then :
19925 $as_echo_n "(cached) " >&6
19926 else
19927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19928 /* end confdefs.h. */
19929 #ifndef __arm__
19931 #endif
19932 _ACEOF
19933 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19934 $EGREP "yes" >/dev/null 2>&1; then :
19935 ac_cv_cpp_def___arm__=yes
19936 else
19937 ac_cv_cpp_def___arm__=no
19939 rm -f conftest*
19942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19943 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19944 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19945 CFLAGS="$CFLAGS -D__arm__"
19946 LINTFLAGS="$LINTFLAGS -D__arm__"
19947 fi ;;
19948 esac
19950 case $host_vendor in
19951 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19952 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19953 if ${ac_cv_cpp_def___sun__+:} false; then :
19954 $as_echo_n "(cached) " >&6
19955 else
19956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19957 /* end confdefs.h. */
19958 #ifndef __sun__
19960 #endif
19961 _ACEOF
19962 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19963 $EGREP "yes" >/dev/null 2>&1; then :
19964 ac_cv_cpp_def___sun__=yes
19965 else
19966 ac_cv_cpp_def___sun__=no
19968 rm -f conftest*
19971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19972 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19973 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19974 CFLAGS="$CFLAGS -D__sun__"
19975 LINTFLAGS="$LINTFLAGS -D__sun__"
19976 fi ;;
19977 esac
19983 ac_config_commands="$ac_config_commands include/stamp-h"
19985 $as_echo_n "creating Makefile rules..." >&6
19987 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19988 OPENGL_LIBS = $OPENGL_LIBS
19989 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19990 IOKIT_LIBS = $IOKIT_LIBS
19991 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19992 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19993 CORESERVICES_LIBS = $CORESERVICES_LIBS
19994 APPKIT_LIBS = $APPKIT_LIBS
19995 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19996 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19997 SECURITY_LIBS = $SECURITY_LIBS
19998 COREAUDIO_LIBS = $COREAUDIO_LIBS
19999 OPENAL_LIBS = $OPENAL_LIBS
20000 OPENCL_LIBS = $OPENCL_LIBS
20001 QUICKTIME_LIBS = $QUICKTIME_LIBS
20002 CARBON_LIBS = $CARBON_LIBS
20003 METAL_LIBS = $METAL_LIBS
20004 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
20005 PTHREAD_LIBS = $PTHREAD_LIBS
20006 X_CFLAGS = $X_CFLAGS
20007 X_PRE_LIBS = $X_PRE_LIBS
20008 X_LIBS = $X_LIBS
20009 X_EXTRA_LIBS = $X_EXTRA_LIBS
20010 PCAP_LIBS = $PCAP_LIBS
20011 XML2_CFLAGS = $XML2_CFLAGS
20012 XML2_LIBS = $XML2_LIBS
20013 XSLT_CFLAGS = $XSLT_CFLAGS
20014 XSLT_LIBS = $XSLT_LIBS
20015 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
20016 INOTIFY_LIBS = $INOTIFY_LIBS
20017 DBUS_CFLAGS = $DBUS_CFLAGS
20018 DBUS_LIBS = $DBUS_LIBS
20019 HAL_CFLAGS = $HAL_CFLAGS
20020 HAL_LIBS = $HAL_LIBS
20021 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
20022 GNUTLS_LIBS = $GNUTLS_LIBS
20023 SANE_CFLAGS = $SANE_CFLAGS
20024 SANE_LIBS = $SANE_LIBS
20025 USB_CFLAGS = $USB_CFLAGS
20026 USB_LIBS = $USB_LIBS
20027 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
20028 GPHOTO2_LIBS = $GPHOTO2_LIBS
20029 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
20030 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
20031 RESOLV_LIBS = $RESOLV_LIBS
20032 LCMS2_CFLAGS = $LCMS2_CFLAGS
20033 LCMS2_LIBS = $LCMS2_LIBS
20034 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
20035 FREETYPE_LIBS = $FREETYPE_LIBS
20036 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
20037 PULSE_CFLAGS = $PULSE_CFLAGS
20038 PULSE_LIBS = $PULSE_LIBS
20039 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
20040 GSTREAMER_LIBS = $GSTREAMER_LIBS
20041 ALSA_LIBS = $ALSA_LIBS
20042 OSS4_CFLAGS = $OSS4_CFLAGS
20043 OSS4_LIBS = $OSS4_LIBS
20044 UDEV_CFLAGS = $UDEV_CFLAGS
20045 UDEV_LIBS = $UDEV_LIBS
20046 UNWIND_CFLAGS = $UNWIND_CFLAGS
20047 UNWIND_LIBS = $UNWIND_LIBS
20048 SDL2_CFLAGS = $SDL2_CFLAGS
20049 SDL2_LIBS = $SDL2_LIBS
20050 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
20051 FAUDIO_LIBS = $FAUDIO_LIBS
20052 CAPI20_CFLAGS = $CAPI20_CFLAGS
20053 CAPI20_LIBS = $CAPI20_LIBS
20054 CUPS_CFLAGS = $CUPS_CFLAGS
20055 CUPS_LIBS = $CUPS_LIBS
20056 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20057 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20058 KRB5_CFLAGS = $KRB5_CFLAGS
20059 KRB5_LIBS = $KRB5_LIBS
20060 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20061 GSSAPI_LIBS = $GSSAPI_LIBS
20062 JPEG_CFLAGS = $JPEG_CFLAGS
20063 JPEG_LIBS = $JPEG_LIBS
20064 JXRLIB_CFLAGS = $JXRLIB_CFLAGS
20065 JXRLIB_LIBS = $JXRLIB_LIBS
20066 PNG_CFLAGS = $PNG_CFLAGS
20067 PNG_LIBS = $PNG_LIBS
20068 TIFF_CFLAGS = $TIFF_CFLAGS
20069 TIFF_LIBS = $TIFF_LIBS
20070 MPG123_CFLAGS = $MPG123_CFLAGS
20071 MPG123_LIBS = $MPG123_LIBS
20072 KSTAT_LIBS = $KSTAT_LIBS
20073 PROCSTAT_LIBS = $PROCSTAT_LIBS
20074 NETAPI_CFLAGS = $NETAPI_CFLAGS
20075 NETAPI_LIBS = $NETAPI_LIBS
20076 VKD3D_CFLAGS = $VKD3D_CFLAGS
20077 VKD3D_LIBS = $VKD3D_LIBS
20078 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
20079 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
20080 POLL_LIBS = $POLL_LIBS
20081 RT_LIBS = $RT_LIBS
20082 LDAP_CFLAGS = $LDAP_CFLAGS
20083 LDAP_LIBS = $LDAP_LIBS
20087 makedep_flags=""
20088 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20091 wine_fn_append_rule "
20092 # Rules automatically generated by configure
20094 .INIT: Makefile
20095 .MAKEFILEDEPS:
20096 all: Makefile
20097 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20098 @./config.status Make.tmp Makefile
20099 depend: \$(MAKEDEP)
20100 \$(MAKEDEP)$makedep_flags
20101 dummy:
20102 .PHONY: depend dummy"
20104 ac_config_links="$ac_config_links wine:tools/winewrapper"
20105 wine_fn_config_symlink wine
20106 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20107 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20108 wine_fn_config_symlink wine64
20111 wine_fn_config_makefile dlls/acledit enable_acledit
20112 wine_fn_config_makefile dlls/aclui enable_aclui
20113 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20114 wine_fn_config_makefile dlls/activeds enable_activeds
20115 wine_fn_config_makefile dlls/activeds/tests enable_tests
20116 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20117 wine_fn_config_makefile dlls/adsiid enable_adsiid
20118 wine_fn_config_makefile dlls/adsldp enable_adsldp
20119 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20120 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20121 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20122 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20123 wine_fn_config_makefile dlls/advpack enable_advpack
20124 wine_fn_config_makefile dlls/advpack/tests enable_tests
20125 wine_fn_config_makefile dlls/amsi enable_amsi
20126 wine_fn_config_makefile dlls/amstream enable_amstream
20127 wine_fn_config_makefile dlls/amstream/tests enable_tests
20128 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20129 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20130 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20131 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20132 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20133 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20134 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20135 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20138 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20139 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20140 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20141 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20144 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20145 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20146 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20147 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20148 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20149 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20150 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20151 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20152 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20153 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20154 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20156 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
20157 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20160 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20161 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20162 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20163 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20164 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20165 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20166 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20167 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20168 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20170 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20172 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20174 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20175 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20176 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20177 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20178 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
20179 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20180 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20181 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20182 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20183 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20184 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20185 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20186 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20187 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20188 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20189 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20190 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20191 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20193 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20194 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20195 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20196 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20197 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20198 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20199 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20200 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20201 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20202 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20203 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20204 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20205 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20206 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20208 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20209 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20210 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20211 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20212 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20213 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20214 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20215 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20216 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20217 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20218 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20219 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20221 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20222 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20223 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20224 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20225 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20226 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20227 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20228 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20229 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20230 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20231 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20232 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20233 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20234 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20235 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20236 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20237 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20238 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20239 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20240 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20241 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20242 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20243 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20244 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20245 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20246 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20247 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20248 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20249 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20250 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20252 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20254 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20256 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20257 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20258 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20259 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20260 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20261 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20262 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20263 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20264 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20265 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20266 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20267 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20268 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20269 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20270 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20271 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20272 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20273 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20274 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20275 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20276 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20277 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20278 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20279 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20280 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20281 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20282 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20283 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20284 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20285 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20286 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20287 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20288 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20289 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20290 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20291 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20292 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20293 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20294 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20295 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20296 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20297 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20298 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20299 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20300 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20301 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20302 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20303 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20304 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20305 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20306 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20307 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20308 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20309 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20310 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20311 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20312 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20313 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20314 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20315 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20316 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20317 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20318 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20319 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20320 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20321 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20322 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20323 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20324 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20325 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20326 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20327 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20328 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20329 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20330 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20331 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20332 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20333 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20334 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20335 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20336 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20337 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20338 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20339 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20340 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20341 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20342 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20343 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20344 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20345 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20346 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20347 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20348 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20349 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20350 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20351 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20352 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20353 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20354 wine_fn_config_makefile dlls/apphelp enable_apphelp
20355 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20356 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20357 wine_fn_config_makefile dlls/atl enable_atl
20358 wine_fn_config_makefile dlls/atl/tests enable_tests
20359 wine_fn_config_makefile dlls/atl100 enable_atl100
20360 wine_fn_config_makefile dlls/atl100/tests enable_tests
20361 wine_fn_config_makefile dlls/atl110 enable_atl110
20362 wine_fn_config_makefile dlls/atl80 enable_atl80
20363 wine_fn_config_makefile dlls/atl80/tests enable_tests
20364 wine_fn_config_makefile dlls/atl90 enable_atl90
20365 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20366 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20367 wine_fn_config_makefile dlls/atmlib enable_atmlib
20368 wine_fn_config_makefile dlls/authz enable_authz
20369 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20370 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20371 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20372 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20373 wine_fn_config_makefile dlls/avrt enable_avrt
20374 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20375 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20376 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20377 wine_fn_config_makefile dlls/browseui enable_browseui
20378 wine_fn_config_makefile dlls/browseui/tests enable_tests
20379 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20380 wine_fn_config_makefile dlls/cabinet enable_cabinet
20381 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20382 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20383 wine_fn_config_makefile dlls/cards enable_cards
20384 wine_fn_config_makefile dlls/cdosys enable_cdosys
20385 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20386 wine_fn_config_makefile dlls/clusapi enable_clusapi
20387 wine_fn_config_makefile dlls/combase enable_combase
20388 wine_fn_config_makefile dlls/combase/tests enable_tests
20389 wine_fn_config_makefile dlls/comcat enable_comcat
20390 wine_fn_config_makefile dlls/comcat/tests enable_tests
20391 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20392 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20393 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20394 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20395 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20396 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20397 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20398 wine_fn_config_makefile dlls/compstui enable_compstui
20399 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20400 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20401 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20402 wine_fn_config_makefile dlls/concrt140/tests enable_tests
20403 wine_fn_config_makefile dlls/connect enable_connect
20404 wine_fn_config_makefile dlls/credui enable_credui
20405 wine_fn_config_makefile dlls/credui/tests enable_tests
20406 wine_fn_config_makefile dlls/crtdll enable_crtdll
20407 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20408 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20409 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20410 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20411 wine_fn_config_makefile dlls/cryptext enable_cryptext
20412 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20413 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20414 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
20415 wine_fn_config_makefile dlls/cryptui enable_cryptui
20416 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20417 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20418 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20419 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20420 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20421 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20422 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20423 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20424 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20425 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20426 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20427 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20428 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20429 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20430 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20431 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20432 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20433 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20434 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20435 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
20436 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20437 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20438 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20439 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20440 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20441 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20442 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20443 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20444 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20445 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20446 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20447 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20448 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20449 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20450 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20451 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20452 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20453 wine_fn_config_makefile dlls/d3dim enable_d3dim
20454 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
20455 wine_fn_config_makefile dlls/d3drm enable_d3drm
20456 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20457 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20458 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20459 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20460 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20461 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20462 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20463 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20464 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20465 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20466 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20467 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20468 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20469 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20470 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20471 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20472 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20473 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20474 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20475 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20476 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20477 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20478 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20479 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20480 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20481 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20482 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20483 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20484 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20485 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20486 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20487 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20488 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20489 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20490 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20491 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20492 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20493 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20494 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20495 wine_fn_config_makefile dlls/davclnt enable_davclnt
20496 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20497 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20498 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20499 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20500 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20501 wine_fn_config_makefile dlls/dcomp enable_dcomp
20502 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20503 wine_fn_config_makefile dlls/ddraw enable_ddraw
20504 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20505 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20506 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20507 wine_fn_config_makefile dlls/devenum enable_devenum
20508 wine_fn_config_makefile dlls/devenum/tests enable_tests
20509 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20510 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20511 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20512 wine_fn_config_makefile dlls/difxapi enable_difxapi
20513 wine_fn_config_makefile dlls/dinput enable_dinput
20514 wine_fn_config_makefile dlls/dinput/tests enable_tests
20515 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20516 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20517 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20518 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20519 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20520 wine_fn_config_makefile dlls/dispex enable_dispex
20521 wine_fn_config_makefile dlls/dispex/tests enable_tests
20522 wine_fn_config_makefile dlls/display.drv16 enable_win16
20523 wine_fn_config_makefile dlls/dmband enable_dmband
20524 wine_fn_config_makefile dlls/dmband/tests enable_tests
20525 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20526 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20527 wine_fn_config_makefile dlls/dmime enable_dmime
20528 wine_fn_config_makefile dlls/dmime/tests enable_tests
20529 wine_fn_config_makefile dlls/dmloader enable_dmloader
20530 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20531 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20532 wine_fn_config_makefile dlls/dmscript enable_dmscript
20533 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20534 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20535 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20536 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20537 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20538 wine_fn_config_makefile dlls/dmusic enable_dmusic
20539 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20540 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20541 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20542 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20543 wine_fn_config_makefile dlls/dplay enable_dplay
20544 wine_fn_config_makefile dlls/dplayx enable_dplayx
20545 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20546 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20547 wine_fn_config_makefile dlls/dpnet enable_dpnet
20548 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20549 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20550 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20551 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20552 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20553 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20554 wine_fn_config_makefile dlls/drmclien enable_drmclien
20555 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20556 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20557 wine_fn_config_makefile dlls/dsound enable_dsound
20558 wine_fn_config_makefile dlls/dsound/tests enable_tests
20559 wine_fn_config_makefile dlls/dsquery enable_dsquery
20560 wine_fn_config_makefile dlls/dssenh enable_dssenh
20561 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20562 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20563 wine_fn_config_makefile dlls/dswave enable_dswave
20564 wine_fn_config_makefile dlls/dswave/tests enable_tests
20565 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20566 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20567 wine_fn_config_makefile dlls/dwrite enable_dwrite
20568 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20569 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20570 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20571 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20572 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20573 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20574 wine_fn_config_makefile dlls/dxgi enable_dxgi
20575 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20576 wine_fn_config_makefile dlls/dxguid enable_dxguid
20577 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20578 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20579 wine_fn_config_makefile dlls/esent enable_esent
20580 wine_fn_config_makefile dlls/evr enable_evr
20581 wine_fn_config_makefile dlls/evr/tests enable_tests
20582 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20583 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20584 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20585 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20586 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20587 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20588 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20589 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20590 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20591 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20592 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20593 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20594 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20595 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20596 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20597 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20598 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20599 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20600 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20601 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20602 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20603 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20604 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20605 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20606 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20607 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20608 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20609 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20610 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20611 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20612 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20613 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20614 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20615 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20616 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20617 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20618 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20619 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20620 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20621 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20622 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20623 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20624 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dc-access-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
20625 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20626 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20627 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20628 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20629 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20630 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20631 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20632 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20633 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20634 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20635 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20636 wine_fn_config_makefile dlls/faultrep enable_faultrep
20637 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20638 wine_fn_config_makefile dlls/feclient enable_feclient
20639 wine_fn_config_makefile dlls/fltlib enable_fltlib
20640 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20641 wine_fn_config_makefile dlls/fntcache enable_fntcache
20642 wine_fn_config_makefile dlls/fontsub enable_fontsub
20643 wine_fn_config_makefile dlls/fusion enable_fusion
20644 wine_fn_config_makefile dlls/fusion/tests enable_tests
20645 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20646 wine_fn_config_makefile dlls/gameux enable_gameux
20647 wine_fn_config_makefile dlls/gameux/tests enable_tests
20648 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20649 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20650 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20651 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20652 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20653 wine_fn_config_makefile dlls/glu32 enable_glu32
20654 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20655 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20656 wine_fn_config_makefile dlls/hal enable_hal
20657 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20658 wine_fn_config_makefile dlls/hid enable_hid
20659 wine_fn_config_makefile dlls/hid/tests enable_tests
20660 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20661 wine_fn_config_makefile dlls/hlink enable_hlink
20662 wine_fn_config_makefile dlls/hlink/tests enable_tests
20663 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20664 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20665 wine_fn_config_makefile dlls/http.sys enable_http_sys
20666 wine_fn_config_makefile dlls/httpapi enable_httpapi
20667 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20668 wine_fn_config_makefile dlls/iccvid enable_iccvid
20669 wine_fn_config_makefile dlls/icmp enable_icmp
20670 wine_fn_config_makefile dlls/ieframe enable_ieframe
20671 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20672 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20673 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20674 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20675 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20676 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20677 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20678 wine_fn_config_makefile dlls/imm32 enable_imm32
20679 wine_fn_config_makefile dlls/imm32/tests enable_tests
20680 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20681 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20682 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20683 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20684 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20685 wine_fn_config_makefile dlls/infosoft enable_infosoft
20686 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20687 wine_fn_config_makefile dlls/initpki enable_initpki
20688 wine_fn_config_makefile dlls/inkobj enable_inkobj
20689 wine_fn_config_makefile dlls/inseng enable_inseng
20690 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20691 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20692 wine_fn_config_makefile dlls/iprop enable_iprop
20693 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20694 wine_fn_config_makefile dlls/itircl enable_itircl
20695 wine_fn_config_makefile dlls/itss enable_itss
20696 wine_fn_config_makefile dlls/itss/tests enable_tests
20697 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20698 wine_fn_config_makefile dlls/jscript enable_jscript
20699 wine_fn_config_makefile dlls/jscript/tests enable_tests
20700 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20701 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20702 wine_fn_config_makefile dlls/kerberos enable_kerberos
20703 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20704 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20705 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20706 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20707 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20708 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20709 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20710 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20711 wine_fn_config_makefile dlls/ksuser enable_ksuser
20712 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20713 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20714 wine_fn_config_makefile dlls/loadperf enable_loadperf
20715 wine_fn_config_makefile dlls/localspl enable_localspl
20716 wine_fn_config_makefile dlls/localspl/tests enable_tests
20717 wine_fn_config_makefile dlls/localui enable_localui
20718 wine_fn_config_makefile dlls/localui/tests enable_tests
20719 wine_fn_config_makefile dlls/lz32 enable_lz32
20720 wine_fn_config_makefile dlls/lz32/tests enable_tests
20721 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20722 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20723 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20724 wine_fn_config_makefile dlls/mapistub enable_mapistub
20725 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20726 wine_fn_config_makefile dlls/mcicda enable_mcicda
20727 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20728 wine_fn_config_makefile dlls/mciseq enable_mciseq
20729 wine_fn_config_makefile dlls/mciwave enable_mciwave
20730 wine_fn_config_makefile dlls/mf enable_mf
20731 wine_fn_config_makefile dlls/mf/tests enable_tests
20732 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20733 wine_fn_config_makefile dlls/mferror enable_mferror
20734 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20735 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20736 wine_fn_config_makefile dlls/mfplat enable_mfplat
20737 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20738 wine_fn_config_makefile dlls/mfplay enable_mfplay
20739 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20740 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20741 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20742 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20743 wine_fn_config_makefile dlls/midimap enable_midimap
20744 wine_fn_config_makefile dlls/mlang enable_mlang
20745 wine_fn_config_makefile dlls/mlang/tests enable_tests
20746 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20747 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20748 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20749 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20750 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20751 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20752 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20753 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20754 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20755 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20756 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20757 wine_fn_config_makefile dlls/mpr enable_mpr
20758 wine_fn_config_makefile dlls/mpr/tests enable_tests
20759 wine_fn_config_makefile dlls/mprapi enable_mprapi
20760 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20761 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20762 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20763 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20764 wine_fn_config_makefile dlls/msado15 enable_msado15
20765 wine_fn_config_makefile dlls/msado15/tests enable_tests
20766 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20767 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20768 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20769 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20770 wine_fn_config_makefile dlls/mscms enable_mscms
20771 wine_fn_config_makefile dlls/mscms/tests enable_tests
20772 wine_fn_config_makefile dlls/mscoree enable_mscoree
20773 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20774 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20775 wine_fn_config_makefile dlls/msctf enable_msctf
20776 wine_fn_config_makefile dlls/msctf/tests enable_tests
20777 wine_fn_config_makefile dlls/msctfp enable_msctfp
20778 wine_fn_config_makefile dlls/msdaps enable_msdaps
20779 wine_fn_config_makefile dlls/msdelta enable_msdelta
20780 wine_fn_config_makefile dlls/msdmo enable_msdmo
20781 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20782 wine_fn_config_makefile dlls/msdrm enable_msdrm
20783 wine_fn_config_makefile dlls/msftedit enable_msftedit
20784 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20785 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20786 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20787 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20788 wine_fn_config_makefile dlls/mshtml enable_mshtml
20789 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20790 wine_fn_config_makefile dlls/msi enable_msi
20791 wine_fn_config_makefile dlls/msi/tests enable_tests
20792 wine_fn_config_makefile dlls/msident enable_msident
20793 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20794 wine_fn_config_makefile dlls/msimsg enable_msimsg
20795 wine_fn_config_makefile dlls/msimtf enable_msimtf
20796 wine_fn_config_makefile dlls/msisip enable_msisip
20797 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20798 wine_fn_config_makefile dlls/msls31 enable_msls31
20799 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20800 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20801 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20802 wine_fn_config_makefile dlls/msports enable_msports
20803 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20804 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20805 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20806 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20807 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20808 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20809 wine_fn_config_makefile dlls/mstask enable_mstask
20810 wine_fn_config_makefile dlls/mstask/tests enable_tests
20811 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20812 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20813 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20814 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20815 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20816 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20817 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20818 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20819 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20820 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20821 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20822 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20823 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20824 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20825 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20826 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20827 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20828 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20829 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20830 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20831 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20832 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20833 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20834 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20835 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20836 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20837 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20838 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20839 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20840 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20841 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20842 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20843 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20844 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20845 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20846 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20847 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20848 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20849 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20850 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20851 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20852 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20853 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20854 wine_fn_config_makefile dlls/mswsock enable_mswsock
20855 wine_fn_config_makefile dlls/msxml enable_msxml
20856 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20857 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20858 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20859 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20860 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20861 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20862 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20863 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20864 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20865 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20866 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20867 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20868 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20869 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20870 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20871 wine_fn_config_makefile dlls/netprofm enable_netprofm
20872 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20873 wine_fn_config_makefile dlls/netutils enable_netutils
20874 wine_fn_config_makefile dlls/newdev enable_newdev
20875 wine_fn_config_makefile dlls/ninput enable_ninput
20876 wine_fn_config_makefile dlls/ninput/tests enable_tests
20877 wine_fn_config_makefile dlls/normaliz enable_normaliz
20878 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20879 wine_fn_config_makefile dlls/npptools enable_npptools
20880 wine_fn_config_makefile dlls/ntdll enable_ntdll
20881 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20882 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20883 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20884 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20885 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20886 wine_fn_config_makefile dlls/ntprint enable_ntprint
20887 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20888 wine_fn_config_makefile dlls/objsel enable_objsel
20889 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20890 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20891 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20892 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20893 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20894 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20895 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20896 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20897 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20898 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20899 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20900 wine_fn_config_makefile dlls/ole32 enable_ole32
20901 wine_fn_config_makefile dlls/ole32/tests enable_tests
20902 wine_fn_config_makefile dlls/oleacc enable_oleacc
20903 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20904 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20905 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20906 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20907 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20908 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20909 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20910 wine_fn_config_makefile dlls/oledlg enable_oledlg
20911 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20912 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20913 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20914 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20915 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20916 wine_fn_config_makefile dlls/opcservices enable_opcservices
20917 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20918 wine_fn_config_makefile dlls/openal32 enable_openal32
20919 wine_fn_config_makefile dlls/opencl enable_opencl
20920 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20921 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20922 wine_fn_config_makefile dlls/packager enable_packager
20923 wine_fn_config_makefile dlls/packager/tests enable_tests
20924 wine_fn_config_makefile dlls/pdh enable_pdh
20925 wine_fn_config_makefile dlls/pdh/tests enable_tests
20926 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20927 wine_fn_config_makefile dlls/pidgen enable_pidgen
20928 wine_fn_config_makefile dlls/powrprof enable_powrprof
20929 wine_fn_config_makefile dlls/printui enable_printui
20930 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20931 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20932 wine_fn_config_makefile dlls/propsys enable_propsys
20933 wine_fn_config_makefile dlls/propsys/tests enable_tests
20934 wine_fn_config_makefile dlls/psapi enable_psapi
20935 wine_fn_config_makefile dlls/psapi/tests enable_tests
20936 wine_fn_config_makefile dlls/pstorec enable_pstorec
20937 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20938 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20939 wine_fn_config_makefile dlls/qasf enable_qasf
20940 wine_fn_config_makefile dlls/qasf/tests enable_tests
20941 wine_fn_config_makefile dlls/qcap enable_qcap
20942 wine_fn_config_makefile dlls/qcap/tests enable_tests
20943 wine_fn_config_makefile dlls/qdvd enable_qdvd
20944 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20945 wine_fn_config_makefile dlls/qedit enable_qedit
20946 wine_fn_config_makefile dlls/qedit/tests enable_tests
20947 wine_fn_config_makefile dlls/qmgr enable_qmgr
20948 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20949 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20950 wine_fn_config_makefile dlls/quartz enable_quartz
20951 wine_fn_config_makefile dlls/quartz/tests enable_tests
20952 wine_fn_config_makefile dlls/query enable_query
20953 wine_fn_config_makefile dlls/qwave enable_qwave
20954 wine_fn_config_makefile dlls/qwave/tests enable_tests
20955 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20956 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20957 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20958 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20959 wine_fn_config_makefile dlls/regapi enable_regapi
20960 wine_fn_config_makefile dlls/resutils enable_resutils
20961 wine_fn_config_makefile dlls/riched20 enable_riched20
20962 wine_fn_config_makefile dlls/riched20/tests enable_tests
20963 wine_fn_config_makefile dlls/riched32 enable_riched32
20964 wine_fn_config_makefile dlls/riched32/tests enable_tests
20965 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20966 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20967 wine_fn_config_makefile dlls/rsabase enable_rsabase
20968 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20969 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20970 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20971 wine_fn_config_makefile dlls/rtutils enable_rtutils
20972 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20973 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20974 wine_fn_config_makefile dlls/samlib enable_samlib
20975 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20976 wine_fn_config_makefile dlls/sapi enable_sapi
20977 wine_fn_config_makefile dlls/sapi/tests enable_tests
20978 wine_fn_config_makefile dlls/sas enable_sas
20979 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20980 wine_fn_config_makefile dlls/sccbase enable_sccbase
20981 wine_fn_config_makefile dlls/schannel enable_schannel
20982 wine_fn_config_makefile dlls/schannel/tests enable_tests
20983 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20984 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20985 wine_fn_config_makefile dlls/scrobj enable_scrobj
20986 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20987 wine_fn_config_makefile dlls/scrrun enable_scrrun
20988 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20989 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20990 wine_fn_config_makefile dlls/sechost enable_sechost
20991 wine_fn_config_makefile dlls/secur32 enable_secur32
20992 wine_fn_config_makefile dlls/secur32/tests enable_tests
20993 wine_fn_config_makefile dlls/security enable_security
20994 wine_fn_config_makefile dlls/sensapi enable_sensapi
20995 wine_fn_config_makefile dlls/serialui enable_serialui
20996 wine_fn_config_makefile dlls/serialui/tests enable_tests
20997 wine_fn_config_makefile dlls/setupapi enable_setupapi
20998 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20999 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21000 wine_fn_config_makefile dlls/sfc enable_sfc
21001 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21002 wine_fn_config_makefile dlls/shcore enable_shcore
21003 wine_fn_config_makefile dlls/shcore/tests enable_tests
21004 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21005 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21006 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21007 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21008 wine_fn_config_makefile dlls/shell32 enable_shell32
21009 wine_fn_config_makefile dlls/shell32/tests enable_tests
21010 wine_fn_config_makefile dlls/shfolder enable_shfolder
21011 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21012 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21013 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21014 wine_fn_config_makefile dlls/slc enable_slc
21015 wine_fn_config_makefile dlls/slc/tests enable_tests
21016 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21017 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21018 wine_fn_config_makefile dlls/softpub enable_softpub
21019 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21020 wine_fn_config_makefile dlls/spoolss enable_spoolss
21021 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21022 wine_fn_config_makefile dlls/srclient enable_srclient
21023 wine_fn_config_makefile dlls/srvcli enable_srvcli
21024 wine_fn_config_makefile dlls/sspicli enable_sspicli
21025 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21026 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21027 wine_fn_config_makefile dlls/sti enable_sti
21028 wine_fn_config_makefile dlls/sti/tests enable_tests
21029 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21030 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21031 wine_fn_config_makefile dlls/strmbase enable_strmbase
21032 wine_fn_config_makefile dlls/strmdll enable_strmdll
21033 wine_fn_config_makefile dlls/strmiids enable_strmiids
21034 wine_fn_config_makefile dlls/svrapi enable_svrapi
21035 wine_fn_config_makefile dlls/sxs enable_sxs
21036 wine_fn_config_makefile dlls/sxs/tests enable_tests
21037 wine_fn_config_makefile dlls/system.drv16 enable_win16
21038 wine_fn_config_makefile dlls/t2embed enable_t2embed
21039 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21040 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21041 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21042 wine_fn_config_makefile dlls/taskschd enable_taskschd
21043 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21044 wine_fn_config_makefile dlls/tdh enable_tdh
21045 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21046 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21047 wine_fn_config_makefile dlls/traffic enable_traffic
21048 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21049 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21050 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21051 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21052 wine_fn_config_makefile dlls/tzres enable_tzres
21053 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21054 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21055 wine_fn_config_makefile dlls/uianimation enable_uianimation
21056 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21057 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21058 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21059 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21060 wine_fn_config_makefile dlls/unicows enable_unicows
21061 wine_fn_config_makefile dlls/updspapi enable_updspapi
21062 wine_fn_config_makefile dlls/url enable_url
21063 wine_fn_config_makefile dlls/urlmon enable_urlmon
21064 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21065 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21066 wine_fn_config_makefile dlls/user.exe16 enable_win16
21067 wine_fn_config_makefile dlls/user32 enable_user32
21068 wine_fn_config_makefile dlls/user32/tests enable_tests
21069 wine_fn_config_makefile dlls/userenv enable_userenv
21070 wine_fn_config_makefile dlls/userenv/tests enable_tests
21071 wine_fn_config_makefile dlls/usp10 enable_usp10
21072 wine_fn_config_makefile dlls/usp10/tests enable_tests
21073 wine_fn_config_makefile dlls/utildll enable_utildll
21074 wine_fn_config_makefile dlls/uuid enable_uuid
21075 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21076 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21077 wine_fn_config_makefile dlls/vbscript enable_vbscript
21078 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21079 wine_fn_config_makefile dlls/vcomp enable_vcomp
21080 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21081 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21082 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21083 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21084 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21085 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21086 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21087 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21088 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21089 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21090 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21091 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21092 wine_fn_config_makefile dlls/version enable_version
21093 wine_fn_config_makefile dlls/version/tests enable_tests
21094 wine_fn_config_makefile dlls/vga enable_vga
21095 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21096 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21097 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21098 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21099 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21100 wine_fn_config_makefile dlls/vssapi enable_vssapi
21101 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21102 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21103 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21104 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21105 wine_fn_config_makefile dlls/w32skrnl enable_win16
21106 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21107 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21108 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21109 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21110 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21111 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21112 wine_fn_config_makefile dlls/wdscore enable_wdscore
21113 wine_fn_config_makefile dlls/webservices enable_webservices
21114 wine_fn_config_makefile dlls/webservices/tests enable_tests
21115 wine_fn_config_makefile dlls/wer enable_wer
21116 wine_fn_config_makefile dlls/wer/tests enable_tests
21117 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21118 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21119 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21120 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21121 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21122 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21123 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21124 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21125 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21126 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21127 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21128 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21129 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21130 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21131 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21132 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21133 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21134 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21135 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21136 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21137 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21138 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21139 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21140 wine_fn_config_makefile dlls/wined3d enable_wined3d
21141 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21142 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21143 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21144 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21145 wine_fn_config_makefile dlls/winemapi enable_winemapi
21146 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21147 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21148 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21149 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21150 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21151 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21152 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21153 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21154 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21155 wine_fn_config_makefile dlls/wing32 enable_wing32
21156 wine_fn_config_makefile dlls/winhttp enable_winhttp
21157 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21158 wine_fn_config_makefile dlls/wininet enable_wininet
21159 wine_fn_config_makefile dlls/wininet/tests enable_tests
21160 wine_fn_config_makefile dlls/winmm enable_winmm
21161 wine_fn_config_makefile dlls/winmm/tests enable_tests
21162 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21163 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21164 wine_fn_config_makefile dlls/winscard enable_winscard
21165 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21166 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21167 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21168 wine_fn_config_makefile dlls/winsta enable_winsta
21169 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21170 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21171 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21172 wine_fn_config_makefile dlls/wintrust enable_wintrust
21173 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21174 wine_fn_config_makefile dlls/winusb enable_winusb
21175 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21176 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21177 wine_fn_config_makefile dlls/wlanui enable_wlanui
21178 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21179 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21180 wine_fn_config_makefile dlls/wmasf enable_wmasf
21181 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21182 wine_fn_config_makefile dlls/wmi enable_wmi
21183 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21184 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21185 wine_fn_config_makefile dlls/wmp enable_wmp
21186 wine_fn_config_makefile dlls/wmp/tests enable_tests
21187 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21188 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21189 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21190 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21191 wine_fn_config_makefile dlls/wow32 enable_win16
21192 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21193 wine_fn_config_makefile dlls/wpc enable_wpc
21194 wine_fn_config_makefile dlls/wpc/tests enable_tests
21195 wine_fn_config_makefile dlls/wpcap enable_wpcap
21196 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21197 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21198 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21199 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21200 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21201 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21202 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21203 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21204 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21205 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21206 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21207 wine_fn_config_makefile dlls/wuapi enable_wuapi
21208 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21209 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21210 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21211 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21212 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21213 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21214 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21215 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21216 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21217 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21218 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21219 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21220 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21221 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21222 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21223 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21224 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21225 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21226 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21227 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21228 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21229 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21230 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21231 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21232 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21233 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21234 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21235 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21236 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21237 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21238 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21239 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21240 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21241 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21242 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21243 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21244 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21245 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21246 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21247 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21248 wine_fn_config_makefile dlls/xmllite enable_xmllite
21249 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21250 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21251 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21252 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21253 wine_fn_config_makefile fonts enable_fonts
21254 wine_fn_config_makefile include enable_include
21255 wine_fn_config_makefile libs/port enable_port
21256 wine_fn_config_makefile libs/wine enable_wine
21257 wine_fn_config_makefile libs/wpp enable_wpp
21258 wine_fn_config_makefile loader enable_loader
21259 wine_fn_config_makefile nls enable_nls
21260 wine_fn_config_makefile po enable_po
21261 wine_fn_config_makefile programs/arp enable_arp
21262 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21263 wine_fn_config_makefile programs/attrib enable_attrib
21264 wine_fn_config_makefile programs/cabarc enable_cabarc
21265 wine_fn_config_makefile programs/cacls enable_cacls
21266 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21267 wine_fn_config_makefile programs/clock enable_clock
21268 wine_fn_config_makefile programs/cmd enable_cmd
21269 wine_fn_config_makefile programs/cmd/tests enable_tests
21270 wine_fn_config_makefile programs/conhost enable_conhost
21271 wine_fn_config_makefile programs/conhost/tests enable_tests
21272 wine_fn_config_makefile programs/control enable_control
21273 wine_fn_config_makefile programs/cscript enable_cscript
21274 wine_fn_config_makefile programs/dism enable_dism
21275 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21276 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21277 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21278 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21279 wine_fn_config_makefile programs/eject enable_eject
21280 wine_fn_config_makefile programs/expand enable_expand
21281 wine_fn_config_makefile programs/explorer enable_explorer
21282 wine_fn_config_makefile programs/extrac32 enable_extrac32
21283 wine_fn_config_makefile programs/fc enable_fc
21284 wine_fn_config_makefile programs/find enable_find
21285 wine_fn_config_makefile programs/find/tests enable_tests
21286 wine_fn_config_makefile programs/findstr enable_findstr
21287 wine_fn_config_makefile programs/fsutil enable_fsutil
21288 wine_fn_config_makefile programs/fsutil/tests enable_tests
21289 wine_fn_config_makefile programs/hh enable_hh
21290 wine_fn_config_makefile programs/hostname enable_hostname
21291 wine_fn_config_makefile programs/icacls enable_icacls
21292 wine_fn_config_makefile programs/icinfo enable_icinfo
21293 wine_fn_config_makefile programs/iexplore enable_iexplore
21294 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21295 wine_fn_config_makefile programs/lodctr enable_lodctr
21296 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21297 wine_fn_config_makefile programs/mshta enable_mshta
21298 wine_fn_config_makefile programs/msidb enable_msidb
21299 wine_fn_config_makefile programs/msiexec enable_msiexec
21300 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21301 wine_fn_config_makefile programs/net enable_net
21302 wine_fn_config_makefile programs/netsh enable_netsh
21303 wine_fn_config_makefile programs/netstat enable_netstat
21304 wine_fn_config_makefile programs/ngen enable_ngen
21305 wine_fn_config_makefile programs/notepad enable_notepad
21306 wine_fn_config_makefile programs/oleview enable_oleview
21307 wine_fn_config_makefile programs/ping enable_ping
21308 wine_fn_config_makefile programs/plugplay enable_plugplay
21309 wine_fn_config_makefile programs/powershell enable_powershell
21310 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21311 wine_fn_config_makefile programs/progman enable_progman
21312 wine_fn_config_makefile programs/reg enable_reg
21313 wine_fn_config_makefile programs/reg/tests enable_tests
21314 wine_fn_config_makefile programs/regasm enable_regasm
21315 wine_fn_config_makefile programs/regedit enable_regedit
21316 wine_fn_config_makefile programs/regedit/tests enable_tests
21317 wine_fn_config_makefile programs/regini enable_regini
21318 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21319 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21320 wine_fn_config_makefile programs/rpcss enable_rpcss
21321 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21322 wine_fn_config_makefile programs/rundll32 enable_rundll32
21323 wine_fn_config_makefile programs/sc enable_sc
21324 wine_fn_config_makefile programs/schtasks enable_schtasks
21325 wine_fn_config_makefile programs/schtasks/tests enable_tests
21326 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21327 wine_fn_config_makefile programs/secedit enable_secedit
21328 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21329 wine_fn_config_makefile programs/services enable_services
21330 wine_fn_config_makefile programs/services/tests enable_tests
21331 wine_fn_config_makefile programs/shutdown enable_shutdown
21332 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21333 wine_fn_config_makefile programs/start enable_start
21334 wine_fn_config_makefile programs/subst enable_subst
21335 wine_fn_config_makefile programs/svchost enable_svchost
21336 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21337 wine_fn_config_makefile programs/taskkill enable_taskkill
21338 wine_fn_config_makefile programs/tasklist enable_tasklist
21339 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21340 wine_fn_config_makefile programs/termsv enable_termsv
21341 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21342 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21343 wine_fn_config_makefile programs/view enable_view
21344 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21345 wine_fn_config_makefile programs/where enable_where
21346 wine_fn_config_makefile programs/whoami enable_whoami
21347 wine_fn_config_makefile programs/wineboot enable_wineboot
21348 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21349 wine_fn_config_makefile programs/winecfg enable_winecfg
21350 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21351 wine_fn_config_makefile programs/winedbg enable_winedbg
21352 wine_fn_config_makefile programs/winedevice enable_winedevice
21353 wine_fn_config_makefile programs/winefile enable_winefile
21354 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21355 wine_fn_config_makefile programs/winemine enable_winemine
21356 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21357 wine_fn_config_makefile programs/winepath enable_winepath
21358 wine_fn_config_makefile programs/winetest enable_winetest
21359 wine_fn_config_makefile programs/winevdm enable_win16
21360 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21361 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21362 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21363 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21364 wine_fn_config_makefile programs/winver enable_winver
21365 wine_fn_config_makefile programs/wmic enable_wmic
21366 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21367 wine_fn_config_makefile programs/wordpad enable_wordpad
21368 wine_fn_config_makefile programs/write enable_write
21369 wine_fn_config_makefile programs/wscript enable_wscript
21370 wine_fn_config_makefile programs/wscript/tests enable_tests
21371 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21372 wine_fn_config_makefile programs/wusa enable_wusa
21373 wine_fn_config_makefile programs/xcopy enable_xcopy
21374 wine_fn_config_makefile programs/xcopy/tests enable_tests
21375 wine_fn_config_makefile server enable_server
21376 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21377 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21378 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21379 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21380 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21381 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21382 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21383 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21384 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21387 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21388 wine_fn_append_file CONFIGURE_TARGETS "tags"
21389 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21390 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21391 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21392 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21393 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21394 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21396 if test "x$enable_tools" != xno
21397 then
21398 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21399 ac_config_commands="$ac_config_commands tools/makedep"
21403 ac_config_commands="$ac_config_commands Makefile"
21406 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21410 if test "x$enable_maintainer_mode" = xyes
21411 then
21412 wine_fn_append_rule "configure: configure.ac aclocal.m4
21413 autoconf --warnings=all
21414 include/config.h.in: include/stamp-h.in
21415 include/stamp-h.in: configure.ac aclocal.m4
21416 autoheader --warnings=all
21417 @echo timestamp > \$@"
21420 if test "x$enable_tools" != xno
21421 then
21422 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21423 @./config.status tools/makedep
21424 Makefile: tools/makedep$ac_exeext"
21425 else
21426 wine_fn_append_rule "\$(MAKEDEP):
21427 @echo \"You need to run make in $TOOLSDIR first\" && false"
21430 if test -n "$with_wine64"
21431 then
21432 case "$with_wine64" in
21433 /*) reldir="" ;;
21434 *) reldir="../" ;;
21435 esac
21436 rm -f fonts server 2>/dev/null
21437 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21438 loader/wine64 loader/wine64-preloader:
21439 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21440 $with_wine64/loader/wine:
21441 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21442 $with_wine64/loader/wine-preloader:
21443 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21444 clean::
21445 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21446 else
21447 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21448 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21449 fonts \
21450 loader/wine.inf \
21451 nls \
21452 programs/msidb/msidb \
21453 programs/msiexec/msiexec \
21454 programs/notepad/notepad \
21455 programs/regedit/regedit \
21456 programs/regsvr32/regsvr32 \
21457 programs/wineboot/wineboot \
21458 programs/winecfg/winecfg \
21459 programs/wineconsole/wineconsole \
21460 programs/winedbg/winedbg \
21461 programs/winefile/winefile \
21462 programs/winemine/winemine \
21463 programs/winepath/winepath \
21464 server/wineserver"
21466 case $host_os in
21467 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21468 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21469 esac
21472 $as_echo " done" >&6
21473 cat >confcache <<\_ACEOF
21474 # This file is a shell script that caches the results of configure
21475 # tests run on this system so they can be shared between configure
21476 # scripts and configure runs, see configure's option --config-cache.
21477 # It is not useful on other systems. If it contains results you don't
21478 # want to keep, you may remove or edit it.
21480 # config.status only pays attention to the cache file if you give it
21481 # the --recheck option to rerun configure.
21483 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21484 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21485 # following values.
21487 _ACEOF
21489 # The following way of writing the cache mishandles newlines in values,
21490 # but we know of no workaround that is simple, portable, and efficient.
21491 # So, we kill variables containing newlines.
21492 # Ultrix sh set writes to stderr and can't be redirected directly,
21493 # and sets the high bit in the cache file unless we assign to the vars.
21495 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21496 eval ac_val=\$$ac_var
21497 case $ac_val in #(
21498 *${as_nl}*)
21499 case $ac_var in #(
21500 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21501 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21502 esac
21503 case $ac_var in #(
21504 _ | IFS | as_nl) ;; #(
21505 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21506 *) { eval $ac_var=; unset $ac_var;} ;;
21507 esac ;;
21508 esac
21509 done
21511 (set) 2>&1 |
21512 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21513 *${as_nl}ac_space=\ *)
21514 # `set' does not quote correctly, so add quotes: double-quote
21515 # substitution turns \\\\ into \\, and sed turns \\ into \.
21516 sed -n \
21517 "s/'/'\\\\''/g;
21518 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21519 ;; #(
21521 # `set' quotes correctly as required by POSIX, so do not add quotes.
21522 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21524 esac |
21525 sort
21527 sed '
21528 /^ac_cv_env_/b end
21529 t clear
21530 :clear
21531 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21532 t end
21533 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21534 :end' >>confcache
21535 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21536 if test -w "$cache_file"; then
21537 if test "x$cache_file" != "x/dev/null"; then
21538 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21539 $as_echo "$as_me: updating cache $cache_file" >&6;}
21540 if test ! -f "$cache_file" || test -h "$cache_file"; then
21541 cat confcache >"$cache_file"
21542 else
21543 case $cache_file in #(
21544 */* | ?:*)
21545 mv -f confcache "$cache_file"$$ &&
21546 mv -f "$cache_file"$$ "$cache_file" ;; #(
21548 mv -f confcache "$cache_file" ;;
21549 esac
21552 else
21553 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21554 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21557 rm -f confcache
21559 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21560 # Let make expand exec_prefix.
21561 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21563 DEFS=-DHAVE_CONFIG_H
21565 ac_libobjs=
21566 ac_ltlibobjs=
21568 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21569 # 1. Remove the extension, and $U if already installed.
21570 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21571 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21572 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21573 # will be set to the directory where LIBOBJS objects are built.
21574 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21575 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21576 done
21577 LIBOBJS=$ac_libobjs
21579 LTLIBOBJS=$ac_ltlibobjs
21583 : "${CONFIG_STATUS=./config.status}"
21584 ac_write_fail=0
21585 ac_clean_files_save=$ac_clean_files
21586 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21587 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21588 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21589 as_write_fail=0
21590 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21591 #! $SHELL
21592 # Generated by $as_me.
21593 # Run this file to recreate the current configuration.
21594 # Compiler output produced by configure, useful for debugging
21595 # configure, is in config.log if it exists.
21597 debug=false
21598 ac_cs_recheck=false
21599 ac_cs_silent=false
21601 SHELL=\${CONFIG_SHELL-$SHELL}
21602 export SHELL
21603 _ASEOF
21604 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21605 ## -------------------- ##
21606 ## M4sh Initialization. ##
21607 ## -------------------- ##
21609 # Be more Bourne compatible
21610 DUALCASE=1; export DUALCASE # for MKS sh
21611 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21612 emulate sh
21613 NULLCMD=:
21614 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21615 # is contrary to our usage. Disable this feature.
21616 alias -g '${1+"$@"}'='"$@"'
21617 setopt NO_GLOB_SUBST
21618 else
21619 case `(set -o) 2>/dev/null` in #(
21620 *posix*) :
21621 set -o posix ;; #(
21622 *) :
21624 esac
21628 as_nl='
21630 export as_nl
21631 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21632 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21633 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21634 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21635 # Prefer a ksh shell builtin over an external printf program on Solaris,
21636 # but without wasting forks for bash or zsh.
21637 if test -z "$BASH_VERSION$ZSH_VERSION" \
21638 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21639 as_echo='print -r --'
21640 as_echo_n='print -rn --'
21641 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21642 as_echo='printf %s\n'
21643 as_echo_n='printf %s'
21644 else
21645 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21646 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21647 as_echo_n='/usr/ucb/echo -n'
21648 else
21649 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21650 as_echo_n_body='eval
21651 arg=$1;
21652 case $arg in #(
21653 *"$as_nl"*)
21654 expr "X$arg" : "X\\(.*\\)$as_nl";
21655 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21656 esac;
21657 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21659 export as_echo_n_body
21660 as_echo_n='sh -c $as_echo_n_body as_echo'
21662 export as_echo_body
21663 as_echo='sh -c $as_echo_body as_echo'
21666 # The user is always right.
21667 if test "${PATH_SEPARATOR+set}" != set; then
21668 PATH_SEPARATOR=:
21669 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21670 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21671 PATH_SEPARATOR=';'
21676 # IFS
21677 # We need space, tab and new line, in precisely that order. Quoting is
21678 # there to prevent editors from complaining about space-tab.
21679 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21680 # splitting by setting IFS to empty value.)
21681 IFS=" "" $as_nl"
21683 # Find who we are. Look in the path if we contain no directory separator.
21684 as_myself=
21685 case $0 in #((
21686 *[\\/]* ) as_myself=$0 ;;
21687 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21688 for as_dir in $PATH
21690 IFS=$as_save_IFS
21691 test -z "$as_dir" && as_dir=.
21692 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21693 done
21694 IFS=$as_save_IFS
21697 esac
21698 # We did not find ourselves, most probably we were run as `sh COMMAND'
21699 # in which case we are not to be found in the path.
21700 if test "x$as_myself" = x; then
21701 as_myself=$0
21703 if test ! -f "$as_myself"; then
21704 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21705 exit 1
21708 # Unset variables that we do not need and which cause bugs (e.g. in
21709 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21710 # suppresses any "Segmentation fault" message there. '((' could
21711 # trigger a bug in pdksh 5.2.14.
21712 for as_var in BASH_ENV ENV MAIL MAILPATH
21713 do eval test x\${$as_var+set} = xset \
21714 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21715 done
21716 PS1='$ '
21717 PS2='> '
21718 PS4='+ '
21720 # NLS nuisances.
21721 LC_ALL=C
21722 export LC_ALL
21723 LANGUAGE=C
21724 export LANGUAGE
21726 # CDPATH.
21727 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21730 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21731 # ----------------------------------------
21732 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21733 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21734 # script with STATUS, using 1 if that was 0.
21735 as_fn_error ()
21737 as_status=$1; test $as_status -eq 0 && as_status=1
21738 if test "$4"; then
21739 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21740 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21742 $as_echo "$as_me: error: $2" >&2
21743 as_fn_exit $as_status
21744 } # as_fn_error
21747 # as_fn_set_status STATUS
21748 # -----------------------
21749 # Set $? to STATUS, without forking.
21750 as_fn_set_status ()
21752 return $1
21753 } # as_fn_set_status
21755 # as_fn_exit STATUS
21756 # -----------------
21757 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21758 as_fn_exit ()
21760 set +e
21761 as_fn_set_status $1
21762 exit $1
21763 } # as_fn_exit
21765 # as_fn_unset VAR
21766 # ---------------
21767 # Portably unset VAR.
21768 as_fn_unset ()
21770 { eval $1=; unset $1;}
21772 as_unset=as_fn_unset
21773 # as_fn_append VAR VALUE
21774 # ----------------------
21775 # Append the text in VALUE to the end of the definition contained in VAR. Take
21776 # advantage of any shell optimizations that allow amortized linear growth over
21777 # repeated appends, instead of the typical quadratic growth present in naive
21778 # implementations.
21779 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21780 eval 'as_fn_append ()
21782 eval $1+=\$2
21784 else
21785 as_fn_append ()
21787 eval $1=\$$1\$2
21789 fi # as_fn_append
21791 # as_fn_arith ARG...
21792 # ------------------
21793 # Perform arithmetic evaluation on the ARGs, and store the result in the
21794 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21795 # must be portable across $(()) and expr.
21796 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21797 eval 'as_fn_arith ()
21799 as_val=$(( $* ))
21801 else
21802 as_fn_arith ()
21804 as_val=`expr "$@" || test $? -eq 1`
21806 fi # as_fn_arith
21809 if expr a : '\(a\)' >/dev/null 2>&1 &&
21810 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21811 as_expr=expr
21812 else
21813 as_expr=false
21816 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21817 as_basename=basename
21818 else
21819 as_basename=false
21822 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21823 as_dirname=dirname
21824 else
21825 as_dirname=false
21828 as_me=`$as_basename -- "$0" ||
21829 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21830 X"$0" : 'X\(//\)$' \| \
21831 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21832 $as_echo X/"$0" |
21833 sed '/^.*\/\([^/][^/]*\)\/*$/{
21834 s//\1/
21837 /^X\/\(\/\/\)$/{
21838 s//\1/
21841 /^X\/\(\/\).*/{
21842 s//\1/
21845 s/.*/./; q'`
21847 # Avoid depending upon Character Ranges.
21848 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21849 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21850 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21851 as_cr_digits='0123456789'
21852 as_cr_alnum=$as_cr_Letters$as_cr_digits
21854 ECHO_C= ECHO_N= ECHO_T=
21855 case `echo -n x` in #(((((
21856 -n*)
21857 case `echo 'xy\c'` in
21858 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21859 xy) ECHO_C='\c';;
21860 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21861 ECHO_T=' ';;
21862 esac;;
21864 ECHO_N='-n';;
21865 esac
21867 rm -f conf$$ conf$$.exe conf$$.file
21868 if test -d conf$$.dir; then
21869 rm -f conf$$.dir/conf$$.file
21870 else
21871 rm -f conf$$.dir
21872 mkdir conf$$.dir 2>/dev/null
21874 if (echo >conf$$.file) 2>/dev/null; then
21875 if ln -s conf$$.file conf$$ 2>/dev/null; then
21876 as_ln_s='ln -s'
21877 # ... but there are two gotchas:
21878 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21879 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21880 # In both cases, we have to default to `cp -pR'.
21881 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21882 as_ln_s='cp -pR'
21883 elif ln conf$$.file conf$$ 2>/dev/null; then
21884 as_ln_s=ln
21885 else
21886 as_ln_s='cp -pR'
21888 else
21889 as_ln_s='cp -pR'
21891 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21892 rmdir conf$$.dir 2>/dev/null
21895 # as_fn_mkdir_p
21896 # -------------
21897 # Create "$as_dir" as a directory, including parents if necessary.
21898 as_fn_mkdir_p ()
21901 case $as_dir in #(
21902 -*) as_dir=./$as_dir;;
21903 esac
21904 test -d "$as_dir" || eval $as_mkdir_p || {
21905 as_dirs=
21906 while :; do
21907 case $as_dir in #(
21908 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21909 *) as_qdir=$as_dir;;
21910 esac
21911 as_dirs="'$as_qdir' $as_dirs"
21912 as_dir=`$as_dirname -- "$as_dir" ||
21913 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21914 X"$as_dir" : 'X\(//\)[^/]' \| \
21915 X"$as_dir" : 'X\(//\)$' \| \
21916 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21917 $as_echo X"$as_dir" |
21918 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21919 s//\1/
21922 /^X\(\/\/\)[^/].*/{
21923 s//\1/
21926 /^X\(\/\/\)$/{
21927 s//\1/
21930 /^X\(\/\).*/{
21931 s//\1/
21934 s/.*/./; q'`
21935 test -d "$as_dir" && break
21936 done
21937 test -z "$as_dirs" || eval "mkdir $as_dirs"
21938 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21941 } # as_fn_mkdir_p
21942 if mkdir -p . 2>/dev/null; then
21943 as_mkdir_p='mkdir -p "$as_dir"'
21944 else
21945 test -d ./-p && rmdir ./-p
21946 as_mkdir_p=false
21950 # as_fn_executable_p FILE
21951 # -----------------------
21952 # Test if FILE is an executable regular file.
21953 as_fn_executable_p ()
21955 test -f "$1" && test -x "$1"
21956 } # as_fn_executable_p
21957 as_test_x='test -x'
21958 as_executable_p=as_fn_executable_p
21960 # Sed expression to map a string onto a valid CPP name.
21961 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21963 # Sed expression to map a string onto a valid variable name.
21964 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21967 exec 6>&1
21968 ## ----------------------------------- ##
21969 ## Main body of $CONFIG_STATUS script. ##
21970 ## ----------------------------------- ##
21971 _ASEOF
21972 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21974 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21975 # Save the log message, to keep $0 and so on meaningful, and to
21976 # report actual input values of CONFIG_FILES etc. instead of their
21977 # values after options handling.
21978 ac_log="
21979 This file was extended by Wine $as_me 6.4, which was
21980 generated by GNU Autoconf 2.69. Invocation command line was
21982 CONFIG_FILES = $CONFIG_FILES
21983 CONFIG_HEADERS = $CONFIG_HEADERS
21984 CONFIG_LINKS = $CONFIG_LINKS
21985 CONFIG_COMMANDS = $CONFIG_COMMANDS
21986 $ $0 $@
21988 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21991 _ACEOF
21993 case $ac_config_files in *"
21994 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21995 esac
21997 case $ac_config_headers in *"
21998 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21999 esac
22002 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22003 # Files that config.status was made for.
22004 config_files="$ac_config_files"
22005 config_headers="$ac_config_headers"
22006 config_links="$ac_config_links"
22007 config_commands="$ac_config_commands"
22009 _ACEOF
22011 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22012 ac_cs_usage="\
22013 \`$as_me' instantiates files and other configuration actions
22014 from templates according to the current configuration. Unless the files
22015 and actions are specified as TAGs, all are instantiated by default.
22017 Usage: $0 [OPTION]... [TAG]...
22019 -h, --help print this help, then exit
22020 -V, --version print version number and configuration settings, then exit
22021 --config print configuration, then exit
22022 -q, --quiet, --silent
22023 do not print progress messages
22024 -d, --debug don't remove temporary files
22025 --recheck update $as_me by reconfiguring in the same conditions
22026 --file=FILE[:TEMPLATE]
22027 instantiate the configuration file FILE
22028 --header=FILE[:TEMPLATE]
22029 instantiate the configuration header FILE
22031 Configuration files:
22032 $config_files
22034 Configuration headers:
22035 $config_headers
22037 Configuration links:
22038 $config_links
22040 Configuration commands:
22041 $config_commands
22043 Report bugs to <wine-devel@winehq.org>.
22044 Wine home page: <https://www.winehq.org>."
22046 _ACEOF
22047 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22048 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22049 ac_cs_version="\\
22050 Wine config.status 6.4
22051 configured by $0, generated by GNU Autoconf 2.69,
22052 with options \\"\$ac_cs_config\\"
22054 Copyright (C) 2012 Free Software Foundation, Inc.
22055 This config.status script is free software; the Free Software Foundation
22056 gives unlimited permission to copy, distribute and modify it."
22058 ac_pwd='$ac_pwd'
22059 srcdir='$srcdir'
22060 test -n "\$AWK" || AWK=awk
22061 _ACEOF
22063 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22064 # The default lists apply if the user does not specify any file.
22065 ac_need_defaults=:
22066 while test $# != 0
22068 case $1 in
22069 --*=?*)
22070 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22071 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22072 ac_shift=:
22074 --*=)
22075 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22076 ac_optarg=
22077 ac_shift=:
22080 ac_option=$1
22081 ac_optarg=$2
22082 ac_shift=shift
22084 esac
22086 case $ac_option in
22087 # Handling of the options.
22088 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22089 ac_cs_recheck=: ;;
22090 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22091 $as_echo "$ac_cs_version"; exit ;;
22092 --config | --confi | --conf | --con | --co | --c )
22093 $as_echo "$ac_cs_config"; exit ;;
22094 --debug | --debu | --deb | --de | --d | -d )
22095 debug=: ;;
22096 --file | --fil | --fi | --f )
22097 $ac_shift
22098 case $ac_optarg in
22099 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22100 '') as_fn_error $? "missing file argument" ;;
22101 esac
22102 as_fn_append CONFIG_FILES " '$ac_optarg'"
22103 ac_need_defaults=false;;
22104 --header | --heade | --head | --hea )
22105 $ac_shift
22106 case $ac_optarg in
22107 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22108 esac
22109 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22110 ac_need_defaults=false;;
22111 --he | --h)
22112 # Conflict between --help and --header
22113 as_fn_error $? "ambiguous option: \`$1'
22114 Try \`$0 --help' for more information.";;
22115 --help | --hel | -h )
22116 $as_echo "$ac_cs_usage"; exit ;;
22117 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22118 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22119 ac_cs_silent=: ;;
22121 # This is an error.
22122 -*) as_fn_error $? "unrecognized option: \`$1'
22123 Try \`$0 --help' for more information." ;;
22125 *) as_fn_append ac_config_targets " $1"
22126 ac_need_defaults=false ;;
22128 esac
22129 shift
22130 done
22132 ac_configure_extra_args=
22134 if $ac_cs_silent; then
22135 exec 6>/dev/null
22136 ac_configure_extra_args="$ac_configure_extra_args --silent"
22139 _ACEOF
22140 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22141 if \$ac_cs_recheck; then
22142 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22143 shift
22144 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22145 CONFIG_SHELL='$SHELL'
22146 export CONFIG_SHELL
22147 exec "\$@"
22150 _ACEOF
22151 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22152 exec 5>>config.log
22154 echo
22155 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22156 ## Running $as_me. ##
22157 _ASBOX
22158 $as_echo "$ac_log"
22159 } >&5
22161 _ACEOF
22162 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22164 # INIT-COMMANDS
22166 wine_fn_output_makedep ()
22168 as_dir=tools; as_fn_mkdir_p
22169 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22171 wine_fn_output_makefile ()
22173 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep"$makedep_flags && return
22174 `cat $wine_rules_file`
22175 _WINE_EOF
22176 as_fn_error $? "could not create Makefile" "$LINENO" 5
22179 _ACEOF
22181 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22183 # Handling of arguments.
22184 for ac_config_target in $ac_config_targets
22186 case $ac_config_target in
22187 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22188 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22189 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22190 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22191 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22192 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22193 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22195 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22196 esac
22197 done
22200 # If the user did not use the arguments to specify the items to instantiate,
22201 # then the envvar interface is used. Set only those that are not.
22202 # We use the long form for the default assignment because of an extremely
22203 # bizarre bug on SunOS 4.1.3.
22204 if $ac_need_defaults; then
22205 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22206 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22207 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22208 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22211 # Have a temporary directory for convenience. Make it in the build tree
22212 # simply because there is no reason against having it here, and in addition,
22213 # creating and moving files from /tmp can sometimes cause problems.
22214 # Hook for its removal unless debugging.
22215 # Note that there is a small window in which the directory will not be cleaned:
22216 # after its creation but before its name has been assigned to `$tmp'.
22217 $debug ||
22219 tmp= ac_tmp=
22220 trap 'exit_status=$?
22221 : "${ac_tmp:=$tmp}"
22222 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22224 trap 'as_fn_exit 1' 1 2 13 15
22226 # Create a (secure) tmp directory for tmp files.
22229 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22230 test -d "$tmp"
22231 } ||
22233 tmp=./conf$$-$RANDOM
22234 (umask 077 && mkdir "$tmp")
22235 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22236 ac_tmp=$tmp
22238 # Set up the scripts for CONFIG_FILES section.
22239 # No need to generate them if there are no CONFIG_FILES.
22240 # This happens for instance with `./config.status config.h'.
22241 if test -n "$CONFIG_FILES"; then
22244 ac_cr=`echo X | tr X '\015'`
22245 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22246 # But we know of no other shell where ac_cr would be empty at this
22247 # point, so we can use a bashism as a fallback.
22248 if test "x$ac_cr" = x; then
22249 eval ac_cr=\$\'\\r\'
22251 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22252 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22253 ac_cs_awk_cr='\\r'
22254 else
22255 ac_cs_awk_cr=$ac_cr
22258 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22259 _ACEOF
22263 echo "cat >conf$$subs.awk <<_ACEOF" &&
22264 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22265 echo "_ACEOF"
22266 } >conf$$subs.sh ||
22267 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22268 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22269 ac_delim='%!_!# '
22270 for ac_last_try in false false false false false :; do
22271 . ./conf$$subs.sh ||
22272 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22274 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22275 if test $ac_delim_n = $ac_delim_num; then
22276 break
22277 elif $ac_last_try; then
22278 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22279 else
22280 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22282 done
22283 rm -f conf$$subs.sh
22285 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22286 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22287 _ACEOF
22288 sed -n '
22290 s/^/S["/; s/!.*/"]=/
22293 s/^[^!]*!//
22294 :repl
22295 t repl
22296 s/'"$ac_delim"'$//
22297 t delim
22300 s/\(.\{148\}\)..*/\1/
22301 t more1
22302 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22305 b repl
22306 :more1
22307 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22310 s/.\{148\}//
22311 t nl
22312 :delim
22314 s/\(.\{148\}\)..*/\1/
22315 t more2
22316 s/["\\]/\\&/g; s/^/"/; s/$/"/
22319 :more2
22320 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22323 s/.\{148\}//
22324 t delim
22325 ' <conf$$subs.awk | sed '
22326 /^[^""]/{
22328 s/\n//
22330 ' >>$CONFIG_STATUS || ac_write_fail=1
22331 rm -f conf$$subs.awk
22332 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22333 _ACAWK
22334 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22335 for (key in S) S_is_set[key] = 1
22336 FS = "\a"
22340 line = $ 0
22341 nfields = split(line, field, "@")
22342 substed = 0
22343 len = length(field[1])
22344 for (i = 2; i < nfields; i++) {
22345 key = field[i]
22346 keylen = length(key)
22347 if (S_is_set[key]) {
22348 value = S[key]
22349 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22350 len += length(value) + length(field[++i])
22351 substed = 1
22352 } else
22353 len += 1 + keylen
22356 print line
22359 _ACAWK
22360 _ACEOF
22361 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22362 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22363 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22364 else
22366 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22367 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22368 _ACEOF
22370 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22371 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22372 # trailing colons and then remove the whole line if VPATH becomes empty
22373 # (actually we leave an empty line to preserve line numbers).
22374 if test "x$srcdir" = x.; then
22375 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22377 s///
22378 s/^/:/
22379 s/[ ]*$/:/
22380 s/:\$(srcdir):/:/g
22381 s/:\${srcdir}:/:/g
22382 s/:@srcdir@:/:/g
22383 s/^:*//
22384 s/:*$//
22386 s/\(=[ ]*\).*/\1/
22388 s/\n//
22389 s/^[^=]*=[ ]*$//
22393 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22394 fi # test -n "$CONFIG_FILES"
22396 # Set up the scripts for CONFIG_HEADERS section.
22397 # No need to generate them if there are no CONFIG_HEADERS.
22398 # This happens for instance with `./config.status Makefile'.
22399 if test -n "$CONFIG_HEADERS"; then
22400 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22401 BEGIN {
22402 _ACEOF
22404 # Transform confdefs.h into an awk script `defines.awk', embedded as
22405 # here-document in config.status, that substitutes the proper values into
22406 # config.h.in to produce config.h.
22408 # Create a delimiter string that does not exist in confdefs.h, to ease
22409 # handling of long lines.
22410 ac_delim='%!_!# '
22411 for ac_last_try in false false :; do
22412 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22413 if test -z "$ac_tt"; then
22414 break
22415 elif $ac_last_try; then
22416 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22417 else
22418 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22420 done
22422 # For the awk script, D is an array of macro values keyed by name,
22423 # likewise P contains macro parameters if any. Preserve backslash
22424 # newline sequences.
22426 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22427 sed -n '
22428 s/.\{148\}/&'"$ac_delim"'/g
22429 t rset
22430 :rset
22431 s/^[ ]*#[ ]*define[ ][ ]*/ /
22432 t def
22434 :def
22435 s/\\$//
22436 t bsnl
22437 s/["\\]/\\&/g
22438 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22439 D["\1"]=" \3"/p
22440 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22442 :bsnl
22443 s/["\\]/\\&/g
22444 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22445 D["\1"]=" \3\\\\\\n"\\/p
22446 t cont
22447 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22448 t cont
22450 :cont
22452 s/.\{148\}/&'"$ac_delim"'/g
22453 t clear
22454 :clear
22455 s/\\$//
22456 t bsnlc
22457 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22459 :bsnlc
22460 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22461 b cont
22462 ' <confdefs.h | sed '
22463 s/'"$ac_delim"'/"\\\
22464 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22466 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22467 for (key in D) D_is_set[key] = 1
22468 FS = "\a"
22470 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22471 line = \$ 0
22472 split(line, arg, " ")
22473 if (arg[1] == "#") {
22474 defundef = arg[2]
22475 mac1 = arg[3]
22476 } else {
22477 defundef = substr(arg[1], 2)
22478 mac1 = arg[2]
22480 split(mac1, mac2, "(") #)
22481 macro = mac2[1]
22482 prefix = substr(line, 1, index(line, defundef) - 1)
22483 if (D_is_set[macro]) {
22484 # Preserve the white space surrounding the "#".
22485 print prefix "define", macro P[macro] D[macro]
22486 next
22487 } else {
22488 # Replace #undef with comments. This is necessary, for example,
22489 # in the case of _POSIX_SOURCE, which is predefined and required
22490 # on some systems where configure will not decide to define it.
22491 if (defundef == "undef") {
22492 print "/*", prefix defundef, macro, "*/"
22493 next
22497 { print }
22498 _ACAWK
22499 _ACEOF
22500 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22501 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22502 fi # test -n "$CONFIG_HEADERS"
22505 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22506 shift
22507 for ac_tag
22509 case $ac_tag in
22510 :[FHLC]) ac_mode=$ac_tag; continue;;
22511 esac
22512 case $ac_mode$ac_tag in
22513 :[FHL]*:*);;
22514 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22515 :[FH]-) ac_tag=-:-;;
22516 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22517 esac
22518 ac_save_IFS=$IFS
22519 IFS=:
22520 set x $ac_tag
22521 IFS=$ac_save_IFS
22522 shift
22523 ac_file=$1
22524 shift
22526 case $ac_mode in
22527 :L) ac_source=$1;;
22528 :[FH])
22529 ac_file_inputs=
22530 for ac_f
22532 case $ac_f in
22533 -) ac_f="$ac_tmp/stdin";;
22534 *) # Look for the file first in the build tree, then in the source tree
22535 # (if the path is not absolute). The absolute path cannot be DOS-style,
22536 # because $ac_f cannot contain `:'.
22537 test -f "$ac_f" ||
22538 case $ac_f in
22539 [\\/$]*) false;;
22540 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22541 esac ||
22542 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22543 esac
22544 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22545 as_fn_append ac_file_inputs " '$ac_f'"
22546 done
22548 # Let's still pretend it is `configure' which instantiates (i.e., don't
22549 # use $as_me), people would be surprised to read:
22550 # /* config.h. Generated by config.status. */
22551 configure_input='Generated from '`
22552 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22553 `' by configure.'
22554 if test x"$ac_file" != x-; then
22555 configure_input="$ac_file. $configure_input"
22556 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22557 $as_echo "$as_me: creating $ac_file" >&6;}
22559 # Neutralize special characters interpreted by sed in replacement strings.
22560 case $configure_input in #(
22561 *\&* | *\|* | *\\* )
22562 ac_sed_conf_input=`$as_echo "$configure_input" |
22563 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22564 *) ac_sed_conf_input=$configure_input;;
22565 esac
22567 case $ac_tag in
22568 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22569 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22570 esac
22572 esac
22574 ac_dir=`$as_dirname -- "$ac_file" ||
22575 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22576 X"$ac_file" : 'X\(//\)[^/]' \| \
22577 X"$ac_file" : 'X\(//\)$' \| \
22578 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22579 $as_echo X"$ac_file" |
22580 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22581 s//\1/
22584 /^X\(\/\/\)[^/].*/{
22585 s//\1/
22588 /^X\(\/\/\)$/{
22589 s//\1/
22592 /^X\(\/\).*/{
22593 s//\1/
22596 s/.*/./; q'`
22597 as_dir="$ac_dir"; as_fn_mkdir_p
22598 ac_builddir=.
22600 case "$ac_dir" in
22601 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22603 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22604 # A ".." for each directory in $ac_dir_suffix.
22605 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22606 case $ac_top_builddir_sub in
22607 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22608 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22609 esac ;;
22610 esac
22611 ac_abs_top_builddir=$ac_pwd
22612 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22613 # for backward compatibility:
22614 ac_top_builddir=$ac_top_build_prefix
22616 case $srcdir in
22617 .) # We are building in place.
22618 ac_srcdir=.
22619 ac_top_srcdir=$ac_top_builddir_sub
22620 ac_abs_top_srcdir=$ac_pwd ;;
22621 [\\/]* | ?:[\\/]* ) # Absolute name.
22622 ac_srcdir=$srcdir$ac_dir_suffix;
22623 ac_top_srcdir=$srcdir
22624 ac_abs_top_srcdir=$srcdir ;;
22625 *) # Relative name.
22626 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22627 ac_top_srcdir=$ac_top_build_prefix$srcdir
22628 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22629 esac
22630 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22633 case $ac_mode in
22636 # CONFIG_FILE
22639 _ACEOF
22641 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22642 # If the template does not know about datarootdir, expand it.
22643 # FIXME: This hack should be removed a few years after 2.60.
22644 ac_datarootdir_hack=; ac_datarootdir_seen=
22645 ac_sed_dataroot='
22646 /datarootdir/ {
22650 /@datadir@/p
22651 /@docdir@/p
22652 /@infodir@/p
22653 /@localedir@/p
22654 /@mandir@/p'
22655 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22656 *datarootdir*) ac_datarootdir_seen=yes;;
22657 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22659 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22660 _ACEOF
22661 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22662 ac_datarootdir_hack='
22663 s&@datadir@&$datadir&g
22664 s&@docdir@&$docdir&g
22665 s&@infodir@&$infodir&g
22666 s&@localedir@&$localedir&g
22667 s&@mandir@&$mandir&g
22668 s&\\\${datarootdir}&$datarootdir&g' ;;
22669 esac
22670 _ACEOF
22672 # Neutralize VPATH when `$srcdir' = `.'.
22673 # Shell code in configure.ac might set extrasub.
22674 # FIXME: do we really want to maintain this feature?
22675 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22676 ac_sed_extra="$ac_vpsub
22677 $extrasub
22678 _ACEOF
22679 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22681 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22682 s|@configure_input@|$ac_sed_conf_input|;t t
22683 s&@top_builddir@&$ac_top_builddir_sub&;t t
22684 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22685 s&@srcdir@&$ac_srcdir&;t t
22686 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22687 s&@top_srcdir@&$ac_top_srcdir&;t t
22688 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22689 s&@builddir@&$ac_builddir&;t t
22690 s&@abs_builddir@&$ac_abs_builddir&;t t
22691 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22692 $ac_datarootdir_hack
22694 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22695 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22697 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22698 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22699 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22700 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22702 which seems to be undefined. Please make sure it is defined" >&5
22703 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22704 which seems to be undefined. Please make sure it is defined" >&2;}
22706 rm -f "$ac_tmp/stdin"
22707 case $ac_file in
22708 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22709 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22710 esac \
22711 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22715 # CONFIG_HEADER
22717 if test x"$ac_file" != x-; then
22719 $as_echo "/* $configure_input */" \
22720 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22721 } >"$ac_tmp/config.h" \
22722 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22723 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22724 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22725 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22726 else
22727 rm -f "$ac_file"
22728 mv "$ac_tmp/config.h" "$ac_file" \
22729 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22731 else
22732 $as_echo "/* $configure_input */" \
22733 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22734 || as_fn_error $? "could not create -" "$LINENO" 5
22739 # CONFIG_LINK
22742 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22744 else
22745 # Prefer the file from the source tree if names are identical.
22746 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22747 ac_source=$srcdir/$ac_source
22750 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22751 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22753 if test ! -r "$ac_source"; then
22754 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22756 rm -f "$ac_file"
22758 # Try a relative symlink, then a hard link, then a copy.
22759 case $ac_source in
22760 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22761 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22762 esac
22763 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22764 ln "$ac_source" "$ac_file" 2>/dev/null ||
22765 cp -p "$ac_source" "$ac_file" ||
22766 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22769 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22770 $as_echo "$as_me: executing $ac_file commands" >&6;}
22772 esac
22775 case $ac_file$ac_mode in
22776 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22777 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22778 "Makefile":C) wine_fn_output_makefile Makefile ;;
22780 esac
22781 done # for ac_tag
22784 as_fn_exit 0
22785 _ACEOF
22786 ac_clean_files=$ac_clean_files_save
22788 test $ac_write_fail = 0 ||
22789 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22792 # configure is writing to config.log, and then calls config.status.
22793 # config.status does its own redirection, appending to config.log.
22794 # Unfortunately, on DOS this fails, as config.log is still kept open
22795 # by configure, so config.status won't be able to write to it; its
22796 # output is simply discarded. So we exec the FD to /dev/null,
22797 # effectively closing config.log, so it can be properly (re)opened and
22798 # appended to by config.status. When coming back to configure, we
22799 # need to make the FD available again.
22800 if test "$no_create" != yes; then
22801 ac_cs_success=:
22802 ac_config_status_args=
22803 test "$silent" = yes &&
22804 ac_config_status_args="$ac_config_status_args --quiet"
22805 exec 5>/dev/null
22806 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22807 exec 5>>config.log
22808 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22809 # would make configure fail if this is the last instruction.
22810 $ac_cs_success || as_fn_exit 1
22812 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22814 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22818 if test "$no_create" = "yes"
22819 then
22820 exit 0
22823 ac_save_IFS="$IFS"
22824 if test "x$wine_notices" != x; then
22825 echo >&6
22826 IFS="|"
22827 for msg in $wine_notices; do
22828 IFS="$ac_save_IFS"
22829 if ${msg:+false} :; then :
22831 else
22832 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22833 $as_echo "$as_me: $msg" >&6;}
22835 done
22837 IFS="|"
22838 for msg in $wine_warnings; do
22839 IFS="$ac_save_IFS"
22840 if ${msg:+false} :; then :
22842 else
22843 echo >&2
22844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22845 $as_echo "$as_me: WARNING: $msg" >&2;}
22847 done
22848 IFS="$ac_save_IFS"
22850 $as_echo "
22851 $as_me: Finished. Do '${ac_make}' to compile Wine.
22852 " >&6