wmiutils: Use --prefer-native instead of DLL_WINE_PREATTACH.
[wine/zf.git] / configure
blob08936ff0ec1881362effe47a488e77e96c6c8100
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 6.2.
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.2'
584 PACKAGE_STRING='Wine 6.2'
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_private_l1_1_1
974 enable_api_ms_win_core_largeinteger_l1_1_0
975 enable_api_ms_win_core_libraryloader_l1_1_0
976 enable_api_ms_win_core_libraryloader_l1_1_1
977 enable_api_ms_win_core_libraryloader_l1_2_0
978 enable_api_ms_win_core_libraryloader_l1_2_1
979 enable_api_ms_win_core_libraryloader_l1_2_2
980 enable_api_ms_win_core_libraryloader_l2_1_0
981 enable_api_ms_win_core_localization_l1_1_0
982 enable_api_ms_win_core_localization_l1_2_0
983 enable_api_ms_win_core_localization_l1_2_1
984 enable_api_ms_win_core_localization_l1_2_2
985 enable_api_ms_win_core_localization_l2_1_0
986 enable_api_ms_win_core_localization_obsolete_l1_1_0
987 enable_api_ms_win_core_localization_obsolete_l1_2_0
988 enable_api_ms_win_core_localization_obsolete_l1_3_0
989 enable_api_ms_win_core_localization_private_l1_1_0
990 enable_api_ms_win_core_localregistry_l1_1_0
991 enable_api_ms_win_core_memory_l1_1_0
992 enable_api_ms_win_core_memory_l1_1_1
993 enable_api_ms_win_core_memory_l1_1_2
994 enable_api_ms_win_core_memory_l1_1_3
995 enable_api_ms_win_core_memory_l1_1_4
996 enable_api_ms_win_core_misc_l1_1_0
997 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
998 enable_api_ms_win_core_namedpipe_l1_1_0
999 enable_api_ms_win_core_namedpipe_l1_2_0
1000 enable_api_ms_win_core_namespace_l1_1_0
1001 enable_api_ms_win_core_normalization_l1_1_0
1002 enable_api_ms_win_core_path_l1_1_0
1003 enable_api_ms_win_core_privateprofile_l1_1_1
1004 enable_api_ms_win_core_processenvironment_l1_1_0
1005 enable_api_ms_win_core_processenvironment_l1_2_0
1006 enable_api_ms_win_core_processthreads_l1_1_0
1007 enable_api_ms_win_core_processthreads_l1_1_1
1008 enable_api_ms_win_core_processthreads_l1_1_2
1009 enable_api_ms_win_core_processthreads_l1_1_3
1010 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1011 enable_api_ms_win_core_profile_l1_1_0
1012 enable_api_ms_win_core_psapi_ansi_l1_1_0
1013 enable_api_ms_win_core_psapi_l1_1_0
1014 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1015 enable_api_ms_win_core_quirks_l1_1_0
1016 enable_api_ms_win_core_realtime_l1_1_0
1017 enable_api_ms_win_core_registry_l1_1_0
1018 enable_api_ms_win_core_registry_l2_1_0
1019 enable_api_ms_win_core_registry_l2_2_0
1020 enable_api_ms_win_core_registryuserspecific_l1_1_0
1021 enable_api_ms_win_core_rtlsupport_l1_1_0
1022 enable_api_ms_win_core_rtlsupport_l1_2_0
1023 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1024 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1025 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1026 enable_api_ms_win_core_shutdown_l1_1_0
1027 enable_api_ms_win_core_sidebyside_l1_1_0
1028 enable_api_ms_win_core_string_l1_1_0
1029 enable_api_ms_win_core_string_l2_1_0
1030 enable_api_ms_win_core_string_obsolete_l1_1_0
1031 enable_api_ms_win_core_stringansi_l1_1_0
1032 enable_api_ms_win_core_stringloader_l1_1_1
1033 enable_api_ms_win_core_synch_ansi_l1_1_0
1034 enable_api_ms_win_core_synch_l1_1_0
1035 enable_api_ms_win_core_synch_l1_2_0
1036 enable_api_ms_win_core_synch_l1_2_1
1037 enable_api_ms_win_core_sysinfo_l1_1_0
1038 enable_api_ms_win_core_sysinfo_l1_2_0
1039 enable_api_ms_win_core_sysinfo_l1_2_1
1040 enable_api_ms_win_core_systemtopology_l1_1_0
1041 enable_api_ms_win_core_threadpool_l1_1_0
1042 enable_api_ms_win_core_threadpool_l1_2_0
1043 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1044 enable_api_ms_win_core_threadpool_private_l1_1_0
1045 enable_api_ms_win_core_timezone_l1_1_0
1046 enable_api_ms_win_core_toolhelp_l1_1_0
1047 enable_api_ms_win_core_url_l1_1_0
1048 enable_api_ms_win_core_util_l1_1_0
1049 enable_api_ms_win_core_version_l1_1_0
1050 enable_api_ms_win_core_version_l1_1_1
1051 enable_api_ms_win_core_version_private_l1_1_0
1052 enable_api_ms_win_core_versionansi_l1_1_0
1053 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1054 enable_api_ms_win_core_winrt_error_l1_1_0
1055 enable_api_ms_win_core_winrt_error_l1_1_1
1056 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1057 enable_api_ms_win_core_winrt_l1_1_0
1058 enable_api_ms_win_core_winrt_registration_l1_1_0
1059 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1060 enable_api_ms_win_core_winrt_string_l1_1_0
1061 enable_api_ms_win_core_winrt_string_l1_1_1
1062 enable_api_ms_win_core_wow64_l1_1_0
1063 enable_api_ms_win_core_wow64_l1_1_1
1064 enable_api_ms_win_core_xstate_l1_1_0
1065 enable_api_ms_win_core_xstate_l2_1_0
1066 enable_api_ms_win_crt_conio_l1_1_0
1067 enable_api_ms_win_crt_convert_l1_1_0
1068 enable_api_ms_win_crt_environment_l1_1_0
1069 enable_api_ms_win_crt_filesystem_l1_1_0
1070 enable_api_ms_win_crt_heap_l1_1_0
1071 enable_api_ms_win_crt_locale_l1_1_0
1072 enable_api_ms_win_crt_math_l1_1_0
1073 enable_api_ms_win_crt_multibyte_l1_1_0
1074 enable_api_ms_win_crt_private_l1_1_0
1075 enable_api_ms_win_crt_process_l1_1_0
1076 enable_api_ms_win_crt_runtime_l1_1_0
1077 enable_api_ms_win_crt_stdio_l1_1_0
1078 enable_api_ms_win_crt_string_l1_1_0
1079 enable_api_ms_win_crt_time_l1_1_0
1080 enable_api_ms_win_crt_utility_l1_1_0
1081 enable_api_ms_win_devices_config_l1_1_0
1082 enable_api_ms_win_devices_config_l1_1_1
1083 enable_api_ms_win_devices_query_l1_1_1
1084 enable_api_ms_win_downlevel_advapi32_l1_1_0
1085 enable_api_ms_win_downlevel_advapi32_l2_1_0
1086 enable_api_ms_win_downlevel_kernel32_l2_1_0
1087 enable_api_ms_win_downlevel_normaliz_l1_1_0
1088 enable_api_ms_win_downlevel_ole32_l1_1_0
1089 enable_api_ms_win_downlevel_shell32_l1_1_0
1090 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1091 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1092 enable_api_ms_win_downlevel_user32_l1_1_0
1093 enable_api_ms_win_downlevel_version_l1_1_0
1094 enable_api_ms_win_dx_d3dkmt_l1_1_0
1095 enable_api_ms_win_eventing_classicprovider_l1_1_0
1096 enable_api_ms_win_eventing_consumer_l1_1_0
1097 enable_api_ms_win_eventing_controller_l1_1_0
1098 enable_api_ms_win_eventing_legacy_l1_1_0
1099 enable_api_ms_win_eventing_provider_l1_1_0
1100 enable_api_ms_win_eventlog_legacy_l1_1_0
1101 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1102 enable_api_ms_win_mm_joystick_l1_1_0
1103 enable_api_ms_win_mm_misc_l1_1_1
1104 enable_api_ms_win_mm_mme_l1_1_0
1105 enable_api_ms_win_mm_time_l1_1_0
1106 enable_api_ms_win_ntuser_dc_access_l1_1_0
1107 enable_api_ms_win_ntuser_rectangle_l1_1_0
1108 enable_api_ms_win_ntuser_sysparams_l1_1_0
1109 enable_api_ms_win_perf_legacy_l1_1_0
1110 enable_api_ms_win_power_base_l1_1_0
1111 enable_api_ms_win_power_setting_l1_1_0
1112 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1113 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1114 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1115 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1116 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1117 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1118 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1119 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1120 enable_api_ms_win_security_audit_l1_1_1
1121 enable_api_ms_win_security_base_l1_1_0
1122 enable_api_ms_win_security_base_l1_2_0
1123 enable_api_ms_win_security_base_private_l1_1_1
1124 enable_api_ms_win_security_credentials_l1_1_0
1125 enable_api_ms_win_security_cryptoapi_l1_1_0
1126 enable_api_ms_win_security_grouppolicy_l1_1_0
1127 enable_api_ms_win_security_lsalookup_l1_1_0
1128 enable_api_ms_win_security_lsalookup_l1_1_1
1129 enable_api_ms_win_security_lsalookup_l2_1_0
1130 enable_api_ms_win_security_lsalookup_l2_1_1
1131 enable_api_ms_win_security_lsapolicy_l1_1_0
1132 enable_api_ms_win_security_provider_l1_1_0
1133 enable_api_ms_win_security_sddl_l1_1_0
1134 enable_api_ms_win_security_systemfunctions_l1_1_0
1135 enable_api_ms_win_service_core_l1_1_0
1136 enable_api_ms_win_service_core_l1_1_1
1137 enable_api_ms_win_service_management_l1_1_0
1138 enable_api_ms_win_service_management_l2_1_0
1139 enable_api_ms_win_service_private_l1_1_1
1140 enable_api_ms_win_service_winsvc_l1_1_0
1141 enable_api_ms_win_service_winsvc_l1_2_0
1142 enable_api_ms_win_shcore_obsolete_l1_1_0
1143 enable_api_ms_win_shcore_scaling_l1_1_1
1144 enable_api_ms_win_shcore_stream_l1_1_0
1145 enable_api_ms_win_shcore_thread_l1_1_0
1146 enable_api_ms_win_shell_shellcom_l1_1_0
1147 enable_api_ms_win_shell_shellfolders_l1_1_0
1148 enable_apphelp
1149 enable_appwiz_cpl
1150 enable_atl
1151 enable_atl100
1152 enable_atl110
1153 enable_atl80
1154 enable_atl90
1155 enable_atlthunk
1156 enable_atmlib
1157 enable_authz
1158 enable_avicap32
1159 enable_avifil32
1160 enable_avrt
1161 enable_bcrypt
1162 enable_bluetoothapis
1163 enable_browseui
1164 enable_bthprops_cpl
1165 enable_cabinet
1166 enable_capi2032
1167 enable_cards
1168 enable_cdosys
1169 enable_cfgmgr32
1170 enable_clusapi
1171 enable_combase
1172 enable_comcat
1173 enable_comctl32
1174 enable_comdlg32
1175 enable_compstui
1176 enable_comsvcs
1177 enable_concrt140
1178 enable_connect
1179 enable_credui
1180 enable_crtdll
1181 enable_crypt32
1182 enable_cryptdlg
1183 enable_cryptdll
1184 enable_cryptext
1185 enable_cryptnet
1186 enable_cryptsp
1187 enable_cryptui
1188 enable_ctapi32
1189 enable_ctl3d32
1190 enable_d2d1
1191 enable_d3d10
1192 enable_d3d10_1
1193 enable_d3d10core
1194 enable_d3d11
1195 enable_d3d12
1196 enable_d3d8
1197 enable_d3d8thk
1198 enable_d3d9
1199 enable_d3dcompiler_33
1200 enable_d3dcompiler_34
1201 enable_d3dcompiler_35
1202 enable_d3dcompiler_36
1203 enable_d3dcompiler_37
1204 enable_d3dcompiler_38
1205 enable_d3dcompiler_39
1206 enable_d3dcompiler_40
1207 enable_d3dcompiler_41
1208 enable_d3dcompiler_42
1209 enable_d3dcompiler_43
1210 enable_d3dcompiler_46
1211 enable_d3dcompiler_47
1212 enable_d3dim
1213 enable_d3dim700
1214 enable_d3drm
1215 enable_d3dx10_33
1216 enable_d3dx10_34
1217 enable_d3dx10_35
1218 enable_d3dx10_36
1219 enable_d3dx10_37
1220 enable_d3dx10_38
1221 enable_d3dx10_39
1222 enable_d3dx10_40
1223 enable_d3dx10_41
1224 enable_d3dx10_42
1225 enable_d3dx10_43
1226 enable_d3dx11_42
1227 enable_d3dx11_43
1228 enable_d3dx9_24
1229 enable_d3dx9_25
1230 enable_d3dx9_26
1231 enable_d3dx9_27
1232 enable_d3dx9_28
1233 enable_d3dx9_29
1234 enable_d3dx9_30
1235 enable_d3dx9_31
1236 enable_d3dx9_32
1237 enable_d3dx9_33
1238 enable_d3dx9_34
1239 enable_d3dx9_35
1240 enable_d3dx9_36
1241 enable_d3dx9_37
1242 enable_d3dx9_38
1243 enable_d3dx9_39
1244 enable_d3dx9_40
1245 enable_d3dx9_41
1246 enable_d3dx9_42
1247 enable_d3dx9_43
1248 enable_d3dxof
1249 enable_davclnt
1250 enable_dbgeng
1251 enable_dbghelp
1252 enable_dciman32
1253 enable_dcomp
1254 enable_ddraw
1255 enable_ddrawex
1256 enable_devenum
1257 enable_dhcpcsvc
1258 enable_dhtmled_ocx
1259 enable_difxapi
1260 enable_dinput
1261 enable_dinput8
1262 enable_directmanipulation
1263 enable_dispex
1264 enable_dmband
1265 enable_dmcompos
1266 enable_dmime
1267 enable_dmloader
1268 enable_dmoguids
1269 enable_dmscript
1270 enable_dmstyle
1271 enable_dmsynth
1272 enable_dmusic
1273 enable_dmusic32
1274 enable_dnsapi
1275 enable_dplay
1276 enable_dplayx
1277 enable_dpnaddr
1278 enable_dpnet
1279 enable_dpnhpast
1280 enable_dpnlobby
1281 enable_dpvoice
1282 enable_dpwsockx
1283 enable_drmclien
1284 enable_dsdmo
1285 enable_dsound
1286 enable_dsquery
1287 enable_dssenh
1288 enable_dsuiext
1289 enable_dswave
1290 enable_dwmapi
1291 enable_dwrite
1292 enable_dx8vb
1293 enable_dxdiagn
1294 enable_dxerr8
1295 enable_dxerr9
1296 enable_dxgi
1297 enable_dxguid
1298 enable_dxva2
1299 enable_esent
1300 enable_evr
1301 enable_explorerframe
1302 enable_ext_ms_win_authz_context_l1_1_0
1303 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1304 enable_ext_ms_win_dwmapi_ext_l1_1_0
1305 enable_ext_ms_win_gdi_dc_create_l1_1_0
1306 enable_ext_ms_win_gdi_dc_create_l1_1_1
1307 enable_ext_ms_win_gdi_dc_l1_2_0
1308 enable_ext_ms_win_gdi_devcaps_l1_1_0
1309 enable_ext_ms_win_gdi_draw_l1_1_0
1310 enable_ext_ms_win_gdi_draw_l1_1_1
1311 enable_ext_ms_win_gdi_font_l1_1_0
1312 enable_ext_ms_win_gdi_font_l1_1_1
1313 enable_ext_ms_win_gdi_render_l1_1_0
1314 enable_ext_ms_win_kernel32_package_current_l1_1_0
1315 enable_ext_ms_win_kernel32_package_l1_1_1
1316 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1317 enable_ext_ms_win_ntuser_draw_l1_1_0
1318 enable_ext_ms_win_ntuser_gui_l1_1_0
1319 enable_ext_ms_win_ntuser_gui_l1_3_0
1320 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1321 enable_ext_ms_win_ntuser_message_l1_1_0
1322 enable_ext_ms_win_ntuser_message_l1_1_1
1323 enable_ext_ms_win_ntuser_misc_l1_1_0
1324 enable_ext_ms_win_ntuser_misc_l1_2_0
1325 enable_ext_ms_win_ntuser_misc_l1_5_1
1326 enable_ext_ms_win_ntuser_mouse_l1_1_0
1327 enable_ext_ms_win_ntuser_private_l1_1_1
1328 enable_ext_ms_win_ntuser_private_l1_3_1
1329 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1330 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1331 enable_ext_ms_win_ntuser_window_l1_1_0
1332 enable_ext_ms_win_ntuser_window_l1_1_1
1333 enable_ext_ms_win_ntuser_window_l1_1_4
1334 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1335 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1336 enable_ext_ms_win_oleacc_l1_1_0
1337 enable_ext_ms_win_ras_rasapi32_l1_1_0
1338 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1339 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1340 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1341 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1342 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1343 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1344 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1345 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1346 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1347 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1348 enable_ext_ms_win_security_credui_l1_1_0
1349 enable_ext_ms_win_security_cryptui_l1_1_0
1350 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1351 enable_ext_ms_win_shell_comdlg32_l1_1_0
1352 enable_ext_ms_win_shell_shell32_l1_2_0
1353 enable_ext_ms_win_uxtheme_themes_l1_1_0
1354 enable_faultrep
1355 enable_feclient
1356 enable_fltlib
1357 enable_fltmgr_sys
1358 enable_fntcache
1359 enable_fontsub
1360 enable_fusion
1361 enable_fwpuclnt
1362 enable_gameux
1363 enable_gdi32
1364 enable_gdiplus
1365 enable_glu32
1366 enable_gphoto2_ds
1367 enable_gpkcsp
1368 enable_hal
1369 enable_hhctrl_ocx
1370 enable_hid
1371 enable_hidclass_sys
1372 enable_hlink
1373 enable_hnetcfg
1374 enable_http_sys
1375 enable_httpapi
1376 enable_iccvid
1377 enable_icmp
1378 enable_ieframe
1379 enable_ieproxy
1380 enable_imaadp32_acm
1381 enable_imagehlp
1382 enable_imm32
1383 enable_inetcomm
1384 enable_inetcpl_cpl
1385 enable_inetmib1
1386 enable_infosoft
1387 enable_initpki
1388 enable_inkobj
1389 enable_inseng
1390 enable_iphlpapi
1391 enable_iprop
1392 enable_irprops_cpl
1393 enable_itircl
1394 enable_itss
1395 enable_joy_cpl
1396 enable_jscript
1397 enable_jsproxy
1398 enable_kerberos
1399 enable_kernel32
1400 enable_kernelbase
1401 enable_ksecdd_sys
1402 enable_ksproxy_ax
1403 enable_ksuser
1404 enable_ktmw32
1405 enable_l3codeca_acm
1406 enable_loadperf
1407 enable_localspl
1408 enable_localui
1409 enable_lz32
1410 enable_mapi32
1411 enable_mapistub
1412 enable_mciavi32
1413 enable_mcicda
1414 enable_mciqtz32
1415 enable_mciseq
1416 enable_mciwave
1417 enable_mf
1418 enable_mf3216
1419 enable_mferror
1420 enable_mfmediaengine
1421 enable_mfplat
1422 enable_mfplay
1423 enable_mfreadwrite
1424 enable_mfuuid
1425 enable_mgmtapi
1426 enable_midimap
1427 enable_mlang
1428 enable_mmcndmgr
1429 enable_mmdevapi
1430 enable_mountmgr_sys
1431 enable_mp3dmod
1432 enable_mpr
1433 enable_mprapi
1434 enable_msacm32_drv
1435 enable_msacm32
1436 enable_msado15
1437 enable_msadp32_acm
1438 enable_msasn1
1439 enable_mscat32
1440 enable_mscms
1441 enable_mscoree
1442 enable_mscorwks
1443 enable_msctf
1444 enable_msctfp
1445 enable_msdaps
1446 enable_msdelta
1447 enable_msdmo
1448 enable_msdrm
1449 enable_msftedit
1450 enable_msg711_acm
1451 enable_msgsm32_acm
1452 enable_mshtml_tlb
1453 enable_mshtml
1454 enable_msi
1455 enable_msident
1456 enable_msimg32
1457 enable_msimsg
1458 enable_msimtf
1459 enable_msisip
1460 enable_msisys_ocx
1461 enable_msls31
1462 enable_msnet32
1463 enable_mspatcha
1464 enable_msports
1465 enable_msrle32
1466 enable_msscript_ocx
1467 enable_mssign32
1468 enable_mssip32
1469 enable_mstask
1470 enable_msvcirt
1471 enable_msvcm80
1472 enable_msvcm90
1473 enable_msvcp100
1474 enable_msvcp110
1475 enable_msvcp120
1476 enable_msvcp120_app
1477 enable_msvcp140
1478 enable_msvcp140_1
1479 enable_msvcp60
1480 enable_msvcp70
1481 enable_msvcp71
1482 enable_msvcp80
1483 enable_msvcp90
1484 enable_msvcr100
1485 enable_msvcr110
1486 enable_msvcr120
1487 enable_msvcr120_app
1488 enable_msvcr70
1489 enable_msvcr71
1490 enable_msvcr80
1491 enable_msvcr90
1492 enable_msvcrt
1493 enable_msvcrt20
1494 enable_msvcrt40
1495 enable_msvcrtd
1496 enable_msvfw32
1497 enable_msvidc32
1498 enable_mswsock
1499 enable_msxml
1500 enable_msxml2
1501 enable_msxml3
1502 enable_msxml4
1503 enable_msxml6
1504 enable_mtxdm
1505 enable_ncrypt
1506 enable_nddeapi
1507 enable_ndis_sys
1508 enable_netapi32
1509 enable_netcfgx
1510 enable_netio_sys
1511 enable_netprofm
1512 enable_netutils
1513 enable_newdev
1514 enable_ninput
1515 enable_normaliz
1516 enable_npmshtml
1517 enable_npptools
1518 enable_ntdll
1519 enable_ntdsapi
1520 enable_ntoskrnl_exe
1521 enable_ntprint
1522 enable_objsel
1523 enable_odbc32
1524 enable_odbcbcp
1525 enable_odbccp32
1526 enable_odbccu32
1527 enable_ole32
1528 enable_oleacc
1529 enable_oleaut32
1530 enable_olecli32
1531 enable_oledb32
1532 enable_oledlg
1533 enable_olepro32
1534 enable_olesvr32
1535 enable_olethk32
1536 enable_opcservices
1537 enable_openal32
1538 enable_opencl
1539 enable_opengl32
1540 enable_packager
1541 enable_pdh
1542 enable_photometadatahandler
1543 enable_pidgen
1544 enable_powrprof
1545 enable_printui
1546 enable_prntvpt
1547 enable_propsys
1548 enable_psapi
1549 enable_pstorec
1550 enable_pwrshplugin
1551 enable_qasf
1552 enable_qcap
1553 enable_qdvd
1554 enable_qedit
1555 enable_qmgr
1556 enable_qmgrprxy
1557 enable_quartz
1558 enable_query
1559 enable_qwave
1560 enable_rasapi32
1561 enable_rasdlg
1562 enable_regapi
1563 enable_resutils
1564 enable_riched20
1565 enable_riched32
1566 enable_rpcrt4
1567 enable_rsabase
1568 enable_rsaenh
1569 enable_rstrtmgr
1570 enable_rtutils
1571 enable_rtworkq
1572 enable_samlib
1573 enable_sane_ds
1574 enable_sapi
1575 enable_sas
1576 enable_scarddlg
1577 enable_sccbase
1578 enable_schannel
1579 enable_schedsvc
1580 enable_scrobj
1581 enable_scrrun
1582 enable_scsiport_sys
1583 enable_sechost
1584 enable_secur32
1585 enable_security
1586 enable_sensapi
1587 enable_serialui
1588 enable_setupapi
1589 enable_sfc
1590 enable_sfc_os
1591 enable_shcore
1592 enable_shdoclc
1593 enable_shdocvw
1594 enable_shell32
1595 enable_shfolder
1596 enable_shlwapi
1597 enable_slbcsp
1598 enable_slc
1599 enable_snmpapi
1600 enable_softpub
1601 enable_spoolss
1602 enable_srclient
1603 enable_srvcli
1604 enable_sspicli
1605 enable_stdole2_tlb
1606 enable_stdole32_tlb
1607 enable_sti
1608 enable_strmbase
1609 enable_strmdll
1610 enable_strmiids
1611 enable_svrapi
1612 enable_sxs
1613 enable_t2embed
1614 enable_tapi32
1615 enable_taskschd
1616 enable_tdh
1617 enable_tdi_sys
1618 enable_traffic
1619 enable_twain_32
1620 enable_tzres
1621 enable_ucrtbase
1622 enable_uianimation
1623 enable_uiautomationcore
1624 enable_uiribbon
1625 enable_unicows
1626 enable_updspapi
1627 enable_url
1628 enable_urlmon
1629 enable_usbd_sys
1630 enable_user32
1631 enable_userenv
1632 enable_usp10
1633 enable_utildll
1634 enable_uuid
1635 enable_uxtheme
1636 enable_vbscript
1637 enable_vcomp
1638 enable_vcomp100
1639 enable_vcomp110
1640 enable_vcomp120
1641 enable_vcomp140
1642 enable_vcomp90
1643 enable_vcruntime140
1644 enable_vcruntime140_1
1645 enable_vdmdbg
1646 enable_version
1647 enable_vga
1648 enable_virtdisk
1649 enable_vssapi
1650 enable_vulkan_1
1651 enable_wbemdisp
1652 enable_wbemprox
1653 enable_wbemuuid
1654 enable_wdscore
1655 enable_webservices
1656 enable_wer
1657 enable_wevtapi
1658 enable_wevtsvc
1659 enable_wiaservc
1660 enable_wimgapi
1661 enable_windowscodecs
1662 enable_windowscodecsext
1663 enable_winealsa_drv
1664 enable_wineandroid_drv
1665 enable_winebus_sys
1666 enable_winecoreaudio_drv
1667 enable_winecrt0
1668 enable_wined3d
1669 enable_winegstreamer
1670 enable_winehid_sys
1671 enable_winejoystick_drv
1672 enable_winemac_drv
1673 enable_winemapi
1674 enable_wineoss_drv
1675 enable_wineps_drv
1676 enable_winepulse_drv
1677 enable_wineqtdecoder
1678 enable_wineusb_sys
1679 enable_winevulkan
1680 enable_winex11_drv
1681 enable_wing32
1682 enable_winhttp
1683 enable_wininet
1684 enable_winmm
1685 enable_winnls32
1686 enable_winscard
1687 enable_winspool_drv
1688 enable_winsta
1689 enable_wintab32
1690 enable_wintrust
1691 enable_winusb
1692 enable_wlanapi
1693 enable_wlanui
1694 enable_wldap32
1695 enable_wmasf
1696 enable_wmcodecdspuuid
1697 enable_wmi
1698 enable_wmiutils
1699 enable_wmp
1700 enable_wmphoto
1701 enable_wmvcore
1702 enable_wnaspi32
1703 enable_wpc
1704 enable_wpcap
1705 enable_ws2_32
1706 enable_wsdapi
1707 enable_wshom_ocx
1708 enable_wsnmp32
1709 enable_wsock32
1710 enable_wtsapi32
1711 enable_wuapi
1712 enable_wuaueng
1713 enable_x3daudio1_0
1714 enable_x3daudio1_1
1715 enable_x3daudio1_2
1716 enable_x3daudio1_3
1717 enable_x3daudio1_4
1718 enable_x3daudio1_5
1719 enable_x3daudio1_6
1720 enable_x3daudio1_7
1721 enable_xactengine3_0
1722 enable_xactengine3_1
1723 enable_xactengine3_2
1724 enable_xactengine3_3
1725 enable_xactengine3_4
1726 enable_xactengine3_5
1727 enable_xactengine3_6
1728 enable_xactengine3_7
1729 enable_xapofx1_1
1730 enable_xapofx1_2
1731 enable_xapofx1_3
1732 enable_xapofx1_4
1733 enable_xapofx1_5
1734 enable_xaudio2_0
1735 enable_xaudio2_1
1736 enable_xaudio2_2
1737 enable_xaudio2_3
1738 enable_xaudio2_4
1739 enable_xaudio2_5
1740 enable_xaudio2_6
1741 enable_xaudio2_7
1742 enable_xaudio2_8
1743 enable_xaudio2_9
1744 enable_xinput1_1
1745 enable_xinput1_2
1746 enable_xinput1_3
1747 enable_xinput1_4
1748 enable_xinput9_1_0
1749 enable_xmllite
1750 enable_xolehlp
1751 enable_xpsprint
1752 enable_xpssvcs
1753 enable_fonts
1754 enable_include
1755 enable_port
1756 enable_wine
1757 enable_wpp
1758 enable_loader
1759 enable_nls
1760 enable_po
1761 enable_arp
1762 enable_aspnet_regiis
1763 enable_attrib
1764 enable_cabarc
1765 enable_cacls
1766 enable_chcp_com
1767 enable_clock
1768 enable_cmd
1769 enable_conhost
1770 enable_control
1771 enable_cscript
1772 enable_dism
1773 enable_dplaysvr
1774 enable_dpnsvr
1775 enable_dpvsetup
1776 enable_dxdiag
1777 enable_eject
1778 enable_expand
1779 enable_explorer
1780 enable_extrac32
1781 enable_fc
1782 enable_find
1783 enable_findstr
1784 enable_fsutil
1785 enable_hh
1786 enable_hostname
1787 enable_icacls
1788 enable_icinfo
1789 enable_iexplore
1790 enable_ipconfig
1791 enable_lodctr
1792 enable_mofcomp
1793 enable_mshta
1794 enable_msidb
1795 enable_msiexec
1796 enable_msinfo32
1797 enable_net
1798 enable_netsh
1799 enable_netstat
1800 enable_ngen
1801 enable_notepad
1802 enable_oleview
1803 enable_ping
1804 enable_plugplay
1805 enable_powershell
1806 enable_presentationfontcache
1807 enable_progman
1808 enable_reg
1809 enable_regasm
1810 enable_regedit
1811 enable_regini
1812 enable_regsvcs
1813 enable_regsvr32
1814 enable_rpcss
1815 enable_rundll32
1816 enable_sc
1817 enable_schtasks
1818 enable_sdbinst
1819 enable_secedit
1820 enable_servicemodelreg
1821 enable_services
1822 enable_shutdown
1823 enable_spoolsv
1824 enable_start
1825 enable_subst
1826 enable_svchost
1827 enable_systeminfo
1828 enable_taskkill
1829 enable_tasklist
1830 enable_taskmgr
1831 enable_termsv
1832 enable_uninstaller
1833 enable_unlodctr
1834 enable_view
1835 enable_wevtutil
1836 enable_where
1837 enable_whoami
1838 enable_wineboot
1839 enable_winebrowser
1840 enable_winecfg
1841 enable_wineconsole
1842 enable_winedbg
1843 enable_winedevice
1844 enable_winefile
1845 enable_winemenubuilder
1846 enable_winemine
1847 enable_winemsibuilder
1848 enable_winepath
1849 enable_winetest
1850 enable_winhlp32
1851 enable_winmgmt
1852 enable_winver
1853 enable_wmic
1854 enable_wmplayer
1855 enable_wordpad
1856 enable_write
1857 enable_wscript
1858 enable_wuauserv
1859 enable_wusa
1860 enable_xcopy
1861 enable_server
1862 enable_tools
1863 enable_sfnt2fon
1864 enable_widl
1865 enable_winebuild
1866 enable_winedump
1867 enable_winegcc
1868 enable_winemaker
1869 enable_wmc
1870 enable_wrc
1872 ac_precious_vars='build_alias
1873 host_alias
1874 target_alias
1876 CFLAGS
1877 LDFLAGS
1878 LIBS
1879 CPPFLAGS
1881 CXXFLAGS
1884 OBJC
1885 OBJCFLAGS
1886 OBJCPP
1887 XMKMF
1888 XML2_CFLAGS
1889 XML2_LIBS
1890 XSLT_CFLAGS
1891 XSLT_LIBS
1892 INOTIFY_CFLAGS
1893 INOTIFY_LIBS
1894 DBUS_CFLAGS
1895 DBUS_LIBS
1896 HAL_CFLAGS
1897 HAL_LIBS
1898 GNUTLS_CFLAGS
1899 GNUTLS_LIBS
1900 SANE_CFLAGS
1901 SANE_LIBS
1902 USB_CFLAGS
1903 USB_LIBS
1904 GPHOTO2_CFLAGS
1905 GPHOTO2_LIBS
1906 GPHOTO2_PORT_CFLAGS
1907 GPHOTO2_PORT_LIBS
1908 LCMS2_CFLAGS
1909 LCMS2_LIBS
1910 FREETYPE_CFLAGS
1911 FREETYPE_LIBS
1912 PULSE_CFLAGS
1913 PULSE_LIBS
1914 GSTREAMER_CFLAGS
1915 GSTREAMER_LIBS
1916 UDEV_CFLAGS
1917 UDEV_LIBS
1918 UNWIND_CFLAGS
1919 UNWIND_LIBS
1920 SDL2_CFLAGS
1921 SDL2_LIBS
1922 FAUDIO_CFLAGS
1923 FAUDIO_LIBS
1924 CAPI20_CFLAGS
1925 CAPI20_LIBS
1926 CUPS_CFLAGS
1927 CUPS_LIBS
1928 FONTCONFIG_CFLAGS
1929 FONTCONFIG_LIBS
1930 KRB5_CFLAGS
1931 KRB5_LIBS
1932 GSSAPI_CFLAGS
1933 GSSAPI_LIBS
1934 JPEG_CFLAGS
1935 JPEG_LIBS
1936 JXRLIB_CFLAGS
1937 JXRLIB_LIBS
1938 PNG_CFLAGS
1939 PNG_LIBS
1940 TIFF_CFLAGS
1941 TIFF_LIBS
1942 MPG123_CFLAGS
1943 MPG123_LIBS
1944 NETAPI_CFLAGS
1945 NETAPI_LIBS
1946 VKD3D_CFLAGS
1947 VKD3D_LIBS
1948 VKD3D_SHADER_CFLAGS
1949 VKD3D_SHADER_LIBS
1950 LDAP_CFLAGS
1951 LDAP_LIBS'
1954 # Initialize some variables set by options.
1955 ac_init_help=
1956 ac_init_version=false
1957 ac_unrecognized_opts=
1958 ac_unrecognized_sep=
1959 # The variables have the same names as the options, with
1960 # dashes changed to underlines.
1961 cache_file=/dev/null
1962 exec_prefix=NONE
1963 no_create=
1964 no_recursion=
1965 prefix=NONE
1966 program_prefix=NONE
1967 program_suffix=NONE
1968 program_transform_name=s,x,x,
1969 silent=
1970 site=
1971 srcdir=
1972 verbose=
1973 x_includes=NONE
1974 x_libraries=NONE
1976 # Installation directory options.
1977 # These are left unexpanded so users can "make install exec_prefix=/foo"
1978 # and all the variables that are supposed to be based on exec_prefix
1979 # by default will actually change.
1980 # Use braces instead of parens because sh, perl, etc. also accept them.
1981 # (The list follows the same order as the GNU Coding Standards.)
1982 bindir='${exec_prefix}/bin'
1983 sbindir='${exec_prefix}/sbin'
1984 libexecdir='${exec_prefix}/libexec'
1985 datarootdir='${prefix}/share'
1986 datadir='${datarootdir}'
1987 sysconfdir='${prefix}/etc'
1988 sharedstatedir='${prefix}/com'
1989 localstatedir='${prefix}/var'
1990 runstatedir='${localstatedir}/run'
1991 includedir='${prefix}/include'
1992 oldincludedir='/usr/include'
1993 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1994 infodir='${datarootdir}/info'
1995 htmldir='${docdir}'
1996 dvidir='${docdir}'
1997 pdfdir='${docdir}'
1998 psdir='${docdir}'
1999 libdir='${exec_prefix}/lib'
2000 localedir='${datarootdir}/locale'
2001 mandir='${datarootdir}/man'
2003 ac_prev=
2004 ac_dashdash=
2005 for ac_option
2007 # If the previous option needs an argument, assign it.
2008 if test -n "$ac_prev"; then
2009 eval $ac_prev=\$ac_option
2010 ac_prev=
2011 continue
2014 case $ac_option in
2015 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2016 *=) ac_optarg= ;;
2017 *) ac_optarg=yes ;;
2018 esac
2020 # Accept the important Cygnus configure options, so we can diagnose typos.
2022 case $ac_dashdash$ac_option in
2024 ac_dashdash=yes ;;
2026 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2027 ac_prev=bindir ;;
2028 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2029 bindir=$ac_optarg ;;
2031 -build | --build | --buil | --bui | --bu)
2032 ac_prev=build_alias ;;
2033 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2034 build_alias=$ac_optarg ;;
2036 -cache-file | --cache-file | --cache-fil | --cache-fi \
2037 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2038 ac_prev=cache_file ;;
2039 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2040 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2041 cache_file=$ac_optarg ;;
2043 --config-cache | -C)
2044 cache_file=config.cache ;;
2046 -datadir | --datadir | --datadi | --datad)
2047 ac_prev=datadir ;;
2048 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2049 datadir=$ac_optarg ;;
2051 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2052 | --dataroo | --dataro | --datar)
2053 ac_prev=datarootdir ;;
2054 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2055 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2056 datarootdir=$ac_optarg ;;
2058 -disable-* | --disable-*)
2059 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2060 # Reject names that are not valid shell variable names.
2061 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2062 as_fn_error $? "invalid feature name: $ac_useropt"
2063 ac_useropt_orig=$ac_useropt
2064 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2065 case $ac_user_opts in
2067 "enable_$ac_useropt"
2068 "*) ;;
2069 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2070 ac_unrecognized_sep=', ';;
2071 esac
2072 eval enable_$ac_useropt=no ;;
2074 -docdir | --docdir | --docdi | --doc | --do)
2075 ac_prev=docdir ;;
2076 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2077 docdir=$ac_optarg ;;
2079 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2080 ac_prev=dvidir ;;
2081 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2082 dvidir=$ac_optarg ;;
2084 -enable-* | --enable-*)
2085 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2086 # Reject names that are not valid shell variable names.
2087 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2088 as_fn_error $? "invalid feature name: $ac_useropt"
2089 ac_useropt_orig=$ac_useropt
2090 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2091 case $ac_user_opts in
2093 "enable_$ac_useropt"
2094 "*) ;;
2095 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2096 ac_unrecognized_sep=', ';;
2097 esac
2098 eval enable_$ac_useropt=\$ac_optarg ;;
2100 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2101 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2102 | --exec | --exe | --ex)
2103 ac_prev=exec_prefix ;;
2104 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2105 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2106 | --exec=* | --exe=* | --ex=*)
2107 exec_prefix=$ac_optarg ;;
2109 -gas | --gas | --ga | --g)
2110 # Obsolete; use --with-gas.
2111 with_gas=yes ;;
2113 -help | --help | --hel | --he | -h)
2114 ac_init_help=long ;;
2115 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2116 ac_init_help=recursive ;;
2117 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2118 ac_init_help=short ;;
2120 -host | --host | --hos | --ho)
2121 ac_prev=host_alias ;;
2122 -host=* | --host=* | --hos=* | --ho=*)
2123 host_alias=$ac_optarg ;;
2125 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2126 ac_prev=htmldir ;;
2127 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2128 | --ht=*)
2129 htmldir=$ac_optarg ;;
2131 -includedir | --includedir | --includedi | --included | --include \
2132 | --includ | --inclu | --incl | --inc)
2133 ac_prev=includedir ;;
2134 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2135 | --includ=* | --inclu=* | --incl=* | --inc=*)
2136 includedir=$ac_optarg ;;
2138 -infodir | --infodir | --infodi | --infod | --info | --inf)
2139 ac_prev=infodir ;;
2140 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2141 infodir=$ac_optarg ;;
2143 -libdir | --libdir | --libdi | --libd)
2144 ac_prev=libdir ;;
2145 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2146 libdir=$ac_optarg ;;
2148 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2149 | --libexe | --libex | --libe)
2150 ac_prev=libexecdir ;;
2151 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2152 | --libexe=* | --libex=* | --libe=*)
2153 libexecdir=$ac_optarg ;;
2155 -localedir | --localedir | --localedi | --localed | --locale)
2156 ac_prev=localedir ;;
2157 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2158 localedir=$ac_optarg ;;
2160 -localstatedir | --localstatedir | --localstatedi | --localstated \
2161 | --localstate | --localstat | --localsta | --localst | --locals)
2162 ac_prev=localstatedir ;;
2163 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2164 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2165 localstatedir=$ac_optarg ;;
2167 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2168 ac_prev=mandir ;;
2169 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2170 mandir=$ac_optarg ;;
2172 -nfp | --nfp | --nf)
2173 # Obsolete; use --without-fp.
2174 with_fp=no ;;
2176 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2177 | --no-cr | --no-c | -n)
2178 no_create=yes ;;
2180 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2181 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2182 no_recursion=yes ;;
2184 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2185 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2186 | --oldin | --oldi | --old | --ol | --o)
2187 ac_prev=oldincludedir ;;
2188 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2189 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2190 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2191 oldincludedir=$ac_optarg ;;
2193 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2194 ac_prev=prefix ;;
2195 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2196 prefix=$ac_optarg ;;
2198 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2199 | --program-pre | --program-pr | --program-p)
2200 ac_prev=program_prefix ;;
2201 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2202 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2203 program_prefix=$ac_optarg ;;
2205 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2206 | --program-suf | --program-su | --program-s)
2207 ac_prev=program_suffix ;;
2208 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2209 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2210 program_suffix=$ac_optarg ;;
2212 -program-transform-name | --program-transform-name \
2213 | --program-transform-nam | --program-transform-na \
2214 | --program-transform-n | --program-transform- \
2215 | --program-transform | --program-transfor \
2216 | --program-transfo | --program-transf \
2217 | --program-trans | --program-tran \
2218 | --progr-tra | --program-tr | --program-t)
2219 ac_prev=program_transform_name ;;
2220 -program-transform-name=* | --program-transform-name=* \
2221 | --program-transform-nam=* | --program-transform-na=* \
2222 | --program-transform-n=* | --program-transform-=* \
2223 | --program-transform=* | --program-transfor=* \
2224 | --program-transfo=* | --program-transf=* \
2225 | --program-trans=* | --program-tran=* \
2226 | --progr-tra=* | --program-tr=* | --program-t=*)
2227 program_transform_name=$ac_optarg ;;
2229 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2230 ac_prev=pdfdir ;;
2231 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2232 pdfdir=$ac_optarg ;;
2234 -psdir | --psdir | --psdi | --psd | --ps)
2235 ac_prev=psdir ;;
2236 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2237 psdir=$ac_optarg ;;
2239 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2240 | -silent | --silent | --silen | --sile | --sil)
2241 silent=yes ;;
2243 -runstatedir | --runstatedir | --runstatedi | --runstated \
2244 | --runstate | --runstat | --runsta | --runst | --runs \
2245 | --run | --ru | --r)
2246 ac_prev=runstatedir ;;
2247 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2248 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2249 | --run=* | --ru=* | --r=*)
2250 runstatedir=$ac_optarg ;;
2252 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2253 ac_prev=sbindir ;;
2254 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2255 | --sbi=* | --sb=*)
2256 sbindir=$ac_optarg ;;
2258 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2259 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2260 | --sharedst | --shareds | --shared | --share | --shar \
2261 | --sha | --sh)
2262 ac_prev=sharedstatedir ;;
2263 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2264 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2265 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2266 | --sha=* | --sh=*)
2267 sharedstatedir=$ac_optarg ;;
2269 -site | --site | --sit)
2270 ac_prev=site ;;
2271 -site=* | --site=* | --sit=*)
2272 site=$ac_optarg ;;
2274 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2275 ac_prev=srcdir ;;
2276 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2277 srcdir=$ac_optarg ;;
2279 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2280 | --syscon | --sysco | --sysc | --sys | --sy)
2281 ac_prev=sysconfdir ;;
2282 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2283 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2284 sysconfdir=$ac_optarg ;;
2286 -target | --target | --targe | --targ | --tar | --ta | --t)
2287 ac_prev=target_alias ;;
2288 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2289 target_alias=$ac_optarg ;;
2291 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2292 verbose=yes ;;
2294 -version | --version | --versio | --versi | --vers | -V)
2295 ac_init_version=: ;;
2297 -with-* | --with-*)
2298 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2299 # Reject names that are not valid shell variable names.
2300 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2301 as_fn_error $? "invalid package name: $ac_useropt"
2302 ac_useropt_orig=$ac_useropt
2303 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2304 case $ac_user_opts in
2306 "with_$ac_useropt"
2307 "*) ;;
2308 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2309 ac_unrecognized_sep=', ';;
2310 esac
2311 eval with_$ac_useropt=\$ac_optarg ;;
2313 -without-* | --without-*)
2314 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2315 # Reject names that are not valid shell variable names.
2316 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2317 as_fn_error $? "invalid package name: $ac_useropt"
2318 ac_useropt_orig=$ac_useropt
2319 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2320 case $ac_user_opts in
2322 "with_$ac_useropt"
2323 "*) ;;
2324 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2325 ac_unrecognized_sep=', ';;
2326 esac
2327 eval with_$ac_useropt=no ;;
2329 --x)
2330 # Obsolete; use --with-x.
2331 with_x=yes ;;
2333 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2334 | --x-incl | --x-inc | --x-in | --x-i)
2335 ac_prev=x_includes ;;
2336 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2337 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2338 x_includes=$ac_optarg ;;
2340 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2341 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2342 ac_prev=x_libraries ;;
2343 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2344 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2345 x_libraries=$ac_optarg ;;
2347 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2348 Try \`$0 --help' for more information"
2351 *=*)
2352 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2353 # Reject names that are not valid shell variable names.
2354 case $ac_envvar in #(
2355 '' | [0-9]* | *[!_$as_cr_alnum]* )
2356 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2357 esac
2358 eval $ac_envvar=\$ac_optarg
2359 export $ac_envvar ;;
2362 # FIXME: should be removed in autoconf 3.0.
2363 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2364 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2365 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2366 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2369 esac
2370 done
2372 if test -n "$ac_prev"; then
2373 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2374 as_fn_error $? "missing argument to $ac_option"
2377 if test -n "$ac_unrecognized_opts"; then
2378 case $enable_option_checking in
2379 no) ;;
2380 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2381 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2382 esac
2385 # Check all directory arguments for consistency.
2386 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2387 datadir sysconfdir sharedstatedir localstatedir includedir \
2388 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2389 libdir localedir mandir runstatedir
2391 eval ac_val=\$$ac_var
2392 # Remove trailing slashes.
2393 case $ac_val in
2394 */ )
2395 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2396 eval $ac_var=\$ac_val;;
2397 esac
2398 # Be sure to have absolute directory names.
2399 case $ac_val in
2400 [\\/$]* | ?:[\\/]* ) continue;;
2401 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2402 esac
2403 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2404 done
2406 # There might be people who depend on the old broken behavior: `$host'
2407 # used to hold the argument of --host etc.
2408 # FIXME: To remove some day.
2409 build=$build_alias
2410 host=$host_alias
2411 target=$target_alias
2413 # FIXME: To remove some day.
2414 if test "x$host_alias" != x; then
2415 if test "x$build_alias" = x; then
2416 cross_compiling=maybe
2417 elif test "x$build_alias" != "x$host_alias"; then
2418 cross_compiling=yes
2422 ac_tool_prefix=
2423 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2425 test "$silent" = yes && exec 6>/dev/null
2428 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2429 ac_ls_di=`ls -di .` &&
2430 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2431 as_fn_error $? "working directory cannot be determined"
2432 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2433 as_fn_error $? "pwd does not report name of working directory"
2436 # Find the source files, if location was not specified.
2437 if test -z "$srcdir"; then
2438 ac_srcdir_defaulted=yes
2439 # Try the directory containing this script, then the parent directory.
2440 ac_confdir=`$as_dirname -- "$as_myself" ||
2441 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2442 X"$as_myself" : 'X\(//\)[^/]' \| \
2443 X"$as_myself" : 'X\(//\)$' \| \
2444 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2445 $as_echo X"$as_myself" |
2446 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2447 s//\1/
2450 /^X\(\/\/\)[^/].*/{
2451 s//\1/
2454 /^X\(\/\/\)$/{
2455 s//\1/
2458 /^X\(\/\).*/{
2459 s//\1/
2462 s/.*/./; q'`
2463 srcdir=$ac_confdir
2464 if test ! -r "$srcdir/$ac_unique_file"; then
2465 srcdir=..
2467 else
2468 ac_srcdir_defaulted=no
2470 if test ! -r "$srcdir/$ac_unique_file"; then
2471 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2472 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2474 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2475 ac_abs_confdir=`(
2476 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2477 pwd)`
2478 # When building in place, set srcdir=.
2479 if test "$ac_abs_confdir" = "$ac_pwd"; then
2480 srcdir=.
2482 # Remove unnecessary trailing slashes from srcdir.
2483 # Double slashes in file names in object file debugging info
2484 # mess up M-x gdb in Emacs.
2485 case $srcdir in
2486 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2487 esac
2488 for ac_var in $ac_precious_vars; do
2489 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2490 eval ac_env_${ac_var}_value=\$${ac_var}
2491 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2492 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2493 done
2496 # Report the --help message.
2498 if test "$ac_init_help" = "long"; then
2499 # Omit some internal or obsolete options to make the list less imposing.
2500 # This message is too long to be a string in the A/UX 3.1 sh.
2501 cat <<_ACEOF
2502 \`configure' configures Wine 6.2 to adapt to many kinds of systems.
2504 Usage: $0 [OPTION]... [VAR=VALUE]...
2506 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2507 VAR=VALUE. See below for descriptions of some of the useful variables.
2509 Defaults for the options are specified in brackets.
2511 Configuration:
2512 -h, --help display this help and exit
2513 --help=short display options specific to this package
2514 --help=recursive display the short help of all the included packages
2515 -V, --version display version information and exit
2516 -q, --quiet, --silent do not print \`checking ...' messages
2517 --cache-file=FILE cache test results in FILE [disabled]
2518 -C, --config-cache alias for \`--cache-file=config.cache'
2519 -n, --no-create do not create output files
2520 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2522 Installation directories:
2523 --prefix=PREFIX install architecture-independent files in PREFIX
2524 [$ac_default_prefix]
2525 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2526 [PREFIX]
2528 By default, \`make install' will install all the files in
2529 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2530 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2531 for instance \`--prefix=\$HOME'.
2533 For better control, use the options below.
2535 Fine tuning of the installation directories:
2536 --bindir=DIR user executables [EPREFIX/bin]
2537 --sbindir=DIR system admin executables [EPREFIX/sbin]
2538 --libexecdir=DIR program executables [EPREFIX/libexec]
2539 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2540 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2541 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2542 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2543 --libdir=DIR object code libraries [EPREFIX/lib]
2544 --includedir=DIR C header files [PREFIX/include]
2545 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2546 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2547 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2548 --infodir=DIR info documentation [DATAROOTDIR/info]
2549 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2550 --mandir=DIR man documentation [DATAROOTDIR/man]
2551 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2552 --htmldir=DIR html documentation [DOCDIR]
2553 --dvidir=DIR dvi documentation [DOCDIR]
2554 --pdfdir=DIR pdf documentation [DOCDIR]
2555 --psdir=DIR ps documentation [DOCDIR]
2556 _ACEOF
2558 cat <<\_ACEOF
2560 X features:
2561 --x-includes=DIR X include files are in DIR
2562 --x-libraries=DIR X library files are in DIR
2564 System types:
2565 --build=BUILD configure for building on BUILD [guessed]
2566 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2567 _ACEOF
2570 if test -n "$ac_init_help"; then
2571 case $ac_init_help in
2572 short | recursive ) echo "Configuration of Wine 6.2:";;
2573 esac
2574 cat <<\_ACEOF
2576 Optional Features:
2577 --disable-option-checking ignore unrecognized --enable/--with options
2578 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2579 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2580 --disable-win16 do not include Win16 support
2581 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2582 binaries)
2583 --disable-tests do not build the regression tests
2584 --enable-build-id include .buildid section in output objects
2585 --enable-maintainer-mode
2586 enable maintainer-specific build rules
2587 --enable-silent-rules use silent build rules (override: "make V=1")
2588 --enable-werror treat compilation warnings as errors
2589 --disable-largefile omit support for large files
2591 Optional Packages:
2592 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2593 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2594 --without-alsa do not use the Alsa sound support
2595 --without-capi do not use CAPI (ISDN support)
2596 --without-cms do not use CMS (color management support)
2597 --without-coreaudio do not use the CoreAudio sound support
2598 --without-cups do not use CUPS
2599 --without-dbus do not use DBus (dynamic device support)
2600 --without-faudio do not use FAudio (XAudio2 support)
2601 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2602 --without-fontconfig do not use fontconfig
2603 --without-freetype do not use the FreeType library
2604 --without-gettext do not use gettext
2605 --with-gettextpo use the GetTextPO library to rebuild po files
2606 --without-gphoto do not use gphoto (Digital Camera support)
2607 --without-gnutls do not use GnuTLS (schannel support)
2608 --without-gsm do not use libgsm (GSM 06.10 codec support)
2609 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2610 --without-gstreamer do not use GStreamer (codecs support)
2611 --without-hal do not use HAL (dynamic device support)
2612 --without-inotify do not use inotify (filesystem change notifications)
2613 --without-jpeg do not use JPEG
2614 --without-jxrlib do not use JPEG-XR
2615 --without-krb5 do not use krb5 (Kerberos)
2616 --without-ldap do not use LDAP
2617 --without-mingw do not use the MinGW cross-compiler
2618 --without-mpg123 do not use the mpg123 library
2619 --without-netapi do not use the Samba NetAPI library
2620 --without-openal do not use OpenAL
2621 --without-opencl do not use OpenCL
2622 --without-opengl do not use OpenGL
2623 --without-osmesa do not use the OSMesa library
2624 --without-oss do not use the OSS sound support
2625 --without-pcap do not use the Packet Capture library
2626 --without-png do not use PNG
2627 --without-pthread do not use the pthread library
2628 --without-pulse do not use PulseAudio sound support
2629 --without-quicktime do not use QuickTime support
2630 --without-sane do not use SANE (scanner support)
2631 --without-sdl do not use SDL
2632 --without-tiff do not use TIFF
2633 --without-udev do not use udev (plug and play support)
2634 --without-unwind do not use the libunwind library (exception
2635 handling)
2636 --without-usb do not use the libusb library
2637 --without-v4l2 do not use v4l2 (video capture)
2638 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2639 --without-vulkan do not use Vulkan
2640 --without-xcomposite do not use the Xcomposite extension
2641 --without-xcursor do not use the Xcursor extension
2642 --without-xfixes do not use Xfixes for clipboard change notifications
2643 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2644 --without-xinput do not use the Xinput extension
2645 --without-xinput2 do not use the Xinput 2 extension
2646 --without-xml do not use XML
2647 --without-xrandr do not use Xrandr (multi-monitor support)
2648 --without-xrender do not use the Xrender extension
2649 --without-xshape do not use the Xshape extension
2650 --without-xshm do not use XShm (shared memory extension)
2651 --without-xslt do not use XSLT
2652 --without-xxf86vm do not use XFree video mode extension
2653 --with-wine-tools=DIR use Wine tools from directory DIR
2654 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2655 --with-x use the X Window System
2657 Some influential environment variables:
2658 CC C compiler command
2659 CFLAGS C compiler flags
2660 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2661 nonstandard directory <lib dir>
2662 LIBS libraries to pass to the linker, e.g. -l<library>
2663 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2664 you have headers in a nonstandard directory <include dir>
2665 CXX C++ compiler command
2666 CXXFLAGS C++ compiler flags
2667 CPP C preprocessor
2668 OBJC Objective C compiler command
2669 OBJCFLAGS Objective C compiler flags
2670 OBJCPP Objective C preprocessor
2671 XMKMF Path to xmkmf, Makefile generator for X Window System
2672 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2673 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2674 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2675 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2676 INOTIFY_CFLAGS
2677 C compiler flags for libinotify, overriding pkg-config
2678 INOTIFY_LIBS
2679 Linker flags for libinotify, overriding pkg-config
2680 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2681 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2682 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2683 HAL_LIBS Linker flags for hal, overriding pkg-config
2684 GNUTLS_CFLAGS
2685 C compiler flags for gnutls, overriding pkg-config
2686 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2687 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2688 SANE_LIBS Linker flags for libsane, overriding pkg-config
2689 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2690 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2691 GPHOTO2_CFLAGS
2692 C compiler flags for libgphoto2, overriding pkg-config
2693 GPHOTO2_LIBS
2694 Linker flags for libgphoto2, overriding pkg-config
2695 GPHOTO2_PORT_CFLAGS
2696 C compiler flags for libgphoto2_port, overriding pkg-config
2697 GPHOTO2_PORT_LIBS
2698 Linker flags for libgphoto2_port, overriding pkg-config
2699 LCMS2_CFLAGS
2700 C compiler flags for lcms2, overriding pkg-config
2701 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2702 FREETYPE_CFLAGS
2703 C compiler flags for freetype2, overriding pkg-config
2704 FREETYPE_LIBS
2705 Linker flags for freetype2, overriding pkg-config
2706 PULSE_CFLAGS
2707 C compiler flags for libpulse, overriding pkg-config
2708 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2709 GSTREAMER_CFLAGS
2710 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2711 gstreamer-audio-1.0, overriding pkg-config
2712 GSTREAMER_LIBS
2713 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2714 gstreamer-audio-1.0, overriding pkg-config
2715 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2716 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2717 UNWIND_CFLAGS
2718 C compiler flags for libunwind, overriding pkg-config
2719 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2720 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2721 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2722 FAUDIO_CFLAGS
2723 C compiler flags for faudio, overriding pkg-config
2724 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2725 CAPI20_CFLAGS
2726 C compiler flags for capi20, overriding pkg-config
2727 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2728 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2729 CUPS_LIBS Linker flags for cups, overriding pkg-config
2730 FONTCONFIG_CFLAGS
2731 C compiler flags for fontconfig, overriding pkg-config
2732 FONTCONFIG_LIBS
2733 Linker flags for fontconfig, overriding pkg-config
2734 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2735 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2736 GSSAPI_CFLAGS
2737 C compiler flags for krb5-gssapi, overriding pkg-config
2738 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2739 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2740 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2741 JXRLIB_CFLAGS
2742 C compiler flags for jxrlib, overriding pkg-config
2743 JXRLIB_LIBS Linker flags for jxrlib, overriding pkg-config
2744 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2745 PNG_LIBS Linker flags for libpng, overriding pkg-config
2746 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2747 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2748 MPG123_CFLAGS
2749 C compiler flags for libmpg123, overriding pkg-config
2750 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2751 NETAPI_CFLAGS
2752 C compiler flags for netapi, overriding pkg-config
2753 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2754 VKD3D_CFLAGS
2755 C compiler flags for libvkd3d, overriding pkg-config
2756 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2757 VKD3D_SHADER_CFLAGS
2758 C compiler flags for libvkd3d-shader, overriding pkg-config
2759 VKD3D_SHADER_LIBS
2760 Linker flags for libvkd3d-shader, overriding pkg-config
2761 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2762 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2764 Use these variables to override the choices made by `configure' or to help
2765 it to find libraries and programs with nonstandard names/locations.
2767 Report bugs to <wine-devel@winehq.org>.
2768 Wine home page: <https://www.winehq.org>.
2769 _ACEOF
2770 ac_status=$?
2773 if test "$ac_init_help" = "recursive"; then
2774 # If there are subdirs, report their specific --help.
2775 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2776 test -d "$ac_dir" ||
2777 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2778 continue
2779 ac_builddir=.
2781 case "$ac_dir" in
2782 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2784 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2785 # A ".." for each directory in $ac_dir_suffix.
2786 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2787 case $ac_top_builddir_sub in
2788 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2789 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2790 esac ;;
2791 esac
2792 ac_abs_top_builddir=$ac_pwd
2793 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2794 # for backward compatibility:
2795 ac_top_builddir=$ac_top_build_prefix
2797 case $srcdir in
2798 .) # We are building in place.
2799 ac_srcdir=.
2800 ac_top_srcdir=$ac_top_builddir_sub
2801 ac_abs_top_srcdir=$ac_pwd ;;
2802 [\\/]* | ?:[\\/]* ) # Absolute name.
2803 ac_srcdir=$srcdir$ac_dir_suffix;
2804 ac_top_srcdir=$srcdir
2805 ac_abs_top_srcdir=$srcdir ;;
2806 *) # Relative name.
2807 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2808 ac_top_srcdir=$ac_top_build_prefix$srcdir
2809 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2810 esac
2811 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2813 cd "$ac_dir" || { ac_status=$?; continue; }
2814 # Check for guested configure.
2815 if test -f "$ac_srcdir/configure.gnu"; then
2816 echo &&
2817 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2818 elif test -f "$ac_srcdir/configure"; then
2819 echo &&
2820 $SHELL "$ac_srcdir/configure" --help=recursive
2821 else
2822 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2823 fi || ac_status=$?
2824 cd "$ac_pwd" || { ac_status=$?; break; }
2825 done
2828 test -n "$ac_init_help" && exit $ac_status
2829 if $ac_init_version; then
2830 cat <<\_ACEOF
2831 Wine configure 6.2
2832 generated by GNU Autoconf 2.69
2834 Copyright (C) 2012 Free Software Foundation, Inc.
2835 This configure script is free software; the Free Software Foundation
2836 gives unlimited permission to copy, distribute and modify it.
2837 _ACEOF
2838 exit
2841 ## ------------------------ ##
2842 ## Autoconf initialization. ##
2843 ## ------------------------ ##
2845 # ac_fn_c_try_compile LINENO
2846 # --------------------------
2847 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2848 ac_fn_c_try_compile ()
2850 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2851 rm -f conftest.$ac_objext
2852 if { { ac_try="$ac_compile"
2853 case "(($ac_try" in
2854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2855 *) ac_try_echo=$ac_try;;
2856 esac
2857 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2858 $as_echo "$ac_try_echo"; } >&5
2859 (eval "$ac_compile") 2>conftest.err
2860 ac_status=$?
2861 if test -s conftest.err; then
2862 grep -v '^ *+' conftest.err >conftest.er1
2863 cat conftest.er1 >&5
2864 mv -f conftest.er1 conftest.err
2866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2867 test $ac_status = 0; } && {
2868 test -z "$ac_c_werror_flag" ||
2869 test ! -s conftest.err
2870 } && test -s conftest.$ac_objext; then :
2871 ac_retval=0
2872 else
2873 $as_echo "$as_me: failed program was:" >&5
2874 sed 's/^/| /' conftest.$ac_ext >&5
2876 ac_retval=1
2878 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2879 as_fn_set_status $ac_retval
2881 } # ac_fn_c_try_compile
2883 # ac_fn_cxx_try_compile LINENO
2884 # ----------------------------
2885 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2886 ac_fn_cxx_try_compile ()
2888 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2889 rm -f conftest.$ac_objext
2890 if { { ac_try="$ac_compile"
2891 case "(($ac_try" in
2892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2893 *) ac_try_echo=$ac_try;;
2894 esac
2895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2896 $as_echo "$ac_try_echo"; } >&5
2897 (eval "$ac_compile") 2>conftest.err
2898 ac_status=$?
2899 if test -s conftest.err; then
2900 grep -v '^ *+' conftest.err >conftest.er1
2901 cat conftest.er1 >&5
2902 mv -f conftest.er1 conftest.err
2904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2905 test $ac_status = 0; } && {
2906 test -z "$ac_cxx_werror_flag" ||
2907 test ! -s conftest.err
2908 } && test -s conftest.$ac_objext; then :
2909 ac_retval=0
2910 else
2911 $as_echo "$as_me: failed program was:" >&5
2912 sed 's/^/| /' conftest.$ac_ext >&5
2914 ac_retval=1
2916 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2917 as_fn_set_status $ac_retval
2919 } # ac_fn_cxx_try_compile
2921 # ac_fn_c_try_link LINENO
2922 # -----------------------
2923 # Try to link conftest.$ac_ext, and return whether this succeeded.
2924 ac_fn_c_try_link ()
2926 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2927 rm -f conftest.$ac_objext conftest$ac_exeext
2928 if { { ac_try="$ac_link"
2929 case "(($ac_try" in
2930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2931 *) ac_try_echo=$ac_try;;
2932 esac
2933 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2934 $as_echo "$ac_try_echo"; } >&5
2935 (eval "$ac_link") 2>conftest.err
2936 ac_status=$?
2937 if test -s conftest.err; then
2938 grep -v '^ *+' conftest.err >conftest.er1
2939 cat conftest.er1 >&5
2940 mv -f conftest.er1 conftest.err
2942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2943 test $ac_status = 0; } && {
2944 test -z "$ac_c_werror_flag" ||
2945 test ! -s conftest.err
2946 } && test -s conftest$ac_exeext && {
2947 test "$cross_compiling" = yes ||
2948 test -x conftest$ac_exeext
2949 }; then :
2950 ac_retval=0
2951 else
2952 $as_echo "$as_me: failed program was:" >&5
2953 sed 's/^/| /' conftest.$ac_ext >&5
2955 ac_retval=1
2957 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2958 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2959 # interfere with the next link command; also delete a directory that is
2960 # left behind by Apple's compiler. We do this before executing the actions.
2961 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2962 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2963 as_fn_set_status $ac_retval
2965 } # ac_fn_c_try_link
2967 # ac_fn_c_try_cpp LINENO
2968 # ----------------------
2969 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2970 ac_fn_c_try_cpp ()
2972 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2973 if { { ac_try="$ac_cpp conftest.$ac_ext"
2974 case "(($ac_try" in
2975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2976 *) ac_try_echo=$ac_try;;
2977 esac
2978 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2979 $as_echo "$ac_try_echo"; } >&5
2980 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2981 ac_status=$?
2982 if test -s conftest.err; then
2983 grep -v '^ *+' conftest.err >conftest.er1
2984 cat conftest.er1 >&5
2985 mv -f conftest.er1 conftest.err
2987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2988 test $ac_status = 0; } > conftest.i && {
2989 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2990 test ! -s conftest.err
2991 }; then :
2992 ac_retval=0
2993 else
2994 $as_echo "$as_me: failed program was:" >&5
2995 sed 's/^/| /' conftest.$ac_ext >&5
2997 ac_retval=1
2999 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3000 as_fn_set_status $ac_retval
3002 } # ac_fn_c_try_cpp
3004 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
3005 # -------------------------------------------------------
3006 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3007 # the include files in INCLUDES and setting the cache variable VAR
3008 # accordingly.
3009 ac_fn_c_check_header_mongrel ()
3011 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3012 if eval \${$3+:} false; then :
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3014 $as_echo_n "checking for $2... " >&6; }
3015 if eval \${$3+:} false; then :
3016 $as_echo_n "(cached) " >&6
3018 eval ac_res=\$$3
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3020 $as_echo "$ac_res" >&6; }
3021 else
3022 # Is the header compilable?
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3024 $as_echo_n "checking $2 usability... " >&6; }
3025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3026 /* end confdefs.h. */
3028 #include <$2>
3029 _ACEOF
3030 if ac_fn_c_try_compile "$LINENO"; then :
3031 ac_header_compiler=yes
3032 else
3033 ac_header_compiler=no
3035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3037 $as_echo "$ac_header_compiler" >&6; }
3039 # Is the header present?
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3041 $as_echo_n "checking $2 presence... " >&6; }
3042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3043 /* end confdefs.h. */
3044 #include <$2>
3045 _ACEOF
3046 if ac_fn_c_try_cpp "$LINENO"; then :
3047 ac_header_preproc=yes
3048 else
3049 ac_header_preproc=no
3051 rm -f conftest.err conftest.i conftest.$ac_ext
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3053 $as_echo "$ac_header_preproc" >&6; }
3055 # So? What about this header?
3056 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3057 yes:no: )
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3059 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3061 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3063 no:yes:* )
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3065 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3067 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3069 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3071 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3073 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3074 ( $as_echo "## ------------------------------------ ##
3075 ## Report this to wine-devel@winehq.org ##
3076 ## ------------------------------------ ##"
3077 ) | sed "s/^/$as_me: WARNING: /" >&2
3079 esac
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3081 $as_echo_n "checking for $2... " >&6; }
3082 if eval \${$3+:} false; then :
3083 $as_echo_n "(cached) " >&6
3084 else
3085 eval "$3=\$ac_header_compiler"
3087 eval ac_res=\$$3
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3089 $as_echo "$ac_res" >&6; }
3091 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3093 } # ac_fn_c_check_header_mongrel
3095 # ac_fn_c_try_run LINENO
3096 # ----------------------
3097 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3098 # that executables *can* be run.
3099 ac_fn_c_try_run ()
3101 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3102 if { { ac_try="$ac_link"
3103 case "(($ac_try" in
3104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3105 *) ac_try_echo=$ac_try;;
3106 esac
3107 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3108 $as_echo "$ac_try_echo"; } >&5
3109 (eval "$ac_link") 2>&5
3110 ac_status=$?
3111 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3112 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3113 { { case "(($ac_try" in
3114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3115 *) ac_try_echo=$ac_try;;
3116 esac
3117 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3118 $as_echo "$ac_try_echo"; } >&5
3119 (eval "$ac_try") 2>&5
3120 ac_status=$?
3121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3122 test $ac_status = 0; }; }; then :
3123 ac_retval=0
3124 else
3125 $as_echo "$as_me: program exited with status $ac_status" >&5
3126 $as_echo "$as_me: failed program was:" >&5
3127 sed 's/^/| /' conftest.$ac_ext >&5
3129 ac_retval=$ac_status
3131 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3132 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3133 as_fn_set_status $ac_retval
3135 } # ac_fn_c_try_run
3137 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3138 # -------------------------------------------------------
3139 # Tests whether HEADER exists and can be compiled using the include files in
3140 # INCLUDES, setting the cache variable VAR accordingly.
3141 ac_fn_c_check_header_compile ()
3143 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3145 $as_echo_n "checking for $2... " >&6; }
3146 if eval \${$3+:} false; then :
3147 $as_echo_n "(cached) " >&6
3148 else
3149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3150 /* end confdefs.h. */
3152 #include <$2>
3153 _ACEOF
3154 if ac_fn_c_try_compile "$LINENO"; then :
3155 eval "$3=yes"
3156 else
3157 eval "$3=no"
3159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3161 eval ac_res=\$$3
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3163 $as_echo "$ac_res" >&6; }
3164 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3166 } # ac_fn_c_check_header_compile
3168 # ac_fn_objc_try_compile LINENO
3169 # -----------------------------
3170 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3171 ac_fn_objc_try_compile ()
3173 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3174 rm -f conftest.$ac_objext
3175 if { { ac_try="$ac_compile"
3176 case "(($ac_try" in
3177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3178 *) ac_try_echo=$ac_try;;
3179 esac
3180 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3181 $as_echo "$ac_try_echo"; } >&5
3182 (eval "$ac_compile") 2>conftest.err
3183 ac_status=$?
3184 if test -s conftest.err; then
3185 grep -v '^ *+' conftest.err >conftest.er1
3186 cat conftest.er1 >&5
3187 mv -f conftest.er1 conftest.err
3189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3190 test $ac_status = 0; } && {
3191 test -z "$ac_objc_werror_flag" ||
3192 test ! -s conftest.err
3193 } && test -s conftest.$ac_objext; then :
3194 ac_retval=0
3195 else
3196 $as_echo "$as_me: failed program was:" >&5
3197 sed 's/^/| /' conftest.$ac_ext >&5
3199 ac_retval=1
3201 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3202 as_fn_set_status $ac_retval
3204 } # ac_fn_objc_try_compile
3206 # ac_fn_objc_try_cpp LINENO
3207 # -------------------------
3208 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3209 ac_fn_objc_try_cpp ()
3211 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3212 if { { ac_try="$ac_cpp conftest.$ac_ext"
3213 case "(($ac_try" in
3214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3215 *) ac_try_echo=$ac_try;;
3216 esac
3217 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3218 $as_echo "$ac_try_echo"; } >&5
3219 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3220 ac_status=$?
3221 if test -s conftest.err; then
3222 grep -v '^ *+' conftest.err >conftest.er1
3223 cat conftest.er1 >&5
3224 mv -f conftest.er1 conftest.err
3226 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3227 test $ac_status = 0; } > conftest.i && {
3228 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3229 test ! -s conftest.err
3230 }; then :
3231 ac_retval=0
3232 else
3233 $as_echo "$as_me: failed program was:" >&5
3234 sed 's/^/| /' conftest.$ac_ext >&5
3236 ac_retval=1
3238 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3239 as_fn_set_status $ac_retval
3241 } # ac_fn_objc_try_cpp
3243 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3244 # ----------------------------------------------------------
3245 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3246 # the include files in INCLUDES and setting the cache variable VAR
3247 # accordingly.
3248 ac_fn_objc_check_header_mongrel ()
3250 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3251 if eval \${$3+:} false; then :
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3253 $as_echo_n "checking for $2... " >&6; }
3254 if eval \${$3+:} false; then :
3255 $as_echo_n "(cached) " >&6
3257 eval ac_res=\$$3
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3259 $as_echo "$ac_res" >&6; }
3260 else
3261 # Is the header compilable?
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3263 $as_echo_n "checking $2 usability... " >&6; }
3264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3265 /* end confdefs.h. */
3267 #include <$2>
3268 _ACEOF
3269 if ac_fn_objc_try_compile "$LINENO"; then :
3270 ac_header_compiler=yes
3271 else
3272 ac_header_compiler=no
3274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3276 $as_echo "$ac_header_compiler" >&6; }
3278 # Is the header present?
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3280 $as_echo_n "checking $2 presence... " >&6; }
3281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3282 /* end confdefs.h. */
3283 #include <$2>
3284 _ACEOF
3285 if ac_fn_objc_try_cpp "$LINENO"; then :
3286 ac_header_preproc=yes
3287 else
3288 ac_header_preproc=no
3290 rm -f conftest.err conftest.i conftest.$ac_ext
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3292 $as_echo "$ac_header_preproc" >&6; }
3294 # So? What about this header?
3295 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3296 yes:no: )
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3298 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3300 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3302 no:yes:* )
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3304 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3306 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3308 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3310 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3312 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3313 ( $as_echo "## ------------------------------------ ##
3314 ## Report this to wine-devel@winehq.org ##
3315 ## ------------------------------------ ##"
3316 ) | sed "s/^/$as_me: WARNING: /" >&2
3318 esac
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3320 $as_echo_n "checking for $2... " >&6; }
3321 if eval \${$3+:} false; then :
3322 $as_echo_n "(cached) " >&6
3323 else
3324 eval "$3=\$ac_header_compiler"
3326 eval ac_res=\$$3
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3328 $as_echo "$ac_res" >&6; }
3330 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3332 } # ac_fn_objc_check_header_mongrel
3334 # ac_fn_c_check_func LINENO FUNC VAR
3335 # ----------------------------------
3336 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3337 ac_fn_c_check_func ()
3339 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3341 $as_echo_n "checking for $2... " >&6; }
3342 if eval \${$3+:} false; then :
3343 $as_echo_n "(cached) " >&6
3344 else
3345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3346 /* end confdefs.h. */
3347 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3349 #define $2 innocuous_$2
3351 /* System header to define __stub macros and hopefully few prototypes,
3352 which can conflict with char $2 (); below.
3353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3354 <limits.h> exists even on freestanding compilers. */
3356 #ifdef __STDC__
3357 # include <limits.h>
3358 #else
3359 # include <assert.h>
3360 #endif
3362 #undef $2
3364 /* Override any GCC internal prototype to avoid an error.
3365 Use char because int might match the return type of a GCC
3366 builtin and then its argument prototype would still apply. */
3367 #ifdef __cplusplus
3368 extern "C"
3369 #endif
3370 char $2 ();
3371 /* The GNU C library defines this for functions which it implements
3372 to always fail with ENOSYS. Some functions are actually named
3373 something starting with __ and the normal name is an alias. */
3374 #if defined __stub_$2 || defined __stub___$2
3375 choke me
3376 #endif
3379 main ()
3381 return $2 ();
3383 return 0;
3385 _ACEOF
3386 if ac_fn_c_try_link "$LINENO"; then :
3387 eval "$3=yes"
3388 else
3389 eval "$3=no"
3391 rm -f core conftest.err conftest.$ac_objext \
3392 conftest$ac_exeext conftest.$ac_ext
3394 eval ac_res=\$$3
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3396 $as_echo "$ac_res" >&6; }
3397 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3399 } # ac_fn_c_check_func
3401 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3402 # ----------------------------------------------------
3403 # Tries to find if the field MEMBER exists in type AGGR, after including
3404 # INCLUDES, setting cache variable VAR accordingly.
3405 ac_fn_c_check_member ()
3407 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3409 $as_echo_n "checking for $2.$3... " >&6; }
3410 if eval \${$4+:} false; then :
3411 $as_echo_n "(cached) " >&6
3412 else
3413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3414 /* end confdefs.h. */
3417 main ()
3419 static $2 ac_aggr;
3420 if (ac_aggr.$3)
3421 return 0;
3423 return 0;
3425 _ACEOF
3426 if ac_fn_c_try_compile "$LINENO"; then :
3427 eval "$4=yes"
3428 else
3429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3430 /* end confdefs.h. */
3433 main ()
3435 static $2 ac_aggr;
3436 if (sizeof ac_aggr.$3)
3437 return 0;
3439 return 0;
3441 _ACEOF
3442 if ac_fn_c_try_compile "$LINENO"; then :
3443 eval "$4=yes"
3444 else
3445 eval "$4=no"
3447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3451 eval ac_res=\$$4
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3453 $as_echo "$ac_res" >&6; }
3454 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3456 } # ac_fn_c_check_member
3458 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3459 # -------------------------------------------
3460 # Tests whether TYPE exists after having included INCLUDES, setting cache
3461 # variable VAR accordingly.
3462 ac_fn_c_check_type ()
3464 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3466 $as_echo_n "checking for $2... " >&6; }
3467 if eval \${$3+:} false; then :
3468 $as_echo_n "(cached) " >&6
3469 else
3470 eval "$3=no"
3471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3472 /* end confdefs.h. */
3475 main ()
3477 if (sizeof ($2))
3478 return 0;
3480 return 0;
3482 _ACEOF
3483 if ac_fn_c_try_compile "$LINENO"; then :
3484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3485 /* end confdefs.h. */
3488 main ()
3490 if (sizeof (($2)))
3491 return 0;
3493 return 0;
3495 _ACEOF
3496 if ac_fn_c_try_compile "$LINENO"; then :
3498 else
3499 eval "$3=yes"
3501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3505 eval ac_res=\$$3
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3507 $as_echo "$ac_res" >&6; }
3508 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3510 } # ac_fn_c_check_type
3511 cat >config.log <<_ACEOF
3512 This file contains any messages produced by compilers while
3513 running configure, to aid debugging if configure makes a mistake.
3515 It was created by Wine $as_me 6.2, which was
3516 generated by GNU Autoconf 2.69. Invocation command line was
3518 $ $0 $@
3520 _ACEOF
3521 exec 5>>config.log
3523 cat <<_ASUNAME
3524 ## --------- ##
3525 ## Platform. ##
3526 ## --------- ##
3528 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3529 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3530 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3531 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3532 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3534 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3535 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3537 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3538 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3539 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3540 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3541 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3542 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3543 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3545 _ASUNAME
3547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3548 for as_dir in $PATH
3550 IFS=$as_save_IFS
3551 test -z "$as_dir" && as_dir=.
3552 $as_echo "PATH: $as_dir"
3553 done
3554 IFS=$as_save_IFS
3556 } >&5
3558 cat >&5 <<_ACEOF
3561 ## ----------- ##
3562 ## Core tests. ##
3563 ## ----------- ##
3565 _ACEOF
3568 # Keep a trace of the command line.
3569 # Strip out --no-create and --no-recursion so they do not pile up.
3570 # Strip out --silent because we don't want to record it for future runs.
3571 # Also quote any args containing shell meta-characters.
3572 # Make two passes to allow for proper duplicate-argument suppression.
3573 ac_configure_args=
3574 ac_configure_args0=
3575 ac_configure_args1=
3576 ac_must_keep_next=false
3577 for ac_pass in 1 2
3579 for ac_arg
3581 case $ac_arg in
3582 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3583 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3584 | -silent | --silent | --silen | --sile | --sil)
3585 continue ;;
3586 *\'*)
3587 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3588 esac
3589 case $ac_pass in
3590 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3592 as_fn_append ac_configure_args1 " '$ac_arg'"
3593 if test $ac_must_keep_next = true; then
3594 ac_must_keep_next=false # Got value, back to normal.
3595 else
3596 case $ac_arg in
3597 *=* | --config-cache | -C | -disable-* | --disable-* \
3598 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3599 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3600 | -with-* | --with-* | -without-* | --without-* | --x)
3601 case "$ac_configure_args0 " in
3602 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3603 esac
3605 -* ) ac_must_keep_next=true ;;
3606 esac
3608 as_fn_append ac_configure_args " '$ac_arg'"
3610 esac
3611 done
3612 done
3613 { ac_configure_args0=; unset ac_configure_args0;}
3614 { ac_configure_args1=; unset ac_configure_args1;}
3616 # When interrupted or exit'd, cleanup temporary files, and complete
3617 # config.log. We remove comments because anyway the quotes in there
3618 # would cause problems or look ugly.
3619 # WARNING: Use '\'' to represent an apostrophe within the trap.
3620 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3621 trap 'exit_status=$?
3622 # Save into config.log some information that might help in debugging.
3624 echo
3626 $as_echo "## ---------------- ##
3627 ## Cache variables. ##
3628 ## ---------------- ##"
3629 echo
3630 # The following way of writing the cache mishandles newlines in values,
3632 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3633 eval ac_val=\$$ac_var
3634 case $ac_val in #(
3635 *${as_nl}*)
3636 case $ac_var in #(
3637 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3638 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3639 esac
3640 case $ac_var in #(
3641 _ | IFS | as_nl) ;; #(
3642 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3643 *) { eval $ac_var=; unset $ac_var;} ;;
3644 esac ;;
3645 esac
3646 done
3647 (set) 2>&1 |
3648 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3649 *${as_nl}ac_space=\ *)
3650 sed -n \
3651 "s/'\''/'\''\\\\'\'''\''/g;
3652 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3653 ;; #(
3655 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3657 esac |
3658 sort
3660 echo
3662 $as_echo "## ----------------- ##
3663 ## Output variables. ##
3664 ## ----------------- ##"
3665 echo
3666 for ac_var in $ac_subst_vars
3668 eval ac_val=\$$ac_var
3669 case $ac_val in
3670 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3671 esac
3672 $as_echo "$ac_var='\''$ac_val'\''"
3673 done | sort
3674 echo
3676 if test -n "$ac_subst_files"; then
3677 $as_echo "## ------------------- ##
3678 ## File substitutions. ##
3679 ## ------------------- ##"
3680 echo
3681 for ac_var in $ac_subst_files
3683 eval ac_val=\$$ac_var
3684 case $ac_val in
3685 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3686 esac
3687 $as_echo "$ac_var='\''$ac_val'\''"
3688 done | sort
3689 echo
3692 if test -s confdefs.h; then
3693 $as_echo "## ----------- ##
3694 ## confdefs.h. ##
3695 ## ----------- ##"
3696 echo
3697 cat confdefs.h
3698 echo
3700 test "$ac_signal" != 0 &&
3701 $as_echo "$as_me: caught signal $ac_signal"
3702 $as_echo "$as_me: exit $exit_status"
3703 } >&5
3704 rm -f core *.core core.conftest.* &&
3705 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3706 exit $exit_status
3708 for ac_signal in 1 2 13 15; do
3709 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3710 done
3711 ac_signal=0
3713 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3714 rm -f -r conftest* confdefs.h
3716 $as_echo "/* confdefs.h */" > confdefs.h
3718 # Predefined preprocessor variables.
3720 cat >>confdefs.h <<_ACEOF
3721 #define PACKAGE_NAME "$PACKAGE_NAME"
3722 _ACEOF
3724 cat >>confdefs.h <<_ACEOF
3725 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3726 _ACEOF
3728 cat >>confdefs.h <<_ACEOF
3729 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3730 _ACEOF
3732 cat >>confdefs.h <<_ACEOF
3733 #define PACKAGE_STRING "$PACKAGE_STRING"
3734 _ACEOF
3736 cat >>confdefs.h <<_ACEOF
3737 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3738 _ACEOF
3740 cat >>confdefs.h <<_ACEOF
3741 #define PACKAGE_URL "$PACKAGE_URL"
3742 _ACEOF
3745 # Let the site file select an alternate cache file if it wants to.
3746 # Prefer an explicitly selected file to automatically selected ones.
3747 ac_site_file1=NONE
3748 ac_site_file2=NONE
3749 if test -n "$CONFIG_SITE"; then
3750 # We do not want a PATH search for config.site.
3751 case $CONFIG_SITE in #((
3752 -*) ac_site_file1=./$CONFIG_SITE;;
3753 */*) ac_site_file1=$CONFIG_SITE;;
3754 *) ac_site_file1=./$CONFIG_SITE;;
3755 esac
3756 elif test "x$prefix" != xNONE; then
3757 ac_site_file1=$prefix/share/config.site
3758 ac_site_file2=$prefix/etc/config.site
3759 else
3760 ac_site_file1=$ac_default_prefix/share/config.site
3761 ac_site_file2=$ac_default_prefix/etc/config.site
3763 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3765 test "x$ac_site_file" = xNONE && continue
3766 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3768 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3769 sed 's/^/| /' "$ac_site_file" >&5
3770 . "$ac_site_file" \
3771 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3772 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3773 as_fn_error $? "failed to load site script $ac_site_file
3774 See \`config.log' for more details" "$LINENO" 5; }
3776 done
3778 if test -r "$cache_file"; then
3779 # Some versions of bash will fail to source /dev/null (special files
3780 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3781 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3783 $as_echo "$as_me: loading cache $cache_file" >&6;}
3784 case $cache_file in
3785 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3786 *) . "./$cache_file";;
3787 esac
3789 else
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3791 $as_echo "$as_me: creating cache $cache_file" >&6;}
3792 >$cache_file
3795 # Check that the precious variables saved in the cache have kept the same
3796 # value.
3797 ac_cache_corrupted=false
3798 for ac_var in $ac_precious_vars; do
3799 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3800 eval ac_new_set=\$ac_env_${ac_var}_set
3801 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3802 eval ac_new_val=\$ac_env_${ac_var}_value
3803 case $ac_old_set,$ac_new_set in
3804 set,)
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3806 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3807 ac_cache_corrupted=: ;;
3808 ,set)
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3810 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3811 ac_cache_corrupted=: ;;
3812 ,);;
3814 if test "x$ac_old_val" != "x$ac_new_val"; then
3815 # differences in whitespace do not lead to failure.
3816 ac_old_val_w=`echo x $ac_old_val`
3817 ac_new_val_w=`echo x $ac_new_val`
3818 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3820 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3821 ac_cache_corrupted=:
3822 else
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3824 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3825 eval $ac_var=\$ac_old_val
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3828 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3830 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3831 fi;;
3832 esac
3833 # Pass precious variables to config.status.
3834 if test "$ac_new_set" = set; then
3835 case $ac_new_val in
3836 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3837 *) ac_arg=$ac_var=$ac_new_val ;;
3838 esac
3839 case " $ac_configure_args " in
3840 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3841 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3842 esac
3844 done
3845 if $ac_cache_corrupted; then
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3847 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3849 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3850 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3852 ## -------------------- ##
3853 ## Main body of script. ##
3854 ## -------------------- ##
3856 ac_ext=c
3857 ac_cpp='$CPP $CPPFLAGS'
3858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3864 ac_config_headers="$ac_config_headers include/config.h"
3866 ac_aux_dir=
3867 for ac_dir in tools "$srcdir"/tools; do
3868 if test -f "$ac_dir/install-sh"; then
3869 ac_aux_dir=$ac_dir
3870 ac_install_sh="$ac_aux_dir/install-sh -c"
3871 break
3872 elif 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/shtool"; then
3877 ac_aux_dir=$ac_dir
3878 ac_install_sh="$ac_aux_dir/shtool install -c"
3879 break
3881 done
3882 if test -z "$ac_aux_dir"; then
3883 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3886 # These three variables are undocumented and unsupported,
3887 # and are intended to be withdrawn in a future Autoconf release.
3888 # They can cause serious problems if a builder's source tree is in a directory
3889 # whose full name contains unusual characters.
3890 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3891 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3892 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3896 libwine_version="1.0"
3900 # Check whether --enable-win16 was given.
3901 if test "${enable_win16+set}" = set; then :
3902 enableval=$enable_win16;
3905 # Check whether --enable-win64 was given.
3906 if test "${enable_win64+set}" = set; then :
3907 enableval=$enable_win64;
3910 # Check whether --enable-tests was given.
3911 if test "${enable_tests+set}" = set; then :
3912 enableval=$enable_tests;
3915 # Check whether --enable-build-id was given.
3916 if test "${enable_build_id+set}" = set; then :
3917 enableval=$enable_build_id;
3920 # Check whether --enable-maintainer-mode was given.
3921 if test "${enable_maintainer_mode+set}" = set; then :
3922 enableval=$enable_maintainer_mode;
3925 # Check whether --enable-silent-rules was given.
3926 if test "${enable_silent_rules+set}" = set; then :
3927 enableval=$enable_silent_rules;
3930 # Check whether --enable-werror was given.
3931 if test "${enable_werror+set}" = set; then :
3932 enableval=$enable_werror;
3937 # Check whether --with-alsa was given.
3938 if test "${with_alsa+set}" = set; then :
3939 withval=$with_alsa;
3943 # Check whether --with-capi was given.
3944 if test "${with_capi+set}" = set; then :
3945 withval=$with_capi;
3949 # Check whether --with-cms was given.
3950 if test "${with_cms+set}" = set; then :
3951 withval=$with_cms;
3955 # Check whether --with-coreaudio was given.
3956 if test "${with_coreaudio+set}" = set; then :
3957 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3961 # Check whether --with-cups was given.
3962 if test "${with_cups+set}" = set; then :
3963 withval=$with_cups;
3967 # Check whether --with-dbus was given.
3968 if test "${with_dbus+set}" = set; then :
3969 withval=$with_dbus;
3973 # Check whether --with-faudio was given.
3974 if test "${with_faudio+set}" = set; then :
3975 withval=$with_faudio;
3979 # Check whether --with-float-abi was given.
3980 if test "${with_float_abi+set}" = set; then :
3981 withval=$with_float_abi;
3985 # Check whether --with-fontconfig was given.
3986 if test "${with_fontconfig+set}" = set; then :
3987 withval=$with_fontconfig;
3991 # Check whether --with-freetype was given.
3992 if test "${with_freetype+set}" = set; then :
3993 withval=$with_freetype;
3997 # Check whether --with-gettext was given.
3998 if test "${with_gettext+set}" = set; then :
3999 withval=$with_gettext;
4003 # Check whether --with-gettextpo was given.
4004 if test "${with_gettextpo+set}" = set; then :
4005 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4009 # Check whether --with-gphoto was given.
4010 if test "${with_gphoto+set}" = set; then :
4011 withval=$with_gphoto;
4015 # Check whether --with-gnutls was given.
4016 if test "${with_gnutls+set}" = set; then :
4017 withval=$with_gnutls;
4021 # Check whether --with-gsm was given.
4022 if test "${with_gsm+set}" = set; then :
4023 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4027 # Check whether --with-gssapi was given.
4028 if test "${with_gssapi+set}" = set; then :
4029 withval=$with_gssapi;
4033 # Check whether --with-gstreamer was given.
4034 if test "${with_gstreamer+set}" = set; then :
4035 withval=$with_gstreamer;
4039 # Check whether --with-hal was given.
4040 if test "${with_hal+set}" = set; then :
4041 withval=$with_hal;
4045 # Check whether --with-inotify was given.
4046 if test "${with_inotify+set}" = set; then :
4047 withval=$with_inotify;
4051 # Check whether --with-jpeg was given.
4052 if test "${with_jpeg+set}" = set; then :
4053 withval=$with_jpeg;
4057 # Check whether --with-jxrlib was given.
4058 if test "${with_jxrlib+set}" = set; then :
4059 withval=$with_jxrlib;
4063 # Check whether --with-krb5 was given.
4064 if test "${with_krb5+set}" = set; then :
4065 withval=$with_krb5;
4069 # Check whether --with-ldap was given.
4070 if test "${with_ldap+set}" = set; then :
4071 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4075 # Check whether --with-mingw was given.
4076 if test "${with_mingw+set}" = set; then :
4077 withval=$with_mingw;
4081 # Check whether --with-mpg123 was given.
4082 if test "${with_mpg123+set}" = set; then :
4083 withval=$with_mpg123;
4087 # Check whether --with-netapi was given.
4088 if test "${with_netapi+set}" = set; then :
4089 withval=$with_netapi;
4093 # Check whether --with-openal was given.
4094 if test "${with_openal+set}" = set; then :
4095 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4099 # Check whether --with-opencl was given.
4100 if test "${with_opencl+set}" = set; then :
4101 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4105 # Check whether --with-opengl was given.
4106 if test "${with_opengl+set}" = set; then :
4107 withval=$with_opengl;
4111 # Check whether --with-osmesa was given.
4112 if test "${with_osmesa+set}" = set; then :
4113 withval=$with_osmesa;
4117 # Check whether --with-oss was given.
4118 if test "${with_oss+set}" = set; then :
4119 withval=$with_oss;
4123 # Check whether --with-pcap was given.
4124 if test "${with_pcap+set}" = set; then :
4125 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4129 # Check whether --with-png was given.
4130 if test "${with_png+set}" = set; then :
4131 withval=$with_png;
4135 # Check whether --with-pthread was given.
4136 if test "${with_pthread+set}" = set; then :
4137 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4141 # Check whether --with-pulse was given.
4142 if test "${with_pulse+set}" = set; then :
4143 withval=$with_pulse;
4147 # Check whether --with-quicktime was given.
4148 if test "${with_quicktime+set}" = set; then :
4149 withval=$with_quicktime;
4153 # Check whether --with-sane was given.
4154 if test "${with_sane+set}" = set; then :
4155 withval=$with_sane;
4159 # Check whether --with-sdl was given.
4160 if test "${with_sdl+set}" = set; then :
4161 withval=$with_sdl;
4165 # Check whether --with-tiff was given.
4166 if test "${with_tiff+set}" = set; then :
4167 withval=$with_tiff;
4171 # Check whether --with-udev was given.
4172 if test "${with_udev+set}" = set; then :
4173 withval=$with_udev;
4177 # Check whether --with-unwind was given.
4178 if test "${with_unwind+set}" = set; then :
4179 withval=$with_unwind;
4183 # Check whether --with-usb was given.
4184 if test "${with_usb+set}" = set; then :
4185 withval=$with_usb;
4189 # Check whether --with-v4l2 was given.
4190 if test "${with_v4l2+set}" = set; then :
4191 withval=$with_v4l2;
4195 # Check whether --with-vkd3d was given.
4196 if test "${with_vkd3d+set}" = set; then :
4197 withval=$with_vkd3d;
4201 # Check whether --with-vulkan was given.
4202 if test "${with_vulkan+set}" = set; then :
4203 withval=$with_vulkan;
4207 # Check whether --with-xcomposite was given.
4208 if test "${with_xcomposite+set}" = set; then :
4209 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4213 # Check whether --with-xcursor was given.
4214 if test "${with_xcursor+set}" = set; then :
4215 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4219 # Check whether --with-xfixes was given.
4220 if test "${with_xfixes+set}" = set; then :
4221 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4225 # Check whether --with-xinerama was given.
4226 if test "${with_xinerama+set}" = set; then :
4227 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4231 # Check whether --with-xinput was given.
4232 if test "${with_xinput+set}" = set; then :
4233 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4237 # Check whether --with-xinput2 was given.
4238 if test "${with_xinput2+set}" = set; then :
4239 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4243 # Check whether --with-xml was given.
4244 if test "${with_xml+set}" = set; then :
4245 withval=$with_xml;
4249 # Check whether --with-xrandr was given.
4250 if test "${with_xrandr+set}" = set; then :
4251 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4255 # Check whether --with-xrender was given.
4256 if test "${with_xrender+set}" = set; then :
4257 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4261 # Check whether --with-xshape was given.
4262 if test "${with_xshape+set}" = set; then :
4263 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4267 # Check whether --with-xshm was given.
4268 if test "${with_xshm+set}" = set; then :
4269 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4273 # Check whether --with-xslt was given.
4274 if test "${with_xslt+set}" = set; then :
4275 withval=$with_xslt;
4279 # Check whether --with-xxf86vm was given.
4280 if test "${with_xxf86vm+set}" = set; then :
4281 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
4286 # Check whether --with-wine-tools was given.
4287 if test "${with_wine_tools+set}" = set; then :
4288 withval=$with_wine_tools;
4292 # Check whether --with-wine64 was given.
4293 if test "${with_wine64+set}" = set; then :
4294 withval=$with_wine64;
4298 # Make sure we can run config.sub.
4299 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4300 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4303 $as_echo_n "checking build system type... " >&6; }
4304 if ${ac_cv_build+:} false; then :
4305 $as_echo_n "(cached) " >&6
4306 else
4307 ac_build_alias=$build_alias
4308 test "x$ac_build_alias" = x &&
4309 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4310 test "x$ac_build_alias" = x &&
4311 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4312 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4313 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4317 $as_echo "$ac_cv_build" >&6; }
4318 case $ac_cv_build in
4319 *-*-*) ;;
4320 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4321 esac
4322 build=$ac_cv_build
4323 ac_save_IFS=$IFS; IFS='-'
4324 set x $ac_cv_build
4325 shift
4326 build_cpu=$1
4327 build_vendor=$2
4328 shift; shift
4329 # Remember, the first character of IFS is used to create $*,
4330 # except with old shells:
4331 build_os=$*
4332 IFS=$ac_save_IFS
4333 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4337 $as_echo_n "checking host system type... " >&6; }
4338 if ${ac_cv_host+:} false; then :
4339 $as_echo_n "(cached) " >&6
4340 else
4341 if test "x$host_alias" = x; then
4342 ac_cv_host=$ac_cv_build
4343 else
4344 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4345 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4350 $as_echo "$ac_cv_host" >&6; }
4351 case $ac_cv_host in
4352 *-*-*) ;;
4353 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4354 esac
4355 host=$ac_cv_host
4356 ac_save_IFS=$IFS; IFS='-'
4357 set x $ac_cv_host
4358 shift
4359 host_cpu=$1
4360 host_vendor=$2
4361 shift; shift
4362 # Remember, the first character of IFS is used to create $*,
4363 # except with old shells:
4364 host_os=$*
4365 IFS=$ac_save_IFS
4366 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4372 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4373 set x ${MAKE-make}
4374 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4375 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4376 $as_echo_n "(cached) " >&6
4377 else
4378 cat >conftest.make <<\_ACEOF
4379 SHELL = /bin/sh
4380 all:
4381 @echo '@@@%%%=$(MAKE)=@@@%%%'
4382 _ACEOF
4383 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4384 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4385 *@@@%%%=?*=@@@%%%*)
4386 eval ac_cv_prog_make_${ac_make}_set=yes;;
4388 eval ac_cv_prog_make_${ac_make}_set=no;;
4389 esac
4390 rm -f conftest.make
4392 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4394 $as_echo "yes" >&6; }
4395 SET_MAKE=
4396 else
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4398 $as_echo "no" >&6; }
4399 SET_MAKE="MAKE=${MAKE-make}"
4402 ac_ext=c
4403 ac_cpp='$CPP $CPPFLAGS'
4404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4407 if test -n "$ac_tool_prefix"; then
4408 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4409 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4411 $as_echo_n "checking for $ac_word... " >&6; }
4412 if ${ac_cv_prog_CC+:} false; then :
4413 $as_echo_n "(cached) " >&6
4414 else
4415 if test -n "$CC"; then
4416 ac_cv_prog_CC="$CC" # Let the user override the test.
4417 else
4418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4419 for as_dir in $PATH
4421 IFS=$as_save_IFS
4422 test -z "$as_dir" && as_dir=.
4423 for ac_exec_ext in '' $ac_executable_extensions; do
4424 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4425 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4427 break 2
4429 done
4430 done
4431 IFS=$as_save_IFS
4435 CC=$ac_cv_prog_CC
4436 if test -n "$CC"; then
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4438 $as_echo "$CC" >&6; }
4439 else
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4441 $as_echo "no" >&6; }
4446 if test -z "$ac_cv_prog_CC"; then
4447 ac_ct_CC=$CC
4448 # Extract the first word of "gcc", so it can be a program name with args.
4449 set dummy gcc; ac_word=$2
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4451 $as_echo_n "checking for $ac_word... " >&6; }
4452 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4453 $as_echo_n "(cached) " >&6
4454 else
4455 if test -n "$ac_ct_CC"; then
4456 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4457 else
4458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4459 for as_dir in $PATH
4461 IFS=$as_save_IFS
4462 test -z "$as_dir" && as_dir=.
4463 for ac_exec_ext in '' $ac_executable_extensions; do
4464 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4465 ac_cv_prog_ac_ct_CC="gcc"
4466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4467 break 2
4469 done
4470 done
4471 IFS=$as_save_IFS
4475 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4476 if test -n "$ac_ct_CC"; then
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4478 $as_echo "$ac_ct_CC" >&6; }
4479 else
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4481 $as_echo "no" >&6; }
4484 if test "x$ac_ct_CC" = x; then
4485 CC=""
4486 else
4487 case $cross_compiling:$ac_tool_warned in
4488 yes:)
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4490 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4491 ac_tool_warned=yes ;;
4492 esac
4493 CC=$ac_ct_CC
4495 else
4496 CC="$ac_cv_prog_CC"
4499 if test -z "$CC"; then
4500 if test -n "$ac_tool_prefix"; then
4501 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4502 set dummy ${ac_tool_prefix}cc; ac_word=$2
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4504 $as_echo_n "checking for $ac_word... " >&6; }
4505 if ${ac_cv_prog_CC+:} false; then :
4506 $as_echo_n "(cached) " >&6
4507 else
4508 if test -n "$CC"; then
4509 ac_cv_prog_CC="$CC" # Let the user override the test.
4510 else
4511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4512 for as_dir in $PATH
4514 IFS=$as_save_IFS
4515 test -z "$as_dir" && as_dir=.
4516 for ac_exec_ext in '' $ac_executable_extensions; do
4517 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4518 ac_cv_prog_CC="${ac_tool_prefix}cc"
4519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4520 break 2
4522 done
4523 done
4524 IFS=$as_save_IFS
4528 CC=$ac_cv_prog_CC
4529 if test -n "$CC"; then
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4531 $as_echo "$CC" >&6; }
4532 else
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4534 $as_echo "no" >&6; }
4540 if test -z "$CC"; then
4541 # Extract the first word of "cc", so it can be a program name with args.
4542 set dummy cc; ac_word=$2
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4544 $as_echo_n "checking for $ac_word... " >&6; }
4545 if ${ac_cv_prog_CC+:} false; then :
4546 $as_echo_n "(cached) " >&6
4547 else
4548 if test -n "$CC"; then
4549 ac_cv_prog_CC="$CC" # Let the user override the test.
4550 else
4551 ac_prog_rejected=no
4552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4553 for as_dir in $PATH
4555 IFS=$as_save_IFS
4556 test -z "$as_dir" && as_dir=.
4557 for ac_exec_ext in '' $ac_executable_extensions; do
4558 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4559 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4560 ac_prog_rejected=yes
4561 continue
4563 ac_cv_prog_CC="cc"
4564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4565 break 2
4567 done
4568 done
4569 IFS=$as_save_IFS
4571 if test $ac_prog_rejected = yes; then
4572 # We found a bogon in the path, so make sure we never use it.
4573 set dummy $ac_cv_prog_CC
4574 shift
4575 if test $# != 0; then
4576 # We chose a different compiler from the bogus one.
4577 # However, it has the same basename, so the bogon will be chosen
4578 # first if we set CC to just the basename; use the full file name.
4579 shift
4580 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4585 CC=$ac_cv_prog_CC
4586 if test -n "$CC"; then
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4588 $as_echo "$CC" >&6; }
4589 else
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4591 $as_echo "no" >&6; }
4596 if test -z "$CC"; then
4597 if test -n "$ac_tool_prefix"; then
4598 for ac_prog in cl.exe
4600 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4601 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4603 $as_echo_n "checking for $ac_word... " >&6; }
4604 if ${ac_cv_prog_CC+:} false; then :
4605 $as_echo_n "(cached) " >&6
4606 else
4607 if test -n "$CC"; then
4608 ac_cv_prog_CC="$CC" # Let the user override the test.
4609 else
4610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4611 for as_dir in $PATH
4613 IFS=$as_save_IFS
4614 test -z "$as_dir" && as_dir=.
4615 for ac_exec_ext in '' $ac_executable_extensions; do
4616 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4617 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4619 break 2
4621 done
4622 done
4623 IFS=$as_save_IFS
4627 CC=$ac_cv_prog_CC
4628 if test -n "$CC"; then
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4630 $as_echo "$CC" >&6; }
4631 else
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4633 $as_echo "no" >&6; }
4637 test -n "$CC" && break
4638 done
4640 if test -z "$CC"; then
4641 ac_ct_CC=$CC
4642 for ac_prog in cl.exe
4644 # Extract the first word of "$ac_prog", so it can be a program name with args.
4645 set dummy $ac_prog; ac_word=$2
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4647 $as_echo_n "checking for $ac_word... " >&6; }
4648 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4649 $as_echo_n "(cached) " >&6
4650 else
4651 if test -n "$ac_ct_CC"; then
4652 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4653 else
4654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4655 for as_dir in $PATH
4657 IFS=$as_save_IFS
4658 test -z "$as_dir" && as_dir=.
4659 for ac_exec_ext in '' $ac_executable_extensions; do
4660 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4661 ac_cv_prog_ac_ct_CC="$ac_prog"
4662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4663 break 2
4665 done
4666 done
4667 IFS=$as_save_IFS
4671 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4672 if test -n "$ac_ct_CC"; then
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4674 $as_echo "$ac_ct_CC" >&6; }
4675 else
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4677 $as_echo "no" >&6; }
4681 test -n "$ac_ct_CC" && break
4682 done
4684 if test "x$ac_ct_CC" = x; then
4685 CC=""
4686 else
4687 case $cross_compiling:$ac_tool_warned in
4688 yes:)
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4690 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4691 ac_tool_warned=yes ;;
4692 esac
4693 CC=$ac_ct_CC
4700 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4701 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4702 as_fn_error $? "no acceptable C compiler found in \$PATH
4703 See \`config.log' for more details" "$LINENO" 5; }
4705 # Provide some information about the compiler.
4706 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4707 set X $ac_compile
4708 ac_compiler=$2
4709 for ac_option in --version -v -V -qversion; do
4710 { { ac_try="$ac_compiler $ac_option >&5"
4711 case "(($ac_try" in
4712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4713 *) ac_try_echo=$ac_try;;
4714 esac
4715 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4716 $as_echo "$ac_try_echo"; } >&5
4717 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4718 ac_status=$?
4719 if test -s conftest.err; then
4720 sed '10a\
4721 ... rest of stderr output deleted ...
4722 10q' conftest.err >conftest.er1
4723 cat conftest.er1 >&5
4725 rm -f conftest.er1 conftest.err
4726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4727 test $ac_status = 0; }
4728 done
4730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4731 /* end confdefs.h. */
4734 main ()
4738 return 0;
4740 _ACEOF
4741 ac_clean_files_save=$ac_clean_files
4742 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4743 # Try to create an executable without -o first, disregard a.out.
4744 # It will help us diagnose broken compilers, and finding out an intuition
4745 # of exeext.
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4747 $as_echo_n "checking whether the C compiler works... " >&6; }
4748 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4750 # The possible output files:
4751 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4753 ac_rmfiles=
4754 for ac_file in $ac_files
4756 case $ac_file in
4757 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4758 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4759 esac
4760 done
4761 rm -f $ac_rmfiles
4763 if { { ac_try="$ac_link_default"
4764 case "(($ac_try" in
4765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4766 *) ac_try_echo=$ac_try;;
4767 esac
4768 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4769 $as_echo "$ac_try_echo"; } >&5
4770 (eval "$ac_link_default") 2>&5
4771 ac_status=$?
4772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4773 test $ac_status = 0; }; then :
4774 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4775 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4776 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4777 # so that the user can short-circuit this test for compilers unknown to
4778 # Autoconf.
4779 for ac_file in $ac_files ''
4781 test -f "$ac_file" || continue
4782 case $ac_file in
4783 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4785 [ab].out )
4786 # We found the default executable, but exeext='' is most
4787 # certainly right.
4788 break;;
4789 *.* )
4790 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4791 then :; else
4792 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4794 # We set ac_cv_exeext here because the later test for it is not
4795 # safe: cross compilers may not add the suffix if given an `-o'
4796 # argument, so we may need to know it at that point already.
4797 # Even if this section looks crufty: it has the advantage of
4798 # actually working.
4799 break;;
4801 break;;
4802 esac
4803 done
4804 test "$ac_cv_exeext" = no && ac_cv_exeext=
4806 else
4807 ac_file=''
4809 if test -z "$ac_file"; then :
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4811 $as_echo "no" >&6; }
4812 $as_echo "$as_me: failed program was:" >&5
4813 sed 's/^/| /' conftest.$ac_ext >&5
4815 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4816 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4817 as_fn_error 77 "C compiler cannot create executables
4818 See \`config.log' for more details" "$LINENO" 5; }
4819 else
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4821 $as_echo "yes" >&6; }
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4824 $as_echo_n "checking for C compiler default output file name... " >&6; }
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4826 $as_echo "$ac_file" >&6; }
4827 ac_exeext=$ac_cv_exeext
4829 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4830 ac_clean_files=$ac_clean_files_save
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4832 $as_echo_n "checking for suffix of executables... " >&6; }
4833 if { { ac_try="$ac_link"
4834 case "(($ac_try" in
4835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4836 *) ac_try_echo=$ac_try;;
4837 esac
4838 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4839 $as_echo "$ac_try_echo"; } >&5
4840 (eval "$ac_link") 2>&5
4841 ac_status=$?
4842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4843 test $ac_status = 0; }; then :
4844 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4845 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4846 # work properly (i.e., refer to `conftest.exe'), while it won't with
4847 # `rm'.
4848 for ac_file in conftest.exe conftest conftest.*; do
4849 test -f "$ac_file" || continue
4850 case $ac_file in
4851 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4852 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4853 break;;
4854 * ) break;;
4855 esac
4856 done
4857 else
4858 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4859 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4860 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4861 See \`config.log' for more details" "$LINENO" 5; }
4863 rm -f conftest conftest$ac_cv_exeext
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4865 $as_echo "$ac_cv_exeext" >&6; }
4867 rm -f conftest.$ac_ext
4868 EXEEXT=$ac_cv_exeext
4869 ac_exeext=$EXEEXT
4870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4871 /* end confdefs.h. */
4872 #include <stdio.h>
4874 main ()
4876 FILE *f = fopen ("conftest.out", "w");
4877 return ferror (f) || fclose (f) != 0;
4880 return 0;
4882 _ACEOF
4883 ac_clean_files="$ac_clean_files conftest.out"
4884 # Check that the compiler produces executables we can run. If not, either
4885 # the compiler is broken, or we cross compile.
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4887 $as_echo_n "checking whether we are cross compiling... " >&6; }
4888 if test "$cross_compiling" != yes; then
4889 { { ac_try="$ac_link"
4890 case "(($ac_try" in
4891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4892 *) ac_try_echo=$ac_try;;
4893 esac
4894 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4895 $as_echo "$ac_try_echo"; } >&5
4896 (eval "$ac_link") 2>&5
4897 ac_status=$?
4898 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4899 test $ac_status = 0; }
4900 if { ac_try='./conftest$ac_cv_exeext'
4901 { { case "(($ac_try" in
4902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4903 *) ac_try_echo=$ac_try;;
4904 esac
4905 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4906 $as_echo "$ac_try_echo"; } >&5
4907 (eval "$ac_try") 2>&5
4908 ac_status=$?
4909 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4910 test $ac_status = 0; }; }; then
4911 cross_compiling=no
4912 else
4913 if test "$cross_compiling" = maybe; then
4914 cross_compiling=yes
4915 else
4916 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4917 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4918 as_fn_error $? "cannot run C compiled programs.
4919 If you meant to cross compile, use \`--host'.
4920 See \`config.log' for more details" "$LINENO" 5; }
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4925 $as_echo "$cross_compiling" >&6; }
4927 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4928 ac_clean_files=$ac_clean_files_save
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4930 $as_echo_n "checking for suffix of object files... " >&6; }
4931 if ${ac_cv_objext+:} false; then :
4932 $as_echo_n "(cached) " >&6
4933 else
4934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4935 /* end confdefs.h. */
4938 main ()
4942 return 0;
4944 _ACEOF
4945 rm -f conftest.o conftest.obj
4946 if { { ac_try="$ac_compile"
4947 case "(($ac_try" in
4948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4949 *) ac_try_echo=$ac_try;;
4950 esac
4951 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4952 $as_echo "$ac_try_echo"; } >&5
4953 (eval "$ac_compile") 2>&5
4954 ac_status=$?
4955 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4956 test $ac_status = 0; }; then :
4957 for ac_file in conftest.o conftest.obj conftest.*; do
4958 test -f "$ac_file" || continue;
4959 case $ac_file in
4960 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4961 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4962 break;;
4963 esac
4964 done
4965 else
4966 $as_echo "$as_me: failed program was:" >&5
4967 sed 's/^/| /' conftest.$ac_ext >&5
4969 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4970 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4971 as_fn_error $? "cannot compute suffix of object files: cannot compile
4972 See \`config.log' for more details" "$LINENO" 5; }
4974 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4977 $as_echo "$ac_cv_objext" >&6; }
4978 OBJEXT=$ac_cv_objext
4979 ac_objext=$OBJEXT
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4981 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4982 if ${ac_cv_c_compiler_gnu+:} false; then :
4983 $as_echo_n "(cached) " >&6
4984 else
4985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4986 /* end confdefs.h. */
4989 main ()
4991 #ifndef __GNUC__
4992 choke me
4993 #endif
4996 return 0;
4998 _ACEOF
4999 if ac_fn_c_try_compile "$LINENO"; then :
5000 ac_compiler_gnu=yes
5001 else
5002 ac_compiler_gnu=no
5004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5005 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5009 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5010 if test $ac_compiler_gnu = yes; then
5011 GCC=yes
5012 else
5013 GCC=
5015 ac_test_CFLAGS=${CFLAGS+set}
5016 ac_save_CFLAGS=$CFLAGS
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5018 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5019 if ${ac_cv_prog_cc_g+:} false; then :
5020 $as_echo_n "(cached) " >&6
5021 else
5022 ac_save_c_werror_flag=$ac_c_werror_flag
5023 ac_c_werror_flag=yes
5024 ac_cv_prog_cc_g=no
5025 CFLAGS="-g"
5026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5027 /* end confdefs.h. */
5030 main ()
5034 return 0;
5036 _ACEOF
5037 if ac_fn_c_try_compile "$LINENO"; then :
5038 ac_cv_prog_cc_g=yes
5039 else
5040 CFLAGS=""
5041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5042 /* end confdefs.h. */
5045 main ()
5049 return 0;
5051 _ACEOF
5052 if ac_fn_c_try_compile "$LINENO"; then :
5054 else
5055 ac_c_werror_flag=$ac_save_c_werror_flag
5056 CFLAGS="-g"
5057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5058 /* end confdefs.h. */
5061 main ()
5065 return 0;
5067 _ACEOF
5068 if ac_fn_c_try_compile "$LINENO"; then :
5069 ac_cv_prog_cc_g=yes
5071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5076 ac_c_werror_flag=$ac_save_c_werror_flag
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5079 $as_echo "$ac_cv_prog_cc_g" >&6; }
5080 if test "$ac_test_CFLAGS" = set; then
5081 CFLAGS=$ac_save_CFLAGS
5082 elif test $ac_cv_prog_cc_g = yes; then
5083 if test "$GCC" = yes; then
5084 CFLAGS="-g -O2"
5085 else
5086 CFLAGS="-g"
5088 else
5089 if test "$GCC" = yes; then
5090 CFLAGS="-O2"
5091 else
5092 CFLAGS=
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5096 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5097 if ${ac_cv_prog_cc_c89+:} false; then :
5098 $as_echo_n "(cached) " >&6
5099 else
5100 ac_cv_prog_cc_c89=no
5101 ac_save_CC=$CC
5102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5103 /* end confdefs.h. */
5104 #include <stdarg.h>
5105 #include <stdio.h>
5106 struct stat;
5107 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5108 struct buf { int x; };
5109 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5110 static char *e (p, i)
5111 char **p;
5112 int i;
5114 return p[i];
5116 static char *f (char * (*g) (char **, int), char **p, ...)
5118 char *s;
5119 va_list v;
5120 va_start (v,p);
5121 s = g (p, va_arg (v,int));
5122 va_end (v);
5123 return s;
5126 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5127 function prototypes and stuff, but not '\xHH' hex character constants.
5128 These don't provoke an error unfortunately, instead are silently treated
5129 as 'x'. The following induces an error, until -std is added to get
5130 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5131 array size at least. It's necessary to write '\x00'==0 to get something
5132 that's true only with -std. */
5133 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5135 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5136 inside strings and character constants. */
5137 #define FOO(x) 'x'
5138 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5140 int test (int i, double x);
5141 struct s1 {int (*f) (int a);};
5142 struct s2 {int (*f) (double a);};
5143 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5144 int argc;
5145 char **argv;
5147 main ()
5149 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5151 return 0;
5153 _ACEOF
5154 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5155 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5157 CC="$ac_save_CC $ac_arg"
5158 if ac_fn_c_try_compile "$LINENO"; then :
5159 ac_cv_prog_cc_c89=$ac_arg
5161 rm -f core conftest.err conftest.$ac_objext
5162 test "x$ac_cv_prog_cc_c89" != "xno" && break
5163 done
5164 rm -f conftest.$ac_ext
5165 CC=$ac_save_CC
5168 # AC_CACHE_VAL
5169 case "x$ac_cv_prog_cc_c89" in
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5172 $as_echo "none needed" >&6; } ;;
5173 xno)
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5175 $as_echo "unsupported" >&6; } ;;
5177 CC="$CC $ac_cv_prog_cc_c89"
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5179 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5180 esac
5181 if test "x$ac_cv_prog_cc_c89" != xno; then :
5185 ac_ext=c
5186 ac_cpp='$CPP $CPPFLAGS'
5187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5191 ac_ext=cpp
5192 ac_cpp='$CXXCPP $CPPFLAGS'
5193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5196 if test -z "$CXX"; then
5197 if test -n "$CCC"; then
5198 CXX=$CCC
5199 else
5200 if test -n "$ac_tool_prefix"; then
5201 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5203 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5204 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5206 $as_echo_n "checking for $ac_word... " >&6; }
5207 if ${ac_cv_prog_CXX+:} false; then :
5208 $as_echo_n "(cached) " >&6
5209 else
5210 if test -n "$CXX"; then
5211 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5212 else
5213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5214 for as_dir in $PATH
5216 IFS=$as_save_IFS
5217 test -z "$as_dir" && as_dir=.
5218 for ac_exec_ext in '' $ac_executable_extensions; do
5219 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5220 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5222 break 2
5224 done
5225 done
5226 IFS=$as_save_IFS
5230 CXX=$ac_cv_prog_CXX
5231 if test -n "$CXX"; then
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5233 $as_echo "$CXX" >&6; }
5234 else
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5236 $as_echo "no" >&6; }
5240 test -n "$CXX" && break
5241 done
5243 if test -z "$CXX"; then
5244 ac_ct_CXX=$CXX
5245 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5247 # Extract the first word of "$ac_prog", so it can be a program name with args.
5248 set dummy $ac_prog; ac_word=$2
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5250 $as_echo_n "checking for $ac_word... " >&6; }
5251 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5252 $as_echo_n "(cached) " >&6
5253 else
5254 if test -n "$ac_ct_CXX"; then
5255 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5256 else
5257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5258 for as_dir in $PATH
5260 IFS=$as_save_IFS
5261 test -z "$as_dir" && as_dir=.
5262 for ac_exec_ext in '' $ac_executable_extensions; do
5263 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5264 ac_cv_prog_ac_ct_CXX="$ac_prog"
5265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5266 break 2
5268 done
5269 done
5270 IFS=$as_save_IFS
5274 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5275 if test -n "$ac_ct_CXX"; then
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5277 $as_echo "$ac_ct_CXX" >&6; }
5278 else
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5280 $as_echo "no" >&6; }
5284 test -n "$ac_ct_CXX" && break
5285 done
5287 if test "x$ac_ct_CXX" = x; then
5288 CXX="g++"
5289 else
5290 case $cross_compiling:$ac_tool_warned in
5291 yes:)
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5293 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5294 ac_tool_warned=yes ;;
5295 esac
5296 CXX=$ac_ct_CXX
5302 # Provide some information about the compiler.
5303 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5304 set X $ac_compile
5305 ac_compiler=$2
5306 for ac_option in --version -v -V -qversion; do
5307 { { ac_try="$ac_compiler $ac_option >&5"
5308 case "(($ac_try" in
5309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5310 *) ac_try_echo=$ac_try;;
5311 esac
5312 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5313 $as_echo "$ac_try_echo"; } >&5
5314 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5315 ac_status=$?
5316 if test -s conftest.err; then
5317 sed '10a\
5318 ... rest of stderr output deleted ...
5319 10q' conftest.err >conftest.er1
5320 cat conftest.er1 >&5
5322 rm -f conftest.er1 conftest.err
5323 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5324 test $ac_status = 0; }
5325 done
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5328 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5329 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5330 $as_echo_n "(cached) " >&6
5331 else
5332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5333 /* end confdefs.h. */
5336 main ()
5338 #ifndef __GNUC__
5339 choke me
5340 #endif
5343 return 0;
5345 _ACEOF
5346 if ac_fn_cxx_try_compile "$LINENO"; then :
5347 ac_compiler_gnu=yes
5348 else
5349 ac_compiler_gnu=no
5351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5352 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5356 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5357 if test $ac_compiler_gnu = yes; then
5358 GXX=yes
5359 else
5360 GXX=
5362 ac_test_CXXFLAGS=${CXXFLAGS+set}
5363 ac_save_CXXFLAGS=$CXXFLAGS
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5365 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5366 if ${ac_cv_prog_cxx_g+:} false; then :
5367 $as_echo_n "(cached) " >&6
5368 else
5369 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5370 ac_cxx_werror_flag=yes
5371 ac_cv_prog_cxx_g=no
5372 CXXFLAGS="-g"
5373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5374 /* end confdefs.h. */
5377 main ()
5381 return 0;
5383 _ACEOF
5384 if ac_fn_cxx_try_compile "$LINENO"; then :
5385 ac_cv_prog_cxx_g=yes
5386 else
5387 CXXFLAGS=""
5388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5389 /* end confdefs.h. */
5392 main ()
5396 return 0;
5398 _ACEOF
5399 if ac_fn_cxx_try_compile "$LINENO"; then :
5401 else
5402 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5403 CXXFLAGS="-g"
5404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5405 /* end confdefs.h. */
5408 main ()
5412 return 0;
5414 _ACEOF
5415 if ac_fn_cxx_try_compile "$LINENO"; then :
5416 ac_cv_prog_cxx_g=yes
5418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5423 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5426 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5427 if test "$ac_test_CXXFLAGS" = set; then
5428 CXXFLAGS=$ac_save_CXXFLAGS
5429 elif test $ac_cv_prog_cxx_g = yes; then
5430 if test "$GXX" = yes; then
5431 CXXFLAGS="-g -O2"
5432 else
5433 CXXFLAGS="-g"
5435 else
5436 if test "$GXX" = yes; then
5437 CXXFLAGS="-O2"
5438 else
5439 CXXFLAGS=
5442 ac_ext=c
5443 ac_cpp='$CPP $CPPFLAGS'
5444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5448 if test -n "$ac_tool_prefix"; then
5449 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5450 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5452 $as_echo_n "checking for $ac_word... " >&6; }
5453 if ${ac_cv_prog_CPPBIN+:} false; then :
5454 $as_echo_n "(cached) " >&6
5455 else
5456 if test -n "$CPPBIN"; then
5457 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5458 else
5459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5460 for as_dir in $PATH
5462 IFS=$as_save_IFS
5463 test -z "$as_dir" && as_dir=.
5464 for ac_exec_ext in '' $ac_executable_extensions; do
5465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5466 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5468 break 2
5470 done
5471 done
5472 IFS=$as_save_IFS
5476 CPPBIN=$ac_cv_prog_CPPBIN
5477 if test -n "$CPPBIN"; then
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5479 $as_echo "$CPPBIN" >&6; }
5480 else
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5482 $as_echo "no" >&6; }
5487 if test -z "$ac_cv_prog_CPPBIN"; then
5488 ac_ct_CPPBIN=$CPPBIN
5489 # Extract the first word of "cpp", so it can be a program name with args.
5490 set dummy cpp; ac_word=$2
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5492 $as_echo_n "checking for $ac_word... " >&6; }
5493 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5494 $as_echo_n "(cached) " >&6
5495 else
5496 if test -n "$ac_ct_CPPBIN"; then
5497 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5498 else
5499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5500 for as_dir in $PATH
5502 IFS=$as_save_IFS
5503 test -z "$as_dir" && as_dir=.
5504 for ac_exec_ext in '' $ac_executable_extensions; do
5505 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5506 ac_cv_prog_ac_ct_CPPBIN="cpp"
5507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5508 break 2
5510 done
5511 done
5512 IFS=$as_save_IFS
5516 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5517 if test -n "$ac_ct_CPPBIN"; then
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5519 $as_echo "$ac_ct_CPPBIN" >&6; }
5520 else
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5522 $as_echo "no" >&6; }
5525 if test "x$ac_ct_CPPBIN" = x; then
5526 CPPBIN="cpp"
5527 else
5528 case $cross_compiling:$ac_tool_warned in
5529 yes:)
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5531 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5532 ac_tool_warned=yes ;;
5533 esac
5534 CPPBIN=$ac_ct_CPPBIN
5536 else
5537 CPPBIN="$ac_cv_prog_CPPBIN"
5541 cat >>confdefs.h <<_ACEOF
5542 #define EXEEXT "$ac_exeext"
5543 _ACEOF
5545 if test -n "$ac_tool_prefix"; then
5546 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5547 set dummy ${ac_tool_prefix}ld; ac_word=$2
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5549 $as_echo_n "checking for $ac_word... " >&6; }
5550 if ${ac_cv_prog_LD+:} false; then :
5551 $as_echo_n "(cached) " >&6
5552 else
5553 if test -n "$LD"; then
5554 ac_cv_prog_LD="$LD" # Let the user override the test.
5555 else
5556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5557 for as_dir in $PATH
5559 IFS=$as_save_IFS
5560 test -z "$as_dir" && as_dir=.
5561 for ac_exec_ext in '' $ac_executable_extensions; do
5562 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5563 ac_cv_prog_LD="${ac_tool_prefix}ld"
5564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5565 break 2
5567 done
5568 done
5569 IFS=$as_save_IFS
5573 LD=$ac_cv_prog_LD
5574 if test -n "$LD"; then
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5576 $as_echo "$LD" >&6; }
5577 else
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5579 $as_echo "no" >&6; }
5584 if test -z "$ac_cv_prog_LD"; then
5585 ac_ct_LD=$LD
5586 # Extract the first word of "ld", so it can be a program name with args.
5587 set dummy ld; ac_word=$2
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5589 $as_echo_n "checking for $ac_word... " >&6; }
5590 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5591 $as_echo_n "(cached) " >&6
5592 else
5593 if test -n "$ac_ct_LD"; then
5594 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5595 else
5596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5597 for as_dir in $PATH
5599 IFS=$as_save_IFS
5600 test -z "$as_dir" && as_dir=.
5601 for ac_exec_ext in '' $ac_executable_extensions; do
5602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5603 ac_cv_prog_ac_ct_LD="ld"
5604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5605 break 2
5607 done
5608 done
5609 IFS=$as_save_IFS
5613 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5614 if test -n "$ac_ct_LD"; then
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5616 $as_echo "$ac_ct_LD" >&6; }
5617 else
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5619 $as_echo "no" >&6; }
5622 if test "x$ac_ct_LD" = x; then
5623 LD=""
5624 else
5625 case $cross_compiling:$ac_tool_warned in
5626 yes:)
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5628 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5629 ac_tool_warned=yes ;;
5630 esac
5631 LD=$ac_ct_LD
5633 else
5634 LD="$ac_cv_prog_LD"
5638 case $host in
5639 *-darwin*)
5640 with_fontconfig=${with_fontconfig:-no}
5642 *-mingw32*|*-cygwin*)
5643 enable_win16=${enable_win16:-no}
5644 with_mingw=${with_mingw:-no}
5645 CFLAGS="$CFLAGS -D_WIN32"
5647 esac
5649 TARGETFLAGS=""
5651 case $host in
5652 x86_64*|amd64*)
5653 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5654 then
5655 CC="$CC -m32"
5656 CXX="$CXX -m32"
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5659 $as_echo_n "checking whether $CC works... " >&6; }
5660 if ${wine_cv_cc_m32+:} false; then :
5661 $as_echo_n "(cached) " >&6
5662 else
5663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5664 /* end confdefs.h. */
5667 main ()
5671 return 0;
5673 _ACEOF
5674 if ac_fn_c_try_link "$LINENO"; then :
5675 wine_cv_cc_m32=yes
5676 else
5677 wine_cv_cc_m32=no
5679 rm -f core conftest.err conftest.$ac_objext \
5680 conftest$ac_exeext conftest.$ac_ext
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5683 $as_echo "$wine_cv_cc_m32" >&6; }
5684 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
5685 host_cpu="i386"
5686 notice_platform="32-bit "
5687 TARGETFLAGS="-m32"
5688 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5689 export PKG_CONFIG_PATH
5690 enable_win16=${enable_win16:-yes}
5691 with_unwind=${with_unwind:-no}
5692 else
5693 if test "x${GCC}" = "xyes"
5694 then
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5696 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5697 if ${wine_cv_builtin_ms_va_list+:} false; then :
5698 $as_echo_n "(cached) " >&6
5699 else
5700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5701 /* end confdefs.h. */
5702 #include <stdarg.h>
5704 main ()
5706 void func(__builtin_ms_va_list *args);
5708 return 0;
5710 _ACEOF
5711 if ac_fn_c_try_compile "$LINENO"; then :
5712 wine_cv_builtin_ms_va_list=yes
5713 else
5714 wine_cv_builtin_ms_va_list=no
5716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5719 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5720 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
5722 CC="$CC -m64"
5723 CXX="$CXX -m64"
5724 host_cpu="x86_64"
5725 notice_platform="64-bit "
5726 TARGETFLAGS="-m64"
5729 arm*)
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
5731 $as_echo_n "checking whether $CC supports Thumb-2... " >&6; }
5732 if ${wine_cv_thumb2+:} false; then :
5733 $as_echo_n "(cached) " >&6
5734 else
5735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5736 /* end confdefs.h. */
5739 main ()
5741 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
5743 return 0;
5745 _ACEOF
5746 if ac_fn_c_try_link "$LINENO"; then :
5747 wine_cv_thumb2=yes
5748 else
5749 wine_cv_thumb2=no
5751 rm -f core conftest.err conftest.$ac_objext \
5752 conftest$ac_exeext conftest.$ac_ext
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
5755 $as_echo "$wine_cv_thumb2" >&6; }
5756 if test x"$wine_cv_thumb2" = xyes
5757 then
5758 CFLAGS="$CFLAGS -mthumb"
5759 TARGETFLAGS="-mthumb"
5760 else
5761 CFLAGS="$CFLAGS -marm"
5762 TARGETFLAGS="-marm"
5764 case $with_float_abi in
5765 soft|softfp|hard)
5766 float_abi=$with_float_abi ;;
5768 case $host_os in
5769 *eabihf)
5770 float_abi=hard ;;
5772 float_abi=softfp
5773 saved_CFLAGS=$CFLAGS
5774 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5776 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5777 if ${wine_cv_float_abi+:} false; then :
5778 $as_echo_n "(cached) " >&6
5779 else
5780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5781 /* end confdefs.h. */
5784 main ()
5786 asm("vmrs r2,fpscr");
5788 return 0;
5790 _ACEOF
5791 if ac_fn_c_try_link "$LINENO"; then :
5792 wine_cv_float_abi=yes
5793 else
5794 wine_cv_float_abi=no
5796 rm -f core conftest.err conftest.$ac_objext \
5797 conftest$ac_exeext conftest.$ac_ext
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5800 $as_echo "$wine_cv_float_abi" >&6; }
5801 if test $wine_cv_float_abi = no
5802 then
5803 float_abi=soft
5804 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5806 CFLAGS=$saved_CFLAGS
5807 esac
5809 esac
5810 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5811 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
5813 aarch64*)
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5815 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5816 if ${wine_cv_builtin_ms_va_list+:} false; then :
5817 $as_echo_n "(cached) " >&6
5818 else
5819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5820 /* end confdefs.h. */
5821 #include <stdarg.h>
5823 main ()
5825 void func(__builtin_ms_va_list *args);
5827 return 0;
5829 _ACEOF
5830 if ac_fn_c_try_compile "$LINENO"; then :
5831 wine_cv_builtin_ms_va_list=yes
5832 else
5833 wine_cv_builtin_ms_va_list=no
5835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5838 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5839 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5841 i[3456789]86*)
5842 enable_win16=${enable_win16:-yes}
5843 with_unwind=${with_unwind:-no}
5845 esac
5847 enable_win16=${enable_win16:-no}
5848 enable_win64=${enable_win64:-no}
5850 enable_winetest=${enable_winetest:-$enable_tests}
5852 if test "x$enable_win64" = "xyes"
5853 then
5854 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5855 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5856 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5860 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5861 if ${wine_cv_toolsdir+:} false; then :
5862 $as_echo_n "(cached) " >&6
5863 else
5864 wine_cv_toolsdir="$with_wine_tools"
5865 if test -z "$with_wine_tools"; then
5866 if test "$cross_compiling" = "yes"; then
5867 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5868 elif test -n "$with_wine64"; then
5869 wine_cv_toolsdir="$with_wine64"
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5874 $as_echo "$wine_cv_toolsdir" >&6; }
5875 if test -z "$wine_cv_toolsdir"; then
5876 wine_makedep=tools/makedep
5877 TOOLSDIR="."
5879 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5880 wine_makedep=$wine_cv_toolsdir/tools/makedep
5881 TOOLSDIR=$wine_cv_toolsdir
5883 enable_tools=${enable_tools:-no}
5884 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5885 else
5886 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5888 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5889 then
5890 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5893 for ac_prog in flex
5895 # Extract the first word of "$ac_prog", so it can be a program name with args.
5896 set dummy $ac_prog; ac_word=$2
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5898 $as_echo_n "checking for $ac_word... " >&6; }
5899 if ${ac_cv_prog_FLEX+:} false; then :
5900 $as_echo_n "(cached) " >&6
5901 else
5902 if test -n "$FLEX"; then
5903 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5904 else
5905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5906 for as_dir in $PATH
5908 IFS=$as_save_IFS
5909 test -z "$as_dir" && as_dir=.
5910 for ac_exec_ext in '' $ac_executable_extensions; do
5911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5912 ac_cv_prog_FLEX="$ac_prog"
5913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5914 break 2
5916 done
5917 done
5918 IFS=$as_save_IFS
5922 FLEX=$ac_cv_prog_FLEX
5923 if test -n "$FLEX"; then
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5925 $as_echo "$FLEX" >&6; }
5926 else
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5928 $as_echo "no" >&6; }
5932 test -n "$FLEX" && break
5933 done
5934 test -n "$FLEX" || FLEX="none"
5936 if test "$FLEX" = "none"
5937 then
5938 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5941 $as_echo_n "checking whether flex is recent enough... " >&6; }
5942 if ${wine_cv_recent_flex+:} false; then :
5943 $as_echo_n "(cached) " >&6
5944 else
5945 cat >conftest.l <<EOF
5946 %top{
5947 #include "prediluvian.h"
5951 if $FLEX -t conftest.l >/dev/null 2>&5
5952 then
5953 wine_cv_recent_flex=yes
5954 else
5955 wine_cv_recent_flex=no
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5959 $as_echo "$wine_cv_recent_flex" >&6; }
5960 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
5962 for ac_prog in bison
5964 # Extract the first word of "$ac_prog", so it can be a program name with args.
5965 set dummy $ac_prog; ac_word=$2
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5967 $as_echo_n "checking for $ac_word... " >&6; }
5968 if ${ac_cv_prog_BISON+:} false; then :
5969 $as_echo_n "(cached) " >&6
5970 else
5971 if test -n "$BISON"; then
5972 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5973 else
5974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5975 for as_dir in $PATH
5977 IFS=$as_save_IFS
5978 test -z "$as_dir" && as_dir=.
5979 for ac_exec_ext in '' $ac_executable_extensions; do
5980 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5981 ac_cv_prog_BISON="$ac_prog"
5982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5983 break 2
5985 done
5986 done
5987 IFS=$as_save_IFS
5991 BISON=$ac_cv_prog_BISON
5992 if test -n "$BISON"; then
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5994 $as_echo "$BISON" >&6; }
5995 else
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5997 $as_echo "no" >&6; }
6001 test -n "$BISON" && break
6002 done
6003 test -n "$BISON" || BISON="none"
6005 if test "$BISON" = "none"
6006 then
6007 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6010 $as_echo_n "checking whether bison is recent enough... " >&6; }
6011 if ${wine_cv_recent_bison+:} false; then :
6012 $as_echo_n "(cached) " >&6
6013 else
6014 cat >conftest.y <<EOF
6015 %define parse.error verbose
6017 empty: ;
6019 if $BISON conftest.y >/dev/null 2>&5
6020 then
6021 wine_cv_recent_bison=yes
6022 else
6023 wine_cv_recent_bison=no
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6027 $as_echo "$wine_cv_recent_bison" >&6; }
6028 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
6030 if test -n "$ac_tool_prefix"; then
6031 for ac_prog in ar gar
6033 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6034 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6036 $as_echo_n "checking for $ac_word... " >&6; }
6037 if ${ac_cv_prog_AR+:} false; then :
6038 $as_echo_n "(cached) " >&6
6039 else
6040 if test -n "$AR"; then
6041 ac_cv_prog_AR="$AR" # Let the user override the test.
6042 else
6043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6044 for as_dir in $PATH
6046 IFS=$as_save_IFS
6047 test -z "$as_dir" && as_dir=.
6048 for ac_exec_ext in '' $ac_executable_extensions; do
6049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6050 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6052 break 2
6054 done
6055 done
6056 IFS=$as_save_IFS
6060 AR=$ac_cv_prog_AR
6061 if test -n "$AR"; then
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6063 $as_echo "$AR" >&6; }
6064 else
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6066 $as_echo "no" >&6; }
6070 test -n "$AR" && break
6071 done
6073 if test -z "$AR"; then
6074 ac_ct_AR=$AR
6075 for ac_prog in ar gar
6077 # Extract the first word of "$ac_prog", so it can be a program name with args.
6078 set dummy $ac_prog; ac_word=$2
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6080 $as_echo_n "checking for $ac_word... " >&6; }
6081 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6082 $as_echo_n "(cached) " >&6
6083 else
6084 if test -n "$ac_ct_AR"; then
6085 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6086 else
6087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6088 for as_dir in $PATH
6090 IFS=$as_save_IFS
6091 test -z "$as_dir" && as_dir=.
6092 for ac_exec_ext in '' $ac_executable_extensions; do
6093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6094 ac_cv_prog_ac_ct_AR="$ac_prog"
6095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6096 break 2
6098 done
6099 done
6100 IFS=$as_save_IFS
6104 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6105 if test -n "$ac_ct_AR"; then
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6107 $as_echo "$ac_ct_AR" >&6; }
6108 else
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6110 $as_echo "no" >&6; }
6114 test -n "$ac_ct_AR" && break
6115 done
6117 if test "x$ac_ct_AR" = x; then
6118 AR="ar"
6119 else
6120 case $cross_compiling:$ac_tool_warned in
6121 yes:)
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6123 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6124 ac_tool_warned=yes ;;
6125 esac
6126 AR=$ac_ct_AR
6130 if test -n "$ac_tool_prefix"; then
6131 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6132 set dummy ${ac_tool_prefix}strip; ac_word=$2
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6134 $as_echo_n "checking for $ac_word... " >&6; }
6135 if ${ac_cv_prog_STRIP+:} false; then :
6136 $as_echo_n "(cached) " >&6
6137 else
6138 if test -n "$STRIP"; then
6139 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6140 else
6141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6142 for as_dir in $PATH
6144 IFS=$as_save_IFS
6145 test -z "$as_dir" && as_dir=.
6146 for ac_exec_ext in '' $ac_executable_extensions; do
6147 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6148 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6150 break 2
6152 done
6153 done
6154 IFS=$as_save_IFS
6158 STRIP=$ac_cv_prog_STRIP
6159 if test -n "$STRIP"; then
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6161 $as_echo "$STRIP" >&6; }
6162 else
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6164 $as_echo "no" >&6; }
6169 if test -z "$ac_cv_prog_STRIP"; then
6170 ac_ct_STRIP=$STRIP
6171 # Extract the first word of "strip", so it can be a program name with args.
6172 set dummy strip; ac_word=$2
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6174 $as_echo_n "checking for $ac_word... " >&6; }
6175 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6176 $as_echo_n "(cached) " >&6
6177 else
6178 if test -n "$ac_ct_STRIP"; then
6179 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6180 else
6181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6182 for as_dir in $PATH
6184 IFS=$as_save_IFS
6185 test -z "$as_dir" && as_dir=.
6186 for ac_exec_ext in '' $ac_executable_extensions; do
6187 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6188 ac_cv_prog_ac_ct_STRIP="strip"
6189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6190 break 2
6192 done
6193 done
6194 IFS=$as_save_IFS
6198 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6199 if test -n "$ac_ct_STRIP"; then
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6201 $as_echo "$ac_ct_STRIP" >&6; }
6202 else
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6204 $as_echo "no" >&6; }
6207 if test "x$ac_ct_STRIP" = x; then
6208 STRIP="strip"
6209 else
6210 case $cross_compiling:$ac_tool_warned in
6211 yes:)
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6213 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6214 ac_tool_warned=yes ;;
6215 esac
6216 STRIP=$ac_ct_STRIP
6218 else
6219 STRIP="$ac_cv_prog_STRIP"
6222 if test -n "$ac_tool_prefix"; then
6223 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6224 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6226 $as_echo_n "checking for $ac_word... " >&6; }
6227 if ${ac_cv_prog_RANLIB+:} false; then :
6228 $as_echo_n "(cached) " >&6
6229 else
6230 if test -n "$RANLIB"; then
6231 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6232 else
6233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6234 for as_dir in $PATH
6236 IFS=$as_save_IFS
6237 test -z "$as_dir" && as_dir=.
6238 for ac_exec_ext in '' $ac_executable_extensions; do
6239 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6240 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6242 break 2
6244 done
6245 done
6246 IFS=$as_save_IFS
6250 RANLIB=$ac_cv_prog_RANLIB
6251 if test -n "$RANLIB"; then
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6253 $as_echo "$RANLIB" >&6; }
6254 else
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6256 $as_echo "no" >&6; }
6261 if test -z "$ac_cv_prog_RANLIB"; then
6262 ac_ct_RANLIB=$RANLIB
6263 # Extract the first word of "ranlib", so it can be a program name with args.
6264 set dummy ranlib; ac_word=$2
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6266 $as_echo_n "checking for $ac_word... " >&6; }
6267 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6268 $as_echo_n "(cached) " >&6
6269 else
6270 if test -n "$ac_ct_RANLIB"; then
6271 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6272 else
6273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6274 for as_dir in $PATH
6276 IFS=$as_save_IFS
6277 test -z "$as_dir" && as_dir=.
6278 for ac_exec_ext in '' $ac_executable_extensions; do
6279 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6280 ac_cv_prog_ac_ct_RANLIB="ranlib"
6281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6282 break 2
6284 done
6285 done
6286 IFS=$as_save_IFS
6290 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6291 if test -n "$ac_ct_RANLIB"; then
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6293 $as_echo "$ac_ct_RANLIB" >&6; }
6294 else
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6296 $as_echo "no" >&6; }
6299 if test "x$ac_ct_RANLIB" = x; then
6300 RANLIB=":"
6301 else
6302 case $cross_compiling:$ac_tool_warned in
6303 yes:)
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6305 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6306 ac_tool_warned=yes ;;
6307 esac
6308 RANLIB=$ac_ct_RANLIB
6310 else
6311 RANLIB="$ac_cv_prog_RANLIB"
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6315 $as_echo_n "checking whether ln -s works... " >&6; }
6316 LN_S=$as_ln_s
6317 if test "$LN_S" = "ln -s"; then
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6319 $as_echo "yes" >&6; }
6320 else
6321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6322 $as_echo "no, using $LN_S" >&6; }
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6326 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6327 if ${ac_cv_path_GREP+:} false; then :
6328 $as_echo_n "(cached) " >&6
6329 else
6330 if test -z "$GREP"; then
6331 ac_path_GREP_found=false
6332 # Loop through the user's path and test for each of PROGNAME-LIST
6333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6334 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6336 IFS=$as_save_IFS
6337 test -z "$as_dir" && as_dir=.
6338 for ac_prog in grep ggrep; do
6339 for ac_exec_ext in '' $ac_executable_extensions; do
6340 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6341 as_fn_executable_p "$ac_path_GREP" || continue
6342 # Check for GNU ac_path_GREP and select it if it is found.
6343 # Check for GNU $ac_path_GREP
6344 case `"$ac_path_GREP" --version 2>&1` in
6345 *GNU*)
6346 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6348 ac_count=0
6349 $as_echo_n 0123456789 >"conftest.in"
6350 while :
6352 cat "conftest.in" "conftest.in" >"conftest.tmp"
6353 mv "conftest.tmp" "conftest.in"
6354 cp "conftest.in" "conftest.nl"
6355 $as_echo 'GREP' >> "conftest.nl"
6356 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6357 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6358 as_fn_arith $ac_count + 1 && ac_count=$as_val
6359 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6360 # Best one so far, save it but keep looking for a better one
6361 ac_cv_path_GREP="$ac_path_GREP"
6362 ac_path_GREP_max=$ac_count
6364 # 10*(2^10) chars as input seems more than enough
6365 test $ac_count -gt 10 && break
6366 done
6367 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6368 esac
6370 $ac_path_GREP_found && break 3
6371 done
6372 done
6373 done
6374 IFS=$as_save_IFS
6375 if test -z "$ac_cv_path_GREP"; then
6376 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6378 else
6379 ac_cv_path_GREP=$GREP
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6384 $as_echo "$ac_cv_path_GREP" >&6; }
6385 GREP="$ac_cv_path_GREP"
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6389 $as_echo_n "checking for egrep... " >&6; }
6390 if ${ac_cv_path_EGREP+:} false; then :
6391 $as_echo_n "(cached) " >&6
6392 else
6393 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6394 then ac_cv_path_EGREP="$GREP -E"
6395 else
6396 if test -z "$EGREP"; then
6397 ac_path_EGREP_found=false
6398 # Loop through the user's path and test for each of PROGNAME-LIST
6399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6400 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6402 IFS=$as_save_IFS
6403 test -z "$as_dir" && as_dir=.
6404 for ac_prog in egrep; do
6405 for ac_exec_ext in '' $ac_executable_extensions; do
6406 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6407 as_fn_executable_p "$ac_path_EGREP" || continue
6408 # Check for GNU ac_path_EGREP and select it if it is found.
6409 # Check for GNU $ac_path_EGREP
6410 case `"$ac_path_EGREP" --version 2>&1` in
6411 *GNU*)
6412 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6414 ac_count=0
6415 $as_echo_n 0123456789 >"conftest.in"
6416 while :
6418 cat "conftest.in" "conftest.in" >"conftest.tmp"
6419 mv "conftest.tmp" "conftest.in"
6420 cp "conftest.in" "conftest.nl"
6421 $as_echo 'EGREP' >> "conftest.nl"
6422 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6423 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6424 as_fn_arith $ac_count + 1 && ac_count=$as_val
6425 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6426 # Best one so far, save it but keep looking for a better one
6427 ac_cv_path_EGREP="$ac_path_EGREP"
6428 ac_path_EGREP_max=$ac_count
6430 # 10*(2^10) chars as input seems more than enough
6431 test $ac_count -gt 10 && break
6432 done
6433 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6434 esac
6436 $ac_path_EGREP_found && break 3
6437 done
6438 done
6439 done
6440 IFS=$as_save_IFS
6441 if test -z "$ac_cv_path_EGREP"; then
6442 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6444 else
6445 ac_cv_path_EGREP=$EGREP
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6451 $as_echo "$ac_cv_path_EGREP" >&6; }
6452 EGREP="$ac_cv_path_EGREP"
6455 # Extract the first word of "ldconfig", so it can be a program name with args.
6456 set dummy ldconfig; ac_word=$2
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6458 $as_echo_n "checking for $ac_word... " >&6; }
6459 if ${ac_cv_path_LDCONFIG+:} false; then :
6460 $as_echo_n "(cached) " >&6
6461 else
6462 case $LDCONFIG in
6463 [\\/]* | ?:[\\/]*)
6464 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6468 for as_dir in /sbin /usr/sbin $PATH
6470 IFS=$as_save_IFS
6471 test -z "$as_dir" && as_dir=.
6472 for ac_exec_ext in '' $ac_executable_extensions; do
6473 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6474 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6476 break 2
6478 done
6479 done
6480 IFS=$as_save_IFS
6482 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6484 esac
6486 LDCONFIG=$ac_cv_path_LDCONFIG
6487 if test -n "$LDCONFIG"; then
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6489 $as_echo "$LDCONFIG" >&6; }
6490 else
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6492 $as_echo "no" >&6; }
6496 for ac_prog in msgfmt
6498 # Extract the first word of "$ac_prog", so it can be a program name with args.
6499 set dummy $ac_prog; ac_word=$2
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6501 $as_echo_n "checking for $ac_word... " >&6; }
6502 if ${ac_cv_prog_MSGFMT+:} false; then :
6503 $as_echo_n "(cached) " >&6
6504 else
6505 if test -n "$MSGFMT"; then
6506 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6507 else
6508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6509 for as_dir in $PATH
6511 IFS=$as_save_IFS
6512 test -z "$as_dir" && as_dir=.
6513 for ac_exec_ext in '' $ac_executable_extensions; do
6514 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6515 ac_cv_prog_MSGFMT="$ac_prog"
6516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6517 break 2
6519 done
6520 done
6521 IFS=$as_save_IFS
6525 MSGFMT=$ac_cv_prog_MSGFMT
6526 if test -n "$MSGFMT"; then
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6528 $as_echo "$MSGFMT" >&6; }
6529 else
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6531 $as_echo "no" >&6; }
6535 test -n "$MSGFMT" && break
6536 done
6537 test -n "$MSGFMT" || MSGFMT="false"
6539 if ${ac_tool_prefix+:} false; then :
6540 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6541 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6543 $as_echo_n "checking for $ac_word... " >&6; }
6544 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6545 $as_echo_n "(cached) " >&6
6546 else
6547 if test -n "$PKG_CONFIG"; then
6548 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6549 else
6550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6551 for as_dir in $PATH
6553 IFS=$as_save_IFS
6554 test -z "$as_dir" && as_dir=.
6555 for ac_exec_ext in '' $ac_executable_extensions; do
6556 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6557 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6559 break 2
6561 done
6562 done
6563 IFS=$as_save_IFS
6567 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6568 if test -n "$PKG_CONFIG"; then
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6570 $as_echo "$PKG_CONFIG" >&6; }
6571 else
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6573 $as_echo "no" >&6; }
6578 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6579 if test "x$cross_compiling" = xyes; then :
6581 else
6582 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6583 # Extract the first word of "pkg-config", so it can be a program name with args.
6584 set dummy pkg-config; ac_word=$2
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6586 $as_echo_n "checking for $ac_word... " >&6; }
6587 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6588 $as_echo_n "(cached) " >&6
6589 else
6590 if test -n "$PKG_CONFIG"; then
6591 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6592 else
6593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6594 for as_dir in $PATH
6596 IFS=$as_save_IFS
6597 test -z "$as_dir" && as_dir=.
6598 for ac_exec_ext in '' $ac_executable_extensions; do
6599 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6600 ac_cv_prog_PKG_CONFIG="pkg-config"
6601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6602 break 2
6604 done
6605 done
6606 IFS=$as_save_IFS
6610 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6611 if test -n "$PKG_CONFIG"; then
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6613 $as_echo "$PKG_CONFIG" >&6; }
6614 else
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6616 $as_echo "no" >&6; }
6621 else
6622 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6625 if test "x$enable_maintainer_mode" != "xyes"
6626 then
6627 FONTFORGE=""
6628 RSVG=""
6629 CONVERT=""
6630 ICOTOOL=""
6631 else
6632 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6633 for ac_prog in fontforge
6635 # Extract the first word of "$ac_prog", so it can be a program name with args.
6636 set dummy $ac_prog; ac_word=$2
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6638 $as_echo_n "checking for $ac_word... " >&6; }
6639 if ${ac_cv_prog_FONTFORGE+:} false; then :
6640 $as_echo_n "(cached) " >&6
6641 else
6642 if test -n "$FONTFORGE"; then
6643 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6644 else
6645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6646 for as_dir in $PATH
6648 IFS=$as_save_IFS
6649 test -z "$as_dir" && as_dir=.
6650 for ac_exec_ext in '' $ac_executable_extensions; do
6651 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6652 ac_cv_prog_FONTFORGE="$ac_prog"
6653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6654 break 2
6656 done
6657 done
6658 IFS=$as_save_IFS
6662 FONTFORGE=$ac_cv_prog_FONTFORGE
6663 if test -n "$FONTFORGE"; then
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6665 $as_echo "$FONTFORGE" >&6; }
6666 else
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6668 $as_echo "no" >&6; }
6672 test -n "$FONTFORGE" && break
6673 done
6674 test -n "$FONTFORGE" || FONTFORGE="false"
6676 for ac_prog in rsvg-convert rsvg
6678 # Extract the first word of "$ac_prog", so it can be a program name with args.
6679 set dummy $ac_prog; ac_word=$2
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6681 $as_echo_n "checking for $ac_word... " >&6; }
6682 if ${ac_cv_prog_RSVG+:} false; then :
6683 $as_echo_n "(cached) " >&6
6684 else
6685 if test -n "$RSVG"; then
6686 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6687 else
6688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6689 for as_dir in $PATH
6691 IFS=$as_save_IFS
6692 test -z "$as_dir" && as_dir=.
6693 for ac_exec_ext in '' $ac_executable_extensions; do
6694 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6695 ac_cv_prog_RSVG="$ac_prog"
6696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6697 break 2
6699 done
6700 done
6701 IFS=$as_save_IFS
6705 RSVG=$ac_cv_prog_RSVG
6706 if test -n "$RSVG"; then
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6708 $as_echo "$RSVG" >&6; }
6709 else
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6711 $as_echo "no" >&6; }
6715 test -n "$RSVG" && break
6716 done
6717 test -n "$RSVG" || RSVG="false"
6719 for ac_prog in convert
6721 # Extract the first word of "$ac_prog", so it can be a program name with args.
6722 set dummy $ac_prog; ac_word=$2
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6724 $as_echo_n "checking for $ac_word... " >&6; }
6725 if ${ac_cv_prog_CONVERT+:} false; then :
6726 $as_echo_n "(cached) " >&6
6727 else
6728 if test -n "$CONVERT"; then
6729 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6730 else
6731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6732 for as_dir in $PATH
6734 IFS=$as_save_IFS
6735 test -z "$as_dir" && as_dir=.
6736 for ac_exec_ext in '' $ac_executable_extensions; do
6737 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6738 ac_cv_prog_CONVERT="$ac_prog"
6739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6740 break 2
6742 done
6743 done
6744 IFS=$as_save_IFS
6748 CONVERT=$ac_cv_prog_CONVERT
6749 if test -n "$CONVERT"; then
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6751 $as_echo "$CONVERT" >&6; }
6752 else
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6754 $as_echo "no" >&6; }
6758 test -n "$CONVERT" && break
6759 done
6760 test -n "$CONVERT" || CONVERT="false"
6762 for ac_prog in icotool
6764 # Extract the first word of "$ac_prog", so it can be a program name with args.
6765 set dummy $ac_prog; ac_word=$2
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6767 $as_echo_n "checking for $ac_word... " >&6; }
6768 if ${ac_cv_prog_ICOTOOL+:} false; then :
6769 $as_echo_n "(cached) " >&6
6770 else
6771 if test -n "$ICOTOOL"; then
6772 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6773 else
6774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6775 for as_dir in $PATH
6777 IFS=$as_save_IFS
6778 test -z "$as_dir" && as_dir=.
6779 for ac_exec_ext in '' $ac_executable_extensions; do
6780 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6781 ac_cv_prog_ICOTOOL="$ac_prog"
6782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6783 break 2
6785 done
6786 done
6787 IFS=$as_save_IFS
6791 ICOTOOL=$ac_cv_prog_ICOTOOL
6792 if test -n "$ICOTOOL"; then
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6794 $as_echo "$ICOTOOL" >&6; }
6795 else
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6797 $as_echo "no" >&6; }
6801 test -n "$ICOTOOL" && break
6802 done
6803 test -n "$ICOTOOL" || ICOTOOL="false"
6805 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6806 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6808 if test "$CONVERT" = false
6809 then
6810 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6811 else
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6813 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6814 convert_version=`convert --version | head -n1`
6815 if test "x$convert_version" != "x"
6816 then
6817 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6818 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6819 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6820 then
6821 CONVERT=false
6824 if test "$CONVERT" = false
6825 then
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6827 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6828 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6829 else
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6831 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6835 if test "$ICOTOOL" = false
6836 then
6837 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6838 else
6839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6840 $as_echo_n "checking for recent enough icotool... " >&6; }
6841 icotool_version=`icotool --version | head -n1`
6842 if test "x$icotool_version" != "x"
6843 then
6844 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6845 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6846 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6847 then
6848 ICOTOOL=false
6849 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6852 if test "$ICOTOOL" = false
6853 then
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6855 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6856 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6857 else
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6859 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6863 with_gettext=yes
6864 with_gettextpo=yes
6866 enable_werror=yes
6869 test "x$with_gettext" != xno || MSGFMT=false
6870 if test "$MSGFMT" != "false"
6871 then
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6873 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6874 if ${wine_cv_msgfmt_contexts+:} false; then :
6875 $as_echo_n "(cached) " >&6
6876 else
6877 cat >conftest.po <<EOF
6878 # comment
6879 msgctxt "ctxt"
6880 msgid "id"
6881 msgstr "str"
6883 if $MSGFMT -o /dev/null conftest.po 2>&5
6884 then
6885 wine_cv_msgfmt_contexts=yes
6886 else
6887 wine_cv_msgfmt_contexts=no
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6891 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6892 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6894 if test "$MSGFMT" = false; then :
6895 case "x$with_gettext" in
6896 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6897 xno) ;;
6898 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6899 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6900 esac
6901 enable_po=${enable_po:-no}
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6906 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6907 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6908 $as_echo_n "(cached) " >&6
6909 else
6910 ac_check_lib_save_LIBS=$LIBS
6911 LIBS="-li386 $LIBS"
6912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6913 /* end confdefs.h. */
6915 /* Override any GCC internal prototype to avoid an error.
6916 Use char because int might match the return type of a GCC
6917 builtin and then its argument prototype would still apply. */
6918 #ifdef __cplusplus
6919 extern "C"
6920 #endif
6921 char i386_set_ldt ();
6923 main ()
6925 return i386_set_ldt ();
6927 return 0;
6929 _ACEOF
6930 if ac_fn_c_try_link "$LINENO"; then :
6931 ac_cv_lib_i386_i386_set_ldt=yes
6932 else
6933 ac_cv_lib_i386_i386_set_ldt=no
6935 rm -f core conftest.err conftest.$ac_objext \
6936 conftest$ac_exeext conftest.$ac_ext
6937 LIBS=$ac_check_lib_save_LIBS
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6940 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6941 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6942 I386_LIBS="-li386"
6947 OPENGL_LIBS=""
6951 # Check whether --enable-largefile was given.
6952 if test "${enable_largefile+set}" = set; then :
6953 enableval=$enable_largefile;
6956 if test "$enable_largefile" != no; then
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6959 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6960 if ${ac_cv_sys_largefile_CC+:} false; then :
6961 $as_echo_n "(cached) " >&6
6962 else
6963 ac_cv_sys_largefile_CC=no
6964 if test "$GCC" != yes; then
6965 ac_save_CC=$CC
6966 while :; do
6967 # IRIX 6.2 and later do not support large files by default,
6968 # so use the C compiler's -n32 option if that helps.
6969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6970 /* end confdefs.h. */
6971 #include <sys/types.h>
6972 /* Check that off_t can represent 2**63 - 1 correctly.
6973 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6974 since some C++ compilers masquerading as C compilers
6975 incorrectly reject 9223372036854775807. */
6976 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6977 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6978 && LARGE_OFF_T % 2147483647 == 1)
6979 ? 1 : -1];
6981 main ()
6985 return 0;
6987 _ACEOF
6988 if ac_fn_c_try_compile "$LINENO"; then :
6989 break
6991 rm -f core conftest.err conftest.$ac_objext
6992 CC="$CC -n32"
6993 if ac_fn_c_try_compile "$LINENO"; then :
6994 ac_cv_sys_largefile_CC=' -n32'; break
6996 rm -f core conftest.err conftest.$ac_objext
6997 break
6998 done
6999 CC=$ac_save_CC
7000 rm -f conftest.$ac_ext
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7004 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
7005 if test "$ac_cv_sys_largefile_CC" != no; then
7006 CC=$CC$ac_cv_sys_largefile_CC
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7010 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7011 if ${ac_cv_sys_file_offset_bits+:} false; then :
7012 $as_echo_n "(cached) " >&6
7013 else
7014 while :; do
7015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7016 /* end confdefs.h. */
7017 #include <sys/types.h>
7018 /* Check that off_t can represent 2**63 - 1 correctly.
7019 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7020 since some C++ compilers masquerading as C compilers
7021 incorrectly reject 9223372036854775807. */
7022 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7023 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7024 && LARGE_OFF_T % 2147483647 == 1)
7025 ? 1 : -1];
7027 main ()
7031 return 0;
7033 _ACEOF
7034 if ac_fn_c_try_compile "$LINENO"; then :
7035 ac_cv_sys_file_offset_bits=no; break
7037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7039 /* end confdefs.h. */
7040 #define _FILE_OFFSET_BITS 64
7041 #include <sys/types.h>
7042 /* Check that off_t can represent 2**63 - 1 correctly.
7043 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7044 since some C++ compilers masquerading as C compilers
7045 incorrectly reject 9223372036854775807. */
7046 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7047 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7048 && LARGE_OFF_T % 2147483647 == 1)
7049 ? 1 : -1];
7051 main ()
7055 return 0;
7057 _ACEOF
7058 if ac_fn_c_try_compile "$LINENO"; then :
7059 ac_cv_sys_file_offset_bits=64; break
7061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7062 ac_cv_sys_file_offset_bits=unknown
7063 break
7064 done
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7067 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7068 case $ac_cv_sys_file_offset_bits in #(
7069 no | unknown) ;;
7071 cat >>confdefs.h <<_ACEOF
7072 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7073 _ACEOF
7075 esac
7076 rm -rf conftest*
7077 if test $ac_cv_sys_file_offset_bits = unknown; then
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7079 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7080 if ${ac_cv_sys_large_files+:} false; then :
7081 $as_echo_n "(cached) " >&6
7082 else
7083 while :; do
7084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7085 /* end confdefs.h. */
7086 #include <sys/types.h>
7087 /* Check that off_t can represent 2**63 - 1 correctly.
7088 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7089 since some C++ compilers masquerading as C compilers
7090 incorrectly reject 9223372036854775807. */
7091 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7092 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7093 && LARGE_OFF_T % 2147483647 == 1)
7094 ? 1 : -1];
7096 main ()
7100 return 0;
7102 _ACEOF
7103 if ac_fn_c_try_compile "$LINENO"; then :
7104 ac_cv_sys_large_files=no; break
7106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7108 /* end confdefs.h. */
7109 #define _LARGE_FILES 1
7110 #include <sys/types.h>
7111 /* Check that off_t can represent 2**63 - 1 correctly.
7112 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7113 since some C++ compilers masquerading as C compilers
7114 incorrectly reject 9223372036854775807. */
7115 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7116 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7117 && LARGE_OFF_T % 2147483647 == 1)
7118 ? 1 : -1];
7120 main ()
7124 return 0;
7126 _ACEOF
7127 if ac_fn_c_try_compile "$LINENO"; then :
7128 ac_cv_sys_large_files=1; break
7130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7131 ac_cv_sys_large_files=unknown
7132 break
7133 done
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7136 $as_echo "$ac_cv_sys_large_files" >&6; }
7137 case $ac_cv_sys_large_files in #(
7138 no | unknown) ;;
7140 cat >>confdefs.h <<_ACEOF
7141 #define _LARGE_FILES $ac_cv_sys_large_files
7142 _ACEOF
7144 esac
7145 rm -rf conftest*
7152 ac_ext=c
7153 ac_cpp='$CPP $CPPFLAGS'
7154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7158 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7159 # On Suns, sometimes $CPP names a directory.
7160 if test -n "$CPP" && test -d "$CPP"; then
7161 CPP=
7163 if test -z "$CPP"; then
7164 if ${ac_cv_prog_CPP+:} false; then :
7165 $as_echo_n "(cached) " >&6
7166 else
7167 # Double quotes because CPP needs to be expanded
7168 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7170 ac_preproc_ok=false
7171 for ac_c_preproc_warn_flag in '' yes
7173 # Use a header file that comes with gcc, so configuring glibc
7174 # with a fresh cross-compiler works.
7175 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7176 # <limits.h> exists even on freestanding compilers.
7177 # On the NeXT, cc -E runs the code through the compiler's parser,
7178 # not just through cpp. "Syntax error" is here to catch this case.
7179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7180 /* end confdefs.h. */
7181 #ifdef __STDC__
7182 # include <limits.h>
7183 #else
7184 # include <assert.h>
7185 #endif
7186 Syntax error
7187 _ACEOF
7188 if ac_fn_c_try_cpp "$LINENO"; then :
7190 else
7191 # Broken: fails on valid input.
7192 continue
7194 rm -f conftest.err conftest.i conftest.$ac_ext
7196 # OK, works on sane cases. Now check whether nonexistent headers
7197 # can be detected and how.
7198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7199 /* end confdefs.h. */
7200 #include <ac_nonexistent.h>
7201 _ACEOF
7202 if ac_fn_c_try_cpp "$LINENO"; then :
7203 # Broken: success on invalid input.
7204 continue
7205 else
7206 # Passes both tests.
7207 ac_preproc_ok=:
7208 break
7210 rm -f conftest.err conftest.i conftest.$ac_ext
7212 done
7213 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7214 rm -f conftest.i conftest.err conftest.$ac_ext
7215 if $ac_preproc_ok; then :
7216 break
7219 done
7220 ac_cv_prog_CPP=$CPP
7223 CPP=$ac_cv_prog_CPP
7224 else
7225 ac_cv_prog_CPP=$CPP
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7228 $as_echo "$CPP" >&6; }
7229 ac_preproc_ok=false
7230 for ac_c_preproc_warn_flag in '' yes
7232 # Use a header file that comes with gcc, so configuring glibc
7233 # with a fresh cross-compiler works.
7234 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7235 # <limits.h> exists even on freestanding compilers.
7236 # On the NeXT, cc -E runs the code through the compiler's parser,
7237 # not just through cpp. "Syntax error" is here to catch this case.
7238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7239 /* end confdefs.h. */
7240 #ifdef __STDC__
7241 # include <limits.h>
7242 #else
7243 # include <assert.h>
7244 #endif
7245 Syntax error
7246 _ACEOF
7247 if ac_fn_c_try_cpp "$LINENO"; then :
7249 else
7250 # Broken: fails on valid input.
7251 continue
7253 rm -f conftest.err conftest.i conftest.$ac_ext
7255 # OK, works on sane cases. Now check whether nonexistent headers
7256 # can be detected and how.
7257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7258 /* end confdefs.h. */
7259 #include <ac_nonexistent.h>
7260 _ACEOF
7261 if ac_fn_c_try_cpp "$LINENO"; then :
7262 # Broken: success on invalid input.
7263 continue
7264 else
7265 # Passes both tests.
7266 ac_preproc_ok=:
7267 break
7269 rm -f conftest.err conftest.i conftest.$ac_ext
7271 done
7272 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7273 rm -f conftest.i conftest.err conftest.$ac_ext
7274 if $ac_preproc_ok; then :
7276 else
7277 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7278 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7279 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7280 See \`config.log' for more details" "$LINENO" 5; }
7283 ac_ext=c
7284 ac_cpp='$CPP $CPPFLAGS'
7285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7291 $as_echo_n "checking for ANSI C header files... " >&6; }
7292 if ${ac_cv_header_stdc+:} false; then :
7293 $as_echo_n "(cached) " >&6
7294 else
7295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7296 /* end confdefs.h. */
7297 #include <stdlib.h>
7298 #include <stdarg.h>
7299 #include <string.h>
7300 #include <float.h>
7303 main ()
7307 return 0;
7309 _ACEOF
7310 if ac_fn_c_try_compile "$LINENO"; then :
7311 ac_cv_header_stdc=yes
7312 else
7313 ac_cv_header_stdc=no
7315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7317 if test $ac_cv_header_stdc = yes; then
7318 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7320 /* end confdefs.h. */
7321 #include <string.h>
7323 _ACEOF
7324 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7325 $EGREP "memchr" >/dev/null 2>&1; then :
7327 else
7328 ac_cv_header_stdc=no
7330 rm -f conftest*
7334 if test $ac_cv_header_stdc = yes; then
7335 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7337 /* end confdefs.h. */
7338 #include <stdlib.h>
7340 _ACEOF
7341 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7342 $EGREP "free" >/dev/null 2>&1; then :
7344 else
7345 ac_cv_header_stdc=no
7347 rm -f conftest*
7351 if test $ac_cv_header_stdc = yes; then
7352 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7353 if test "$cross_compiling" = yes; then :
7355 else
7356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7357 /* end confdefs.h. */
7358 #include <ctype.h>
7359 #include <stdlib.h>
7360 #if ((' ' & 0x0FF) == 0x020)
7361 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7362 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7363 #else
7364 # define ISLOWER(c) \
7365 (('a' <= (c) && (c) <= 'i') \
7366 || ('j' <= (c) && (c) <= 'r') \
7367 || ('s' <= (c) && (c) <= 'z'))
7368 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7369 #endif
7371 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7373 main ()
7375 int i;
7376 for (i = 0; i < 256; i++)
7377 if (XOR (islower (i), ISLOWER (i))
7378 || toupper (i) != TOUPPER (i))
7379 return 2;
7380 return 0;
7382 _ACEOF
7383 if ac_fn_c_try_run "$LINENO"; then :
7385 else
7386 ac_cv_header_stdc=no
7388 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7389 conftest.$ac_objext conftest.beam conftest.$ac_ext
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7395 $as_echo "$ac_cv_header_stdc" >&6; }
7396 if test $ac_cv_header_stdc = yes; then
7398 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7402 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7403 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7404 inttypes.h stdint.h unistd.h
7405 do :
7406 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7407 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7409 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7410 cat >>confdefs.h <<_ACEOF
7411 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7412 _ACEOF
7416 done
7419 for ac_header in \
7420 AL/al.h \
7421 ApplicationServices/ApplicationServices.h \
7422 AudioToolbox/AudioConverter.h \
7423 AudioUnit/AudioUnit.h \
7424 AudioUnit/AudioComponent.h \
7425 CL/cl.h \
7426 Carbon/Carbon.h \
7427 CommonCrypto/CommonCryptor.h \
7428 CoreAudio/CoreAudio.h \
7429 DiskArbitration/DiskArbitration.h \
7430 EGL/egl.h \
7431 IOKit/IOKitLib.h \
7432 IOKit/hid/IOHIDLib.h \
7433 OpenAL/al.h \
7434 OpenCL/opencl.h \
7435 QuickTime/ImageCompression.h \
7436 Security/Security.h \
7437 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7438 SystemConfiguration/SCNetworkConfiguration.h \
7439 alias.h \
7440 arpa/inet.h \
7441 arpa/nameser.h \
7442 asm/types.h \
7443 asm/user.h \
7444 dirent.h \
7445 dlfcn.h \
7446 elf.h \
7447 float.h \
7448 fnmatch.h \
7449 getopt.h \
7450 gettext-po.h \
7451 grp.h \
7452 gsm.h \
7453 gsm/gsm.h \
7454 ieeefp.h \
7455 inet/mib2.h \
7456 kstat.h \
7457 libproc.h \
7458 link.h \
7459 linux/cdrom.h \
7460 linux/filter.h \
7461 linux/hdreg.h \
7462 linux/hidraw.h \
7463 linux/input.h \
7464 linux/ioctl.h \
7465 linux/joystick.h \
7466 linux/major.h \
7467 linux/param.h \
7468 linux/serial.h \
7469 linux/types.h \
7470 linux/ucdrom.h \
7471 lwp.h \
7472 mach-o/loader.h \
7473 mach/mach.h \
7474 machine/cpu.h \
7475 machine/sysarch.h \
7476 mntent.h \
7477 netdb.h \
7478 netinet/in.h \
7479 netinet/in_systm.h \
7480 netinet/tcp.h \
7481 netinet/tcp_fsm.h \
7482 pcap/pcap.h \
7483 poll.h \
7484 port.h \
7485 pthread.h \
7486 pwd.h \
7487 sasl/sasl.h \
7488 sched.h \
7489 scsi/scsi.h \
7490 scsi/scsi_ioctl.h \
7491 scsi/sg.h \
7492 stdint.h \
7493 stropts.h \
7494 sys/attr.h \
7495 sys/auxv.h \
7496 sys/cdio.h \
7497 sys/epoll.h \
7498 sys/event.h \
7499 sys/filio.h \
7500 sys/ioctl.h \
7501 sys/ipc.h \
7502 sys/link.h \
7503 sys/mman.h \
7504 sys/modem.h \
7505 sys/msg.h \
7506 sys/mtio.h \
7507 sys/param.h \
7508 sys/poll.h \
7509 sys/prctl.h \
7510 sys/protosw.h \
7511 sys/ptrace.h \
7512 sys/queue.h \
7513 sys/random.h \
7514 sys/resource.h \
7515 sys/scsiio.h \
7516 sys/shm.h \
7517 sys/signal.h \
7518 sys/socket.h \
7519 sys/socketvar.h \
7520 sys/sockio.h \
7521 sys/statvfs.h \
7522 sys/strtio.h \
7523 sys/syscall.h \
7524 sys/sysinfo.h \
7525 sys/tihdr.h \
7526 sys/time.h \
7527 sys/timeout.h \
7528 sys/times.h \
7529 sys/uio.h \
7530 sys/user.h \
7531 sys/utsname.h \
7532 sys/vnode.h \
7533 sys/wait.h \
7534 syscall.h \
7535 termios.h \
7536 unistd.h \
7537 utime.h \
7538 valgrind/memcheck.h \
7539 valgrind/valgrind.h
7541 do :
7542 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7543 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7544 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7545 cat >>confdefs.h <<_ACEOF
7546 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7547 _ACEOF
7551 done
7553 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7554 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7556 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7561 if test $ac_cv_header_sys_mkdev_h = no; then
7562 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7563 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7565 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7572 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7573 if ${ac_cv_header_stat_broken+:} false; then :
7574 $as_echo_n "(cached) " >&6
7575 else
7576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7577 /* end confdefs.h. */
7578 #include <sys/types.h>
7579 #include <sys/stat.h>
7581 #if defined S_ISBLK && defined S_IFDIR
7582 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7583 #endif
7585 #if defined S_ISBLK && defined S_IFCHR
7586 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7587 #endif
7589 #if defined S_ISLNK && defined S_IFREG
7590 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7591 #endif
7593 #if defined S_ISSOCK && defined S_IFREG
7594 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7595 #endif
7597 _ACEOF
7598 if ac_fn_c_try_compile "$LINENO"; then :
7599 ac_cv_header_stat_broken=no
7600 else
7601 ac_cv_header_stat_broken=yes
7603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7606 $as_echo "$ac_cv_header_stat_broken" >&6; }
7607 if test $ac_cv_header_stat_broken = yes; then
7609 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7615 for ac_header in sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7616 do :
7617 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7618 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7619 #ifdef HAVE_SYS_PARAM_H
7620 # include <sys/param.h>
7621 #endif
7623 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7624 cat >>confdefs.h <<_ACEOF
7625 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7626 _ACEOF
7630 done
7633 saved_sysctl_h_CFLAGS=$CFLAGS
7634 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7635 for ac_header in sys/sysctl.h
7636 do :
7637 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7638 #ifdef HAVE_SYS_PARAM_H
7639 # include <sys/param.h>
7640 #endif
7642 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7643 cat >>confdefs.h <<_ACEOF
7644 #define HAVE_SYS_SYSCTL_H 1
7645 _ACEOF
7649 done
7651 CFLAGS=$saved_sysctl_h_CFLAGS
7653 for ac_header in \
7654 netinet/ip.h \
7655 net/if.h \
7656 net/if_arp.h \
7657 net/if_dl.h \
7658 net/if_types.h \
7659 net/route.h \
7660 netinet/if_ether.h \
7661 netinet/if_inarp.h \
7662 netinet/in_pcb.h \
7663 netinet/ip_icmp.h \
7664 netinet/ip_var.h \
7665 netinet/udp.h \
7666 netipx/ipx.h \
7667 sys/un.h \
7669 do :
7670 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7671 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7672 #ifdef HAVE_SYS_SOCKET_H
7673 # include <sys/socket.h>
7674 #endif
7675 #ifdef HAVE_SYS_SOCKETVAR_H
7676 # include <sys/socketvar.h>
7677 #endif
7678 #ifdef HAVE_NET_ROUTE_H
7679 # include <net/route.h>
7680 #endif
7681 #ifdef HAVE_NETINET_IN_H
7682 # include <netinet/in.h>
7683 #endif
7684 #ifdef HAVE_NETINET_IN_SYSTM_H
7685 # include <netinet/in_systm.h>
7686 #endif
7687 #ifdef HAVE_NET_IF_H
7688 # include <net/if.h>
7689 #endif
7690 #ifdef HAVE_NETINET_IP_H
7691 # include <netinet/ip.h>
7692 #endif
7694 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7695 cat >>confdefs.h <<_ACEOF
7696 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7697 _ACEOF
7701 done
7704 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7705 do :
7706 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7707 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7708 #ifdef HAVE_ALIAS_H
7709 # include <alias.h>
7710 #endif
7711 #ifdef HAVE_SYS_SOCKET_H
7712 # include <sys/socket.h>
7713 #endif
7714 #ifdef HAVE_SYS_SOCKETVAR_H
7715 # include <sys/socketvar.h>
7716 #endif
7717 #ifdef HAVE_SYS_TIMEOUT_H
7718 # include <sys/timeout.h>
7719 #endif
7720 #ifdef HAVE_NETINET_IN_H
7721 # include <netinet/in.h>
7722 #endif
7723 #ifdef HAVE_NETINET_IN_SYSTM_H
7724 # include <netinet/in_systm.h>
7725 #endif
7726 #ifdef HAVE_NETINET_IP_H
7727 # include <netinet/ip.h>
7728 #endif
7729 #ifdef HAVE_NETINET_IP_VAR_H
7730 # include <netinet/ip_var.h>
7731 #endif
7732 #ifdef HAVE_NETINET_IP_ICMP_H
7733 # include <netinet/ip_icmp.h>
7734 #endif
7735 #ifdef HAVE_NETINET_UDP_H
7736 # include <netinet/udp.h>
7737 #endif
7738 #ifdef HAVE_NETINET_TCP_H
7739 # include <netinet/tcp.h>
7740 #endif
7741 #ifdef HAVE_NETINET_TCP_TIMER_H
7742 #include <netinet/tcp_timer.h>
7743 #endif
7745 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7746 cat >>confdefs.h <<_ACEOF
7747 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7748 _ACEOF
7752 done
7755 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7756 do :
7757 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7758 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7759 #ifdef HAVE_ASM_TYPES_H
7760 # include <asm/types.h>
7761 #endif
7762 #ifdef HAVE_SYS_SOCKET_H
7763 # include <sys/socket.h>
7764 #endif
7765 #ifdef HAVE_LINUX_TYPES_H
7766 # include <linux/types.h>
7767 #endif
7769 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7770 cat >>confdefs.h <<_ACEOF
7771 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7772 _ACEOF
7776 done
7779 for ac_header in resolv.h
7780 do :
7781 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7782 #ifdef HAVE_SYS_SOCKET_H
7783 # include <sys/socket.h>
7784 #endif
7785 #ifdef HAVE_NETINET_IN_H
7786 # include <netinet/in.h>
7787 #endif
7788 #ifdef HAVE_ARPA_NAMESER_H
7789 # include <arpa/nameser.h>
7790 #endif
7792 if test "x$ac_cv_header_resolv_h" = xyes; then :
7793 cat >>confdefs.h <<_ACEOF
7794 #define HAVE_RESOLV_H 1
7795 _ACEOF
7799 done
7802 for ac_header in ifaddrs.h
7803 do :
7804 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7806 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7807 cat >>confdefs.h <<_ACEOF
7808 #define HAVE_IFADDRS_H 1
7809 _ACEOF
7813 done
7816 for ac_header in sys/ucontext.h
7817 do :
7818 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7820 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7821 cat >>confdefs.h <<_ACEOF
7822 #define HAVE_SYS_UCONTEXT_H 1
7823 _ACEOF
7827 done
7830 for ac_header in sys/thr.h
7831 do :
7832 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7833 #ifdef HAVE_SYS_UCONTEXT_H
7834 #include <sys/ucontext.h>
7835 #endif
7837 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7838 cat >>confdefs.h <<_ACEOF
7839 #define HAVE_SYS_THR_H 1
7840 _ACEOF
7844 done
7847 for ac_header in pthread_np.h
7848 do :
7849 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7850 #include <pthread.h>
7851 #endif
7853 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7854 cat >>confdefs.h <<_ACEOF
7855 #define HAVE_PTHREAD_NP_H 1
7856 _ACEOF
7860 done
7863 for ac_header in linux/videodev2.h
7864 do :
7865 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7866 #include <sys/time.h>
7867 #endif
7868 #include <sys/types.h>
7869 #ifdef HAVE_ASM_TYPES_H
7870 #include <asm/types.h>
7871 #endif
7873 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7874 cat >>confdefs.h <<_ACEOF
7875 #define HAVE_LINUX_VIDEODEV2_H 1
7876 _ACEOF
7880 done
7883 for ac_header in libprocstat.h
7884 do :
7885 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7886 #include <sys/param.h>
7887 #endif
7888 #ifdef HAVE_SYS_QUEUE_H
7889 #include <sys/queue.h>
7890 #endif
7891 #ifdef HAVE_SYS_SOCKET_H
7892 #include <sys/socket.h>
7893 #endif
7895 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7896 cat >>confdefs.h <<_ACEOF
7897 #define HAVE_LIBPROCSTAT_H 1
7898 _ACEOF
7902 done
7906 DLLFLAGS="-D_REENTRANT"
7908 LDDLLFLAGS=""
7910 LDEXECFLAGS=""
7912 TOP_INSTALL_LIB=""
7914 TOP_INSTALL_DEV=""
7916 WINELOADER_LDFLAGS=""
7918 WINEPRELOADER_LDFLAGS=""
7920 LIBEXT="so"
7921 DLLEXT=".so"
7922 # Extract the first word of "ldd", so it can be a program name with args.
7923 set dummy ldd; ac_word=$2
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7925 $as_echo_n "checking for $ac_word... " >&6; }
7926 if ${ac_cv_path_LDD+:} false; then :
7927 $as_echo_n "(cached) " >&6
7928 else
7929 case $LDD in
7930 [\\/]* | ?:[\\/]*)
7931 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7935 as_dummy="/sbin:/usr/sbin:$PATH"
7936 for as_dir in $as_dummy
7938 IFS=$as_save_IFS
7939 test -z "$as_dir" && as_dir=.
7940 for ac_exec_ext in '' $ac_executable_extensions; do
7941 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7942 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7944 break 2
7946 done
7947 done
7948 IFS=$as_save_IFS
7950 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7952 esac
7954 LDD=$ac_cv_path_LDD
7955 if test -n "$LDD"; then
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7957 $as_echo "$LDD" >&6; }
7958 else
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7960 $as_echo "no" >&6; }
7964 if test -n "$ac_tool_prefix"; then
7965 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7966 set dummy ${ac_tool_prefix}otool; ac_word=$2
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7968 $as_echo_n "checking for $ac_word... " >&6; }
7969 if ${ac_cv_prog_OTOOL+:} false; then :
7970 $as_echo_n "(cached) " >&6
7971 else
7972 if test -n "$OTOOL"; then
7973 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7974 else
7975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7976 for as_dir in $PATH
7978 IFS=$as_save_IFS
7979 test -z "$as_dir" && as_dir=.
7980 for ac_exec_ext in '' $ac_executable_extensions; do
7981 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7982 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7984 break 2
7986 done
7987 done
7988 IFS=$as_save_IFS
7992 OTOOL=$ac_cv_prog_OTOOL
7993 if test -n "$OTOOL"; then
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7995 $as_echo "$OTOOL" >&6; }
7996 else
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7998 $as_echo "no" >&6; }
8003 if test -z "$ac_cv_prog_OTOOL"; then
8004 ac_ct_OTOOL=$OTOOL
8005 # Extract the first word of "otool", so it can be a program name with args.
8006 set dummy otool; ac_word=$2
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8008 $as_echo_n "checking for $ac_word... " >&6; }
8009 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8010 $as_echo_n "(cached) " >&6
8011 else
8012 if test -n "$ac_ct_OTOOL"; then
8013 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8014 else
8015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8016 for as_dir in $PATH
8018 IFS=$as_save_IFS
8019 test -z "$as_dir" && as_dir=.
8020 for ac_exec_ext in '' $ac_executable_extensions; do
8021 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8022 ac_cv_prog_ac_ct_OTOOL="otool"
8023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8024 break 2
8026 done
8027 done
8028 IFS=$as_save_IFS
8032 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8033 if test -n "$ac_ct_OTOOL"; then
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8035 $as_echo "$ac_ct_OTOOL" >&6; }
8036 else
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8038 $as_echo "no" >&6; }
8041 if test "x$ac_ct_OTOOL" = x; then
8042 OTOOL="otool"
8043 else
8044 case $cross_compiling:$ac_tool_warned in
8045 yes:)
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8047 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8048 ac_tool_warned=yes ;;
8049 esac
8050 OTOOL=$ac_ct_OTOOL
8052 else
8053 OTOOL="$ac_cv_prog_OTOOL"
8056 if test -n "$ac_tool_prefix"; then
8057 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8058 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8060 $as_echo_n "checking for $ac_word... " >&6; }
8061 if ${ac_cv_prog_READELF+:} false; then :
8062 $as_echo_n "(cached) " >&6
8063 else
8064 if test -n "$READELF"; then
8065 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8066 else
8067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8068 for as_dir in $PATH
8070 IFS=$as_save_IFS
8071 test -z "$as_dir" && as_dir=.
8072 for ac_exec_ext in '' $ac_executable_extensions; do
8073 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8074 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8076 break 2
8078 done
8079 done
8080 IFS=$as_save_IFS
8084 READELF=$ac_cv_prog_READELF
8085 if test -n "$READELF"; then
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8087 $as_echo "$READELF" >&6; }
8088 else
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8090 $as_echo "no" >&6; }
8095 if test -z "$ac_cv_prog_READELF"; then
8096 ac_ct_READELF=$READELF
8097 # Extract the first word of "readelf", so it can be a program name with args.
8098 set dummy readelf; ac_word=$2
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8100 $as_echo_n "checking for $ac_word... " >&6; }
8101 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8102 $as_echo_n "(cached) " >&6
8103 else
8104 if test -n "$ac_ct_READELF"; then
8105 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8106 else
8107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8108 for as_dir in $PATH
8110 IFS=$as_save_IFS
8111 test -z "$as_dir" && as_dir=.
8112 for ac_exec_ext in '' $ac_executable_extensions; do
8113 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8114 ac_cv_prog_ac_ct_READELF="readelf"
8115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8116 break 2
8118 done
8119 done
8120 IFS=$as_save_IFS
8124 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8125 if test -n "$ac_ct_READELF"; then
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8127 $as_echo "$ac_ct_READELF" >&6; }
8128 else
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8130 $as_echo "no" >&6; }
8133 if test "x$ac_ct_READELF" = x; then
8134 READELF="true"
8135 else
8136 case $cross_compiling:$ac_tool_warned in
8137 yes:)
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8139 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8140 ac_tool_warned=yes ;;
8141 esac
8142 READELF=$ac_ct_READELF
8144 else
8145 READELF="$ac_cv_prog_READELF"
8148 wine_rules_file=conf$$rules.make
8149 rm -f $wine_rules_file
8150 SUBDIRS=""
8152 DISABLED_SUBDIRS=""
8154 CONFIGURE_TARGETS=""
8157 wine_fn_append_file ()
8159 as_fn_append $1 " \\$as_nl $2"
8162 wine_fn_append_rule ()
8164 $as_echo "$1" >>$wine_rules_file
8167 wine_fn_config_makefile ()
8169 wine_fn_append_file SUBDIRS $1
8170 if eval test \"x\$"$2"\" = x"no"; then :
8171 wine_fn_append_file DISABLED_SUBDIRS $1
8175 wine_fn_config_symlink ()
8177 ac_links=$@
8178 wine_fn_append_rule \
8179 "$ac_links:
8180 @./config.status \$@"
8181 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8184 wine_binary="wine"
8185 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8186 WINELOADER_PROGRAMS="$wine_binary"
8188 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8190 case $host_os in
8191 cygwin*|mingw32*)
8192 if test -n "$ac_tool_prefix"; then
8193 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8194 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8196 $as_echo_n "checking for $ac_word... " >&6; }
8197 if ${ac_cv_prog_DLLTOOL+:} false; then :
8198 $as_echo_n "(cached) " >&6
8199 else
8200 if test -n "$DLLTOOL"; then
8201 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8202 else
8203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8204 for as_dir in $PATH
8206 IFS=$as_save_IFS
8207 test -z "$as_dir" && as_dir=.
8208 for ac_exec_ext in '' $ac_executable_extensions; do
8209 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8210 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8212 break 2
8214 done
8215 done
8216 IFS=$as_save_IFS
8220 DLLTOOL=$ac_cv_prog_DLLTOOL
8221 if test -n "$DLLTOOL"; then
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8223 $as_echo "$DLLTOOL" >&6; }
8224 else
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8226 $as_echo "no" >&6; }
8231 if test -z "$ac_cv_prog_DLLTOOL"; then
8232 ac_ct_DLLTOOL=$DLLTOOL
8233 # Extract the first word of "dlltool", so it can be a program name with args.
8234 set dummy dlltool; ac_word=$2
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8236 $as_echo_n "checking for $ac_word... " >&6; }
8237 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8238 $as_echo_n "(cached) " >&6
8239 else
8240 if test -n "$ac_ct_DLLTOOL"; then
8241 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8242 else
8243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8244 for as_dir in $PATH
8246 IFS=$as_save_IFS
8247 test -z "$as_dir" && as_dir=.
8248 for ac_exec_ext in '' $ac_executable_extensions; do
8249 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8250 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8252 break 2
8254 done
8255 done
8256 IFS=$as_save_IFS
8260 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8261 if test -n "$ac_ct_DLLTOOL"; then
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8263 $as_echo "$ac_ct_DLLTOOL" >&6; }
8264 else
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8266 $as_echo "no" >&6; }
8269 if test "x$ac_ct_DLLTOOL" = x; then
8270 DLLTOOL="false"
8271 else
8272 case $cross_compiling:$ac_tool_warned in
8273 yes:)
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8275 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8276 ac_tool_warned=yes ;;
8277 esac
8278 DLLTOOL=$ac_ct_DLLTOOL
8280 else
8281 DLLTOOL="$ac_cv_prog_DLLTOOL"
8284 LIBEXT="dll"
8285 DLLEXT=""
8286 case $host_cpu in
8287 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8288 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8289 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8290 $as_echo_n "(cached) " >&6
8291 else
8292 ac_wine_try_cflags_saved=$CFLAGS
8293 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8295 /* end confdefs.h. */
8296 int main(int argc, char **argv) { return 0; }
8297 _ACEOF
8298 if ac_fn_c_try_link "$LINENO"; then :
8299 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8300 else
8301 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8303 rm -f core conftest.err conftest.$ac_objext \
8304 conftest$ac_exeext conftest.$ac_ext
8305 CFLAGS=$ac_wine_try_cflags_saved
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8308 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8309 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8310 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8311 fi ;;
8312 esac
8313 enable_iphlpapi=${enable_iphlpapi:-no}
8314 enable_ws2_32=${enable_ws2_32:-no}
8315 enable_loader=${enable_loader:-no}
8316 enable_server=${enable_server:-no}
8317 with_x=${with_x:-no}
8318 with_pthread=${with_pthread:-no}
8321 darwin*|macosx*)
8322 ac_ext=m
8323 ac_cpp='$OBJCPP $CPPFLAGS'
8324 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8325 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8326 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8328 ac_ext=m
8329 ac_cpp='$OBJCPP $CPPFLAGS'
8330 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8331 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8332 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8333 if test -n "$ac_tool_prefix"; then
8334 for ac_prog in gcc objcc objc cc CC
8336 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8337 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8339 $as_echo_n "checking for $ac_word... " >&6; }
8340 if ${ac_cv_prog_OBJC+:} false; then :
8341 $as_echo_n "(cached) " >&6
8342 else
8343 if test -n "$OBJC"; then
8344 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8345 else
8346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8347 for as_dir in $PATH
8349 IFS=$as_save_IFS
8350 test -z "$as_dir" && as_dir=.
8351 for ac_exec_ext in '' $ac_executable_extensions; do
8352 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8353 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8355 break 2
8357 done
8358 done
8359 IFS=$as_save_IFS
8363 OBJC=$ac_cv_prog_OBJC
8364 if test -n "$OBJC"; then
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8366 $as_echo "$OBJC" >&6; }
8367 else
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8369 $as_echo "no" >&6; }
8373 test -n "$OBJC" && break
8374 done
8376 if test -z "$OBJC"; then
8377 ac_ct_OBJC=$OBJC
8378 for ac_prog in gcc objcc objc cc CC
8380 # Extract the first word of "$ac_prog", so it can be a program name with args.
8381 set dummy $ac_prog; ac_word=$2
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8383 $as_echo_n "checking for $ac_word... " >&6; }
8384 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8385 $as_echo_n "(cached) " >&6
8386 else
8387 if test -n "$ac_ct_OBJC"; then
8388 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8389 else
8390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8391 for as_dir in $PATH
8393 IFS=$as_save_IFS
8394 test -z "$as_dir" && as_dir=.
8395 for ac_exec_ext in '' $ac_executable_extensions; do
8396 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8397 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8399 break 2
8401 done
8402 done
8403 IFS=$as_save_IFS
8407 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8408 if test -n "$ac_ct_OBJC"; then
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8410 $as_echo "$ac_ct_OBJC" >&6; }
8411 else
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8413 $as_echo "no" >&6; }
8417 test -n "$ac_ct_OBJC" && break
8418 done
8420 if test "x$ac_ct_OBJC" = x; then
8421 OBJC="gcc"
8422 else
8423 case $cross_compiling:$ac_tool_warned in
8424 yes:)
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8426 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8427 ac_tool_warned=yes ;;
8428 esac
8429 OBJC=$ac_ct_OBJC
8433 # Provide some information about the compiler.
8434 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8435 set X $ac_compile
8436 ac_compiler=$2
8437 for ac_option in --version -v -V -qversion; do
8438 { { ac_try="$ac_compiler $ac_option >&5"
8439 case "(($ac_try" in
8440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8441 *) ac_try_echo=$ac_try;;
8442 esac
8443 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8444 $as_echo "$ac_try_echo"; } >&5
8445 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8446 ac_status=$?
8447 if test -s conftest.err; then
8448 sed '10a\
8449 ... rest of stderr output deleted ...
8450 10q' conftest.err >conftest.er1
8451 cat conftest.er1 >&5
8453 rm -f conftest.er1 conftest.err
8454 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8455 test $ac_status = 0; }
8456 done
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8459 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8460 if ${ac_cv_objc_compiler_gnu+:} false; then :
8461 $as_echo_n "(cached) " >&6
8462 else
8463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8464 /* end confdefs.h. */
8467 main ()
8469 #ifndef __GNUC__
8470 choke me
8471 #endif
8474 return 0;
8476 _ACEOF
8477 if ac_fn_objc_try_compile "$LINENO"; then :
8478 ac_compiler_gnu=yes
8479 else
8480 ac_compiler_gnu=no
8482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8483 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8487 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8488 if test $ac_compiler_gnu = yes; then
8489 GOBJC=yes
8490 else
8491 GOBJC=
8493 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8494 ac_save_OBJCFLAGS=$OBJCFLAGS
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8496 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8497 if ${ac_cv_prog_objc_g+:} false; then :
8498 $as_echo_n "(cached) " >&6
8499 else
8500 ac_save_objc_werror_flag=$ac_objc_werror_flag
8501 ac_objc_werror_flag=yes
8502 ac_cv_prog_objc_g=no
8503 OBJCFLAGS="-g"
8504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8505 /* end confdefs.h. */
8508 main ()
8512 return 0;
8514 _ACEOF
8515 if ac_fn_objc_try_compile "$LINENO"; then :
8516 ac_cv_prog_objc_g=yes
8517 else
8518 OBJCFLAGS=""
8519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8520 /* end confdefs.h. */
8523 main ()
8527 return 0;
8529 _ACEOF
8530 if ac_fn_objc_try_compile "$LINENO"; then :
8532 else
8533 ac_objc_werror_flag=$ac_save_objc_werror_flag
8534 OBJCFLAGS="-g"
8535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8536 /* end confdefs.h. */
8539 main ()
8543 return 0;
8545 _ACEOF
8546 if ac_fn_objc_try_compile "$LINENO"; then :
8547 ac_cv_prog_objc_g=yes
8549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8554 ac_objc_werror_flag=$ac_save_objc_werror_flag
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8557 $as_echo "$ac_cv_prog_objc_g" >&6; }
8558 if test "$ac_test_OBJCFLAGS" = set; then
8559 OBJCFLAGS=$ac_save_OBJCFLAGS
8560 elif test $ac_cv_prog_objc_g = yes; then
8561 if test "$GOBJC" = yes; then
8562 OBJCFLAGS="-g -O2"
8563 else
8564 OBJCFLAGS="-g"
8566 else
8567 if test "$GOBJC" = yes; then
8568 OBJCFLAGS="-O2"
8569 else
8570 OBJCFLAGS=
8573 ac_ext=m
8574 ac_cpp='$OBJCPP $CPPFLAGS'
8575 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8576 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8577 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8580 ac_ext=m
8581 ac_cpp='$OBJCPP $CPPFLAGS'
8582 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8583 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8584 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8586 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8587 if test -z "$OBJCPP"; then
8588 if ${ac_cv_prog_OBJCPP+:} false; then :
8589 $as_echo_n "(cached) " >&6
8590 else
8591 # Double quotes because OBJCPP needs to be expanded
8592 for OBJCPP in "$OBJC -E" "/lib/cpp"
8594 ac_preproc_ok=false
8595 for ac_objc_preproc_warn_flag in '' yes
8597 # Use a header file that comes with gcc, so configuring glibc
8598 # with a fresh cross-compiler works.
8599 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8600 # <limits.h> exists even on freestanding compilers.
8601 # On the NeXT, cc -E runs the code through the compiler's parser,
8602 # not just through cpp. "Syntax error" is here to catch this case.
8603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8604 /* end confdefs.h. */
8605 #ifdef __STDC__
8606 # include <limits.h>
8607 #else
8608 # include <assert.h>
8609 #endif
8610 Syntax error
8611 _ACEOF
8612 if ac_fn_objc_try_cpp "$LINENO"; then :
8614 else
8615 # Broken: fails on valid input.
8616 continue
8618 rm -f conftest.err conftest.i conftest.$ac_ext
8620 # OK, works on sane cases. Now check whether nonexistent headers
8621 # can be detected and how.
8622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8623 /* end confdefs.h. */
8624 #include <ac_nonexistent.h>
8625 _ACEOF
8626 if ac_fn_objc_try_cpp "$LINENO"; then :
8627 # Broken: success on invalid input.
8628 continue
8629 else
8630 # Passes both tests.
8631 ac_preproc_ok=:
8632 break
8634 rm -f conftest.err conftest.i conftest.$ac_ext
8636 done
8637 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8638 rm -f conftest.i conftest.err conftest.$ac_ext
8639 if $ac_preproc_ok; then :
8640 break
8643 done
8644 ac_cv_prog_OBJCPP=$OBJCPP
8647 OBJCPP=$ac_cv_prog_OBJCPP
8648 else
8649 ac_cv_prog_OBJCPP=$OBJCPP
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8652 $as_echo "$OBJCPP" >&6; }
8653 ac_preproc_ok=false
8654 for ac_objc_preproc_warn_flag in '' yes
8656 # Use a header file that comes with gcc, so configuring glibc
8657 # with a fresh cross-compiler works.
8658 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8659 # <limits.h> exists even on freestanding compilers.
8660 # On the NeXT, cc -E runs the code through the compiler's parser,
8661 # not just through cpp. "Syntax error" is here to catch this case.
8662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8663 /* end confdefs.h. */
8664 #ifdef __STDC__
8665 # include <limits.h>
8666 #else
8667 # include <assert.h>
8668 #endif
8669 Syntax error
8670 _ACEOF
8671 if ac_fn_objc_try_cpp "$LINENO"; then :
8673 else
8674 # Broken: fails on valid input.
8675 continue
8677 rm -f conftest.err conftest.i conftest.$ac_ext
8679 # OK, works on sane cases. Now check whether nonexistent headers
8680 # can be detected and how.
8681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8682 /* end confdefs.h. */
8683 #include <ac_nonexistent.h>
8684 _ACEOF
8685 if ac_fn_objc_try_cpp "$LINENO"; then :
8686 # Broken: success on invalid input.
8687 continue
8688 else
8689 # Passes both tests.
8690 ac_preproc_ok=:
8691 break
8693 rm -f conftest.err conftest.i conftest.$ac_ext
8695 done
8696 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8697 rm -f conftest.i conftest.err conftest.$ac_ext
8698 if $ac_preproc_ok; then :
8700 else
8701 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8702 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8703 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8704 See \`config.log' for more details" "$LINENO" 5; }
8707 ac_ext=m
8708 ac_cpp='$OBJCPP $CPPFLAGS'
8709 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8710 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8711 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8714 for ac_header in Metal/Metal.h
8715 do :
8716 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8717 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8718 cat >>confdefs.h <<_ACEOF
8719 #define HAVE_METAL_METAL_H 1
8720 _ACEOF
8724 done
8726 ac_ext=c
8727 ac_cpp='$CPP $CPPFLAGS'
8728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8732 LIBEXT="dylib"
8733 DLLFLAGS="$DLLFLAGS -fPIC"
8734 LDDLLFLAGS="-fPIC"
8735 COREFOUNDATION_LIBS="-framework CoreFoundation"
8737 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8739 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8741 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8743 CORESERVICES_LIBS="-framework CoreServices"
8745 APPKIT_LIBS="-framework AppKit"
8747 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8750 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8752 wine_can_build_preloader=yes
8753 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"
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8755 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8756 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8757 $as_echo_n "(cached) " >&6
8758 else
8759 ac_wine_try_cflags_saved=$CFLAGS
8760 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8762 /* end confdefs.h. */
8763 int main(int argc, char **argv) { return 0; }
8764 _ACEOF
8765 if ac_fn_c_try_link "$LINENO"; then :
8766 ac_cv_cflags__Wl__no_new_main__e__main=yes
8767 else
8768 ac_cv_cflags__Wl__no_new_main__e__main=no
8770 rm -f core conftest.err conftest.$ac_objext \
8771 conftest$ac_exeext conftest.$ac_ext
8772 CFLAGS=$ac_wine_try_cflags_saved
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8775 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8776 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8777 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8779 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8780 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8781 $as_echo_n "(cached) " >&6
8782 else
8783 ac_wine_try_cflags_saved=$CFLAGS
8784 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8786 /* end confdefs.h. */
8787 int main(int argc, char **argv) { return 0; }
8788 _ACEOF
8789 if ac_fn_c_try_link "$LINENO"; then :
8790 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8791 else
8792 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8794 rm -f core conftest.err conftest.$ac_objext \
8795 conftest$ac_exeext conftest.$ac_ext
8796 CFLAGS=$ac_wine_try_cflags_saved
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8799 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8800 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8801 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8802 else
8803 { $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
8804 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8805 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8806 $as_echo_n "(cached) " >&6
8807 else
8808 ac_wine_try_cflags_saved=$CFLAGS
8809 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8811 /* end confdefs.h. */
8812 int main(int argc, char **argv) { return 0; }
8813 _ACEOF
8814 if ac_fn_c_try_link "$LINENO"; then :
8815 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8816 else
8817 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8819 rm -f core conftest.err conftest.$ac_objext \
8820 conftest$ac_exeext conftest.$ac_ext
8821 CFLAGS=$ac_wine_try_cflags_saved
8823 { $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
8824 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8825 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8826 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8827 else
8828 wine_can_build_preloader=no
8831 else
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8833 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8834 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8835 $as_echo_n "(cached) " >&6
8836 else
8837 ac_wine_try_cflags_saved=$CFLAGS
8838 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8840 /* end confdefs.h. */
8841 int main(int argc, char **argv) { return 0; }
8842 _ACEOF
8843 if ac_fn_c_try_link "$LINENO"; then :
8844 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8845 else
8846 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8848 rm -f core conftest.err conftest.$ac_objext \
8849 conftest$ac_exeext conftest.$ac_ext
8850 CFLAGS=$ac_wine_try_cflags_saved
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8853 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8854 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8855 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8856 else
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8858 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8859 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8860 $as_echo_n "(cached) " >&6
8861 else
8862 ac_wine_try_cflags_saved=$CFLAGS
8863 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8865 /* end confdefs.h. */
8866 int main(int argc, char **argv) { return 0; }
8867 _ACEOF
8868 if ac_fn_c_try_link "$LINENO"; then :
8869 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8870 else
8871 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8873 rm -f core conftest.err conftest.$ac_objext \
8874 conftest$ac_exeext conftest.$ac_ext
8875 CFLAGS=$ac_wine_try_cflags_saved
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8878 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8879 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8880 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8881 else
8882 wine_can_build_preloader=no
8886 if test "$wine_can_build_preloader" = "yes"
8887 then
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8889 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8890 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8891 $as_echo_n "(cached) " >&6
8892 else
8893 ac_wine_try_cflags_saved=$CFLAGS
8894 CFLAGS="$CFLAGS -Wl,-no_pie"
8895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8896 /* end confdefs.h. */
8897 int main(int argc, char **argv) { return 0; }
8898 _ACEOF
8899 if ac_fn_c_try_link "$LINENO"; then :
8900 ac_cv_cflags__Wl__no_pie=yes
8901 else
8902 ac_cv_cflags__Wl__no_pie=no
8904 rm -f core conftest.err conftest.$ac_objext \
8905 conftest$ac_exeext conftest.$ac_ext
8906 CFLAGS=$ac_wine_try_cflags_saved
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8909 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8910 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8911 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8913 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8914 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8915 else
8916 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8919 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8920 then
8921 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8924 if test "$ac_cv_header_Security_Security_h" = "yes"
8925 then
8926 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8928 ac_save_LIBS="$LIBS"
8929 LIBS="$LIBS $SECURITY_LIBS"
8930 for ac_func in SSLCopyPeerCertificates
8931 do :
8932 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8933 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8934 cat >>confdefs.h <<_ACEOF
8935 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8936 _ACEOF
8939 done
8941 LIBS="$ac_save_LIBS"
8943 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8944 then
8945 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8946 then
8947 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8949 else
8950 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8953 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8954 ac_save_LIBS="$LIBS"
8955 LIBS="$LIBS $COREAUDIO_LIBS"
8956 for ac_func in AUGraphAddNode
8957 do :
8958 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8959 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8960 cat >>confdefs.h <<_ACEOF
8961 #define HAVE_AUGRAPHADDNODE 1
8962 _ACEOF
8965 done
8967 LIBS="$ac_save_LIBS"
8969 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8970 then
8971 OPENAL_LIBS="-framework OpenAL"
8974 cat >>confdefs.h <<_ACEOF
8975 #define HAVE_OPENAL 1
8976 _ACEOF
8978 ac_cv_lib_openal=yes
8980 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8981 then
8982 OPENCL_LIBS="-framework OpenCL"
8984 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8986 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8987 then
8988 ac_save_LIBS="$LIBS"
8989 LIBS="$LIBS $IOKIT_LIBS"
8990 for ac_func in IOHIDManagerCreate
8991 do :
8992 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8993 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8994 cat >>confdefs.h <<_ACEOF
8995 #define HAVE_IOHIDMANAGERCREATE 1
8996 _ACEOF
8999 done
9001 LIBS="$ac_save_LIBS"
9004 if test "x$with_quicktime" != "xno"
9005 then
9006 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
9007 then
9008 ac_save_LIBS="$LIBS"
9009 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
9011 $as_echo_n "checking for the QuickTime framework... " >&6; }
9012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9013 /* end confdefs.h. */
9014 #include <QuickTime/ImageCompression.h>
9016 main ()
9018 CodecManagerVersion(NULL);
9020 return 0;
9022 _ACEOF
9023 if ac_fn_c_try_link "$LINENO"; then :
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9025 $as_echo "yes" >&6; }
9026 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
9028 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
9029 else
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9031 $as_echo "no" >&6; }
9032 ac_cv_header_QuickTime_ImageCompression_h=no
9034 rm -f core conftest.err conftest.$ac_objext \
9035 conftest$ac_exeext conftest.$ac_ext
9036 LIBS="$ac_save_LIBS"
9039 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9040 case "x$with_quicktime" in
9041 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9042 xno) ;;
9043 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9044 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9045 esac
9049 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9050 then
9051 CARBON_LIBS="-framework Carbon"
9054 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9055 then
9056 METAL_LIBS="-framework Metal -framework QuartzCore"
9060 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9061 then
9062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9063 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9064 ac_ext=m
9065 ac_cpp='$OBJCPP $CPPFLAGS'
9066 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9067 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9068 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9071 /* end confdefs.h. */
9072 #include <Metal/Metal.h>
9074 main ()
9076 id<MTLDevice> device; device.registryID;
9078 return 0;
9080 _ACEOF
9081 if ac_fn_objc_try_compile "$LINENO"; then :
9082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9083 $as_echo "yes" >&6; }
9085 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9087 else
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9089 $as_echo "no" >&6; }
9091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9092 ac_ext=c
9093 ac_cpp='$CPP $CPPFLAGS'
9094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9100 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9101 then
9102 ac_save_LIBS="$LIBS"
9103 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9104 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9105 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9106 enable_winemac_drv=${enable_winemac_drv:-yes}
9109 LIBS="$ac_save_LIBS"
9112 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9114 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9116 WINELOADER_DEPENDS="wine_info.plist"
9118 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9121 linux-android*)
9122 DLLFLAGS="$DLLFLAGS -fPIC"
9123 LDDLLFLAGS="-fPIC"
9124 LDEXECFLAGS="-Wl,-pie"
9125 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9127 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9128 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9129 $as_echo_n "(cached) " >&6
9130 else
9131 ac_wine_try_cflags_saved=$CFLAGS
9132 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9134 /* end confdefs.h. */
9135 int main(int argc, char **argv) { return 0; }
9136 _ACEOF
9137 if ac_fn_c_try_link "$LINENO"; then :
9138 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9139 else
9140 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9142 rm -f core conftest.err conftest.$ac_objext \
9143 conftest$ac_exeext conftest.$ac_ext
9144 CFLAGS=$ac_wine_try_cflags_saved
9146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9147 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9148 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9149 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9151 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9153 LIBWINE_SHAREDLIB="libwine.so"
9155 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9157 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9160 $as_echo_n "checking for -lEGL... " >&6; }
9161 if ${ac_cv_lib_soname_EGL+:} false; then :
9162 $as_echo_n "(cached) " >&6
9163 else
9164 ac_check_soname_save_LIBS=$LIBS
9165 LIBS="-lEGL $LIBS"
9166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9167 /* end confdefs.h. */
9169 /* Override any GCC internal prototype to avoid an error.
9170 Use char because int might match the return type of a GCC
9171 builtin and then its argument prototype would still apply. */
9172 #ifdef __cplusplus
9173 extern "C"
9174 #endif
9175 char eglGetProcAddress ();
9177 main ()
9179 return eglGetProcAddress ();
9181 return 0;
9183 _ACEOF
9184 if ac_fn_c_try_link "$LINENO"; then :
9185 case "$LIBEXT" in
9186 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9187 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'` ;;
9188 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9189 if ${ac_cv_lib_soname_EGL:+false} :; then :
9190 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9191 fi ;;
9192 esac
9193 else
9194 ac_cv_lib_soname_EGL=
9196 rm -f core conftest.err conftest.$ac_objext \
9197 conftest$ac_exeext conftest.$ac_ext
9198 LIBS=$ac_check_soname_save_LIBS
9200 if ${ac_cv_lib_soname_EGL:+false} :; then :
9201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9202 $as_echo "not found" >&6; }
9204 else
9205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9206 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9208 cat >>confdefs.h <<_ACEOF
9209 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9210 _ACEOF
9214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9215 $as_echo_n "checking for -lGLESv2... " >&6; }
9216 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9217 $as_echo_n "(cached) " >&6
9218 else
9219 ac_check_soname_save_LIBS=$LIBS
9220 LIBS="-lGLESv2 $LIBS"
9221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9222 /* end confdefs.h. */
9224 /* Override any GCC internal prototype to avoid an error.
9225 Use char because int might match the return type of a GCC
9226 builtin and then its argument prototype would still apply. */
9227 #ifdef __cplusplus
9228 extern "C"
9229 #endif
9230 char glFlush ();
9232 main ()
9234 return glFlush ();
9236 return 0;
9238 _ACEOF
9239 if ac_fn_c_try_link "$LINENO"; then :
9240 case "$LIBEXT" in
9241 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9242 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'` ;;
9243 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9244 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9245 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9246 fi ;;
9247 esac
9248 else
9249 ac_cv_lib_soname_GLESv2=
9251 rm -f core conftest.err conftest.$ac_objext \
9252 conftest$ac_exeext conftest.$ac_ext
9253 LIBS=$ac_check_soname_save_LIBS
9255 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9257 $as_echo "not found" >&6; }
9259 else
9260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9261 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9263 cat >>confdefs.h <<_ACEOF
9264 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9265 _ACEOF
9270 if test "x$exec_prefix" = xNONE
9271 then
9272 case $host_cpu in
9273 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9274 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9275 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9276 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9277 esac
9282 case $host_cpu in
9283 *i[3456789]86*)
9284 DLLFLAGS="$DLLFLAGS -fno-PIC"
9285 LDDLLFLAGS="-fno-PIC"
9286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
9287 $as_echo_n "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
9288 if ${ac_cv_cflags__fno_PIC__Wl__z_notext+:} false; then :
9289 $as_echo_n "(cached) " >&6
9290 else
9291 ac_wine_try_cflags_saved=$CFLAGS
9292 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
9293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9294 /* end confdefs.h. */
9295 int main(int argc, char **argv) { return 0; }
9296 _ACEOF
9297 if ac_fn_c_try_link "$LINENO"; then :
9298 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
9299 else
9300 ac_cv_cflags__fno_PIC__Wl__z_notext=no
9302 rm -f core conftest.err conftest.$ac_objext \
9303 conftest$ac_exeext conftest.$ac_ext
9304 CFLAGS=$ac_wine_try_cflags_saved
9306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
9307 $as_echo "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
9308 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes; then :
9309 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
9313 DLLFLAGS="$DLLFLAGS -fPIC"
9314 LDDLLFLAGS="-fPIC" ;;
9315 esac
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9317 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9318 if ${ac_cv_c_dll_gnuelf+:} false; then :
9319 $as_echo_n "(cached) " >&6
9320 else
9321 ac_wine_try_cflags_saved=$CFLAGS
9322 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9324 /* end confdefs.h. */
9325 void myfunc() {}
9326 _ACEOF
9327 if ac_fn_c_try_link "$LINENO"; then :
9328 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9329 else
9330 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9332 rm -f core conftest.err conftest.$ac_objext \
9333 conftest$ac_exeext conftest.$ac_ext
9334 CFLAGS=$ac_wine_try_cflags_saved
9335 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9336 ac_cv_c_dll_gnuelf="yes"
9337 else
9338 ac_cv_c_dll_gnuelf="no"
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9342 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9343 if test "$ac_cv_c_dll_gnuelf" = "yes"
9344 then
9345 LIBWINE_LDFLAGS="-shared"
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9347 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9348 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9349 $as_echo_n "(cached) " >&6
9350 else
9351 ac_wine_try_cflags_saved=$CFLAGS
9352 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9354 /* end confdefs.h. */
9355 int main(int argc, char **argv) { return 0; }
9356 _ACEOF
9357 if ac_fn_c_try_link "$LINENO"; then :
9358 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9359 else
9360 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9362 rm -f core conftest.err conftest.$ac_objext \
9363 conftest$ac_exeext conftest.$ac_ext
9364 CFLAGS=$ac_wine_try_cflags_saved
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9367 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9368 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9369 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9370 else
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9372 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9373 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9374 $as_echo_n "(cached) " >&6
9375 else
9376 ac_wine_try_cflags_saved=$CFLAGS
9377 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9379 /* end confdefs.h. */
9380 int main(int argc, char **argv) { return 0; }
9381 _ACEOF
9382 if ac_fn_c_try_link "$LINENO"; then :
9383 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9384 else
9385 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9387 rm -f core conftest.err conftest.$ac_objext \
9388 conftest$ac_exeext conftest.$ac_ext
9389 CFLAGS=$ac_wine_try_cflags_saved
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9392 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9393 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9394 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9398 echo '{ global: *; };' >conftest.map
9399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9400 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9401 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9402 $as_echo_n "(cached) " >&6
9403 else
9404 ac_wine_try_cflags_saved=$CFLAGS
9405 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9407 /* end confdefs.h. */
9408 int main(int argc, char **argv) { return 0; }
9409 _ACEOF
9410 if ac_fn_c_try_link "$LINENO"; then :
9411 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9412 else
9413 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9415 rm -f core conftest.err conftest.$ac_objext \
9416 conftest$ac_exeext conftest.$ac_ext
9417 CFLAGS=$ac_wine_try_cflags_saved
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9420 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9421 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9422 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9424 rm -f conftest.map
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9427 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9428 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9429 $as_echo_n "(cached) " >&6
9430 else
9431 ac_wine_try_cflags_saved=$CFLAGS
9432 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9434 /* end confdefs.h. */
9435 int main(int argc, char **argv) { return 0; }
9436 _ACEOF
9437 if ac_fn_c_try_link "$LINENO"; then :
9438 ac_cv_cflags__Wl___export_dynamic=yes
9439 else
9440 ac_cv_cflags__Wl___export_dynamic=no
9442 rm -f core conftest.err conftest.$ac_objext \
9443 conftest$ac_exeext conftest.$ac_ext
9444 CFLAGS=$ac_wine_try_cflags_saved
9446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9447 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9448 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9449 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9451 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9453 case $host_cpu in
9454 *i[3456789]86* | x86_64 | *aarch64*)
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9456 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9457 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9458 $as_echo_n "(cached) " >&6
9459 else
9460 ac_wine_try_cflags_saved=$CFLAGS
9461 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9463 /* end confdefs.h. */
9464 int main(int argc, char **argv) { return 0; }
9465 _ACEOF
9466 if ac_fn_c_try_link "$LINENO"; then :
9467 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9468 else
9469 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9471 rm -f core conftest.err conftest.$ac_objext \
9472 conftest$ac_exeext conftest.$ac_ext
9473 CFLAGS=$ac_wine_try_cflags_saved
9475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9476 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9477 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9478 case $host_os in
9479 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9480 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9481 esac
9482 else
9483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9484 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9485 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9486 $as_echo_n "(cached) " >&6
9487 else
9488 ac_wine_try_cflags_saved=$CFLAGS
9489 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9491 /* end confdefs.h. */
9492 int main(int argc, char **argv) { return 0; }
9493 _ACEOF
9494 if ac_fn_c_try_link "$LINENO"; then :
9495 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9496 else
9497 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9499 rm -f core conftest.err conftest.$ac_objext \
9500 conftest$ac_exeext conftest.$ac_ext
9501 CFLAGS=$ac_wine_try_cflags_saved
9503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9504 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9505 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9506 case $host_os in
9507 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9508 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9509 esac
9511 # Extract the first word of "prelink", so it can be a program name with args.
9512 set dummy prelink; ac_word=$2
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9514 $as_echo_n "checking for $ac_word... " >&6; }
9515 if ${ac_cv_path_PRELINK+:} false; then :
9516 $as_echo_n "(cached) " >&6
9517 else
9518 case $PRELINK in
9519 [\\/]* | ?:[\\/]*)
9520 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9524 for as_dir in /sbin /usr/sbin $PATH
9526 IFS=$as_save_IFS
9527 test -z "$as_dir" && as_dir=.
9528 for ac_exec_ext in '' $ac_executable_extensions; do
9529 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9530 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9532 break 2
9534 done
9535 done
9536 IFS=$as_save_IFS
9538 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9540 esac
9542 PRELINK=$ac_cv_path_PRELINK
9543 if test -n "$PRELINK"; then
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9545 $as_echo "$PRELINK" >&6; }
9546 else
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9548 $as_echo "no" >&6; }
9552 if test "x$PRELINK" = xfalse
9553 then
9554 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9558 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9559 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9560 $as_echo_n "(cached) " >&6
9561 else
9562 ac_wine_try_cflags_saved=$CFLAGS
9563 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9565 /* end confdefs.h. */
9566 int main(int argc, char **argv) { return 0; }
9567 _ACEOF
9568 if ac_fn_c_try_link "$LINENO"; then :
9569 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9570 else
9571 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9573 rm -f core conftest.err conftest.$ac_objext \
9574 conftest$ac_exeext conftest.$ac_ext
9575 CFLAGS=$ac_wine_try_cflags_saved
9577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9578 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9579 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9580 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9583 esac
9585 else
9586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9587 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9588 if ${ac_cv_c_dll_unixware+:} false; then :
9589 $as_echo_n "(cached) " >&6
9590 else
9591 ac_wine_try_cflags_saved=$CFLAGS
9592 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9594 /* end confdefs.h. */
9595 void myfunc() {}
9596 _ACEOF
9597 if ac_fn_c_try_link "$LINENO"; then :
9598 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9599 else
9600 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9602 rm -f core conftest.err conftest.$ac_objext \
9603 conftest$ac_exeext conftest.$ac_ext
9604 CFLAGS=$ac_wine_try_cflags_saved
9605 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9606 ac_cv_c_dll_unixware="yes"
9607 else
9608 ac_cv_c_dll_unixware="no"
9611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9612 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9613 if test "$ac_cv_c_dll_unixware" = "yes"
9614 then
9615 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9618 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9620 LIBWINE_DEPENDS="wine.map"
9622 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9624 esac
9626 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9627 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9628 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9629 enable_winemac_drv=${enable_winemac_drv:-no}
9630 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9633 if test "x$with_mingw" != xno
9634 then
9635 case "x$with_mingw" in
9636 x|xyes) case "$host_cpu" in
9637 aarch64*)
9638 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9639 arm*)
9640 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9641 i[3456789]86*)
9642 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
9643 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9644 mingw32-gcc" ;;
9645 x86_64)
9646 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
9647 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9649 ac_prefix_list="" ;;
9650 esac
9651 for ac_prog in $ac_prefix_list
9653 # Extract the first word of "$ac_prog", so it can be a program name with args.
9654 set dummy $ac_prog; ac_word=$2
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9656 $as_echo_n "checking for $ac_word... " >&6; }
9657 if ${ac_cv_prog_CROSSCC+:} false; then :
9658 $as_echo_n "(cached) " >&6
9659 else
9660 if test -n "$CROSSCC"; then
9661 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9662 else
9663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9664 for as_dir in $PATH
9666 IFS=$as_save_IFS
9667 test -z "$as_dir" && as_dir=.
9668 for ac_exec_ext in '' $ac_executable_extensions; do
9669 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9670 ac_cv_prog_CROSSCC="$ac_prog"
9671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9672 break 2
9674 done
9675 done
9676 IFS=$as_save_IFS
9680 CROSSCC=$ac_cv_prog_CROSSCC
9681 if test -n "$CROSSCC"; then
9682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9683 $as_echo "$CROSSCC" >&6; }
9684 else
9685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9686 $as_echo "no" >&6; }
9690 test -n "$CROSSCC" && break
9691 done
9692 test -n "$CROSSCC" || CROSSCC="false"
9694 *) CROSSCC=$with_mingw ;;
9695 esac
9696 if test "$CROSSCC" != "false"
9697 then
9698 ac_save_CC="$CC"
9699 saved_CFLAGS=$CFLAGS
9700 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9702 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9706 CC="$CROSSCC"
9707 CFLAGS=$CROSSCFLAGS
9708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9709 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9710 if ${wine_cv_crosscc+:} false; then :
9711 $as_echo_n "(cached) " >&6
9712 else
9713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9714 /* end confdefs.h. */
9717 main ()
9721 return 0;
9723 _ACEOF
9724 if ac_fn_c_try_compile "$LINENO"; then :
9725 wine_cv_crosscc=yes
9726 else
9727 wine_cv_crosscc=no
9729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9732 $as_echo "$wine_cv_crosscc" >&6; }
9733 if test $wine_cv_crosscc = yes
9734 then
9735 set x $CROSSCC
9736 shift
9737 while test $# -ge 1
9739 case "$1" in
9740 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9741 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9742 esac
9743 shift
9744 done
9746 llvm_target=$CROSSTARGET
9747 llvm_cflags="-fuse-ld=lld"
9748 if test -z "$llvm_target"
9749 then
9750 case $host_cpu in
9751 *i[3456789]86*) llvm_target=i686-windows ;;
9752 *) llvm_target=$host_cpu-windows ;;
9753 esac
9755 case $llvm_target in
9756 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9757 esac
9758 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9760 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9761 if eval \${$as_ac_var+:} false; then :
9762 $as_echo_n "(cached) " >&6
9763 else
9764 ac_wine_try_cflags_saved=$CFLAGS
9765 ac_wine_try_cflags_saved_cc=$CC
9766 ac_wine_try_cflags_saved_exeext=$ac_exeext
9767 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9768 CC="$CROSSCC"
9769 ac_exeext=".exe"
9770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9771 /* end confdefs.h. */
9772 int __cdecl mainCRTStartup(void) { return 0; }
9773 _ACEOF
9774 if ac_fn_c_try_link "$LINENO"; then :
9775 eval "$as_ac_var=yes"
9776 else
9777 eval "$as_ac_var=no"
9779 rm -f core conftest.err conftest.$ac_objext \
9780 conftest$ac_exeext conftest.$ac_ext
9781 CFLAGS=$ac_wine_try_cflags_saved
9782 CC=$ac_wine_try_cflags_saved_cc
9783 ac_exeext=$ac_wine_try_cflags_saved_exeext
9785 eval ac_res=\$$as_ac_var
9786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9787 $as_echo "$ac_res" >&6; }
9788 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9789 CROSSTARGET=$llvm_target
9790 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9791 DELAYLOADFLAG="-Wl,-delayload,"
9793 CFLAGS="$CFLAGS $llvm_cflags"
9796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9797 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9798 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9799 $as_echo_n "(cached) " >&6
9800 else
9801 ac_wine_try_cflags_saved=$CFLAGS
9802 ac_wine_try_cflags_saved_cc=$CC
9803 ac_wine_try_cflags_saved_exeext=$ac_exeext
9804 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9805 CC="$CROSSCC"
9806 ac_exeext=".exe"
9807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9808 /* end confdefs.h. */
9809 int __cdecl mainCRTStartup(void) { return 0; }
9810 _ACEOF
9811 if ac_fn_c_try_link "$LINENO"; then :
9812 ac_cv_crosscflags__fno_strict_aliasing=yes
9813 else
9814 ac_cv_crosscflags__fno_strict_aliasing=no
9816 rm -f core conftest.err conftest.$ac_objext \
9817 conftest$ac_exeext conftest.$ac_ext
9818 CFLAGS=$ac_wine_try_cflags_saved
9819 CC=$ac_wine_try_cflags_saved_cc
9820 ac_exeext=$ac_wine_try_cflags_saved_exeext
9822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9823 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9824 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9825 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9828 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9829 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9830 $as_echo_n "(cached) " >&6
9831 else
9832 ac_wine_try_cflags_saved=$CFLAGS
9833 ac_wine_try_cflags_saved_cc=$CC
9834 ac_wine_try_cflags_saved_exeext=$ac_exeext
9835 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9836 CC="$CROSSCC"
9837 ac_exeext=".exe"
9838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9839 /* end confdefs.h. */
9840 int __cdecl mainCRTStartup(void) { return 0; }
9841 _ACEOF
9842 if ac_fn_c_try_link "$LINENO"; then :
9843 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9844 else
9845 ac_cv_crosscflags__Werror_unknown_warning_option=no
9847 rm -f core conftest.err conftest.$ac_objext \
9848 conftest$ac_exeext conftest.$ac_ext
9849 CFLAGS=$ac_wine_try_cflags_saved
9850 CC=$ac_wine_try_cflags_saved_cc
9851 ac_exeext=$ac_wine_try_cflags_saved_exeext
9853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9854 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9855 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9856 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9859 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9860 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9861 $as_echo_n "(cached) " >&6
9862 else
9863 ac_wine_try_cflags_saved=$CFLAGS
9864 ac_wine_try_cflags_saved_cc=$CC
9865 ac_wine_try_cflags_saved_exeext=$ac_exeext
9866 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9867 CC="$CROSSCC"
9868 ac_exeext=".exe"
9869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9870 /* end confdefs.h. */
9871 int __cdecl mainCRTStartup(void) { return 0; }
9872 _ACEOF
9873 if ac_fn_c_try_link "$LINENO"; then :
9874 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9875 else
9876 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9878 rm -f core conftest.err conftest.$ac_objext \
9879 conftest$ac_exeext conftest.$ac_ext
9880 CFLAGS=$ac_wine_try_cflags_saved
9881 CC=$ac_wine_try_cflags_saved_cc
9882 ac_exeext=$ac_wine_try_cflags_saved_exeext
9884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9885 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9886 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9887 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9890 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9891 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9892 $as_echo_n "(cached) " >&6
9893 else
9894 ac_wine_try_cflags_saved=$CFLAGS
9895 ac_wine_try_cflags_saved_cc=$CC
9896 ac_wine_try_cflags_saved_exeext=$ac_exeext
9897 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9898 CC="$CROSSCC"
9899 ac_exeext=".exe"
9900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9901 /* end confdefs.h. */
9902 int __cdecl mainCRTStartup(void) { return 0; }
9903 _ACEOF
9904 if ac_fn_c_try_link "$LINENO"; then :
9905 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9906 else
9907 ac_cv_crosscflags__Wdeclaration_after_statement=no
9909 rm -f core conftest.err conftest.$ac_objext \
9910 conftest$ac_exeext conftest.$ac_ext
9911 CFLAGS=$ac_wine_try_cflags_saved
9912 CC=$ac_wine_try_cflags_saved_cc
9913 ac_exeext=$ac_wine_try_cflags_saved_exeext
9915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9916 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9917 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9918 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9921 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9922 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9923 $as_echo_n "(cached) " >&6
9924 else
9925 ac_wine_try_cflags_saved=$CFLAGS
9926 ac_wine_try_cflags_saved_cc=$CC
9927 ac_wine_try_cflags_saved_exeext=$ac_exeext
9928 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9929 CC="$CROSSCC"
9930 ac_exeext=".exe"
9931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9932 /* end confdefs.h. */
9933 int __cdecl mainCRTStartup(void) { return 0; }
9934 _ACEOF
9935 if ac_fn_c_try_link "$LINENO"; then :
9936 ac_cv_crosscflags__Wempty_body=yes
9937 else
9938 ac_cv_crosscflags__Wempty_body=no
9940 rm -f core conftest.err conftest.$ac_objext \
9941 conftest$ac_exeext conftest.$ac_ext
9942 CFLAGS=$ac_wine_try_cflags_saved
9943 CC=$ac_wine_try_cflags_saved_cc
9944 ac_exeext=$ac_wine_try_cflags_saved_exeext
9946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9947 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9948 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9949 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9952 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9953 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9954 $as_echo_n "(cached) " >&6
9955 else
9956 ac_wine_try_cflags_saved=$CFLAGS
9957 ac_wine_try_cflags_saved_cc=$CC
9958 ac_wine_try_cflags_saved_exeext=$ac_exeext
9959 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9960 CC="$CROSSCC"
9961 ac_exeext=".exe"
9962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9963 /* end confdefs.h. */
9964 int __cdecl mainCRTStartup(void) { return 0; }
9965 _ACEOF
9966 if ac_fn_c_try_link "$LINENO"; then :
9967 ac_cv_crosscflags__Wignored_qualifiers=yes
9968 else
9969 ac_cv_crosscflags__Wignored_qualifiers=no
9971 rm -f core conftest.err conftest.$ac_objext \
9972 conftest$ac_exeext conftest.$ac_ext
9973 CFLAGS=$ac_wine_try_cflags_saved
9974 CC=$ac_wine_try_cflags_saved_cc
9975 ac_exeext=$ac_wine_try_cflags_saved_exeext
9977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9978 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9979 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9980 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9983 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9984 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9985 $as_echo_n "(cached) " >&6
9986 else
9987 ac_wine_try_cflags_saved=$CFLAGS
9988 ac_wine_try_cflags_saved_cc=$CC
9989 ac_wine_try_cflags_saved_exeext=$ac_exeext
9990 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
9991 CC="$CROSSCC"
9992 ac_exeext=".exe"
9993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9994 /* end confdefs.h. */
9995 int __cdecl mainCRTStartup(void) { return 0; }
9996 _ACEOF
9997 if ac_fn_c_try_link "$LINENO"; then :
9998 ac_cv_crosscflags__Wpacked_not_aligned=yes
9999 else
10000 ac_cv_crosscflags__Wpacked_not_aligned=no
10002 rm -f core conftest.err conftest.$ac_objext \
10003 conftest$ac_exeext conftest.$ac_ext
10004 CFLAGS=$ac_wine_try_cflags_saved
10005 CC=$ac_wine_try_cflags_saved_cc
10006 ac_exeext=$ac_wine_try_cflags_saved_exeext
10008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10009 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10010 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10011 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10014 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10015 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10016 $as_echo_n "(cached) " >&6
10017 else
10018 ac_wine_try_cflags_saved=$CFLAGS
10019 ac_wine_try_cflags_saved_cc=$CC
10020 ac_wine_try_cflags_saved_exeext=$ac_exeext
10021 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10022 CC="$CROSSCC"
10023 ac_exeext=".exe"
10024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10025 /* end confdefs.h. */
10026 int __cdecl mainCRTStartup(void) { return 0; }
10027 _ACEOF
10028 if ac_fn_c_try_link "$LINENO"; then :
10029 ac_cv_crosscflags__Wpragma_pack=yes
10030 else
10031 ac_cv_crosscflags__Wpragma_pack=no
10033 rm -f core conftest.err conftest.$ac_objext \
10034 conftest$ac_exeext conftest.$ac_ext
10035 CFLAGS=$ac_wine_try_cflags_saved
10036 CC=$ac_wine_try_cflags_saved_cc
10037 ac_exeext=$ac_wine_try_cflags_saved_exeext
10039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10040 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10041 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10042 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10045 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10046 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10047 $as_echo_n "(cached) " >&6
10048 else
10049 ac_wine_try_cflags_saved=$CFLAGS
10050 ac_wine_try_cflags_saved_cc=$CC
10051 ac_wine_try_cflags_saved_exeext=$ac_exeext
10052 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10053 CC="$CROSSCC"
10054 ac_exeext=".exe"
10055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10056 /* end confdefs.h. */
10057 int __cdecl mainCRTStartup(void) { return 0; }
10058 _ACEOF
10059 if ac_fn_c_try_link "$LINENO"; then :
10060 ac_cv_crosscflags__Wshift_overflow_2=yes
10061 else
10062 ac_cv_crosscflags__Wshift_overflow_2=no
10064 rm -f core conftest.err conftest.$ac_objext \
10065 conftest$ac_exeext conftest.$ac_ext
10066 CFLAGS=$ac_wine_try_cflags_saved
10067 CC=$ac_wine_try_cflags_saved_cc
10068 ac_exeext=$ac_wine_try_cflags_saved_exeext
10070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10071 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10072 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10073 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10076 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10077 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10078 $as_echo_n "(cached) " >&6
10079 else
10080 ac_wine_try_cflags_saved=$CFLAGS
10081 ac_wine_try_cflags_saved_cc=$CC
10082 ac_wine_try_cflags_saved_exeext=$ac_exeext
10083 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10084 CC="$CROSSCC"
10085 ac_exeext=".exe"
10086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10087 /* end confdefs.h. */
10088 int __cdecl mainCRTStartup(void) { return 0; }
10089 _ACEOF
10090 if ac_fn_c_try_link "$LINENO"; then :
10091 ac_cv_crosscflags__Wstrict_prototypes=yes
10092 else
10093 ac_cv_crosscflags__Wstrict_prototypes=no
10095 rm -f core conftest.err conftest.$ac_objext \
10096 conftest$ac_exeext conftest.$ac_ext
10097 CFLAGS=$ac_wine_try_cflags_saved
10098 CC=$ac_wine_try_cflags_saved_cc
10099 ac_exeext=$ac_wine_try_cflags_saved_exeext
10101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10102 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10103 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10104 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10107 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10108 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10109 $as_echo_n "(cached) " >&6
10110 else
10111 ac_wine_try_cflags_saved=$CFLAGS
10112 ac_wine_try_cflags_saved_cc=$CC
10113 ac_wine_try_cflags_saved_exeext=$ac_exeext
10114 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10115 CC="$CROSSCC"
10116 ac_exeext=".exe"
10117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10118 /* end confdefs.h. */
10119 int __cdecl mainCRTStartup(void) { return 0; }
10120 _ACEOF
10121 if ac_fn_c_try_link "$LINENO"; then :
10122 ac_cv_crosscflags__Wtype_limits=yes
10123 else
10124 ac_cv_crosscflags__Wtype_limits=no
10126 rm -f core conftest.err conftest.$ac_objext \
10127 conftest$ac_exeext conftest.$ac_ext
10128 CFLAGS=$ac_wine_try_cflags_saved
10129 CC=$ac_wine_try_cflags_saved_cc
10130 ac_exeext=$ac_wine_try_cflags_saved_exeext
10132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10133 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10134 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10135 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10138 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10139 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10140 $as_echo_n "(cached) " >&6
10141 else
10142 ac_wine_try_cflags_saved=$CFLAGS
10143 ac_wine_try_cflags_saved_cc=$CC
10144 ac_wine_try_cflags_saved_exeext=$ac_exeext
10145 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10146 CC="$CROSSCC"
10147 ac_exeext=".exe"
10148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10149 /* end confdefs.h. */
10150 int __cdecl mainCRTStartup(void) { return 0; }
10151 _ACEOF
10152 if ac_fn_c_try_link "$LINENO"; then :
10153 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10154 else
10155 ac_cv_crosscflags__Wunused_but_set_parameter=no
10157 rm -f core conftest.err conftest.$ac_objext \
10158 conftest$ac_exeext conftest.$ac_ext
10159 CFLAGS=$ac_wine_try_cflags_saved
10160 CC=$ac_wine_try_cflags_saved_cc
10161 ac_exeext=$ac_wine_try_cflags_saved_exeext
10163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10164 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10165 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10166 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10169 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10170 if ${ac_cv_crosscflags__Wvla+:} false; then :
10171 $as_echo_n "(cached) " >&6
10172 else
10173 ac_wine_try_cflags_saved=$CFLAGS
10174 ac_wine_try_cflags_saved_cc=$CC
10175 ac_wine_try_cflags_saved_exeext=$ac_exeext
10176 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10177 CC="$CROSSCC"
10178 ac_exeext=".exe"
10179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10180 /* end confdefs.h. */
10181 int __cdecl mainCRTStartup(void) { return 0; }
10182 _ACEOF
10183 if ac_fn_c_try_link "$LINENO"; then :
10184 ac_cv_crosscflags__Wvla=yes
10185 else
10186 ac_cv_crosscflags__Wvla=no
10188 rm -f core conftest.err conftest.$ac_objext \
10189 conftest$ac_exeext conftest.$ac_ext
10190 CFLAGS=$ac_wine_try_cflags_saved
10191 CC=$ac_wine_try_cflags_saved_cc
10192 ac_exeext=$ac_wine_try_cflags_saved_exeext
10194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10195 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10196 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10197 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10200 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10201 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10202 $as_echo_n "(cached) " >&6
10203 else
10204 ac_wine_try_cflags_saved=$CFLAGS
10205 ac_wine_try_cflags_saved_cc=$CC
10206 ac_wine_try_cflags_saved_exeext=$ac_exeext
10207 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10208 CC="$CROSSCC"
10209 ac_exeext=".exe"
10210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10211 /* end confdefs.h. */
10212 int __cdecl mainCRTStartup(void) { return 0; }
10213 _ACEOF
10214 if ac_fn_c_try_link "$LINENO"; then :
10215 ac_cv_crosscflags__Wwrite_strings=yes
10216 else
10217 ac_cv_crosscflags__Wwrite_strings=no
10219 rm -f core conftest.err conftest.$ac_objext \
10220 conftest$ac_exeext conftest.$ac_ext
10221 CFLAGS=$ac_wine_try_cflags_saved
10222 CC=$ac_wine_try_cflags_saved_cc
10223 ac_exeext=$ac_wine_try_cflags_saved_exeext
10225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10226 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10227 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10228 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10231 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10232 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10233 $as_echo_n "(cached) " >&6
10234 else
10235 ac_wine_try_cflags_saved=$CFLAGS
10236 ac_wine_try_cflags_saved_cc=$CC
10237 ac_wine_try_cflags_saved_exeext=$ac_exeext
10238 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10239 CC="$CROSSCC"
10240 ac_exeext=".exe"
10241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10242 /* end confdefs.h. */
10243 int __cdecl mainCRTStartup(void) { return 0; }
10244 _ACEOF
10245 if ac_fn_c_try_link "$LINENO"; then :
10246 ac_cv_crosscflags__Wpointer_arith=yes
10247 else
10248 ac_cv_crosscflags__Wpointer_arith=no
10250 rm -f core conftest.err conftest.$ac_objext \
10251 conftest$ac_exeext conftest.$ac_ext
10252 CFLAGS=$ac_wine_try_cflags_saved
10253 CC=$ac_wine_try_cflags_saved_cc
10254 ac_exeext=$ac_wine_try_cflags_saved_exeext
10256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10257 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10258 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10259 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10262 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10263 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10264 $as_echo_n "(cached) " >&6
10265 else
10266 ac_wine_try_cflags_saved=$CFLAGS
10267 ac_wine_try_cflags_saved_cc=$CC
10268 ac_wine_try_cflags_saved_exeext=$ac_exeext
10269 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10270 CC="$CROSSCC"
10271 ac_exeext=".exe"
10272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10273 /* end confdefs.h. */
10274 int __cdecl mainCRTStartup(void) { return 0; }
10275 _ACEOF
10276 if ac_fn_c_try_link "$LINENO"; then :
10277 ac_cv_crosscflags__Wlogical_op=yes
10278 else
10279 ac_cv_crosscflags__Wlogical_op=no
10281 rm -f core conftest.err conftest.$ac_objext \
10282 conftest$ac_exeext conftest.$ac_ext
10283 CFLAGS=$ac_wine_try_cflags_saved
10284 CC=$ac_wine_try_cflags_saved_cc
10285 ac_exeext=$ac_wine_try_cflags_saved_exeext
10287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10288 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10289 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10290 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10293 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10294 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10295 $as_echo_n "(cached) " >&6
10296 else
10297 ac_wine_try_cflags_saved=$CFLAGS
10298 ac_wine_try_cflags_saved_cc=$CC
10299 ac_wine_try_cflags_saved_exeext=$ac_exeext
10300 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10301 CC="$CROSSCC"
10302 ac_exeext=".exe"
10303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10304 /* end confdefs.h. */
10305 int __cdecl mainCRTStartup(void) { return 0; }
10306 _ACEOF
10307 if ac_fn_c_try_link "$LINENO"; then :
10308 ac_cv_crosscflags__Wabsolute_value=yes
10309 else
10310 ac_cv_crosscflags__Wabsolute_value=no
10312 rm -f core conftest.err conftest.$ac_objext \
10313 conftest$ac_exeext conftest.$ac_ext
10314 CFLAGS=$ac_wine_try_cflags_saved
10315 CC=$ac_wine_try_cflags_saved_cc
10316 ac_exeext=$ac_wine_try_cflags_saved_exeext
10318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10319 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10320 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10321 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10324 case $host_cpu in
10325 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10326 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10327 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10328 $as_echo_n "(cached) " >&6
10329 else
10330 ac_wine_try_cflags_saved=$CFLAGS
10331 ac_wine_try_cflags_saved_cc=$CC
10332 ac_wine_try_cflags_saved_exeext=$ac_exeext
10333 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10334 CC="$CROSSCC"
10335 ac_exeext=".exe"
10336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10337 /* end confdefs.h. */
10338 int __cdecl mainCRTStartup(void) { return 0; }
10339 _ACEOF
10340 if ac_fn_c_try_link "$LINENO"; then :
10341 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10342 else
10343 ac_cv_crosscflags__fno_omit_frame_pointer=no
10345 rm -f core conftest.err conftest.$ac_objext \
10346 conftest$ac_exeext conftest.$ac_ext
10347 CFLAGS=$ac_wine_try_cflags_saved
10348 CC=$ac_wine_try_cflags_saved_cc
10349 ac_exeext=$ac_wine_try_cflags_saved_exeext
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10352 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10353 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10354 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10355 fi ;;
10356 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10357 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10358 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10359 $as_echo_n "(cached) " >&6
10360 else
10361 ac_wine_try_cflags_saved=$CFLAGS
10362 ac_wine_try_cflags_saved_cc=$CC
10363 ac_wine_try_cflags_saved_exeext=$ac_exeext
10364 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10365 CC="$CROSSCC"
10366 ac_exeext=".exe"
10367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10368 /* end confdefs.h. */
10369 int __cdecl mainCRTStartup(void) { return 0; }
10370 _ACEOF
10371 if ac_fn_c_try_link "$LINENO"; then :
10372 ac_cv_crosscflags__Wno_format=yes
10373 else
10374 ac_cv_crosscflags__Wno_format=no
10376 rm -f core conftest.err conftest.$ac_objext \
10377 conftest$ac_exeext conftest.$ac_ext
10378 CFLAGS=$ac_wine_try_cflags_saved
10379 CC=$ac_wine_try_cflags_saved_cc
10380 ac_exeext=$ac_wine_try_cflags_saved_exeext
10382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10383 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10384 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10385 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10388 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10389 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10390 $as_echo_n "(cached) " >&6
10391 else
10392 ac_wine_try_cflags_saved=$CFLAGS
10393 ac_wine_try_cflags_saved_cc=$CC
10394 ac_wine_try_cflags_saved_exeext=$ac_exeext
10395 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10396 CC="$CROSSCC"
10397 ac_exeext=".exe"
10398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10399 /* end confdefs.h. */
10400 int __cdecl mainCRTStartup(void) { return 0; }
10401 _ACEOF
10402 if ac_fn_c_try_link "$LINENO"; then :
10403 ac_cv_crosscflags__Wformat_overflow=yes
10404 else
10405 ac_cv_crosscflags__Wformat_overflow=no
10407 rm -f core conftest.err conftest.$ac_objext \
10408 conftest$ac_exeext conftest.$ac_ext
10409 CFLAGS=$ac_wine_try_cflags_saved
10410 CC=$ac_wine_try_cflags_saved_cc
10411 ac_exeext=$ac_wine_try_cflags_saved_exeext
10413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10414 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10415 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10416 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10419 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10420 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10421 $as_echo_n "(cached) " >&6
10422 else
10423 ac_wine_try_cflags_saved=$CFLAGS
10424 ac_wine_try_cflags_saved_cc=$CC
10425 ac_wine_try_cflags_saved_exeext=$ac_exeext
10426 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10427 CC="$CROSSCC"
10428 ac_exeext=".exe"
10429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10430 /* end confdefs.h. */
10431 int __cdecl mainCRTStartup(void) { return 0; }
10432 _ACEOF
10433 if ac_fn_c_try_link "$LINENO"; then :
10434 ac_cv_crosscflags__Wnonnull=yes
10435 else
10436 ac_cv_crosscflags__Wnonnull=no
10438 rm -f core conftest.err conftest.$ac_objext \
10439 conftest$ac_exeext conftest.$ac_ext
10440 CFLAGS=$ac_wine_try_cflags_saved
10441 CC=$ac_wine_try_cflags_saved_cc
10442 ac_exeext=$ac_wine_try_cflags_saved_exeext
10444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10445 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10446 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10447 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10450 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10451 if ${ac_cv_crosscflags__mcx16+:} false; then :
10452 $as_echo_n "(cached) " >&6
10453 else
10454 ac_wine_try_cflags_saved=$CFLAGS
10455 ac_wine_try_cflags_saved_cc=$CC
10456 ac_wine_try_cflags_saved_exeext=$ac_exeext
10457 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10458 CC="$CROSSCC"
10459 ac_exeext=".exe"
10460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10461 /* end confdefs.h. */
10462 int __cdecl mainCRTStartup(void) { return 0; }
10463 _ACEOF
10464 if ac_fn_c_try_link "$LINENO"; then :
10465 ac_cv_crosscflags__mcx16=yes
10466 else
10467 ac_cv_crosscflags__mcx16=no
10469 rm -f core conftest.err conftest.$ac_objext \
10470 conftest$ac_exeext conftest.$ac_ext
10471 CFLAGS=$ac_wine_try_cflags_saved
10472 CC=$ac_wine_try_cflags_saved_cc
10473 ac_exeext=$ac_wine_try_cflags_saved_exeext
10475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10476 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10477 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10478 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10479 fi ;;
10480 aarch64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10481 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10482 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10483 $as_echo_n "(cached) " >&6
10484 else
10485 ac_wine_try_cflags_saved=$CFLAGS
10486 ac_wine_try_cflags_saved_cc=$CC
10487 ac_wine_try_cflags_saved_exeext=$ac_exeext
10488 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10489 CC="$CROSSCC"
10490 ac_exeext=".exe"
10491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10492 /* end confdefs.h. */
10493 int __cdecl mainCRTStartup(void) { return 0; }
10494 _ACEOF
10495 if ac_fn_c_try_link "$LINENO"; then :
10496 ac_cv_crosscflags__Wno_format=yes
10497 else
10498 ac_cv_crosscflags__Wno_format=no
10500 rm -f core conftest.err conftest.$ac_objext \
10501 conftest$ac_exeext conftest.$ac_ext
10502 CFLAGS=$ac_wine_try_cflags_saved
10503 CC=$ac_wine_try_cflags_saved_cc
10504 ac_exeext=$ac_wine_try_cflags_saved_exeext
10506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10507 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10508 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10509 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10510 fi ;;
10511 esac
10514 if test -z "$CROSSDEBUG"
10515 then
10516 for ac_flag in $CROSSCFLAGS; do
10517 case $ac_flag in
10518 -gdwarf*) CROSSDEBUG=dwarf ;;
10519 -gcodeview) CROSSDEBUG=pdb ;;
10520 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10521 esac
10522 done
10524 case $CROSSDEBUG in
10525 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10526 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10527 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10528 $as_echo_n "(cached) " >&6
10529 else
10530 ac_wine_try_cflags_saved=$CFLAGS
10531 ac_wine_try_cflags_saved_cc=$CC
10532 ac_wine_try_cflags_saved_exeext=$ac_exeext
10533 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10534 CC="$CROSSCC"
10535 ac_exeext=".exe"
10536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10537 /* end confdefs.h. */
10538 int __cdecl mainCRTStartup(void) { return 0; }
10539 _ACEOF
10540 if ac_fn_c_try_link "$LINENO"; then :
10541 ac_cv_crosscflags__gdwarf_2=yes
10542 else
10543 ac_cv_crosscflags__gdwarf_2=no
10545 rm -f core conftest.err conftest.$ac_objext \
10546 conftest$ac_exeext conftest.$ac_ext
10547 CFLAGS=$ac_wine_try_cflags_saved
10548 CC=$ac_wine_try_cflags_saved_cc
10549 ac_exeext=$ac_wine_try_cflags_saved_exeext
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10552 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10553 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10554 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10557 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10558 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10559 $as_echo_n "(cached) " >&6
10560 else
10561 ac_wine_try_cflags_saved=$CFLAGS
10562 ac_wine_try_cflags_saved_cc=$CC
10563 ac_wine_try_cflags_saved_exeext=$ac_exeext
10564 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10565 CC="$CROSSCC"
10566 ac_exeext=".exe"
10567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10568 /* end confdefs.h. */
10569 int __cdecl mainCRTStartup(void) { return 0; }
10570 _ACEOF
10571 if ac_fn_c_try_link "$LINENO"; then :
10572 ac_cv_crosscflags__gstrict_dwarf=yes
10573 else
10574 ac_cv_crosscflags__gstrict_dwarf=no
10576 rm -f core conftest.err conftest.$ac_objext \
10577 conftest$ac_exeext conftest.$ac_ext
10578 CFLAGS=$ac_wine_try_cflags_saved
10579 CC=$ac_wine_try_cflags_saved_cc
10580 ac_exeext=$ac_wine_try_cflags_saved_exeext
10582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10583 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10584 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10585 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10586 fi ;;
10587 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10588 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10589 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10590 $as_echo_n "(cached) " >&6
10591 else
10592 ac_wine_try_cflags_saved=$CFLAGS
10593 ac_wine_try_cflags_saved_cc=$CC
10594 ac_wine_try_cflags_saved_exeext=$ac_exeext
10595 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10596 CC="$CROSSCC"
10597 ac_exeext=".exe"
10598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10599 /* end confdefs.h. */
10600 int __cdecl mainCRTStartup(void) { return 0; }
10601 _ACEOF
10602 if ac_fn_c_try_link "$LINENO"; then :
10603 ac_cv_crosscflags__gcodeview=yes
10604 else
10605 ac_cv_crosscflags__gcodeview=no
10607 rm -f core conftest.err conftest.$ac_objext \
10608 conftest$ac_exeext conftest.$ac_ext
10609 CFLAGS=$ac_wine_try_cflags_saved
10610 CC=$ac_wine_try_cflags_saved_cc
10611 ac_exeext=$ac_wine_try_cflags_saved_exeext
10613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10614 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10615 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10616 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10617 fi ;;
10618 esac
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10621 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10622 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10623 $as_echo_n "(cached) " >&6
10624 else
10625 ac_wine_try_cflags_saved=$CFLAGS
10626 ac_wine_try_cflags_saved_cc=$CC
10627 ac_wine_try_cflags_saved_exeext=$ac_exeext
10628 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10629 CC="$CROSSCC"
10630 ac_exeext=".exe"
10631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10632 /* end confdefs.h. */
10633 int __cdecl mainCRTStartup(void) { return 0; }
10634 _ACEOF
10635 if ac_fn_c_try_link "$LINENO"; then :
10636 ac_cv_crosscflags__fexcess_precision_standard=yes
10637 else
10638 ac_cv_crosscflags__fexcess_precision_standard=no
10640 rm -f core conftest.err conftest.$ac_objext \
10641 conftest$ac_exeext conftest.$ac_ext
10642 CFLAGS=$ac_wine_try_cflags_saved
10643 CC=$ac_wine_try_cflags_saved_cc
10644 ac_exeext=$ac_wine_try_cflags_saved_exeext
10646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10647 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10648 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10649 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10653 if test "x$enable_werror" = "xyes"
10654 then
10655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10656 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10657 if ${ac_cv_crosscflags__Werror+:} false; then :
10658 $as_echo_n "(cached) " >&6
10659 else
10660 ac_wine_try_cflags_saved=$CFLAGS
10661 ac_wine_try_cflags_saved_cc=$CC
10662 ac_wine_try_cflags_saved_exeext=$ac_exeext
10663 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10664 CC="$CROSSCC"
10665 ac_exeext=".exe"
10666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10667 /* end confdefs.h. */
10668 int __cdecl mainCRTStartup(void) { return 0; }
10669 _ACEOF
10670 if ac_fn_c_try_link "$LINENO"; then :
10671 ac_cv_crosscflags__Werror=yes
10672 else
10673 ac_cv_crosscflags__Werror=no
10675 rm -f core conftest.err conftest.$ac_objext \
10676 conftest$ac_exeext conftest.$ac_ext
10677 CFLAGS=$ac_wine_try_cflags_saved
10678 CC=$ac_wine_try_cflags_saved_cc
10679 ac_exeext=$ac_wine_try_cflags_saved_exeext
10681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10682 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10683 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10684 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10687 if test "x$enable_build_id" = "xyes"
10688 then
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
10690 $as_echo_n "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
10691 if ${ac_cv_crosscflags__Wl___build_id+:} false; then :
10692 $as_echo_n "(cached) " >&6
10693 else
10694 ac_wine_try_cflags_saved=$CFLAGS
10695 ac_wine_try_cflags_saved_cc=$CC
10696 ac_wine_try_cflags_saved_exeext=$ac_exeext
10697 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
10698 CC="$CROSSCC"
10699 ac_exeext=".exe"
10700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10701 /* end confdefs.h. */
10702 int __cdecl mainCRTStartup(void) { return 0; }
10703 _ACEOF
10704 if ac_fn_c_try_link "$LINENO"; then :
10705 ac_cv_crosscflags__Wl___build_id=yes
10706 else
10707 ac_cv_crosscflags__Wl___build_id=no
10709 rm -f core conftest.err conftest.$ac_objext \
10710 conftest$ac_exeext conftest.$ac_ext
10711 CFLAGS=$ac_wine_try_cflags_saved
10712 CC=$ac_wine_try_cflags_saved_cc
10713 ac_exeext=$ac_wine_try_cflags_saved_exeext
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
10716 $as_echo "$ac_cv_crosscflags__Wl___build_id" >&6; }
10717 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes; then :
10718 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
10719 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
10723 CFLAGS=$saved_CFLAGS
10724 CC="$ac_save_CC"
10727 if test "x$CROSSTARGET" = "x"; then :
10728 case "x$with_mingw" in
10729 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10730 xno) ;;
10731 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10732 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10733 esac
10738 if test "$ac_cv_header_pthread_h" = "yes"
10739 then
10740 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10741 if test "x$ac_cv_func_pthread_create" = xyes; then :
10743 else
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10745 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10746 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10747 $as_echo_n "(cached) " >&6
10748 else
10749 ac_check_lib_save_LIBS=$LIBS
10750 LIBS="-lpthread $LIBS"
10751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10752 /* end confdefs.h. */
10754 /* Override any GCC internal prototype to avoid an error.
10755 Use char because int might match the return type of a GCC
10756 builtin and then its argument prototype would still apply. */
10757 #ifdef __cplusplus
10758 extern "C"
10759 #endif
10760 char pthread_create ();
10762 main ()
10764 return pthread_create ();
10766 return 0;
10768 _ACEOF
10769 if ac_fn_c_try_link "$LINENO"; then :
10770 ac_cv_lib_pthread_pthread_create=yes
10771 else
10772 ac_cv_lib_pthread_pthread_create=no
10774 rm -f core conftest.err conftest.$ac_objext \
10775 conftest$ac_exeext conftest.$ac_ext
10776 LIBS=$ac_check_lib_save_LIBS
10778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10779 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10780 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10781 PTHREAD_LIBS="-lpthread"
10788 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10789 case "x$with_pthread" in
10790 xno) ;;
10791 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10792 Wine cannot support threads without libpthread.
10793 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10794 esac
10799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10800 $as_echo_n "checking for X... " >&6; }
10803 # Check whether --with-x was given.
10804 if test "${with_x+set}" = set; then :
10805 withval=$with_x;
10808 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10809 if test "x$with_x" = xno; then
10810 # The user explicitly disabled X.
10811 have_x=disabled
10812 else
10813 case $x_includes,$x_libraries in #(
10814 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10815 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10816 $as_echo_n "(cached) " >&6
10817 else
10818 # One or both of the vars are not set, and there is no cached value.
10819 ac_x_includes=no ac_x_libraries=no
10820 rm -f -r conftest.dir
10821 if mkdir conftest.dir; then
10822 cd conftest.dir
10823 cat >Imakefile <<'_ACEOF'
10824 incroot:
10825 @echo incroot='${INCROOT}'
10826 usrlibdir:
10827 @echo usrlibdir='${USRLIBDIR}'
10828 libdir:
10829 @echo libdir='${LIBDIR}'
10830 _ACEOF
10831 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10832 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10833 for ac_var in incroot usrlibdir libdir; do
10834 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10835 done
10836 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10837 for ac_extension in a so sl dylib la dll; do
10838 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10839 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10840 ac_im_usrlibdir=$ac_im_libdir; break
10842 done
10843 # Screen out bogus values from the imake configuration. They are
10844 # bogus both because they are the default anyway, and because
10845 # using them would break gcc on systems where it needs fixed includes.
10846 case $ac_im_incroot in
10847 /usr/include) ac_x_includes= ;;
10848 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10849 esac
10850 case $ac_im_usrlibdir in
10851 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10852 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10853 esac
10855 cd ..
10856 rm -f -r conftest.dir
10859 # Standard set of common directories for X headers.
10860 # Check X11 before X11Rn because it is often a symlink to the current release.
10861 ac_x_header_dirs='
10862 /usr/X11/include
10863 /usr/X11R7/include
10864 /usr/X11R6/include
10865 /usr/X11R5/include
10866 /usr/X11R4/include
10868 /usr/include/X11
10869 /usr/include/X11R7
10870 /usr/include/X11R6
10871 /usr/include/X11R5
10872 /usr/include/X11R4
10874 /usr/local/X11/include
10875 /usr/local/X11R7/include
10876 /usr/local/X11R6/include
10877 /usr/local/X11R5/include
10878 /usr/local/X11R4/include
10880 /usr/local/include/X11
10881 /usr/local/include/X11R7
10882 /usr/local/include/X11R6
10883 /usr/local/include/X11R5
10884 /usr/local/include/X11R4
10886 /usr/X386/include
10887 /usr/x386/include
10888 /usr/XFree86/include/X11
10890 /usr/include
10891 /usr/local/include
10892 /usr/unsupported/include
10893 /usr/athena/include
10894 /usr/local/x11r5/include
10895 /usr/lpp/Xamples/include
10897 /usr/openwin/include
10898 /usr/openwin/share/include'
10900 if test "$ac_x_includes" = no; then
10901 # Guess where to find include files, by looking for Xlib.h.
10902 # First, try using that file with no special directory specified.
10903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10904 /* end confdefs.h. */
10905 #include <X11/Xlib.h>
10906 _ACEOF
10907 if ac_fn_c_try_cpp "$LINENO"; then :
10908 # We can compile using X headers with no special include directory.
10909 ac_x_includes=
10910 else
10911 for ac_dir in $ac_x_header_dirs; do
10912 if test -r "$ac_dir/X11/Xlib.h"; then
10913 ac_x_includes=$ac_dir
10914 break
10916 done
10918 rm -f conftest.err conftest.i conftest.$ac_ext
10919 fi # $ac_x_includes = no
10921 if test "$ac_x_libraries" = no; then
10922 # Check for the libraries.
10923 # See if we find them without any special options.
10924 # Don't add to $LIBS permanently.
10925 ac_save_LIBS=$LIBS
10926 LIBS="-lX11 $LIBS"
10927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10928 /* end confdefs.h. */
10929 #include <X11/Xlib.h>
10931 main ()
10933 XrmInitialize ()
10935 return 0;
10937 _ACEOF
10938 if ac_fn_c_try_link "$LINENO"; then :
10939 LIBS=$ac_save_LIBS
10940 # We can link X programs with no special library path.
10941 ac_x_libraries=
10942 else
10943 LIBS=$ac_save_LIBS
10944 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10946 # Don't even attempt the hair of trying to link an X program!
10947 for ac_extension in a so sl dylib la dll; do
10948 if test -r "$ac_dir/libX11.$ac_extension"; then
10949 ac_x_libraries=$ac_dir
10950 break 2
10952 done
10953 done
10955 rm -f core conftest.err conftest.$ac_objext \
10956 conftest$ac_exeext conftest.$ac_ext
10957 fi # $ac_x_libraries = no
10959 case $ac_x_includes,$ac_x_libraries in #(
10960 no,* | *,no | *\'*)
10961 # Didn't find X, or a directory has "'" in its name.
10962 ac_cv_have_x="have_x=no";; #(
10964 # Record where we found X for the cache.
10965 ac_cv_have_x="have_x=yes\
10966 ac_x_includes='$ac_x_includes'\
10967 ac_x_libraries='$ac_x_libraries'"
10968 esac
10970 ;; #(
10971 *) have_x=yes;;
10972 esac
10973 eval "$ac_cv_have_x"
10974 fi # $with_x != no
10976 if test "$have_x" != yes; then
10977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10978 $as_echo "$have_x" >&6; }
10979 no_x=yes
10980 else
10981 # If each of the values was on the command line, it overrides each guess.
10982 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10983 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10984 # Update the cache value to reflect the command line values.
10985 ac_cv_have_x="have_x=yes\
10986 ac_x_includes='$x_includes'\
10987 ac_x_libraries='$x_libraries'"
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10989 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10992 if test "$no_x" = yes; then
10993 # Not all programs may use this symbol, but it does not hurt to define it.
10995 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10997 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10998 else
10999 if test -n "$x_includes"; then
11000 X_CFLAGS="$X_CFLAGS -I$x_includes"
11003 # It would also be nice to do this for all -L options, not just this one.
11004 if test -n "$x_libraries"; then
11005 X_LIBS="$X_LIBS -L$x_libraries"
11006 # For Solaris; some versions of Sun CC require a space after -R and
11007 # others require no space. Words are not sufficient . . . .
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
11009 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
11010 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11011 ac_xsave_c_werror_flag=$ac_c_werror_flag
11012 ac_c_werror_flag=yes
11013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11014 /* end confdefs.h. */
11017 main ()
11021 return 0;
11023 _ACEOF
11024 if ac_fn_c_try_link "$LINENO"; then :
11025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11026 $as_echo "no" >&6; }
11027 X_LIBS="$X_LIBS -R$x_libraries"
11028 else
11029 LIBS="$ac_xsave_LIBS -R $x_libraries"
11030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11031 /* end confdefs.h. */
11034 main ()
11038 return 0;
11040 _ACEOF
11041 if ac_fn_c_try_link "$LINENO"; then :
11042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11043 $as_echo "yes" >&6; }
11044 X_LIBS="$X_LIBS -R $x_libraries"
11045 else
11046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11047 $as_echo "neither works" >&6; }
11049 rm -f core conftest.err conftest.$ac_objext \
11050 conftest$ac_exeext conftest.$ac_ext
11052 rm -f core conftest.err conftest.$ac_objext \
11053 conftest$ac_exeext conftest.$ac_ext
11054 ac_c_werror_flag=$ac_xsave_c_werror_flag
11055 LIBS=$ac_xsave_LIBS
11058 # Check for system-dependent libraries X programs must link with.
11059 # Do this before checking for the system-independent R6 libraries
11060 # (-lICE), since we may need -lsocket or whatever for X linking.
11062 if test "$ISC" = yes; then
11063 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11064 else
11065 # Martyn Johnson says this is needed for Ultrix, if the X
11066 # libraries were built with DECnet support. And Karl Berry says
11067 # the Alpha needs dnet_stub (dnet does not exist).
11068 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11070 /* end confdefs.h. */
11072 /* Override any GCC internal prototype to avoid an error.
11073 Use char because int might match the return type of a GCC
11074 builtin and then its argument prototype would still apply. */
11075 #ifdef __cplusplus
11076 extern "C"
11077 #endif
11078 char XOpenDisplay ();
11080 main ()
11082 return XOpenDisplay ();
11084 return 0;
11086 _ACEOF
11087 if ac_fn_c_try_link "$LINENO"; then :
11089 else
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11091 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11092 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11093 $as_echo_n "(cached) " >&6
11094 else
11095 ac_check_lib_save_LIBS=$LIBS
11096 LIBS="-ldnet $LIBS"
11097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11098 /* end confdefs.h. */
11100 /* Override any GCC internal prototype to avoid an error.
11101 Use char because int might match the return type of a GCC
11102 builtin and then its argument prototype would still apply. */
11103 #ifdef __cplusplus
11104 extern "C"
11105 #endif
11106 char dnet_ntoa ();
11108 main ()
11110 return dnet_ntoa ();
11112 return 0;
11114 _ACEOF
11115 if ac_fn_c_try_link "$LINENO"; then :
11116 ac_cv_lib_dnet_dnet_ntoa=yes
11117 else
11118 ac_cv_lib_dnet_dnet_ntoa=no
11120 rm -f core conftest.err conftest.$ac_objext \
11121 conftest$ac_exeext conftest.$ac_ext
11122 LIBS=$ac_check_lib_save_LIBS
11124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11125 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11126 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11127 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11130 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11132 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11133 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11134 $as_echo_n "(cached) " >&6
11135 else
11136 ac_check_lib_save_LIBS=$LIBS
11137 LIBS="-ldnet_stub $LIBS"
11138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11139 /* end confdefs.h. */
11141 /* Override any GCC internal prototype to avoid an error.
11142 Use char because int might match the return type of a GCC
11143 builtin and then its argument prototype would still apply. */
11144 #ifdef __cplusplus
11145 extern "C"
11146 #endif
11147 char dnet_ntoa ();
11149 main ()
11151 return dnet_ntoa ();
11153 return 0;
11155 _ACEOF
11156 if ac_fn_c_try_link "$LINENO"; then :
11157 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11158 else
11159 ac_cv_lib_dnet_stub_dnet_ntoa=no
11161 rm -f core conftest.err conftest.$ac_objext \
11162 conftest$ac_exeext conftest.$ac_ext
11163 LIBS=$ac_check_lib_save_LIBS
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11166 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11167 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11168 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11173 rm -f core conftest.err conftest.$ac_objext \
11174 conftest$ac_exeext conftest.$ac_ext
11175 LIBS="$ac_xsave_LIBS"
11177 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11178 # to get the SysV transport functions.
11179 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11180 # needs -lnsl.
11181 # The nsl library prevents programs from opening the X display
11182 # on Irix 5.2, according to T.E. Dickey.
11183 # The functions gethostbyname, getservbyname, and inet_addr are
11184 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11185 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11186 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11190 if test $ac_cv_func_gethostbyname = no; then
11191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11192 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11193 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11194 $as_echo_n "(cached) " >&6
11195 else
11196 ac_check_lib_save_LIBS=$LIBS
11197 LIBS="-lnsl $LIBS"
11198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11199 /* end confdefs.h. */
11201 /* Override any GCC internal prototype to avoid an error.
11202 Use char because int might match the return type of a GCC
11203 builtin and then its argument prototype would still apply. */
11204 #ifdef __cplusplus
11205 extern "C"
11206 #endif
11207 char gethostbyname ();
11209 main ()
11211 return gethostbyname ();
11213 return 0;
11215 _ACEOF
11216 if ac_fn_c_try_link "$LINENO"; then :
11217 ac_cv_lib_nsl_gethostbyname=yes
11218 else
11219 ac_cv_lib_nsl_gethostbyname=no
11221 rm -f core conftest.err conftest.$ac_objext \
11222 conftest$ac_exeext conftest.$ac_ext
11223 LIBS=$ac_check_lib_save_LIBS
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11226 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11227 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11228 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11231 if test $ac_cv_lib_nsl_gethostbyname = no; then
11232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11233 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11234 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11235 $as_echo_n "(cached) " >&6
11236 else
11237 ac_check_lib_save_LIBS=$LIBS
11238 LIBS="-lbsd $LIBS"
11239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11240 /* end confdefs.h. */
11242 /* Override any GCC internal prototype to avoid an error.
11243 Use char because int might match the return type of a GCC
11244 builtin and then its argument prototype would still apply. */
11245 #ifdef __cplusplus
11246 extern "C"
11247 #endif
11248 char gethostbyname ();
11250 main ()
11252 return gethostbyname ();
11254 return 0;
11256 _ACEOF
11257 if ac_fn_c_try_link "$LINENO"; then :
11258 ac_cv_lib_bsd_gethostbyname=yes
11259 else
11260 ac_cv_lib_bsd_gethostbyname=no
11262 rm -f core conftest.err conftest.$ac_objext \
11263 conftest$ac_exeext conftest.$ac_ext
11264 LIBS=$ac_check_lib_save_LIBS
11266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11267 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11268 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11269 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11275 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11276 # socket/setsockopt and other routines are undefined under SCO ODT
11277 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11278 # on later versions), says Simon Leinen: it contains gethostby*
11279 # variants that don't use the name server (or something). -lsocket
11280 # must be given before -lnsl if both are needed. We assume that
11281 # if connect needs -lnsl, so does gethostbyname.
11282 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11283 if test "x$ac_cv_func_connect" = xyes; then :
11287 if test $ac_cv_func_connect = no; then
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11289 $as_echo_n "checking for connect in -lsocket... " >&6; }
11290 if ${ac_cv_lib_socket_connect+:} false; then :
11291 $as_echo_n "(cached) " >&6
11292 else
11293 ac_check_lib_save_LIBS=$LIBS
11294 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11296 /* end confdefs.h. */
11298 /* Override any GCC internal prototype to avoid an error.
11299 Use char because int might match the return type of a GCC
11300 builtin and then its argument prototype would still apply. */
11301 #ifdef __cplusplus
11302 extern "C"
11303 #endif
11304 char connect ();
11306 main ()
11308 return connect ();
11310 return 0;
11312 _ACEOF
11313 if ac_fn_c_try_link "$LINENO"; then :
11314 ac_cv_lib_socket_connect=yes
11315 else
11316 ac_cv_lib_socket_connect=no
11318 rm -f core conftest.err conftest.$ac_objext \
11319 conftest$ac_exeext conftest.$ac_ext
11320 LIBS=$ac_check_lib_save_LIBS
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11323 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11324 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11325 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11330 # Guillermo Gomez says -lposix is necessary on A/UX.
11331 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11332 if test "x$ac_cv_func_remove" = xyes; then :
11336 if test $ac_cv_func_remove = no; then
11337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11338 $as_echo_n "checking for remove in -lposix... " >&6; }
11339 if ${ac_cv_lib_posix_remove+:} false; then :
11340 $as_echo_n "(cached) " >&6
11341 else
11342 ac_check_lib_save_LIBS=$LIBS
11343 LIBS="-lposix $LIBS"
11344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11345 /* end confdefs.h. */
11347 /* Override any GCC internal prototype to avoid an error.
11348 Use char because int might match the return type of a GCC
11349 builtin and then its argument prototype would still apply. */
11350 #ifdef __cplusplus
11351 extern "C"
11352 #endif
11353 char remove ();
11355 main ()
11357 return remove ();
11359 return 0;
11361 _ACEOF
11362 if ac_fn_c_try_link "$LINENO"; then :
11363 ac_cv_lib_posix_remove=yes
11364 else
11365 ac_cv_lib_posix_remove=no
11367 rm -f core conftest.err conftest.$ac_objext \
11368 conftest$ac_exeext conftest.$ac_ext
11369 LIBS=$ac_check_lib_save_LIBS
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11372 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11373 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11374 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11379 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11380 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11381 if test "x$ac_cv_func_shmat" = xyes; then :
11385 if test $ac_cv_func_shmat = no; then
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11387 $as_echo_n "checking for shmat in -lipc... " >&6; }
11388 if ${ac_cv_lib_ipc_shmat+:} false; then :
11389 $as_echo_n "(cached) " >&6
11390 else
11391 ac_check_lib_save_LIBS=$LIBS
11392 LIBS="-lipc $LIBS"
11393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11394 /* end confdefs.h. */
11396 /* Override any GCC internal prototype to avoid an error.
11397 Use char because int might match the return type of a GCC
11398 builtin and then its argument prototype would still apply. */
11399 #ifdef __cplusplus
11400 extern "C"
11401 #endif
11402 char shmat ();
11404 main ()
11406 return shmat ();
11408 return 0;
11410 _ACEOF
11411 if ac_fn_c_try_link "$LINENO"; then :
11412 ac_cv_lib_ipc_shmat=yes
11413 else
11414 ac_cv_lib_ipc_shmat=no
11416 rm -f core conftest.err conftest.$ac_objext \
11417 conftest$ac_exeext conftest.$ac_ext
11418 LIBS=$ac_check_lib_save_LIBS
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11421 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11422 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11423 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11429 # Check for libraries that X11R6 Xt/Xaw programs need.
11430 ac_save_LDFLAGS=$LDFLAGS
11431 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11432 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11433 # check for ICE first), but we must link in the order -lSM -lICE or
11434 # we get undefined symbols. So assume we have SM if we have ICE.
11435 # These have to be linked with before -lX11, unlike the other
11436 # libraries we check for below, so use a different variable.
11437 # John Interrante, Karl Berry
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11439 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11440 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11441 $as_echo_n "(cached) " >&6
11442 else
11443 ac_check_lib_save_LIBS=$LIBS
11444 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11446 /* end confdefs.h. */
11448 /* Override any GCC internal prototype to avoid an error.
11449 Use char because int might match the return type of a GCC
11450 builtin and then its argument prototype would still apply. */
11451 #ifdef __cplusplus
11452 extern "C"
11453 #endif
11454 char IceConnectionNumber ();
11456 main ()
11458 return IceConnectionNumber ();
11460 return 0;
11462 _ACEOF
11463 if ac_fn_c_try_link "$LINENO"; then :
11464 ac_cv_lib_ICE_IceConnectionNumber=yes
11465 else
11466 ac_cv_lib_ICE_IceConnectionNumber=no
11468 rm -f core conftest.err conftest.$ac_objext \
11469 conftest$ac_exeext conftest.$ac_ext
11470 LIBS=$ac_check_lib_save_LIBS
11472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11473 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11474 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11475 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11478 LDFLAGS=$ac_save_LDFLAGS
11483 if test "$have_x" = "yes"
11484 then
11485 ac_save_CPPFLAGS="$CPPFLAGS"
11486 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11489 $as_echo_n "checking for -lX11... " >&6; }
11490 if ${ac_cv_lib_soname_X11+:} false; then :
11491 $as_echo_n "(cached) " >&6
11492 else
11493 ac_check_soname_save_LIBS=$LIBS
11494 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11496 /* end confdefs.h. */
11498 /* Override any GCC internal prototype to avoid an error.
11499 Use char because int might match the return type of a GCC
11500 builtin and then its argument prototype would still apply. */
11501 #ifdef __cplusplus
11502 extern "C"
11503 #endif
11504 char XCreateWindow ();
11506 main ()
11508 return XCreateWindow ();
11510 return 0;
11512 _ACEOF
11513 if ac_fn_c_try_link "$LINENO"; then :
11514 case "$LIBEXT" in
11515 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11516 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'` ;;
11517 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11518 if ${ac_cv_lib_soname_X11:+false} :; then :
11519 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11520 fi ;;
11521 esac
11522 else
11523 ac_cv_lib_soname_X11=
11525 rm -f core conftest.err conftest.$ac_objext \
11526 conftest$ac_exeext conftest.$ac_ext
11527 LIBS=$ac_check_soname_save_LIBS
11529 if ${ac_cv_lib_soname_X11:+false} :; then :
11530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11531 $as_echo "not found" >&6; }
11533 else
11534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11535 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11537 cat >>confdefs.h <<_ACEOF
11538 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11539 _ACEOF
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11544 $as_echo_n "checking for -lXext... " >&6; }
11545 if ${ac_cv_lib_soname_Xext+:} false; then :
11546 $as_echo_n "(cached) " >&6
11547 else
11548 ac_check_soname_save_LIBS=$LIBS
11549 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11551 /* end confdefs.h. */
11553 /* Override any GCC internal prototype to avoid an error.
11554 Use char because int might match the return type of a GCC
11555 builtin and then its argument prototype would still apply. */
11556 #ifdef __cplusplus
11557 extern "C"
11558 #endif
11559 char XextCreateExtension ();
11561 main ()
11563 return XextCreateExtension ();
11565 return 0;
11567 _ACEOF
11568 if ac_fn_c_try_link "$LINENO"; then :
11569 case "$LIBEXT" in
11570 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11571 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'` ;;
11572 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11573 if ${ac_cv_lib_soname_Xext:+false} :; then :
11574 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11575 fi ;;
11576 esac
11577 else
11578 ac_cv_lib_soname_Xext=
11580 rm -f core conftest.err conftest.$ac_objext \
11581 conftest$ac_exeext conftest.$ac_ext
11582 LIBS=$ac_check_soname_save_LIBS
11584 if ${ac_cv_lib_soname_Xext:+false} :; then :
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11586 $as_echo "not found" >&6; }
11588 else
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11590 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11592 cat >>confdefs.h <<_ACEOF
11593 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11594 _ACEOF
11596 X_LIBS="$X_LIBS -lXext"
11598 X_LIBS="$X_LIBS -lX11"
11600 for ac_header in X11/Xlib.h \
11601 X11/XKBlib.h \
11602 X11/Xutil.h \
11603 X11/Xcursor/Xcursor.h \
11604 X11/extensions/shape.h \
11605 X11/extensions/XInput.h \
11606 X11/extensions/XInput2.h \
11607 X11/extensions/XShm.h \
11608 X11/extensions/Xcomposite.h \
11609 X11/extensions/Xfixes.h \
11610 X11/extensions/Xinerama.h \
11611 X11/extensions/Xrandr.h \
11612 X11/extensions/Xrender.h \
11613 X11/extensions/xf86vmode.h \
11614 X11/extensions/xf86vmproto.h
11615 do :
11616 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11617 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11618 # include <X11/Xlib.h>
11619 #endif
11620 #ifdef HAVE_X11_XUTIL_H
11621 # include <X11/Xutil.h>
11622 #endif
11624 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11625 cat >>confdefs.h <<_ACEOF
11626 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11627 _ACEOF
11631 done
11634 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11635 then
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11637 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11638 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11639 $as_echo_n "(cached) " >&6
11640 else
11641 ac_check_lib_save_LIBS=$LIBS
11642 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11644 /* end confdefs.h. */
11646 /* Override any GCC internal prototype to avoid an error.
11647 Use char because int might match the return type of a GCC
11648 builtin and then its argument prototype would still apply. */
11649 #ifdef __cplusplus
11650 extern "C"
11651 #endif
11652 char XkbQueryExtension ();
11654 main ()
11656 return XkbQueryExtension ();
11658 return 0;
11660 _ACEOF
11661 if ac_fn_c_try_link "$LINENO"; then :
11662 ac_cv_lib_X11_XkbQueryExtension=yes
11663 else
11664 ac_cv_lib_X11_XkbQueryExtension=no
11666 rm -f core conftest.err conftest.$ac_objext \
11667 conftest$ac_exeext conftest.$ac_ext
11668 LIBS=$ac_check_lib_save_LIBS
11670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11671 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11672 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11674 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11680 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11681 then
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11683 $as_echo_n "checking for -lXcursor... " >&6; }
11684 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11685 $as_echo_n "(cached) " >&6
11686 else
11687 ac_check_soname_save_LIBS=$LIBS
11688 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11690 /* end confdefs.h. */
11692 /* Override any GCC internal prototype to avoid an error.
11693 Use char because int might match the return type of a GCC
11694 builtin and then its argument prototype would still apply. */
11695 #ifdef __cplusplus
11696 extern "C"
11697 #endif
11698 char XcursorImageLoadCursor ();
11700 main ()
11702 return XcursorImageLoadCursor ();
11704 return 0;
11706 _ACEOF
11707 if ac_fn_c_try_link "$LINENO"; then :
11708 case "$LIBEXT" in
11709 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11710 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'` ;;
11711 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11712 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11713 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11714 fi ;;
11715 esac
11716 else
11717 ac_cv_lib_soname_Xcursor=
11719 rm -f core conftest.err conftest.$ac_objext \
11720 conftest$ac_exeext conftest.$ac_ext
11721 LIBS=$ac_check_soname_save_LIBS
11723 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11725 $as_echo "not found" >&6; }
11727 else
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11729 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11731 cat >>confdefs.h <<_ACEOF
11732 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11733 _ACEOF
11738 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11739 case "x$with_xcursor" in
11740 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11741 xno) ;;
11742 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11743 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11744 esac
11748 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11749 then
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11751 $as_echo_n "checking for -lXi... " >&6; }
11752 if ${ac_cv_lib_soname_Xi+:} false; then :
11753 $as_echo_n "(cached) " >&6
11754 else
11755 ac_check_soname_save_LIBS=$LIBS
11756 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11758 /* end confdefs.h. */
11760 /* Override any GCC internal prototype to avoid an error.
11761 Use char because int might match the return type of a GCC
11762 builtin and then its argument prototype would still apply. */
11763 #ifdef __cplusplus
11764 extern "C"
11765 #endif
11766 char XOpenDevice ();
11768 main ()
11770 return XOpenDevice ();
11772 return 0;
11774 _ACEOF
11775 if ac_fn_c_try_link "$LINENO"; then :
11776 case "$LIBEXT" in
11777 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11778 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'` ;;
11779 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11780 if ${ac_cv_lib_soname_Xi:+false} :; then :
11781 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11782 fi ;;
11783 esac
11784 else
11785 ac_cv_lib_soname_Xi=
11787 rm -f core conftest.err conftest.$ac_objext \
11788 conftest$ac_exeext conftest.$ac_ext
11789 LIBS=$ac_check_soname_save_LIBS
11791 if ${ac_cv_lib_soname_Xi:+false} :; then :
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11793 $as_echo "not found" >&6; }
11795 else
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11797 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11799 cat >>confdefs.h <<_ACEOF
11800 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11801 _ACEOF
11806 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11807 case "x$with_xinput" in
11808 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11809 xno) ;;
11810 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11811 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11812 esac
11816 if test "x$ac_cv_lib_soname_Xi" != x
11817 then
11818 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11819 case "x$with_xinput2" in
11820 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11821 xno) ;;
11822 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11823 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11824 esac
11829 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11830 then
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11832 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11833 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11834 $as_echo_n "(cached) " >&6
11835 else
11836 ac_check_lib_save_LIBS=$LIBS
11837 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11839 /* end confdefs.h. */
11841 /* Override any GCC internal prototype to avoid an error.
11842 Use char because int might match the return type of a GCC
11843 builtin and then its argument prototype would still apply. */
11844 #ifdef __cplusplus
11845 extern "C"
11846 #endif
11847 char XShmQueryExtension ();
11849 main ()
11851 return XShmQueryExtension ();
11853 return 0;
11855 _ACEOF
11856 if ac_fn_c_try_link "$LINENO"; then :
11857 ac_cv_lib_Xext_XShmQueryExtension=yes
11858 else
11859 ac_cv_lib_Xext_XShmQueryExtension=no
11861 rm -f core conftest.err conftest.$ac_objext \
11862 conftest$ac_exeext conftest.$ac_ext
11863 LIBS=$ac_check_lib_save_LIBS
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11866 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11867 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11869 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11874 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11875 case "x$with_xshm" in
11876 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11877 xno) ;;
11878 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11879 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11880 esac
11884 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11885 then
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11887 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11888 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11889 $as_echo_n "(cached) " >&6
11890 else
11891 ac_check_lib_save_LIBS=$LIBS
11892 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11894 /* end confdefs.h. */
11896 /* Override any GCC internal prototype to avoid an error.
11897 Use char because int might match the return type of a GCC
11898 builtin and then its argument prototype would still apply. */
11899 #ifdef __cplusplus
11900 extern "C"
11901 #endif
11902 char XShapeQueryExtension ();
11904 main ()
11906 return XShapeQueryExtension ();
11908 return 0;
11910 _ACEOF
11911 if ac_fn_c_try_link "$LINENO"; then :
11912 ac_cv_lib_Xext_XShapeQueryExtension=yes
11913 else
11914 ac_cv_lib_Xext_XShapeQueryExtension=no
11916 rm -f core conftest.err conftest.$ac_objext \
11917 conftest$ac_exeext conftest.$ac_ext
11918 LIBS=$ac_check_lib_save_LIBS
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11921 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11922 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11924 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11929 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11930 case "x$with_xshape" in
11931 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11932 xno) ;;
11933 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11934 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11935 esac
11939 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11940 then
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11942 $as_echo_n "checking for -lXxf86vm... " >&6; }
11943 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11944 $as_echo_n "(cached) " >&6
11945 else
11946 ac_check_soname_save_LIBS=$LIBS
11947 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11949 /* end confdefs.h. */
11951 /* Override any GCC internal prototype to avoid an error.
11952 Use char because int might match the return type of a GCC
11953 builtin and then its argument prototype would still apply. */
11954 #ifdef __cplusplus
11955 extern "C"
11956 #endif
11957 char XF86VidModeQueryExtension ();
11959 main ()
11961 return XF86VidModeQueryExtension ();
11963 return 0;
11965 _ACEOF
11966 if ac_fn_c_try_link "$LINENO"; then :
11967 case "$LIBEXT" in
11968 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11969 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'` ;;
11970 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11971 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11972 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11973 fi ;;
11974 esac
11975 else
11976 ac_cv_lib_soname_Xxf86vm=
11978 rm -f core conftest.err conftest.$ac_objext \
11979 conftest$ac_exeext conftest.$ac_ext
11980 LIBS=$ac_check_soname_save_LIBS
11982 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11984 $as_echo "not found" >&6; }
11986 else
11987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11988 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11990 cat >>confdefs.h <<_ACEOF
11991 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11992 _ACEOF
11997 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11998 case "x$with_xxf86vm" in
11999 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
12000 xno) ;;
12001 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
12002 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
12003 esac
12007 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
12008 then
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
12010 $as_echo_n "checking for -lXrender... " >&6; }
12011 if ${ac_cv_lib_soname_Xrender+:} false; then :
12012 $as_echo_n "(cached) " >&6
12013 else
12014 ac_check_soname_save_LIBS=$LIBS
12015 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12017 /* end confdefs.h. */
12019 /* Override any GCC internal prototype to avoid an error.
12020 Use char because int might match the return type of a GCC
12021 builtin and then its argument prototype would still apply. */
12022 #ifdef __cplusplus
12023 extern "C"
12024 #endif
12025 char XRenderQueryExtension ();
12027 main ()
12029 return XRenderQueryExtension ();
12031 return 0;
12033 _ACEOF
12034 if ac_fn_c_try_link "$LINENO"; then :
12035 case "$LIBEXT" in
12036 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12037 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'` ;;
12038 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12039 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12040 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12041 fi ;;
12042 esac
12043 else
12044 ac_cv_lib_soname_Xrender=
12046 rm -f core conftest.err conftest.$ac_objext \
12047 conftest$ac_exeext conftest.$ac_ext
12048 LIBS=$ac_check_soname_save_LIBS
12050 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12052 $as_echo "not found" >&6; }
12054 else
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12056 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12058 cat >>confdefs.h <<_ACEOF
12059 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12060 _ACEOF
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12063 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12064 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12065 $as_echo_n "(cached) " >&6
12066 else
12067 ac_check_lib_save_LIBS=$LIBS
12068 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12070 /* end confdefs.h. */
12072 /* Override any GCC internal prototype to avoid an error.
12073 Use char because int might match the return type of a GCC
12074 builtin and then its argument prototype would still apply. */
12075 #ifdef __cplusplus
12076 extern "C"
12077 #endif
12078 char XRenderSetPictureTransform ();
12080 main ()
12082 return XRenderSetPictureTransform ();
12084 return 0;
12086 _ACEOF
12087 if ac_fn_c_try_link "$LINENO"; then :
12088 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12089 else
12090 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12092 rm -f core conftest.err conftest.$ac_objext \
12093 conftest$ac_exeext conftest.$ac_ext
12094 LIBS=$ac_check_lib_save_LIBS
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12097 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12098 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12100 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12105 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12106 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12107 $as_echo_n "(cached) " >&6
12108 else
12109 ac_check_lib_save_LIBS=$LIBS
12110 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12112 /* end confdefs.h. */
12114 /* Override any GCC internal prototype to avoid an error.
12115 Use char because int might match the return type of a GCC
12116 builtin and then its argument prototype would still apply. */
12117 #ifdef __cplusplus
12118 extern "C"
12119 #endif
12120 char XRenderCreateLinearGradient ();
12122 main ()
12124 return XRenderCreateLinearGradient ();
12126 return 0;
12128 _ACEOF
12129 if ac_fn_c_try_link "$LINENO"; then :
12130 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12131 else
12132 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12134 rm -f core conftest.err conftest.$ac_objext \
12135 conftest$ac_exeext conftest.$ac_ext
12136 LIBS=$ac_check_lib_save_LIBS
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12139 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12140 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12142 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12149 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12150 case "x$with_xrender" in
12151 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12152 xno) ;;
12153 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12154 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12155 esac
12159 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12160 then
12161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12162 /* end confdefs.h. */
12163 #include <X11/Xlib.h>
12164 #include <X11/extensions/Xrandr.h>
12166 main ()
12168 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12170 return 0;
12172 _ACEOF
12173 if ac_fn_c_try_compile "$LINENO"; then :
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12175 $as_echo_n "checking for -lXrandr... " >&6; }
12176 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12177 $as_echo_n "(cached) " >&6
12178 else
12179 ac_check_soname_save_LIBS=$LIBS
12180 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12182 /* end confdefs.h. */
12184 /* Override any GCC internal prototype to avoid an error.
12185 Use char because int might match the return type of a GCC
12186 builtin and then its argument prototype would still apply. */
12187 #ifdef __cplusplus
12188 extern "C"
12189 #endif
12190 char XRRQueryExtension ();
12192 main ()
12194 return XRRQueryExtension ();
12196 return 0;
12198 _ACEOF
12199 if ac_fn_c_try_link "$LINENO"; then :
12200 case "$LIBEXT" in
12201 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12202 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'` ;;
12203 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12204 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12205 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12206 fi ;;
12207 esac
12208 else
12209 ac_cv_lib_soname_Xrandr=
12211 rm -f core conftest.err conftest.$ac_objext \
12212 conftest$ac_exeext conftest.$ac_ext
12213 LIBS=$ac_check_soname_save_LIBS
12215 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12217 $as_echo "not found" >&6; }
12219 else
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12221 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12223 cat >>confdefs.h <<_ACEOF
12224 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12225 _ACEOF
12227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12228 /* end confdefs.h. */
12229 #include <X11/Xlib.h>
12230 #include <X11/extensions/Xrandr.h>
12232 main ()
12234 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12236 return 0;
12238 _ACEOF
12239 if ac_fn_c_try_compile "$LINENO"; then :
12241 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12243 else
12244 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12251 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12252 case "x$with_xrandr" in
12253 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12254 xno) ;;
12255 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12256 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12257 esac
12261 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12262 then
12263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12264 /* end confdefs.h. */
12265 #include <X11/Xlib.h>
12266 #include <X11/extensions/Xfixes.h>
12268 main ()
12270 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12272 return 0;
12274 _ACEOF
12275 if ac_fn_c_try_compile "$LINENO"; then :
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12277 $as_echo_n "checking for -lXfixes... " >&6; }
12278 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12279 $as_echo_n "(cached) " >&6
12280 else
12281 ac_check_soname_save_LIBS=$LIBS
12282 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12284 /* end confdefs.h. */
12286 /* Override any GCC internal prototype to avoid an error.
12287 Use char because int might match the return type of a GCC
12288 builtin and then its argument prototype would still apply. */
12289 #ifdef __cplusplus
12290 extern "C"
12291 #endif
12292 char XFixesQueryVersion ();
12294 main ()
12296 return XFixesQueryVersion ();
12298 return 0;
12300 _ACEOF
12301 if ac_fn_c_try_link "$LINENO"; then :
12302 case "$LIBEXT" in
12303 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12304 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'` ;;
12305 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12306 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12307 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12308 fi ;;
12309 esac
12310 else
12311 ac_cv_lib_soname_Xfixes=
12313 rm -f core conftest.err conftest.$ac_objext \
12314 conftest$ac_exeext conftest.$ac_ext
12315 LIBS=$ac_check_soname_save_LIBS
12317 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12319 $as_echo "not found" >&6; }
12321 else
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12323 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12325 cat >>confdefs.h <<_ACEOF
12326 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12327 _ACEOF
12332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12334 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12335 case "x$with_xfixes" in
12336 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12337 xno) ;;
12338 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12339 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12340 esac
12344 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12345 then
12346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12347 /* end confdefs.h. */
12348 #include <X11/Xlib.h>
12349 #include <X11/extensions/Xinerama.h>
12351 main ()
12353 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12355 return 0;
12357 _ACEOF
12358 if ac_fn_c_try_compile "$LINENO"; then :
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12360 $as_echo_n "checking for -lXinerama... " >&6; }
12361 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12362 $as_echo_n "(cached) " >&6
12363 else
12364 ac_check_soname_save_LIBS=$LIBS
12365 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12367 /* end confdefs.h. */
12369 /* Override any GCC internal prototype to avoid an error.
12370 Use char because int might match the return type of a GCC
12371 builtin and then its argument prototype would still apply. */
12372 #ifdef __cplusplus
12373 extern "C"
12374 #endif
12375 char XineramaQueryScreens ();
12377 main ()
12379 return XineramaQueryScreens ();
12381 return 0;
12383 _ACEOF
12384 if ac_fn_c_try_link "$LINENO"; then :
12385 case "$LIBEXT" in
12386 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12387 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'` ;;
12388 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12389 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12390 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12391 fi ;;
12392 esac
12393 else
12394 ac_cv_lib_soname_Xinerama=
12396 rm -f core conftest.err conftest.$ac_objext \
12397 conftest$ac_exeext conftest.$ac_ext
12398 LIBS=$ac_check_soname_save_LIBS
12400 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12402 $as_echo "not found" >&6; }
12404 else
12405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12406 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12408 cat >>confdefs.h <<_ACEOF
12409 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12410 _ACEOF
12415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12417 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12418 case "x$with_xinerama" in
12419 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12420 xno) ;;
12421 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12422 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12423 esac
12427 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12428 then
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12430 $as_echo_n "checking for -lXcomposite... " >&6; }
12431 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12432 $as_echo_n "(cached) " >&6
12433 else
12434 ac_check_soname_save_LIBS=$LIBS
12435 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12437 /* end confdefs.h. */
12439 /* Override any GCC internal prototype to avoid an error.
12440 Use char because int might match the return type of a GCC
12441 builtin and then its argument prototype would still apply. */
12442 #ifdef __cplusplus
12443 extern "C"
12444 #endif
12445 char XCompositeRedirectWindow ();
12447 main ()
12449 return XCompositeRedirectWindow ();
12451 return 0;
12453 _ACEOF
12454 if ac_fn_c_try_link "$LINENO"; then :
12455 case "$LIBEXT" in
12456 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12457 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'` ;;
12458 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12459 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12460 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12461 fi ;;
12462 esac
12463 else
12464 ac_cv_lib_soname_Xcomposite=
12466 rm -f core conftest.err conftest.$ac_objext \
12467 conftest$ac_exeext conftest.$ac_ext
12468 LIBS=$ac_check_soname_save_LIBS
12470 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12472 $as_echo "not found" >&6; }
12474 else
12475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12476 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12478 cat >>confdefs.h <<_ACEOF
12479 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12480 _ACEOF
12485 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12486 case "x$with_xcomposite" in
12487 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12488 xno) ;;
12489 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12490 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12491 esac
12495 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12496 #include <X11/Xlib.h>
12497 #endif
12499 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12501 cat >>confdefs.h <<_ACEOF
12502 #define HAVE_XICCALLBACK_CALLBACK 1
12503 _ACEOF
12507 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12508 #include <X11/Xlib.h>
12509 #endif
12511 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12513 cat >>confdefs.h <<_ACEOF
12514 #define HAVE_XEVENT_XCOOKIE 1
12515 _ACEOF
12522 opengl_msg=""
12523 if test "x$with_opengl" != "xno"
12524 then
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12526 $as_echo_n "checking for -lGL... " >&6; }
12527 if ${ac_cv_lib_soname_GL+:} false; then :
12528 $as_echo_n "(cached) " >&6
12529 else
12530 ac_check_soname_save_LIBS=$LIBS
12531 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12533 /* end confdefs.h. */
12535 /* Override any GCC internal prototype to avoid an error.
12536 Use char because int might match the return type of a GCC
12537 builtin and then its argument prototype would still apply. */
12538 #ifdef __cplusplus
12539 extern "C"
12540 #endif
12541 char glXCreateContext ();
12543 main ()
12545 return glXCreateContext ();
12547 return 0;
12549 _ACEOF
12550 if ac_fn_c_try_link "$LINENO"; then :
12551 case "$LIBEXT" in
12552 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12553 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'` ;;
12554 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12555 if ${ac_cv_lib_soname_GL:+false} :; then :
12556 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12557 fi ;;
12558 esac
12559 else
12560 ac_cv_lib_soname_GL=
12562 rm -f core conftest.err conftest.$ac_objext \
12563 conftest$ac_exeext conftest.$ac_ext
12564 LIBS=$ac_check_soname_save_LIBS
12566 if ${ac_cv_lib_soname_GL:+false} :; then :
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12568 $as_echo "not found" >&6; }
12569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12570 $as_echo_n "checking for -lGL... " >&6; }
12571 if ${ac_cv_lib_soname_GL+:} false; then :
12572 $as_echo_n "(cached) " >&6
12573 else
12574 ac_check_soname_save_LIBS=$LIBS
12575 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"
12576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12577 /* end confdefs.h. */
12579 /* Override any GCC internal prototype to avoid an error.
12580 Use char because int might match the return type of a GCC
12581 builtin and then its argument prototype would still apply. */
12582 #ifdef __cplusplus
12583 extern "C"
12584 #endif
12585 char glXCreateContext ();
12587 main ()
12589 return glXCreateContext ();
12591 return 0;
12593 _ACEOF
12594 if ac_fn_c_try_link "$LINENO"; then :
12595 case "$LIBEXT" in
12596 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12597 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'` ;;
12598 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12599 if ${ac_cv_lib_soname_GL:+false} :; then :
12600 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12601 fi ;;
12602 esac
12603 else
12604 ac_cv_lib_soname_GL=
12606 rm -f core conftest.err conftest.$ac_objext \
12607 conftest$ac_exeext conftest.$ac_ext
12608 LIBS=$ac_check_soname_save_LIBS
12610 if ${ac_cv_lib_soname_GL:+false} :; then :
12611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12612 $as_echo "not found" >&6; }
12613 if test -f /usr/X11R6/lib/libGL.a
12614 then
12615 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12616 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12617 else
12618 opengl_msg="No OpenGL library found on this system."
12620 else
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12622 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12624 cat >>confdefs.h <<_ACEOF
12625 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12626 _ACEOF
12628 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"
12630 else
12631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12632 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12634 cat >>confdefs.h <<_ACEOF
12635 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12636 _ACEOF
12638 OPENGL_LIBS="-lGL"
12640 if test "x$with_osmesa" != "xno"
12641 then
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12643 $as_echo_n "checking for -lOSMesa... " >&6; }
12644 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12645 $as_echo_n "(cached) " >&6
12646 else
12647 ac_check_soname_save_LIBS=$LIBS
12648 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12650 /* end confdefs.h. */
12652 /* Override any GCC internal prototype to avoid an error.
12653 Use char because int might match the return type of a GCC
12654 builtin and then its argument prototype would still apply. */
12655 #ifdef __cplusplus
12656 extern "C"
12657 #endif
12658 char OSMesaGetProcAddress ();
12660 main ()
12662 return OSMesaGetProcAddress ();
12664 return 0;
12666 _ACEOF
12667 if ac_fn_c_try_link "$LINENO"; then :
12668 case "$LIBEXT" in
12669 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12670 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'` ;;
12671 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12672 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12673 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12674 fi ;;
12675 esac
12676 else
12677 ac_cv_lib_soname_OSMesa=
12679 rm -f core conftest.err conftest.$ac_objext \
12680 conftest$ac_exeext conftest.$ac_ext
12681 LIBS=$ac_check_soname_save_LIBS
12683 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12685 $as_echo "not found" >&6; }
12687 else
12688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12689 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12691 cat >>confdefs.h <<_ACEOF
12692 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12693 _ACEOF
12697 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12698 case "x$with_osmesa" in
12699 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12700 xno) ;;
12701 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12702 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12703 esac
12708 if test -n "$opengl_msg"; then :
12709 case "x$with_opengl" in
12710 x) as_fn_append wine_warnings "|$opengl_msg
12711 OpenGL and Direct3D won't be supported." ;;
12712 xno) ;;
12713 *) as_fn_error $? "$opengl_msg
12714 OpenGL and Direct3D won't be supported.
12715 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12716 esac
12720 CPPFLAGS="$ac_save_CPPFLAGS"
12721 else
12722 X_CFLAGS=""
12723 X_LIBS=""
12726 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12727 then
12728 if test "x$X_LIBS" = "x"; then :
12729 case "x$with_x" in
12730 xno) ;;
12731 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12732 without X support, which probably isn't what you want. You will need
12733 to install ${notice_platform}development packages of Xlib at the very least.
12734 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12735 esac
12736 enable_winex11_drv=${enable_winex11_drv:-no}
12738 else
12739 if test "x$X_LIBS" = "x"; then :
12740 case "x$with_x" in
12741 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12742 xno) ;;
12743 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12744 This is an error since --with-x was requested." "$LINENO" 5 ;;
12745 esac
12746 enable_winex11_drv=${enable_winex11_drv:-no}
12750 if test "$ac_cv_header_CL_cl_h" = "yes"
12751 then
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12753 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12754 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12755 $as_echo_n "(cached) " >&6
12756 else
12757 ac_check_lib_save_LIBS=$LIBS
12758 LIBS="-lOpenCL $LIBS"
12759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12760 /* end confdefs.h. */
12762 /* Override any GCC internal prototype to avoid an error.
12763 Use char because int might match the return type of a GCC
12764 builtin and then its argument prototype would still apply. */
12765 #ifdef __cplusplus
12766 extern "C"
12767 #endif
12768 char clGetPlatformInfo ();
12770 main ()
12772 return clGetPlatformInfo ();
12774 return 0;
12776 _ACEOF
12777 if ac_fn_c_try_link "$LINENO"; then :
12778 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12779 else
12780 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12782 rm -f core conftest.err conftest.$ac_objext \
12783 conftest$ac_exeext conftest.$ac_ext
12784 LIBS=$ac_check_lib_save_LIBS
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12787 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12788 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12789 OPENCL_LIBS="-lOpenCL"
12794 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12795 case "x$with_opencl" in
12796 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12797 xno) ;;
12798 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12799 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12800 esac
12801 enable_opencl=${enable_opencl:-no}
12804 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12805 then
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12807 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12808 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12809 $as_echo_n "(cached) " >&6
12810 else
12811 ac_check_lib_save_LIBS=$LIBS
12812 LIBS="-lpcap $LIBS"
12813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12814 /* end confdefs.h. */
12816 /* Override any GCC internal prototype to avoid an error.
12817 Use char because int might match the return type of a GCC
12818 builtin and then its argument prototype would still apply. */
12819 #ifdef __cplusplus
12820 extern "C"
12821 #endif
12822 char pcap_create ();
12824 main ()
12826 return pcap_create ();
12828 return 0;
12830 _ACEOF
12831 if ac_fn_c_try_link "$LINENO"; then :
12832 ac_cv_lib_pcap_pcap_create=yes
12833 else
12834 ac_cv_lib_pcap_pcap_create=no
12836 rm -f core conftest.err conftest.$ac_objext \
12837 conftest$ac_exeext conftest.$ac_ext
12838 LIBS=$ac_check_lib_save_LIBS
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12841 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12842 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12843 PCAP_LIBS="-lpcap"
12848 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12849 case "x$with_pcap" in
12850 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12851 xno) ;;
12852 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12853 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12854 esac
12855 enable_wpcap=${enable_wpcap:-no}
12859 if test "x$with_xml" != "xno"
12860 then
12861 if ${XML2_CFLAGS:+false} :; then :
12862 if ${PKG_CONFIG+:} false; then :
12863 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12866 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12867 if ${XML2_LIBS:+false} :; then :
12868 if ${PKG_CONFIG+:} false; then :
12869 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12872 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12873 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12874 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12875 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12876 ac_save_CPPFLAGS=$CPPFLAGS
12877 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12878 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12879 do :
12880 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12881 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12882 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12883 cat >>confdefs.h <<_ACEOF
12884 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12885 _ACEOF
12889 done
12891 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"
12892 then
12893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12894 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12895 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12896 $as_echo_n "(cached) " >&6
12897 else
12898 ac_check_lib_save_LIBS=$LIBS
12899 LIBS="-lxml2 $XML2_LIBS $LIBS"
12900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12901 /* end confdefs.h. */
12903 /* Override any GCC internal prototype to avoid an error.
12904 Use char because int might match the return type of a GCC
12905 builtin and then its argument prototype would still apply. */
12906 #ifdef __cplusplus
12907 extern "C"
12908 #endif
12909 char xmlParseMemory ();
12911 main ()
12913 return xmlParseMemory ();
12915 return 0;
12917 _ACEOF
12918 if ac_fn_c_try_link "$LINENO"; then :
12919 ac_cv_lib_xml2_xmlParseMemory=yes
12920 else
12921 ac_cv_lib_xml2_xmlParseMemory=no
12923 rm -f core conftest.err conftest.$ac_objext \
12924 conftest$ac_exeext conftest.$ac_ext
12925 LIBS=$ac_check_lib_save_LIBS
12927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12928 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12929 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12931 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12933 else
12934 XML2_LIBS=""
12937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12938 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12939 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12940 $as_echo_n "(cached) " >&6
12941 else
12942 ac_check_lib_save_LIBS=$LIBS
12943 LIBS="-lxml2 $XML2_LIBS $LIBS"
12944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12945 /* end confdefs.h. */
12947 /* Override any GCC internal prototype to avoid an error.
12948 Use char because int might match the return type of a GCC
12949 builtin and then its argument prototype would still apply. */
12950 #ifdef __cplusplus
12951 extern "C"
12952 #endif
12953 char xmlReadMemory ();
12955 main ()
12957 return xmlReadMemory ();
12959 return 0;
12961 _ACEOF
12962 if ac_fn_c_try_link "$LINENO"; then :
12963 ac_cv_lib_xml2_xmlReadMemory=yes
12964 else
12965 ac_cv_lib_xml2_xmlReadMemory=no
12967 rm -f core conftest.err conftest.$ac_objext \
12968 conftest$ac_exeext conftest.$ac_ext
12969 LIBS=$ac_check_lib_save_LIBS
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12972 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12973 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12975 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12980 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12981 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12982 $as_echo_n "(cached) " >&6
12983 else
12984 ac_check_lib_save_LIBS=$LIBS
12985 LIBS="-lxml2 $XML2_LIBS $LIBS"
12986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12987 /* end confdefs.h. */
12989 /* Override any GCC internal prototype to avoid an error.
12990 Use char because int might match the return type of a GCC
12991 builtin and then its argument prototype would still apply. */
12992 #ifdef __cplusplus
12993 extern "C"
12994 #endif
12995 char xmlNewDocPI ();
12997 main ()
12999 return xmlNewDocPI ();
13001 return 0;
13003 _ACEOF
13004 if ac_fn_c_try_link "$LINENO"; then :
13005 ac_cv_lib_xml2_xmlNewDocPI=yes
13006 else
13007 ac_cv_lib_xml2_xmlNewDocPI=no
13009 rm -f core conftest.err conftest.$ac_objext \
13010 conftest$ac_exeext conftest.$ac_ext
13011 LIBS=$ac_check_lib_save_LIBS
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13014 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13015 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13017 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13022 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13023 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13024 $as_echo_n "(cached) " >&6
13025 else
13026 ac_check_lib_save_LIBS=$LIBS
13027 LIBS="-lxml2 $XML2_LIBS $LIBS"
13028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13029 /* end confdefs.h. */
13031 /* Override any GCC internal prototype to avoid an error.
13032 Use char because int might match the return type of a GCC
13033 builtin and then its argument prototype would still apply. */
13034 #ifdef __cplusplus
13035 extern "C"
13036 #endif
13037 char xmlSchemaSetParserStructuredErrors ();
13039 main ()
13041 return xmlSchemaSetParserStructuredErrors ();
13043 return 0;
13045 _ACEOF
13046 if ac_fn_c_try_link "$LINENO"; then :
13047 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13048 else
13049 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13051 rm -f core conftest.err conftest.$ac_objext \
13052 conftest$ac_exeext conftest.$ac_ext
13053 LIBS=$ac_check_lib_save_LIBS
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13056 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13057 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13059 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13064 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13065 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13066 $as_echo_n "(cached) " >&6
13067 else
13068 ac_check_lib_save_LIBS=$LIBS
13069 LIBS="-lxml2 $XML2_LIBS $LIBS"
13070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13071 /* end confdefs.h. */
13073 /* Override any GCC internal prototype to avoid an error.
13074 Use char because int might match the return type of a GCC
13075 builtin and then its argument prototype would still apply. */
13076 #ifdef __cplusplus
13077 extern "C"
13078 #endif
13079 char xmlSchemaSetValidStructuredErrors ();
13081 main ()
13083 return xmlSchemaSetValidStructuredErrors ();
13085 return 0;
13087 _ACEOF
13088 if ac_fn_c_try_link "$LINENO"; then :
13089 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13090 else
13091 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13093 rm -f core conftest.err conftest.$ac_objext \
13094 conftest$ac_exeext conftest.$ac_ext
13095 LIBS=$ac_check_lib_save_LIBS
13097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13098 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13099 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13101 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13106 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13107 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13108 $as_echo_n "(cached) " >&6
13109 else
13110 ac_check_lib_save_LIBS=$LIBS
13111 LIBS="-lxml2 $XML2_LIBS $LIBS"
13112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13113 /* end confdefs.h. */
13115 /* Override any GCC internal prototype to avoid an error.
13116 Use char because int might match the return type of a GCC
13117 builtin and then its argument prototype would still apply. */
13118 #ifdef __cplusplus
13119 extern "C"
13120 #endif
13121 char xmlFirstElementChild ();
13123 main ()
13125 return xmlFirstElementChild ();
13127 return 0;
13129 _ACEOF
13130 if ac_fn_c_try_link "$LINENO"; then :
13131 ac_cv_lib_xml2_xmlFirstElementChild=yes
13132 else
13133 ac_cv_lib_xml2_xmlFirstElementChild=no
13135 rm -f core conftest.err conftest.$ac_objext \
13136 conftest$ac_exeext conftest.$ac_ext
13137 LIBS=$ac_check_lib_save_LIBS
13139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13140 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13141 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13143 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13147 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13149 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13151 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13155 else
13156 XML2_CFLAGS=""
13157 XML2_LIBS=""
13159 CPPFLAGS=$ac_save_CPPFLAGS
13162 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13163 case "x$with_xml" in
13164 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13165 xno) ;;
13166 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13167 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13168 esac
13172 if test "x$with_xslt" != "xno"
13173 then
13174 if ${XSLT_CFLAGS:+false} :; then :
13175 if ${PKG_CONFIG+:} false; then :
13176 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13179 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13180 if ${XSLT_LIBS:+false} :; then :
13181 if ${PKG_CONFIG+:} false; then :
13182 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13185 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13186 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13187 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13188 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13189 ac_save_CPPFLAGS=$CPPFLAGS
13190 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13191 for ac_header in libxslt/pattern.h libxslt/transform.h
13192 do :
13193 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13194 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13195 # include <libxslt/pattern.h>
13196 #endif
13198 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13199 cat >>confdefs.h <<_ACEOF
13200 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13201 _ACEOF
13205 done
13207 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13208 then
13209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13210 $as_echo_n "checking for -lxslt... " >&6; }
13211 if ${ac_cv_lib_soname_xslt+:} false; then :
13212 $as_echo_n "(cached) " >&6
13213 else
13214 ac_check_soname_save_LIBS=$LIBS
13215 LIBS="-lxslt $XSLT_LIBS $LIBS"
13216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13217 /* end confdefs.h. */
13219 /* Override any GCC internal prototype to avoid an error.
13220 Use char because int might match the return type of a GCC
13221 builtin and then its argument prototype would still apply. */
13222 #ifdef __cplusplus
13223 extern "C"
13224 #endif
13225 char xsltCompilePattern ();
13227 main ()
13229 return xsltCompilePattern ();
13231 return 0;
13233 _ACEOF
13234 if ac_fn_c_try_link "$LINENO"; then :
13235 case "$LIBEXT" in
13236 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13237 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'` ;;
13238 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13239 if ${ac_cv_lib_soname_xslt:+false} :; then :
13240 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13241 fi ;;
13242 esac
13243 else
13244 ac_cv_lib_soname_xslt=
13246 rm -f core conftest.err conftest.$ac_objext \
13247 conftest$ac_exeext conftest.$ac_ext
13248 LIBS=$ac_check_soname_save_LIBS
13250 if ${ac_cv_lib_soname_xslt:+false} :; then :
13251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13252 $as_echo "not found" >&6; }
13254 else
13255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13256 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13258 cat >>confdefs.h <<_ACEOF
13259 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13260 _ACEOF
13264 else
13265 XSLT_CFLAGS=""
13267 CPPFLAGS=$ac_save_CPPFLAGS
13270 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13271 case "x$with_xslt" in
13272 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13273 xno) ;;
13274 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13275 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13276 esac
13280 if test "x$with_inotify" != "xno"
13281 then
13282 if ${INOTIFY_CFLAGS:+false} :; then :
13283 if ${PKG_CONFIG+:} false; then :
13284 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13288 if ${INOTIFY_LIBS:+false} :; then :
13289 if ${PKG_CONFIG+:} false; then :
13290 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13295 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13296 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13297 ac_save_CPPFLAGS=$CPPFLAGS
13298 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13299 for ac_header in sys/inotify.h
13300 do :
13301 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13302 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13303 cat >>confdefs.h <<_ACEOF
13304 #define HAVE_SYS_INOTIFY_H 1
13305 _ACEOF
13309 done
13311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13312 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13313 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13314 $as_echo_n "(cached) " >&6
13315 else
13316 ac_check_lib_save_LIBS=$LIBS
13317 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13319 /* end confdefs.h. */
13321 /* Override any GCC internal prototype to avoid an error.
13322 Use char because int might match the return type of a GCC
13323 builtin and then its argument prototype would still apply. */
13324 #ifdef __cplusplus
13325 extern "C"
13326 #endif
13327 char inotify_add_watch ();
13329 main ()
13331 return inotify_add_watch ();
13333 return 0;
13335 _ACEOF
13336 if ac_fn_c_try_link "$LINENO"; then :
13337 ac_cv_lib_inotify_inotify_add_watch=yes
13338 else
13339 ac_cv_lib_inotify_inotify_add_watch=no
13341 rm -f core conftest.err conftest.$ac_objext \
13342 conftest$ac_exeext conftest.$ac_ext
13343 LIBS=$ac_check_lib_save_LIBS
13345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13346 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13347 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13349 else
13350 INOTIFY_LIBS=""
13353 CPPFLAGS=$ac_save_CPPFLAGS
13356 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13357 case "x$with_inotify" in
13358 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13359 xno) ;;
13360 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13361 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13362 esac
13366 if test "x$with_dbus" != "xno"
13367 then
13368 if ${DBUS_CFLAGS:+false} :; then :
13369 if ${PKG_CONFIG+:} false; then :
13370 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13374 if ${DBUS_LIBS:+false} :; then :
13375 if ${PKG_CONFIG+:} false; then :
13376 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13381 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13382 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13383 ac_save_CPPFLAGS=$CPPFLAGS
13384 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13385 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13386 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13388 $as_echo_n "checking for -ldbus-1... " >&6; }
13389 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13390 $as_echo_n "(cached) " >&6
13391 else
13392 ac_check_soname_save_LIBS=$LIBS
13393 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13395 /* end confdefs.h. */
13397 /* Override any GCC internal prototype to avoid an error.
13398 Use char because int might match the return type of a GCC
13399 builtin and then its argument prototype would still apply. */
13400 #ifdef __cplusplus
13401 extern "C"
13402 #endif
13403 char dbus_connection_close ();
13405 main ()
13407 return dbus_connection_close ();
13409 return 0;
13411 _ACEOF
13412 if ac_fn_c_try_link "$LINENO"; then :
13413 case "$LIBEXT" in
13414 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13415 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'` ;;
13416 *) 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'`
13417 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13418 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13419 fi ;;
13420 esac
13421 else
13422 ac_cv_lib_soname_dbus_1=
13424 rm -f core conftest.err conftest.$ac_objext \
13425 conftest$ac_exeext conftest.$ac_ext
13426 LIBS=$ac_check_soname_save_LIBS
13428 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13430 $as_echo "not found" >&6; }
13431 DBUS_CFLAGS=""
13432 else
13433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13434 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13436 cat >>confdefs.h <<_ACEOF
13437 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13438 _ACEOF
13442 else
13443 DBUS_CFLAGS=""
13447 CPPFLAGS=$ac_save_CPPFLAGS
13450 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13451 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13452 case "x$with_dbus" in
13453 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13454 xno) ;;
13455 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13456 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13457 esac
13461 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13462 then
13463 if ${HAL_CFLAGS:+false} :; then :
13464 if ${PKG_CONFIG+:} false; then :
13465 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13469 if ${HAL_LIBS:+false} :; then :
13470 if ${PKG_CONFIG+:} false; then :
13471 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13475 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13476 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13477 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13478 ac_save_CPPFLAGS=$CPPFLAGS
13479 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13480 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13481 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13483 $as_echo_n "checking for -lhal... " >&6; }
13484 if ${ac_cv_lib_soname_hal+:} false; then :
13485 $as_echo_n "(cached) " >&6
13486 else
13487 ac_check_soname_save_LIBS=$LIBS
13488 LIBS="-lhal $HAL_LIBS $LIBS"
13489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13490 /* end confdefs.h. */
13492 /* Override any GCC internal prototype to avoid an error.
13493 Use char because int might match the return type of a GCC
13494 builtin and then its argument prototype would still apply. */
13495 #ifdef __cplusplus
13496 extern "C"
13497 #endif
13498 char libhal_ctx_new ();
13500 main ()
13502 return libhal_ctx_new ();
13504 return 0;
13506 _ACEOF
13507 if ac_fn_c_try_link "$LINENO"; then :
13508 case "$LIBEXT" in
13509 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13510 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'` ;;
13511 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13512 if ${ac_cv_lib_soname_hal:+false} :; then :
13513 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13514 fi ;;
13515 esac
13516 else
13517 ac_cv_lib_soname_hal=
13519 rm -f core conftest.err conftest.$ac_objext \
13520 conftest$ac_exeext conftest.$ac_ext
13521 LIBS=$ac_check_soname_save_LIBS
13523 if ${ac_cv_lib_soname_hal:+false} :; then :
13524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13525 $as_echo "not found" >&6; }
13526 HAL_CFLAGS=""
13527 else
13528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13529 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13531 cat >>confdefs.h <<_ACEOF
13532 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13533 _ACEOF
13537 else
13538 HAL_CFLAGS=""
13542 CPPFLAGS=$ac_save_CPPFLAGS
13544 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13545 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13546 case "x$with_hal" in
13547 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13548 xno) ;;
13549 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13550 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13551 esac
13556 if test "x$with_gnutls" != "xno"
13557 then
13558 if ${GNUTLS_CFLAGS:+false} :; then :
13559 if ${PKG_CONFIG+:} false; then :
13560 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13564 if ${GNUTLS_LIBS:+false} :; then :
13565 if ${PKG_CONFIG+:} false; then :
13566 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13570 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13571 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13572 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13573 ac_save_CPPFLAGS=$CPPFLAGS
13574 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13575 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13576 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13578 /* end confdefs.h. */
13579 #include <gnutls/gnutls.h>
13580 #include <gnutls/crypto.h>
13582 main ()
13584 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13586 return 0;
13588 _ACEOF
13589 if ac_fn_c_try_compile "$LINENO"; then :
13590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13591 $as_echo_n "checking for -lgnutls... " >&6; }
13592 if ${ac_cv_lib_soname_gnutls+:} false; then :
13593 $as_echo_n "(cached) " >&6
13594 else
13595 ac_check_soname_save_LIBS=$LIBS
13596 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13598 /* end confdefs.h. */
13600 /* Override any GCC internal prototype to avoid an error.
13601 Use char because int might match the return type of a GCC
13602 builtin and then its argument prototype would still apply. */
13603 #ifdef __cplusplus
13604 extern "C"
13605 #endif
13606 char gnutls_global_init ();
13608 main ()
13610 return gnutls_global_init ();
13612 return 0;
13614 _ACEOF
13615 if ac_fn_c_try_link "$LINENO"; then :
13616 case "$LIBEXT" in
13617 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13618 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'` ;;
13619 *) 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'`
13620 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13621 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'`
13622 fi ;;
13623 esac
13624 else
13625 ac_cv_lib_soname_gnutls=
13627 rm -f core conftest.err conftest.$ac_objext \
13628 conftest$ac_exeext conftest.$ac_ext
13629 LIBS=$ac_check_soname_save_LIBS
13631 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13633 $as_echo "not found" >&6; }
13634 GNUTLS_CFLAGS=""
13635 else
13636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13637 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13639 cat >>confdefs.h <<_ACEOF
13640 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13641 _ACEOF
13645 ac_wine_check_funcs_save_LIBS="$LIBS"
13646 LIBS="$LIBS $GNUTLS_LIBS"
13647 for ac_func in gnutls_cipher_init
13648 do :
13649 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13650 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13651 cat >>confdefs.h <<_ACEOF
13652 #define HAVE_GNUTLS_CIPHER_INIT 1
13653 _ACEOF
13655 else
13656 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13658 done
13660 LIBS="$ac_wine_check_funcs_save_LIBS"
13662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13663 else
13664 GNUTLS_CFLAGS=""
13668 CPPFLAGS=$ac_save_CPPFLAGS
13671 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13672 case "x$with_gnutls" in
13673 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13674 xno) ;;
13675 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13676 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13677 esac
13681 if test "x$with_sane" != "xno"
13682 then
13683 if ${SANE_CFLAGS:+false} :; then :
13684 if ${PKG_CONFIG+:} false; then :
13685 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13688 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13689 if ${SANE_LIBS:+false} :; then :
13690 if ${PKG_CONFIG+:} false; then :
13691 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13694 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13696 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13697 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13698 ac_save_CPPFLAGS=$CPPFLAGS
13699 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13700 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13701 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13703 $as_echo_n "checking for -lsane... " >&6; }
13704 if ${ac_cv_lib_soname_sane+:} false; then :
13705 $as_echo_n "(cached) " >&6
13706 else
13707 ac_check_soname_save_LIBS=$LIBS
13708 LIBS="-lsane $SANE_LIBS $LIBS"
13709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13710 /* end confdefs.h. */
13712 /* Override any GCC internal prototype to avoid an error.
13713 Use char because int might match the return type of a GCC
13714 builtin and then its argument prototype would still apply. */
13715 #ifdef __cplusplus
13716 extern "C"
13717 #endif
13718 char sane_init ();
13720 main ()
13722 return sane_init ();
13724 return 0;
13726 _ACEOF
13727 if ac_fn_c_try_link "$LINENO"; then :
13728 case "$LIBEXT" in
13729 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13730 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'` ;;
13731 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13732 if ${ac_cv_lib_soname_sane:+false} :; then :
13733 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13734 fi ;;
13735 esac
13736 else
13737 ac_cv_lib_soname_sane=
13739 rm -f core conftest.err conftest.$ac_objext \
13740 conftest$ac_exeext conftest.$ac_ext
13741 LIBS=$ac_check_soname_save_LIBS
13743 if ${ac_cv_lib_soname_sane:+false} :; then :
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13745 $as_echo "not found" >&6; }
13746 SANE_CFLAGS=""
13747 else
13748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13749 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13751 cat >>confdefs.h <<_ACEOF
13752 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13753 _ACEOF
13757 else
13758 SANE_CFLAGS=""
13762 CPPFLAGS=$ac_save_CPPFLAGS
13765 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13766 case "x$with_sane" in
13767 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13768 xno) ;;
13769 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13770 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13771 esac
13775 if test "x$with_usb" != "xno"
13776 then
13777 if ${USB_CFLAGS:+false} :; then :
13778 if ${PKG_CONFIG+:} false; then :
13779 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13783 if ${USB_LIBS:+false} :; then :
13784 if ${PKG_CONFIG+:} false; then :
13785 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13789 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13790 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13791 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13792 ac_save_CPPFLAGS=$CPPFLAGS
13793 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13794 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13795 if test "x$ac_cv_header_libusb_h" = xyes; then :
13796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13797 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13798 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13799 $as_echo_n "(cached) " >&6
13800 else
13801 ac_check_lib_save_LIBS=$LIBS
13802 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13804 /* end confdefs.h. */
13806 /* Override any GCC internal prototype to avoid an error.
13807 Use char because int might match the return type of a GCC
13808 builtin and then its argument prototype would still apply. */
13809 #ifdef __cplusplus
13810 extern "C"
13811 #endif
13812 char libusb_interrupt_event_handler ();
13814 main ()
13816 return libusb_interrupt_event_handler ();
13818 return 0;
13820 _ACEOF
13821 if ac_fn_c_try_link "$LINENO"; then :
13822 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13823 else
13824 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13826 rm -f core conftest.err conftest.$ac_objext \
13827 conftest$ac_exeext conftest.$ac_ext
13828 LIBS=$ac_check_lib_save_LIBS
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13831 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13832 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13834 else
13835 USB_LIBS=""
13838 else
13839 USB_LIBS=""
13843 CPPFLAGS=$ac_save_CPPFLAGS
13846 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13847 case "x$with_usb" in
13848 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13849 xno) ;;
13850 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13851 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13852 esac
13853 enable_wineusb_sys=${enable_wineusb_sys:-no}
13856 if test "x$with_v4l2" != "xno"
13857 then
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13859 $as_echo_n "checking for -lv4l2... " >&6; }
13860 if ${ac_cv_lib_soname_v4l2+:} false; then :
13861 $as_echo_n "(cached) " >&6
13862 else
13863 ac_check_soname_save_LIBS=$LIBS
13864 LIBS="-lv4l2 $LIBS"
13865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13866 /* end confdefs.h. */
13868 /* Override any GCC internal prototype to avoid an error.
13869 Use char because int might match the return type of a GCC
13870 builtin and then its argument prototype would still apply. */
13871 #ifdef __cplusplus
13872 extern "C"
13873 #endif
13874 char v4l2_open ();
13876 main ()
13878 return v4l2_open ();
13880 return 0;
13882 _ACEOF
13883 if ac_fn_c_try_link "$LINENO"; then :
13884 case "$LIBEXT" in
13885 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13886 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'` ;;
13887 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13888 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13889 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13890 fi ;;
13891 esac
13892 else
13893 ac_cv_lib_soname_v4l2=
13895 rm -f core conftest.err conftest.$ac_objext \
13896 conftest$ac_exeext conftest.$ac_ext
13897 LIBS=$ac_check_soname_save_LIBS
13899 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13901 $as_echo "not found" >&6; }
13903 else
13904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13905 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13907 cat >>confdefs.h <<_ACEOF
13908 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13909 _ACEOF
13914 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13915 case "x$with_v4l2" in
13916 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13917 xno) ;;
13918 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13919 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13920 esac
13924 if test "x$with_gphoto" != "xno"
13925 then
13926 if ${GPHOTO2_CFLAGS:+false} :; then :
13927 if ${PKG_CONFIG+:} false; then :
13928 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13931 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13932 if ${GPHOTO2_LIBS:+false} :; then :
13933 if ${PKG_CONFIG+:} false; then :
13934 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13937 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13938 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13939 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13940 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13941 ac_save_CPPFLAGS=$CPPFLAGS
13942 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13943 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13944 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13946 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13947 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13948 $as_echo_n "(cached) " >&6
13949 else
13950 ac_check_lib_save_LIBS=$LIBS
13951 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13953 /* end confdefs.h. */
13955 /* Override any GCC internal prototype to avoid an error.
13956 Use char because int might match the return type of a GCC
13957 builtin and then its argument prototype would still apply. */
13958 #ifdef __cplusplus
13959 extern "C"
13960 #endif
13961 char gp_camera_new ();
13963 main ()
13965 return gp_camera_new ();
13967 return 0;
13969 _ACEOF
13970 if ac_fn_c_try_link "$LINENO"; then :
13971 ac_cv_lib_gphoto2_gp_camera_new=yes
13972 else
13973 ac_cv_lib_gphoto2_gp_camera_new=no
13975 rm -f core conftest.err conftest.$ac_objext \
13976 conftest$ac_exeext conftest.$ac_ext
13977 LIBS=$ac_check_lib_save_LIBS
13979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13980 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13981 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13983 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13985 else
13986 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13989 else
13990 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13994 CPPFLAGS=$ac_save_CPPFLAGS
13996 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13997 if ${PKG_CONFIG+:} false; then :
13998 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14001 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14002 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14003 if ${PKG_CONFIG+:} false; then :
14004 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14007 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14008 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14009 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14010 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14011 ac_save_CPPFLAGS=$CPPFLAGS
14012 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14013 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14014 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14016 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14017 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14018 $as_echo_n "(cached) " >&6
14019 else
14020 ac_check_lib_save_LIBS=$LIBS
14021 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14023 /* end confdefs.h. */
14025 /* Override any GCC internal prototype to avoid an error.
14026 Use char because int might match the return type of a GCC
14027 builtin and then its argument prototype would still apply. */
14028 #ifdef __cplusplus
14029 extern "C"
14030 #endif
14031 char gp_port_info_list_new ();
14033 main ()
14035 return gp_port_info_list_new ();
14037 return 0;
14039 _ACEOF
14040 if ac_fn_c_try_link "$LINENO"; then :
14041 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14042 else
14043 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14045 rm -f core conftest.err conftest.$ac_objext \
14046 conftest$ac_exeext conftest.$ac_ext
14047 LIBS=$ac_check_lib_save_LIBS
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14050 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14051 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14053 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14055 else
14056 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14059 else
14060 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14064 CPPFLAGS=$ac_save_CPPFLAGS
14067 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14068 case "x$with_gphoto" in
14069 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14070 xno) ;;
14071 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14072 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14073 esac
14076 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14077 case "x$with_gphoto" in
14078 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14079 xno) ;;
14080 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14081 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14082 esac
14087 if test "$ac_cv_header_resolv_h" = "yes"
14088 then
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14090 $as_echo_n "checking for resolver library... " >&6; }
14091 if ${ac_cv_have_resolv+:} false; then :
14092 $as_echo_n "(cached) " >&6
14093 else
14094 ac_save_LIBS="$LIBS"
14095 for lib in '' -lresolv
14097 LIBS="$lib $ac_save_LIBS"
14098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14099 /* end confdefs.h. */
14100 #ifdef HAVE_NETINET_IN_H
14101 #include <netinet/in.h>
14102 #endif
14103 #include <resolv.h>
14105 main ()
14107 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14109 return 0;
14111 _ACEOF
14112 if ac_fn_c_try_link "$LINENO"; then :
14113 ac_cv_have_resolv=${lib:-"none required"}
14114 else
14115 ac_cv_have_resolv="not found"
14117 rm -f core conftest.err conftest.$ac_objext \
14118 conftest$ac_exeext conftest.$ac_ext
14119 test "x$ac_cv_have_resolv" = "xnot found" || break
14120 done
14121 LIBS="$ac_save_LIBS"
14123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14124 $as_echo "$ac_cv_have_resolv" >&6; }
14126 case "$ac_cv_have_resolv" in
14127 "not found") ;;
14128 "none required")
14130 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14133 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14135 RESOLV_LIBS=$ac_cv_have_resolv
14137 esac
14139 if test "x$ac_cv_have_resolv" != "xnot found"
14140 then
14141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14142 $as_echo_n "checking for res_getservers... " >&6; }
14143 if ${ac_cv_have_res_getservers+:} false; then :
14144 $as_echo_n "(cached) " >&6
14145 else
14146 ac_save_LIBS="$LIBS"
14147 LIBS="$RESOLV_LIBS $LIBS"
14148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14149 /* end confdefs.h. */
14150 #include <resolv.h>
14152 main ()
14154 res_getservers(NULL, NULL, 0);
14156 return 0;
14158 _ACEOF
14159 if ac_fn_c_try_link "$LINENO"; then :
14160 ac_cv_have_res_getservers=yes
14161 else
14162 ac_cv_have_res_getservers=no
14164 rm -f core conftest.err conftest.$ac_objext \
14165 conftest$ac_exeext conftest.$ac_ext
14166 LIBS="$ac_save_LIBS"
14168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14169 $as_echo "$ac_cv_have_res_getservers" >&6; }
14170 if test "$ac_cv_have_res_getservers" = "yes"
14171 then
14173 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14179 if test "x$with_cms" != "xno"
14180 then
14181 if ${LCMS2_CFLAGS:+false} :; then :
14182 if ${PKG_CONFIG+:} false; then :
14183 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14187 if ${LCMS2_LIBS:+false} :; then :
14188 if ${PKG_CONFIG+:} false; then :
14189 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14193 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14194 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14195 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14196 ac_save_CPPFLAGS=$CPPFLAGS
14197 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14198 for ac_header in lcms2.h
14199 do :
14200 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14201 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14202 cat >>confdefs.h <<_ACEOF
14203 #define HAVE_LCMS2_H 1
14204 _ACEOF
14208 done
14210 if test "$ac_cv_header_lcms2_h" = "yes"
14211 then
14212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14213 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14214 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14215 $as_echo_n "(cached) " >&6
14216 else
14217 ac_check_lib_save_LIBS=$LIBS
14218 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14220 /* end confdefs.h. */
14222 /* Override any GCC internal prototype to avoid an error.
14223 Use char because int might match the return type of a GCC
14224 builtin and then its argument prototype would still apply. */
14225 #ifdef __cplusplus
14226 extern "C"
14227 #endif
14228 char cmsOpenProfileFromFile ();
14230 main ()
14232 return cmsOpenProfileFromFile ();
14234 return 0;
14236 _ACEOF
14237 if ac_fn_c_try_link "$LINENO"; then :
14238 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14239 else
14240 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14242 rm -f core conftest.err conftest.$ac_objext \
14243 conftest$ac_exeext conftest.$ac_ext
14244 LIBS=$ac_check_lib_save_LIBS
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14247 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14248 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14250 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14252 else
14253 LCMS2_LIBS=""
14256 else
14257 LCMS2_CFLAGS=""
14258 LCMS2_LIBS=""
14260 CPPFLAGS=$ac_save_CPPFLAGS
14263 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14264 case "x$with_cms" in
14265 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14266 xno) ;;
14267 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14268 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14269 esac
14273 if test "x$with_freetype" != "xno"
14274 then
14275 if ${FREETYPE_CFLAGS:+false} :; then :
14276 if ${PKG_CONFIG+:} false; then :
14277 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14280 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14281 if ${FREETYPE_LIBS:+false} :; then :
14282 if ${PKG_CONFIG+:} false; then :
14283 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14286 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14287 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14288 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14289 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14290 ac_save_CPPFLAGS=$CPPFLAGS
14291 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14292 for ac_header in ft2build.h
14293 do :
14294 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14295 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14296 cat >>confdefs.h <<_ACEOF
14297 #define HAVE_FT2BUILD_H 1
14298 _ACEOF
14302 done
14304 if test "$ac_cv_header_ft2build_h" = "yes"
14305 then
14306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14307 $as_echo_n "checking for -lfreetype... " >&6; }
14308 if ${ac_cv_lib_soname_freetype+:} false; then :
14309 $as_echo_n "(cached) " >&6
14310 else
14311 ac_check_soname_save_LIBS=$LIBS
14312 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14314 /* end confdefs.h. */
14316 /* Override any GCC internal prototype to avoid an error.
14317 Use char because int might match the return type of a GCC
14318 builtin and then its argument prototype would still apply. */
14319 #ifdef __cplusplus
14320 extern "C"
14321 #endif
14322 char FT_Init_FreeType ();
14324 main ()
14326 return FT_Init_FreeType ();
14328 return 0;
14330 _ACEOF
14331 if ac_fn_c_try_link "$LINENO"; then :
14332 case "$LIBEXT" in
14333 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14334 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'` ;;
14335 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14336 if ${ac_cv_lib_soname_freetype:+false} :; then :
14337 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14338 fi ;;
14339 esac
14340 else
14341 ac_cv_lib_soname_freetype=
14343 rm -f core conftest.err conftest.$ac_objext \
14344 conftest$ac_exeext conftest.$ac_ext
14345 LIBS=$ac_check_soname_save_LIBS
14347 if ${ac_cv_lib_soname_freetype:+false} :; then :
14348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14349 $as_echo "not found" >&6; }
14350 FREETYPE_LIBS=""
14351 else
14352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14353 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14355 cat >>confdefs.h <<_ACEOF
14356 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14357 _ACEOF
14360 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14362 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14363 #include FT_MODULE_H
14365 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14367 cat >>confdefs.h <<_ACEOF
14368 #define HAVE_FT_TRUETYPEENGINETYPE 1
14369 _ACEOF
14375 else
14376 FREETYPE_CFLAGS=""
14377 FREETYPE_LIBS=""
14379 CPPFLAGS=$ac_save_CPPFLAGS
14382 if test "x$ac_cv_lib_soname_freetype" = x; then :
14383 case "x$with_freetype" in
14384 xno) ;;
14385 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14386 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14387 esac
14388 enable_fonts=${enable_fonts:-no}
14391 ac_wine_check_funcs_save_LIBS="$LIBS"
14392 LIBS="$LIBS $PTHREAD_LIBS"
14393 for ac_func in \
14394 pthread_getthreadid_np
14395 do :
14396 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14397 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14398 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14399 cat >>confdefs.h <<_ACEOF
14400 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14401 _ACEOF
14404 done
14406 LIBS="$ac_wine_check_funcs_save_LIBS"
14408 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14409 then
14410 if test "$ac_cv_header_gettext_po_h" = "yes"
14411 then
14412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14413 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14414 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14415 $as_echo_n "(cached) " >&6
14416 else
14417 ac_check_lib_save_LIBS=$LIBS
14418 LIBS="-lgettextpo $LIBS"
14419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14420 /* end confdefs.h. */
14422 /* Override any GCC internal prototype to avoid an error.
14423 Use char because int might match the return type of a GCC
14424 builtin and then its argument prototype would still apply. */
14425 #ifdef __cplusplus
14426 extern "C"
14427 #endif
14428 char po_message_msgctxt ();
14430 main ()
14432 return po_message_msgctxt ();
14434 return 0;
14436 _ACEOF
14437 if ac_fn_c_try_link "$LINENO"; then :
14438 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14439 else
14440 ac_cv_lib_gettextpo_po_message_msgctxt=no
14442 rm -f core conftest.err conftest.$ac_objext \
14443 conftest$ac_exeext conftest.$ac_ext
14444 LIBS=$ac_check_lib_save_LIBS
14446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14447 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14448 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14450 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14452 GETTEXTPO_LIBS="-lgettextpo"
14457 if test "x$GETTEXTPO_LIBS" = "x"; then :
14458 case "x$with_gettextpo" in
14459 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14460 xno) ;;
14461 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14462 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14463 esac
14466 if test "$srcdir" != .; then :
14467 case "x$with_gettextpo" in
14468 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14469 xno) ;;
14470 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14471 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14472 esac
14477 if test "x$with_pulse" != "xno";
14478 then
14479 if ${PULSE_CFLAGS:+false} :; then :
14480 if ${PKG_CONFIG+:} false; then :
14481 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14485 if ${PULSE_LIBS:+false} :; then :
14486 if ${PKG_CONFIG+:} false; then :
14487 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14492 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14493 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14494 ac_save_CPPFLAGS=$CPPFLAGS
14495 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14496 for ac_header in pulse/pulseaudio.h
14497 do :
14498 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14499 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14500 cat >>confdefs.h <<_ACEOF
14501 #define HAVE_PULSE_PULSEAUDIO_H 1
14502 _ACEOF
14503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14504 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14505 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14506 $as_echo_n "(cached) " >&6
14507 else
14508 ac_check_lib_save_LIBS=$LIBS
14509 LIBS="-lpulse $PULSE_LIBS $LIBS"
14510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14511 /* end confdefs.h. */
14513 /* Override any GCC internal prototype to avoid an error.
14514 Use char because int might match the return type of a GCC
14515 builtin and then its argument prototype would still apply. */
14516 #ifdef __cplusplus
14517 extern "C"
14518 #endif
14519 char pa_stream_is_corked ();
14521 main ()
14523 return pa_stream_is_corked ();
14525 return 0;
14527 _ACEOF
14528 if ac_fn_c_try_link "$LINENO"; then :
14529 ac_cv_lib_pulse_pa_stream_is_corked=yes
14530 else
14531 ac_cv_lib_pulse_pa_stream_is_corked=no
14533 rm -f core conftest.err conftest.$ac_objext \
14534 conftest$ac_exeext conftest.$ac_ext
14535 LIBS=$ac_check_lib_save_LIBS
14537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14538 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14539 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14541 else
14542 PULSE_LIBS=""
14545 else
14546 PULSE_LIBS=""
14549 done
14551 CPPFLAGS=$ac_save_CPPFLAGS
14554 if test -z "$PULSE_LIBS"; then :
14555 case "x$with_pulse" in
14556 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14557 xno) ;;
14558 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14559 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14560 esac
14561 enable_winepulse_drv=${enable_winepulse_drv:-no}
14564 if test "x$with_gstreamer" != "xno"
14565 then
14566 if ${GSTREAMER_CFLAGS:+false} :; then :
14567 if ${PKG_CONFIG+:} false; then :
14568 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14572 if ${GSTREAMER_LIBS:+false} :; then :
14573 if ${PKG_CONFIG+:} false; then :
14574 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14579 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14580 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14581 ac_save_CPPFLAGS=$CPPFLAGS
14582 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14583 ac_gst_incl=""
14584 for i in $GSTREAMER_CFLAGS
14586 case "$i" in
14587 -I*) ac_gst_incl="$ac_gst_incl $i";;
14588 esac
14589 done
14590 GSTREAMER_CFLAGS=$ac_gst_incl
14591 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14592 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14593 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14595 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14597 /* end confdefs.h. */
14598 #include <gst/gst.h>
14600 main ()
14602 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14604 return 0;
14606 _ACEOF
14607 if ac_fn_c_try_compile "$LINENO"; then :
14608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14609 $as_echo "yes" >&6; }
14610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14611 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14612 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14613 $as_echo_n "(cached) " >&6
14614 else
14615 ac_check_lib_save_LIBS=$LIBS
14616 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14618 /* end confdefs.h. */
14620 /* Override any GCC internal prototype to avoid an error.
14621 Use char because int might match the return type of a GCC
14622 builtin and then its argument prototype would still apply. */
14623 #ifdef __cplusplus
14624 extern "C"
14625 #endif
14626 char gst_pad_new ();
14628 main ()
14630 return gst_pad_new ();
14632 return 0;
14634 _ACEOF
14635 if ac_fn_c_try_link "$LINENO"; then :
14636 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14637 else
14638 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14640 rm -f core conftest.err conftest.$ac_objext \
14641 conftest$ac_exeext conftest.$ac_ext
14642 LIBS=$ac_check_lib_save_LIBS
14644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14645 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14646 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14650 else
14651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14652 $as_echo "no" >&6; }
14653 ac_glib2_broken=yes
14654 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14660 CPPFLAGS=$ac_save_CPPFLAGS
14663 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 :
14664 case "x$with_gstreamer" in
14665 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14666 xno) ;;
14667 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14668 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14669 esac
14672 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14674 ALSA_LIBS=""
14676 if test "x$with_alsa" != "xno"
14677 then
14678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14679 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14680 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14681 $as_echo_n "(cached) " >&6
14682 else
14683 ac_check_lib_save_LIBS=$LIBS
14684 LIBS="-lasound $LIBS"
14685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14686 /* end confdefs.h. */
14688 /* Override any GCC internal prototype to avoid an error.
14689 Use char because int might match the return type of a GCC
14690 builtin and then its argument prototype would still apply. */
14691 #ifdef __cplusplus
14692 extern "C"
14693 #endif
14694 char snd_pcm_hw_params_get_access_mask ();
14696 main ()
14698 return snd_pcm_hw_params_get_access_mask ();
14700 return 0;
14702 _ACEOF
14703 if ac_fn_c_try_link "$LINENO"; then :
14704 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14705 else
14706 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14708 rm -f core conftest.err conftest.$ac_objext \
14709 conftest$ac_exeext conftest.$ac_ext
14710 LIBS=$ac_check_lib_save_LIBS
14712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14713 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14714 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14716 /* end confdefs.h. */
14717 #include <alsa/asoundlib.h>
14719 main ()
14721 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14723 return 0;
14725 _ACEOF
14726 if ac_fn_c_try_compile "$LINENO"; then :
14727 ALSA_LIBS="-lasound"
14729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14733 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14735 if test "x$with_oss" != xno
14736 then
14737 ac_save_CPPFLAGS="$CPPFLAGS"
14738 if test -f /etc/oss.conf
14739 then
14740 . /etc/oss.conf
14742 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14743 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14744 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14745 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14746 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14748 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14750 cat >>confdefs.h <<_ACEOF
14751 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14752 _ACEOF
14754 OSS4_CFLAGS="$ac_oss_incl"
14756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14757 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14758 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14759 $as_echo_n "(cached) " >&6
14760 else
14761 ac_check_lib_save_LIBS=$LIBS
14762 LIBS="-lossaudio $LIBS"
14763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14764 /* end confdefs.h. */
14766 /* Override any GCC internal prototype to avoid an error.
14767 Use char because int might match the return type of a GCC
14768 builtin and then its argument prototype would still apply. */
14769 #ifdef __cplusplus
14770 extern "C"
14771 #endif
14772 char _oss_ioctl ();
14774 main ()
14776 return _oss_ioctl ();
14778 return 0;
14780 _ACEOF
14781 if ac_fn_c_try_link "$LINENO"; then :
14782 ac_cv_lib_ossaudio__oss_ioctl=yes
14783 else
14784 ac_cv_lib_ossaudio__oss_ioctl=no
14786 rm -f core conftest.err conftest.$ac_objext \
14787 conftest$ac_exeext conftest.$ac_ext
14788 LIBS=$ac_check_lib_save_LIBS
14790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14791 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14792 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14793 OSS4_LIBS="-lossaudio"
14802 CPPFLAGS="$ac_save_CPPFLAGS"
14804 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14805 case "x$with_oss" in
14806 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14807 xno) ;;
14808 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14809 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14810 esac
14811 enable_wineoss_drv=${enable_wineoss_drv:-no}
14814 if test "x$with_udev" != "xno"
14815 then
14816 if ${UDEV_CFLAGS:+false} :; then :
14817 if ${PKG_CONFIG+:} false; then :
14818 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14822 if ${UDEV_LIBS:+false} :; then :
14823 if ${PKG_CONFIG+:} false; then :
14824 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14828 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14829 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14830 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14831 ac_save_CPPFLAGS=$CPPFLAGS
14832 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14833 for ac_header in libudev.h
14834 do :
14835 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14836 if test "x$ac_cv_header_libudev_h" = xyes; then :
14837 cat >>confdefs.h <<_ACEOF
14838 #define HAVE_LIBUDEV_H 1
14839 _ACEOF
14840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14841 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14842 if ${ac_cv_lib_udev_udev_new+:} false; then :
14843 $as_echo_n "(cached) " >&6
14844 else
14845 ac_check_lib_save_LIBS=$LIBS
14846 LIBS="-ludev $UDEV_LIBS $LIBS"
14847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14848 /* end confdefs.h. */
14850 /* Override any GCC internal prototype to avoid an error.
14851 Use char because int might match the return type of a GCC
14852 builtin and then its argument prototype would still apply. */
14853 #ifdef __cplusplus
14854 extern "C"
14855 #endif
14856 char udev_new ();
14858 main ()
14860 return udev_new ();
14862 return 0;
14864 _ACEOF
14865 if ac_fn_c_try_link "$LINENO"; then :
14866 ac_cv_lib_udev_udev_new=yes
14867 else
14868 ac_cv_lib_udev_udev_new=no
14870 rm -f core conftest.err conftest.$ac_objext \
14871 conftest$ac_exeext conftest.$ac_ext
14872 LIBS=$ac_check_lib_save_LIBS
14874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14875 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14876 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14878 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14880 else
14881 UDEV_LIBS=""
14884 else
14885 UDEV_LIBS=""
14888 done
14890 CPPFLAGS=$ac_save_CPPFLAGS
14893 if test "x$UDEV_LIBS" = "x"; then :
14894 case "x$with_udev" in
14895 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14896 xno) ;;
14897 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14898 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14899 esac
14903 if test "x$with_unwind" != xno
14904 then
14905 if ${UNWIND_CFLAGS:+false} :; then :
14906 if ${PKG_CONFIG+:} false; then :
14907 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14911 if ${UNWIND_LIBS:+false} :; then :
14912 if ${PKG_CONFIG+:} false; then :
14913 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14917 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14918 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14919 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14920 ac_save_CPPFLAGS=$CPPFLAGS
14921 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14923 $as_echo_n "checking for unw_step... " >&6; }
14924 if ${wine_cv_have_unw_step+:} false; then :
14925 $as_echo_n "(cached) " >&6
14926 else
14927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14928 /* end confdefs.h. */
14929 #define UNW_LOCAL_ONLY
14930 #include <libunwind.h>
14932 main ()
14934 unw_cursor_t cursor; unw_step( &cursor );
14936 return 0;
14938 _ACEOF
14939 if ac_fn_c_try_link "$LINENO"; then :
14940 wine_cv_have_unw_step="yes"
14941 else
14942 wine_cv_have_unw_step="no"
14944 rm -f core conftest.err conftest.$ac_objext \
14945 conftest$ac_exeext conftest.$ac_ext
14947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14948 $as_echo "$wine_cv_have_unw_step" >&6; }
14949 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14950 then
14951 save_libs=$LIBS
14952 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
14953 LIBS="$UNWIND_LIBS $LIBS"
14954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14955 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14956 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14957 $as_echo_n "(cached) " >&6
14958 else
14959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14960 /* end confdefs.h. */
14961 #define UNW_LOCAL_ONLY
14962 #include <libunwind.h>
14964 main ()
14966 unw_cursor_t cursor; unw_step( &cursor );
14968 return 0;
14970 _ACEOF
14971 if ac_fn_c_try_link "$LINENO"; then :
14972 wine_cv_have_libunwind_unw_step="yes"
14973 else
14974 wine_cv_have_libunwind_unw_step="no"
14976 rm -f core conftest.err conftest.$ac_objext \
14977 conftest$ac_exeext conftest.$ac_ext
14979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
14980 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
14981 LIBS=$save_libs
14983 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
14984 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
14985 then
14987 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
14990 CPPFLAGS=$ac_save_CPPFLAGS
14993 case $host in
14994 aarch64*|*-darwin*)
14995 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
14996 case "x$with_unwind" in
14997 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
14998 xno) ;;
14999 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15000 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15001 esac
15003 fi ;;
15004 esac
15006 if test "x$with_sdl" != "xno"
15007 then
15008 if ${SDL2_CFLAGS:+false} :; then :
15009 if ${PKG_CONFIG+:} false; then :
15010 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15014 if ${SDL2_LIBS:+false} :; then :
15015 if ${PKG_CONFIG+:} false; then :
15016 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15020 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15021 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15022 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15023 ac_save_CPPFLAGS=$CPPFLAGS
15024 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15025 for ac_header in SDL.h
15026 do :
15027 ac_fn_c_check_header_mongrel "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
15028 if test "x$ac_cv_header_SDL_h" = xyes; then :
15029 cat >>confdefs.h <<_ACEOF
15030 #define HAVE_SDL_H 1
15031 _ACEOF
15032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15033 $as_echo_n "checking for -lSDL2... " >&6; }
15034 if ${ac_cv_lib_soname_SDL2+:} false; then :
15035 $as_echo_n "(cached) " >&6
15036 else
15037 ac_check_soname_save_LIBS=$LIBS
15038 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15040 /* end confdefs.h. */
15042 /* Override any GCC internal prototype to avoid an error.
15043 Use char because int might match the return type of a GCC
15044 builtin and then its argument prototype would still apply. */
15045 #ifdef __cplusplus
15046 extern "C"
15047 #endif
15048 char SDL_Init ();
15050 main ()
15052 return SDL_Init ();
15054 return 0;
15056 _ACEOF
15057 if ac_fn_c_try_link "$LINENO"; then :
15058 case "$LIBEXT" in
15059 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15060 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'` ;;
15061 *) 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'`
15062 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15063 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15064 fi ;;
15065 esac
15066 else
15067 ac_cv_lib_soname_SDL2=
15069 rm -f core conftest.err conftest.$ac_objext \
15070 conftest$ac_exeext conftest.$ac_ext
15071 LIBS=$ac_check_soname_save_LIBS
15073 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15075 $as_echo "not found" >&6; }
15077 else
15078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15079 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15081 cat >>confdefs.h <<_ACEOF
15082 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15083 _ACEOF
15089 done
15091 CPPFLAGS=$ac_save_CPPFLAGS
15094 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15095 case "x$with_sdl" in
15096 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15097 xno) ;;
15098 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15099 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15100 esac
15104 if test "x$with_faudio" != "xno"
15105 then
15106 if ${FAUDIO_CFLAGS:+false} :; then :
15107 if ${PKG_CONFIG+:} false; then :
15108 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15112 if ${FAUDIO_LIBS:+false} :; then :
15113 if ${PKG_CONFIG+:} false; then :
15114 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15118 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15119 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15120 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15121 ac_save_CPPFLAGS=$CPPFLAGS
15122 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15123 for ac_header in FAudio.h
15124 do :
15125 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15126 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15127 cat >>confdefs.h <<_ACEOF
15128 #define HAVE_FAUDIO_H 1
15129 _ACEOF
15130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15131 $as_echo_n "checking for -lFAudio... " >&6; }
15132 if ${ac_cv_lib_soname_FAudio+:} false; then :
15133 $as_echo_n "(cached) " >&6
15134 else
15135 ac_check_soname_save_LIBS=$LIBS
15136 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15138 /* end confdefs.h. */
15140 /* Override any GCC internal prototype to avoid an error.
15141 Use char because int might match the return type of a GCC
15142 builtin and then its argument prototype would still apply. */
15143 #ifdef __cplusplus
15144 extern "C"
15145 #endif
15146 char FAudioCreate ();
15148 main ()
15150 return FAudioCreate ();
15152 return 0;
15154 _ACEOF
15155 if ac_fn_c_try_link "$LINENO"; then :
15156 case "$LIBEXT" in
15157 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15158 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'` ;;
15159 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15160 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15161 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15162 fi ;;
15163 esac
15164 else
15165 ac_cv_lib_soname_FAudio=
15167 rm -f core conftest.err conftest.$ac_objext \
15168 conftest$ac_exeext conftest.$ac_ext
15169 LIBS=$ac_check_soname_save_LIBS
15171 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15173 $as_echo "not found" >&6; }
15175 else
15176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15177 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15179 cat >>confdefs.h <<_ACEOF
15180 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15181 _ACEOF
15187 done
15189 ac_wine_check_funcs_save_LIBS="$LIBS"
15190 LIBS="$LIBS $FAUDIO_LIBS"
15191 for ac_func in FAudio_CommitOperationSet \
15192 F3DAudioInitialize8 \
15193 FAudioLinkedVersion \
15194 FAudioCreateReverb9WithCustomAllocatorEXT
15195 do :
15196 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15197 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15198 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15199 cat >>confdefs.h <<_ACEOF
15200 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15201 _ACEOF
15204 done
15206 LIBS="$ac_wine_check_funcs_save_LIBS"
15208 CPPFLAGS=$ac_save_CPPFLAGS
15211 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15212 case "x$with_faudio" in
15213 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15214 xno) ;;
15215 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15216 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15217 esac
15221 if test "x$with_capi" != "xno"
15222 then
15223 if ${CAPI20_CFLAGS:+false} :; then :
15224 if ${PKG_CONFIG+:} false; then :
15225 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15229 if ${CAPI20_LIBS:+false} :; then :
15230 if ${PKG_CONFIG+:} false; then :
15231 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15236 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15237 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15238 ac_save_CPPFLAGS=$CPPFLAGS
15239 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15240 for ac_header in capi20.h linux/capi.h
15241 do :
15242 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15243 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15245 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15246 cat >>confdefs.h <<_ACEOF
15247 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15248 _ACEOF
15252 done
15254 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15255 then
15256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15257 $as_echo_n "checking for -lcapi20... " >&6; }
15258 if ${ac_cv_lib_soname_capi20+:} false; then :
15259 $as_echo_n "(cached) " >&6
15260 else
15261 ac_check_soname_save_LIBS=$LIBS
15262 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15264 /* end confdefs.h. */
15266 /* Override any GCC internal prototype to avoid an error.
15267 Use char because int might match the return type of a GCC
15268 builtin and then its argument prototype would still apply. */
15269 #ifdef __cplusplus
15270 extern "C"
15271 #endif
15272 char capi20_register ();
15274 main ()
15276 return capi20_register ();
15278 return 0;
15280 _ACEOF
15281 if ac_fn_c_try_link "$LINENO"; then :
15282 case "$LIBEXT" in
15283 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15284 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'` ;;
15285 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15286 if ${ac_cv_lib_soname_capi20:+false} :; then :
15287 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15288 fi ;;
15289 esac
15290 else
15291 ac_cv_lib_soname_capi20=
15293 rm -f core conftest.err conftest.$ac_objext \
15294 conftest$ac_exeext conftest.$ac_ext
15295 LIBS=$ac_check_soname_save_LIBS
15297 if ${ac_cv_lib_soname_capi20:+false} :; then :
15298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15299 $as_echo "not found" >&6; }
15301 else
15302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15303 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15305 cat >>confdefs.h <<_ACEOF
15306 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15307 _ACEOF
15312 CPPFLAGS=$ac_save_CPPFLAGS
15315 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15316 case "x$with_capi" in
15317 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15318 xno) ;;
15319 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15320 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15321 esac
15325 if test "x$with_cups" != "xno"
15326 then
15327 if ${CUPS_CFLAGS:+false} :; then :
15328 if ${PKG_CONFIG+:} false; then :
15329 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15332 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15333 if ${CUPS_LIBS:+false} :; then :
15334 if ${PKG_CONFIG+:} false; then :
15335 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15338 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15339 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15340 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15341 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15342 ac_save_CPPFLAGS=$CPPFLAGS
15343 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15344 for ac_header in cups/cups.h cups/ppd.h
15345 do :
15346 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15347 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15348 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15349 cat >>confdefs.h <<_ACEOF
15350 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15351 _ACEOF
15355 done
15357 if test "$ac_cv_header_cups_cups_h" = "yes"
15358 then
15359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15360 $as_echo_n "checking for -lcups... " >&6; }
15361 if ${ac_cv_lib_soname_cups+:} false; then :
15362 $as_echo_n "(cached) " >&6
15363 else
15364 ac_check_soname_save_LIBS=$LIBS
15365 LIBS="-lcups $CUPS_LIBS $LIBS"
15366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15367 /* end confdefs.h. */
15369 /* Override any GCC internal prototype to avoid an error.
15370 Use char because int might match the return type of a GCC
15371 builtin and then its argument prototype would still apply. */
15372 #ifdef __cplusplus
15373 extern "C"
15374 #endif
15375 char cupsGetDefault ();
15377 main ()
15379 return cupsGetDefault ();
15381 return 0;
15383 _ACEOF
15384 if ac_fn_c_try_link "$LINENO"; then :
15385 case "$LIBEXT" in
15386 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15387 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'` ;;
15388 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15389 if ${ac_cv_lib_soname_cups:+false} :; then :
15390 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15391 fi ;;
15392 esac
15393 else
15394 ac_cv_lib_soname_cups=
15396 rm -f core conftest.err conftest.$ac_objext \
15397 conftest$ac_exeext conftest.$ac_ext
15398 LIBS=$ac_check_soname_save_LIBS
15400 if ${ac_cv_lib_soname_cups:+false} :; then :
15401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15402 $as_echo "not found" >&6; }
15403 CUPS_LIBS=""
15404 else
15405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15406 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15408 cat >>confdefs.h <<_ACEOF
15409 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15410 _ACEOF
15414 else
15415 CUPS_CFLAGS=""
15416 CUPS_LIBS=""
15418 CPPFLAGS=$ac_save_CPPFLAGS
15421 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15422 case "x$with_cups" in
15423 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15424 xno) ;;
15425 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15426 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15427 esac
15431 if test "x$with_fontconfig" != "xno"
15432 then
15433 if ${FONTCONFIG_CFLAGS:+false} :; then :
15434 if ${PKG_CONFIG+:} false; then :
15435 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15438 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15439 if ${FONTCONFIG_LIBS:+false} :; then :
15440 if ${PKG_CONFIG+:} false; then :
15441 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15444 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15446 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15447 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15448 ac_save_CPPFLAGS=$CPPFLAGS
15449 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15450 for ac_header in fontconfig/fontconfig.h
15451 do :
15452 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15453 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15454 cat >>confdefs.h <<_ACEOF
15455 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15456 _ACEOF
15460 done
15462 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15463 then
15464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15465 $as_echo_n "checking for -lfontconfig... " >&6; }
15466 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15467 $as_echo_n "(cached) " >&6
15468 else
15469 ac_check_soname_save_LIBS=$LIBS
15470 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15472 /* end confdefs.h. */
15474 /* Override any GCC internal prototype to avoid an error.
15475 Use char because int might match the return type of a GCC
15476 builtin and then its argument prototype would still apply. */
15477 #ifdef __cplusplus
15478 extern "C"
15479 #endif
15480 char FcInit ();
15482 main ()
15484 return FcInit ();
15486 return 0;
15488 _ACEOF
15489 if ac_fn_c_try_link "$LINENO"; then :
15490 case "$LIBEXT" in
15491 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15492 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'` ;;
15493 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15494 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15495 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15496 fi ;;
15497 esac
15498 else
15499 ac_cv_lib_soname_fontconfig=
15501 rm -f core conftest.err conftest.$ac_objext \
15502 conftest$ac_exeext conftest.$ac_ext
15503 LIBS=$ac_check_soname_save_LIBS
15505 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15507 $as_echo "not found" >&6; }
15508 FONTCONFIG_CFLAGS=""
15509 else
15510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15511 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15513 cat >>confdefs.h <<_ACEOF
15514 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15515 _ACEOF
15519 else
15520 FONTCONFIG_CFLAGS=""
15522 CPPFLAGS=$ac_save_CPPFLAGS
15525 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15526 case "x$with_fontconfig" in
15527 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15528 xno) ;;
15529 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15530 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15531 esac
15535 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15536 then
15537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15538 $as_echo_n "checking for -lgsm... " >&6; }
15539 if ${ac_cv_lib_soname_gsm+:} false; then :
15540 $as_echo_n "(cached) " >&6
15541 else
15542 ac_check_soname_save_LIBS=$LIBS
15543 LIBS="-lgsm $LIBS"
15544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15545 /* end confdefs.h. */
15547 /* Override any GCC internal prototype to avoid an error.
15548 Use char because int might match the return type of a GCC
15549 builtin and then its argument prototype would still apply. */
15550 #ifdef __cplusplus
15551 extern "C"
15552 #endif
15553 char gsm_create ();
15555 main ()
15557 return gsm_create ();
15559 return 0;
15561 _ACEOF
15562 if ac_fn_c_try_link "$LINENO"; then :
15563 case "$LIBEXT" in
15564 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15565 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'` ;;
15566 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15567 if ${ac_cv_lib_soname_gsm:+false} :; then :
15568 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15569 fi ;;
15570 esac
15571 else
15572 ac_cv_lib_soname_gsm=
15574 rm -f core conftest.err conftest.$ac_objext \
15575 conftest$ac_exeext conftest.$ac_ext
15576 LIBS=$ac_check_soname_save_LIBS
15578 if ${ac_cv_lib_soname_gsm:+false} :; then :
15579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15580 $as_echo "not found" >&6; }
15582 else
15583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15584 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15586 cat >>confdefs.h <<_ACEOF
15587 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15588 _ACEOF
15593 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15594 case "x$with_gsm" in
15595 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15596 xno) ;;
15597 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15598 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15599 esac
15603 if test "x$with_krb5" != "xno"
15604 then
15605 if ${KRB5_CFLAGS:+false} :; then :
15606 if ${PKG_CONFIG+:} false; then :
15607 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15610 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15611 if ${KRB5_LIBS:+false} :; then :
15612 if ${PKG_CONFIG+:} false; then :
15613 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15616 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15618 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15619 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15620 ac_save_CPPFLAGS=$CPPFLAGS
15621 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15622 for ac_header in krb5/krb5.h
15623 do :
15624 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15625 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15626 cat >>confdefs.h <<_ACEOF
15627 #define HAVE_KRB5_KRB5_H 1
15628 _ACEOF
15632 done
15634 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15635 then
15636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15637 $as_echo_n "checking for -lkrb5... " >&6; }
15638 if ${ac_cv_lib_soname_krb5+:} false; then :
15639 $as_echo_n "(cached) " >&6
15640 else
15641 ac_check_soname_save_LIBS=$LIBS
15642 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15644 /* end confdefs.h. */
15646 /* Override any GCC internal prototype to avoid an error.
15647 Use char because int might match the return type of a GCC
15648 builtin and then its argument prototype would still apply. */
15649 #ifdef __cplusplus
15650 extern "C"
15651 #endif
15652 char krb5_is_config_principal ();
15654 main ()
15656 return krb5_is_config_principal ();
15658 return 0;
15660 _ACEOF
15661 if ac_fn_c_try_link "$LINENO"; then :
15662 case "$LIBEXT" in
15663 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15664 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'` ;;
15665 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15666 if ${ac_cv_lib_soname_krb5:+false} :; then :
15667 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15668 fi ;;
15669 esac
15670 else
15671 ac_cv_lib_soname_krb5=
15673 rm -f core conftest.err conftest.$ac_objext \
15674 conftest$ac_exeext conftest.$ac_ext
15675 LIBS=$ac_check_soname_save_LIBS
15677 if ${ac_cv_lib_soname_krb5:+false} :; then :
15678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15679 $as_echo "not found" >&6; }
15680 KRB5_CFLAGS=""
15681 else
15682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15683 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15685 cat >>confdefs.h <<_ACEOF
15686 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15687 _ACEOF
15691 else
15692 KRB5_CFLAGS=""
15694 CPPFLAGS=$ac_save_CPPFLAGS
15697 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15698 case "x$with_krb5" in
15699 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15700 xno) ;;
15701 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15702 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15703 esac
15706 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15708 if test "x$with_gssapi" != "xno"
15709 then
15710 if ${GSSAPI_CFLAGS:+false} :; then :
15711 if ${PKG_CONFIG+:} false; then :
15712 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15715 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15716 if ${GSSAPI_LIBS:+false} :; then :
15717 if ${PKG_CONFIG+:} false; then :
15718 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15721 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15723 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15724 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15725 ac_save_CPPFLAGS=$CPPFLAGS
15726 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15727 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15728 do :
15729 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15730 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15731 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15732 cat >>confdefs.h <<_ACEOF
15733 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15734 _ACEOF
15738 done
15740 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15741 then
15742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15743 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15744 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15745 $as_echo_n "(cached) " >&6
15746 else
15747 ac_check_soname_save_LIBS=$LIBS
15748 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15750 /* end confdefs.h. */
15752 /* Override any GCC internal prototype to avoid an error.
15753 Use char because int might match the return type of a GCC
15754 builtin and then its argument prototype would still apply. */
15755 #ifdef __cplusplus
15756 extern "C"
15757 #endif
15758 char gss_init_sec_context ();
15760 main ()
15762 return gss_init_sec_context ();
15764 return 0;
15766 _ACEOF
15767 if ac_fn_c_try_link "$LINENO"; then :
15768 case "$LIBEXT" in
15769 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15770 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'` ;;
15771 *) 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'`
15772 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15773 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15774 fi ;;
15775 esac
15776 else
15777 ac_cv_lib_soname_gssapi_krb5=
15779 rm -f core conftest.err conftest.$ac_objext \
15780 conftest$ac_exeext conftest.$ac_ext
15781 LIBS=$ac_check_soname_save_LIBS
15783 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15785 $as_echo "not found" >&6; }
15786 GSSAPI_CFLAGS=""
15787 else
15788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15789 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15791 cat >>confdefs.h <<_ACEOF
15792 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15793 _ACEOF
15797 else
15798 GSSAPI_CFLAGS=""
15800 CPPFLAGS=$ac_save_CPPFLAGS
15803 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15804 case "x$with_gssapi" in
15805 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15806 xno) ;;
15807 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15808 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15809 esac
15813 if test "x$with_jpeg" != "xno"
15814 then
15815 if ${JPEG_CFLAGS:+false} :; then :
15816 if ${PKG_CONFIG+:} false; then :
15817 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15821 if ${JPEG_LIBS:+false} :; then :
15822 if ${PKG_CONFIG+:} false; then :
15823 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15828 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15829 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15830 ac_save_CPPFLAGS=$CPPFLAGS
15831 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15832 for ac_header in jpeglib.h
15833 do :
15834 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15835 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15836 cat >>confdefs.h <<_ACEOF
15837 #define HAVE_JPEGLIB_H 1
15838 _ACEOF
15842 done
15844 if test "$ac_cv_header_jpeglib_h" = "yes"
15845 then
15846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15847 $as_echo_n "checking for -ljpeg... " >&6; }
15848 if ${ac_cv_lib_soname_jpeg+:} false; then :
15849 $as_echo_n "(cached) " >&6
15850 else
15851 ac_check_soname_save_LIBS=$LIBS
15852 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15854 /* end confdefs.h. */
15856 /* Override any GCC internal prototype to avoid an error.
15857 Use char because int might match the return type of a GCC
15858 builtin and then its argument prototype would still apply. */
15859 #ifdef __cplusplus
15860 extern "C"
15861 #endif
15862 char jpeg_start_decompress ();
15864 main ()
15866 return jpeg_start_decompress ();
15868 return 0;
15870 _ACEOF
15871 if ac_fn_c_try_link "$LINENO"; then :
15872 case "$LIBEXT" in
15873 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15874 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'` ;;
15875 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15876 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15877 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15878 fi ;;
15879 esac
15880 else
15881 ac_cv_lib_soname_jpeg=
15883 rm -f core conftest.err conftest.$ac_objext \
15884 conftest$ac_exeext conftest.$ac_ext
15885 LIBS=$ac_check_soname_save_LIBS
15887 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15889 $as_echo "not found" >&6; }
15890 JPEG_CFLAGS=""
15891 else
15892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15893 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15895 cat >>confdefs.h <<_ACEOF
15896 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15897 _ACEOF
15901 else
15902 JPEG_CFLAGS=""
15904 CPPFLAGS=$ac_save_CPPFLAGS
15907 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15908 case "x$with_jpeg" in
15909 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15910 xno) ;;
15911 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15912 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15913 esac
15917 if test "x$with_jxrlib" != "xno"
15918 then
15919 if ${JXRLIB_CFLAGS:+false} :; then :
15920 if ${PKG_CONFIG+:} false; then :
15921 JXRLIB_CFLAGS=`$PKG_CONFIG --cflags jxrlib 2>/dev/null`
15924 test "$cross_compiling" = yes || JXRLIB_CFLAGS=${JXRLIB_CFLAGS:-${JXRLIB_CFLAGS:--I/usr/include/jxrlib}}
15925 if ${JXRLIB_LIBS:+false} :; then :
15926 if ${PKG_CONFIG+:} false; then :
15927 JXRLIB_LIBS=`$PKG_CONFIG --libs jxrlib 2>/dev/null`
15932 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib cflags: $JXRLIB_CFLAGS" >&5
15933 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib libs: $JXRLIB_LIBS" >&5
15934 ac_save_CPPFLAGS=$CPPFLAGS
15935 CPPFLAGS="$CPPFLAGS $JXRLIB_CFLAGS"
15936 for ac_header in JXRGlue.h
15937 do :
15938 ac_fn_c_check_header_compile "$LINENO" "JXRGlue.h" "ac_cv_header_JXRGlue_h" "#define FAR
15940 if test "x$ac_cv_header_JXRGlue_h" = xyes; then :
15941 cat >>confdefs.h <<_ACEOF
15942 #define HAVE_JXRGLUE_H 1
15943 _ACEOF
15947 done
15949 if test "$ac_cv_header_JXRGlue_h" = "yes"
15950 then
15951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljxrglue" >&5
15952 $as_echo_n "checking for -ljxrglue... " >&6; }
15953 if ${ac_cv_lib_soname_jxrglue+:} false; then :
15954 $as_echo_n "(cached) " >&6
15955 else
15956 ac_check_soname_save_LIBS=$LIBS
15957 LIBS="-ljxrglue $JXRLIB_LIBS $LIBS"
15958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15959 /* end confdefs.h. */
15961 /* Override any GCC internal prototype to avoid an error.
15962 Use char because int might match the return type of a GCC
15963 builtin and then its argument prototype would still apply. */
15964 #ifdef __cplusplus
15965 extern "C"
15966 #endif
15967 char PKImageDecode_Create_WMP ();
15969 main ()
15971 return PKImageDecode_Create_WMP ();
15973 return 0;
15975 _ACEOF
15976 if ac_fn_c_try_link "$LINENO"; then :
15977 case "$LIBEXT" in
15978 dll) ac_cv_lib_soname_jxrglue=`$ac_cv_path_LDD conftest.exe | grep "jxrglue" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15979 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'` ;;
15980 *) ac_cv_lib_soname_jxrglue=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjxrglue\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjxrglue\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15981 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
15982 ac_cv_lib_soname_jxrglue=`$LDD conftest$ac_exeext | grep "libjxrglue\\.$LIBEXT" | sed -e "s/^.*\(libjxrglue\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15983 fi ;;
15984 esac
15985 else
15986 ac_cv_lib_soname_jxrglue=
15988 rm -f core conftest.err conftest.$ac_objext \
15989 conftest$ac_exeext conftest.$ac_ext
15990 LIBS=$ac_check_soname_save_LIBS
15992 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
15993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15994 $as_echo "not found" >&6; }
15995 JXRLIB_CFLAGS=""
15996 else
15997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jxrglue" >&5
15998 $as_echo "$ac_cv_lib_soname_jxrglue" >&6; }
16000 cat >>confdefs.h <<_ACEOF
16001 #define SONAME_LIBJXRGLUE "$ac_cv_lib_soname_jxrglue"
16002 _ACEOF
16006 else
16007 JXRLIB_CFLAGS=""
16009 CPPFLAGS=$ac_save_CPPFLAGS
16012 if test "x$ac_cv_lib_soname_jxrglue" = "x"; then :
16013 case "x$with_jxrlib" in
16014 x) as_fn_append wine_notices "|jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported." ;;
16015 xno) ;;
16016 *) as_fn_error $? "jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported.
16017 This is an error since --with-jxrlib was requested." "$LINENO" 5 ;;
16018 esac
16022 if test "x$with_png" != "xno"
16023 then
16024 if ${PNG_CFLAGS:+false} :; then :
16025 if ${PKG_CONFIG+:} false; then :
16026 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16029 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16030 if ${PNG_LIBS:+false} :; then :
16031 if ${PKG_CONFIG+:} false; then :
16032 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16035 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16037 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16038 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16039 ac_save_CPPFLAGS=$CPPFLAGS
16040 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16041 for ac_header in png.h
16042 do :
16043 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16044 if test "x$ac_cv_header_png_h" = xyes; then :
16045 cat >>confdefs.h <<_ACEOF
16046 #define HAVE_PNG_H 1
16047 _ACEOF
16051 done
16053 if test "$ac_cv_header_png_h" = "yes"
16054 then
16055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16056 $as_echo_n "checking for -lpng... " >&6; }
16057 if ${ac_cv_lib_soname_png+:} false; then :
16058 $as_echo_n "(cached) " >&6
16059 else
16060 ac_check_soname_save_LIBS=$LIBS
16061 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16063 /* end confdefs.h. */
16065 /* Override any GCC internal prototype to avoid an error.
16066 Use char because int might match the return type of a GCC
16067 builtin and then its argument prototype would still apply. */
16068 #ifdef __cplusplus
16069 extern "C"
16070 #endif
16071 char png_create_read_struct ();
16073 main ()
16075 return png_create_read_struct ();
16077 return 0;
16079 _ACEOF
16080 if ac_fn_c_try_link "$LINENO"; then :
16081 case "$LIBEXT" in
16082 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16083 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'` ;;
16084 *) 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'`
16085 if ${ac_cv_lib_soname_png:+false} :; then :
16086 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16087 fi ;;
16088 esac
16089 else
16090 ac_cv_lib_soname_png=
16092 rm -f core conftest.err conftest.$ac_objext \
16093 conftest$ac_exeext conftest.$ac_ext
16094 LIBS=$ac_check_soname_save_LIBS
16096 if ${ac_cv_lib_soname_png:+false} :; then :
16097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16098 $as_echo "not found" >&6; }
16099 PNG_CFLAGS=""
16100 else
16101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16102 $as_echo "$ac_cv_lib_soname_png" >&6; }
16104 cat >>confdefs.h <<_ACEOF
16105 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16106 _ACEOF
16110 else
16111 PNG_CFLAGS=""
16113 CPPFLAGS=$ac_save_CPPFLAGS
16116 if test "x$ac_cv_lib_soname_png" = "x"; then :
16117 case "x$with_png" in
16118 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16119 xno) ;;
16120 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16121 This is an error since --with-png was requested." "$LINENO" 5 ;;
16122 esac
16126 if test "x$with_tiff" != "xno"
16127 then
16128 if ${TIFF_CFLAGS:+false} :; then :
16129 if ${PKG_CONFIG+:} false; then :
16130 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16134 if ${TIFF_LIBS:+false} :; then :
16135 if ${PKG_CONFIG+:} false; then :
16136 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16141 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16142 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16143 ac_save_CPPFLAGS=$CPPFLAGS
16144 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16145 for ac_header in tiffio.h
16146 do :
16147 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16148 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16149 cat >>confdefs.h <<_ACEOF
16150 #define HAVE_TIFFIO_H 1
16151 _ACEOF
16155 done
16157 if test "$ac_cv_header_tiffio_h" = "yes"
16158 then
16159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16160 $as_echo_n "checking for -ltiff... " >&6; }
16161 if ${ac_cv_lib_soname_tiff+:} false; then :
16162 $as_echo_n "(cached) " >&6
16163 else
16164 ac_check_soname_save_LIBS=$LIBS
16165 LIBS="-ltiff $TIFF_LIBS $LIBS"
16166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16167 /* end confdefs.h. */
16169 /* Override any GCC internal prototype to avoid an error.
16170 Use char because int might match the return type of a GCC
16171 builtin and then its argument prototype would still apply. */
16172 #ifdef __cplusplus
16173 extern "C"
16174 #endif
16175 char TIFFClientOpen ();
16177 main ()
16179 return TIFFClientOpen ();
16181 return 0;
16183 _ACEOF
16184 if ac_fn_c_try_link "$LINENO"; then :
16185 case "$LIBEXT" in
16186 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16187 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'` ;;
16188 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16189 if ${ac_cv_lib_soname_tiff:+false} :; then :
16190 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16191 fi ;;
16192 esac
16193 else
16194 ac_cv_lib_soname_tiff=
16196 rm -f core conftest.err conftest.$ac_objext \
16197 conftest$ac_exeext conftest.$ac_ext
16198 LIBS=$ac_check_soname_save_LIBS
16200 if ${ac_cv_lib_soname_tiff:+false} :; then :
16201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16202 $as_echo "not found" >&6; }
16204 else
16205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16206 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16208 cat >>confdefs.h <<_ACEOF
16209 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16210 _ACEOF
16215 CPPFLAGS=$ac_save_CPPFLAGS
16218 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16219 case "x$with_tiff" in
16220 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16221 xno) ;;
16222 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16223 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16224 esac
16228 if test "x$with_mpg123" != "xno"
16229 then
16230 if ${MPG123_CFLAGS:+false} :; then :
16231 if ${PKG_CONFIG+:} false; then :
16232 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16236 if ${MPG123_LIBS:+false} :; then :
16237 if ${PKG_CONFIG+:} false; then :
16238 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16242 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16243 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16244 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16245 ac_save_CPPFLAGS=$CPPFLAGS
16246 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16247 for ac_header in mpg123.h
16248 do :
16249 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16250 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16251 cat >>confdefs.h <<_ACEOF
16252 #define HAVE_MPG123_H 1
16253 _ACEOF
16257 done
16259 if test "$ac_cv_header_mpg123_h" = "yes"
16260 then
16261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16262 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16263 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16264 $as_echo_n "(cached) " >&6
16265 else
16266 ac_check_lib_save_LIBS=$LIBS
16267 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16269 /* end confdefs.h. */
16271 /* Override any GCC internal prototype to avoid an error.
16272 Use char because int might match the return type of a GCC
16273 builtin and then its argument prototype would still apply. */
16274 #ifdef __cplusplus
16275 extern "C"
16276 #endif
16277 char mpg123_feed ();
16279 main ()
16281 return mpg123_feed ();
16283 return 0;
16285 _ACEOF
16286 if ac_fn_c_try_link "$LINENO"; then :
16287 ac_cv_lib_mpg123_mpg123_feed=yes
16288 else
16289 ac_cv_lib_mpg123_mpg123_feed=no
16291 rm -f core conftest.err conftest.$ac_objext \
16292 conftest$ac_exeext conftest.$ac_ext
16293 LIBS=$ac_check_lib_save_LIBS
16295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16296 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16297 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16299 else
16300 MPG123_LIBS=""
16303 else
16304 MPG123_CFLAGS=""
16305 MPG123_LIBS=""
16307 CPPFLAGS=$ac_save_CPPFLAGS
16310 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16311 case "x$with_mpg123" in
16312 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16313 xno) ;;
16314 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16315 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16316 esac
16317 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16319 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16321 if test "$ac_cv_header_AL_al_h" = "yes"
16322 then
16323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16324 $as_echo_n "checking for -lopenal... " >&6; }
16325 if ${ac_cv_lib_soname_openal+:} false; then :
16326 $as_echo_n "(cached) " >&6
16327 else
16328 ac_check_soname_save_LIBS=$LIBS
16329 LIBS="-lopenal $LIBS"
16330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16331 /* end confdefs.h. */
16333 /* Override any GCC internal prototype to avoid an error.
16334 Use char because int might match the return type of a GCC
16335 builtin and then its argument prototype would still apply. */
16336 #ifdef __cplusplus
16337 extern "C"
16338 #endif
16339 char alGetSource3i ();
16341 main ()
16343 return alGetSource3i ();
16345 return 0;
16347 _ACEOF
16348 if ac_fn_c_try_link "$LINENO"; then :
16349 case "$LIBEXT" in
16350 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16351 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'` ;;
16352 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16353 if ${ac_cv_lib_soname_openal:+false} :; then :
16354 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16355 fi ;;
16356 esac
16357 else
16358 ac_cv_lib_soname_openal=
16360 rm -f core conftest.err conftest.$ac_objext \
16361 conftest$ac_exeext conftest.$ac_ext
16362 LIBS=$ac_check_soname_save_LIBS
16364 if ${ac_cv_lib_soname_openal:+false} :; then :
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16366 $as_echo "not found" >&6; }
16368 else
16369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16370 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16372 cat >>confdefs.h <<_ACEOF
16373 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16374 _ACEOF
16376 OPENAL_LIBS="-lopenal"
16378 ac_cv_lib_openal=yes
16380 cat >>confdefs.h <<_ACEOF
16381 #define HAVE_OPENAL 1
16382 _ACEOF
16386 if test "x$ac_cv_lib_openal" != xyes; then :
16387 case "x$with_openal" in
16388 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16389 xno) ;;
16390 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16391 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16392 esac
16393 enable_openal32=${enable_openal32:-no}
16396 if test "x$ac_cv_lib_soname_FAudio" = "x"
16397 then
16398 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16399 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16400 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16401 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16402 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16403 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16404 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16405 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16406 enable_xactengine3_0=${enable_xactengine3_0:-no}
16407 enable_xactengine3_1=${enable_xactengine3_1:-no}
16408 enable_xactengine3_2=${enable_xactengine3_2:-no}
16409 enable_xactengine3_3=${enable_xactengine3_3:-no}
16410 enable_xactengine3_4=${enable_xactengine3_4:-no}
16411 enable_xactengine3_5=${enable_xactengine3_5:-no}
16412 enable_xactengine3_6=${enable_xactengine3_6:-no}
16413 enable_xactengine3_7=${enable_xactengine3_7:-no}
16414 enable_xapofx1_1=${enable_xapofx1_1:-no}
16415 enable_xapofx1_2=${enable_xapofx1_2:-no}
16416 enable_xapofx1_3=${enable_xapofx1_3:-no}
16417 enable_xapofx1_4=${enable_xapofx1_4:-no}
16418 enable_xapofx1_5=${enable_xapofx1_5:-no}
16419 enable_xaudio2_0=${enable_xaudio2_0:-no}
16420 enable_xaudio2_1=${enable_xaudio2_1:-no}
16421 enable_xaudio2_2=${enable_xaudio2_2:-no}
16422 enable_xaudio2_3=${enable_xaudio2_3:-no}
16423 enable_xaudio2_4=${enable_xaudio2_4:-no}
16424 enable_xaudio2_5=${enable_xaudio2_5:-no}
16425 enable_xaudio2_6=${enable_xaudio2_6:-no}
16426 enable_xaudio2_7=${enable_xaudio2_7:-no}
16427 enable_xaudio2_8=${enable_xaudio2_8:-no}
16428 enable_xaudio2_9=${enable_xaudio2_9:-no}
16431 if test "$ac_cv_header_kstat_h" = "yes"
16432 then
16433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16434 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16435 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16436 $as_echo_n "(cached) " >&6
16437 else
16438 ac_check_lib_save_LIBS=$LIBS
16439 LIBS="-lkstat $LIBS"
16440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16441 /* end confdefs.h. */
16443 /* Override any GCC internal prototype to avoid an error.
16444 Use char because int might match the return type of a GCC
16445 builtin and then its argument prototype would still apply. */
16446 #ifdef __cplusplus
16447 extern "C"
16448 #endif
16449 char kstat_open ();
16451 main ()
16453 return kstat_open ();
16455 return 0;
16457 _ACEOF
16458 if ac_fn_c_try_link "$LINENO"; then :
16459 ac_cv_lib_kstat_kstat_open=yes
16460 else
16461 ac_cv_lib_kstat_kstat_open=no
16463 rm -f core conftest.err conftest.$ac_objext \
16464 conftest$ac_exeext conftest.$ac_ext
16465 LIBS=$ac_check_lib_save_LIBS
16467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16468 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16469 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16471 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16473 KSTAT_LIBS="-lkstat"
16479 if test "$ac_cv_header_libprocstat_h" = "yes"
16480 then
16481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16482 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16483 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16484 $as_echo_n "(cached) " >&6
16485 else
16486 ac_check_lib_save_LIBS=$LIBS
16487 LIBS="-lprocstat $LIBS"
16488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16489 /* end confdefs.h. */
16491 /* Override any GCC internal prototype to avoid an error.
16492 Use char because int might match the return type of a GCC
16493 builtin and then its argument prototype would still apply. */
16494 #ifdef __cplusplus
16495 extern "C"
16496 #endif
16497 char procstat_open_sysctl ();
16499 main ()
16501 return procstat_open_sysctl ();
16503 return 0;
16505 _ACEOF
16506 if ac_fn_c_try_link "$LINENO"; then :
16507 ac_cv_lib_procstat_procstat_open_sysctl=yes
16508 else
16509 ac_cv_lib_procstat_procstat_open_sysctl=no
16511 rm -f core conftest.err conftest.$ac_objext \
16512 conftest$ac_exeext conftest.$ac_ext
16513 LIBS=$ac_check_lib_save_LIBS
16515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16516 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16517 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16519 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16521 PROCSTAT_LIBS="-lprocstat"
16527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16528 $as_echo_n "checking for -lodbc... " >&6; }
16529 if ${ac_cv_lib_soname_odbc+:} false; then :
16530 $as_echo_n "(cached) " >&6
16531 else
16532 ac_check_soname_save_LIBS=$LIBS
16533 LIBS="-lodbc $LIBS"
16534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16535 /* end confdefs.h. */
16537 /* Override any GCC internal prototype to avoid an error.
16538 Use char because int might match the return type of a GCC
16539 builtin and then its argument prototype would still apply. */
16540 #ifdef __cplusplus
16541 extern "C"
16542 #endif
16543 char SQLConnect ();
16545 main ()
16547 return SQLConnect ();
16549 return 0;
16551 _ACEOF
16552 if ac_fn_c_try_link "$LINENO"; then :
16553 case "$LIBEXT" in
16554 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16555 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'` ;;
16556 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16557 if ${ac_cv_lib_soname_odbc:+false} :; then :
16558 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16559 fi ;;
16560 esac
16561 else
16562 ac_cv_lib_soname_odbc=
16564 rm -f core conftest.err conftest.$ac_objext \
16565 conftest$ac_exeext conftest.$ac_ext
16566 LIBS=$ac_check_soname_save_LIBS
16568 if ${ac_cv_lib_soname_odbc:+false} :; then :
16569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16570 $as_echo "not found" >&6; }
16571 cat >>confdefs.h <<_ACEOF
16572 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16573 _ACEOF
16575 else
16576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16577 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16579 cat >>confdefs.h <<_ACEOF
16580 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16581 _ACEOF
16586 if test "x$with_netapi" != "xno"
16587 then
16588 if ${NETAPI_CFLAGS:+false} :; then :
16589 if ${PKG_CONFIG+:} false; then :
16590 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16594 if ${NETAPI_LIBS:+false} :; then :
16595 if ${PKG_CONFIG+:} false; then :
16596 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16601 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16602 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16603 ac_save_CPPFLAGS=$CPPFLAGS
16604 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16606 $as_echo_n "checking for -lnetapi... " >&6; }
16607 if ${ac_cv_lib_soname_netapi+:} false; then :
16608 $as_echo_n "(cached) " >&6
16609 else
16610 ac_check_soname_save_LIBS=$LIBS
16611 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16613 /* end confdefs.h. */
16615 /* Override any GCC internal prototype to avoid an error.
16616 Use char because int might match the return type of a GCC
16617 builtin and then its argument prototype would still apply. */
16618 #ifdef __cplusplus
16619 extern "C"
16620 #endif
16621 char libnetapi_init ();
16623 main ()
16625 return libnetapi_init ();
16627 return 0;
16629 _ACEOF
16630 if ac_fn_c_try_link "$LINENO"; then :
16631 case "$LIBEXT" in
16632 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16633 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'` ;;
16634 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16635 if ${ac_cv_lib_soname_netapi:+false} :; then :
16636 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16637 fi ;;
16638 esac
16639 else
16640 ac_cv_lib_soname_netapi=
16642 rm -f core conftest.err conftest.$ac_objext \
16643 conftest$ac_exeext conftest.$ac_ext
16644 LIBS=$ac_check_soname_save_LIBS
16646 if ${ac_cv_lib_soname_netapi:+false} :; then :
16647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16648 $as_echo "not found" >&6; }
16649 cat >>confdefs.h <<_ACEOF
16650 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16651 _ACEOF
16653 else
16654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16655 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16657 cat >>confdefs.h <<_ACEOF
16658 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16659 _ACEOF
16663 CPPFLAGS=$ac_save_CPPFLAGS
16667 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16668 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16669 then
16670 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16673 if test "x$with_vulkan" != "xno"
16674 then
16675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16676 $as_echo_n "checking for -lvulkan... " >&6; }
16677 if ${ac_cv_lib_soname_vulkan+:} false; then :
16678 $as_echo_n "(cached) " >&6
16679 else
16680 ac_check_soname_save_LIBS=$LIBS
16681 LIBS="-lvulkan $LIBS"
16682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16683 /* end confdefs.h. */
16685 /* Override any GCC internal prototype to avoid an error.
16686 Use char because int might match the return type of a GCC
16687 builtin and then its argument prototype would still apply. */
16688 #ifdef __cplusplus
16689 extern "C"
16690 #endif
16691 char vkGetInstanceProcAddr ();
16693 main ()
16695 return vkGetInstanceProcAddr ();
16697 return 0;
16699 _ACEOF
16700 if ac_fn_c_try_link "$LINENO"; then :
16701 case "$LIBEXT" in
16702 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16703 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'` ;;
16704 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16705 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16706 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16707 fi ;;
16708 esac
16709 else
16710 ac_cv_lib_soname_vulkan=
16712 rm -f core conftest.err conftest.$ac_objext \
16713 conftest$ac_exeext conftest.$ac_ext
16714 LIBS=$ac_check_soname_save_LIBS
16716 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16718 $as_echo "not found" >&6; }
16720 else
16721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16722 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16724 cat >>confdefs.h <<_ACEOF
16725 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16726 _ACEOF
16730 if test "x$ac_cv_lib_soname_vulkan" = "x"
16731 then
16732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16733 $as_echo_n "checking for -lMoltenVK... " >&6; }
16734 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16735 $as_echo_n "(cached) " >&6
16736 else
16737 ac_check_soname_save_LIBS=$LIBS
16738 LIBS="-lMoltenVK $LIBS"
16739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16740 /* end confdefs.h. */
16742 /* Override any GCC internal prototype to avoid an error.
16743 Use char because int might match the return type of a GCC
16744 builtin and then its argument prototype would still apply. */
16745 #ifdef __cplusplus
16746 extern "C"
16747 #endif
16748 char vkGetInstanceProcAddr ();
16750 main ()
16752 return vkGetInstanceProcAddr ();
16754 return 0;
16756 _ACEOF
16757 if ac_fn_c_try_link "$LINENO"; then :
16758 case "$LIBEXT" in
16759 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16760 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'` ;;
16761 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16762 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16763 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16764 fi ;;
16765 esac
16766 else
16767 ac_cv_lib_soname_MoltenVK=
16769 rm -f core conftest.err conftest.$ac_objext \
16770 conftest$ac_exeext conftest.$ac_ext
16771 LIBS=$ac_check_soname_save_LIBS
16773 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16775 $as_echo "not found" >&6; }
16777 else
16778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16779 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16781 cat >>confdefs.h <<_ACEOF
16782 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16783 _ACEOF
16789 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16790 case "x$with_vulkan" in
16791 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16792 xno) ;;
16793 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16794 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16795 esac
16799 if test "x$with_vkd3d" != "xno"
16800 then
16801 if ${VKD3D_CFLAGS:+false} :; then :
16802 if ${PKG_CONFIG+:} false; then :
16803 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16807 if ${VKD3D_LIBS:+false} :; then :
16808 if ${PKG_CONFIG+:} false; then :
16809 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16814 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16815 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16816 ac_save_CPPFLAGS=$CPPFLAGS
16817 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16819 $as_echo_n "checking for -lvkd3d... " >&6; }
16820 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16821 $as_echo_n "(cached) " >&6
16822 else
16823 ac_check_soname_save_LIBS=$LIBS
16824 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16826 /* end confdefs.h. */
16828 /* Override any GCC internal prototype to avoid an error.
16829 Use char because int might match the return type of a GCC
16830 builtin and then its argument prototype would still apply. */
16831 #ifdef __cplusplus
16832 extern "C"
16833 #endif
16834 char vkd3d_serialize_versioned_root_signature ();
16836 main ()
16838 return vkd3d_serialize_versioned_root_signature ();
16840 return 0;
16842 _ACEOF
16843 if ac_fn_c_try_link "$LINENO"; then :
16844 case "$LIBEXT" in
16845 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16846 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'` ;;
16847 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16848 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16849 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16850 fi ;;
16851 esac
16852 else
16853 ac_cv_lib_soname_vkd3d=
16855 rm -f core conftest.err conftest.$ac_objext \
16856 conftest$ac_exeext conftest.$ac_ext
16857 LIBS=$ac_check_soname_save_LIBS
16859 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16861 $as_echo "not found" >&6; }
16863 else
16864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16865 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16867 cat >>confdefs.h <<_ACEOF
16868 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16869 _ACEOF
16873 CPPFLAGS=$ac_save_CPPFLAGS
16875 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
16876 if ${PKG_CONFIG+:} false; then :
16877 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
16881 if ${VKD3D_SHADER_LIBS:+false} :; then :
16882 if ${PKG_CONFIG+:} false; then :
16883 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
16888 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
16889 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
16890 ac_save_CPPFLAGS=$CPPFLAGS
16891 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
16892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
16893 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
16894 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
16895 $as_echo_n "(cached) " >&6
16896 else
16897 ac_check_soname_save_LIBS=$LIBS
16898 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
16899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16900 /* end confdefs.h. */
16902 /* Override any GCC internal prototype to avoid an error.
16903 Use char because int might match the return type of a GCC
16904 builtin and then its argument prototype would still apply. */
16905 #ifdef __cplusplus
16906 extern "C"
16907 #endif
16908 char vkd3d_shader_compile ();
16910 main ()
16912 return vkd3d_shader_compile ();
16914 return 0;
16916 _ACEOF
16917 if ac_fn_c_try_link "$LINENO"; then :
16918 case "$LIBEXT" in
16919 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16920 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'` ;;
16921 *) 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'`
16922 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16923 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16924 fi ;;
16925 esac
16926 else
16927 ac_cv_lib_soname_vkd3d_shader=
16929 rm -f core conftest.err conftest.$ac_objext \
16930 conftest$ac_exeext conftest.$ac_ext
16931 LIBS=$ac_check_soname_save_LIBS
16933 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16935 $as_echo "not found" >&6; }
16937 else
16938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
16939 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
16941 cat >>confdefs.h <<_ACEOF
16942 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
16943 _ACEOF
16947 CPPFLAGS=$ac_save_CPPFLAGS
16950 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16951 case "x$with_vkd3d" in
16952 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16953 xno) ;;
16954 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16955 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16956 esac
16959 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16962 EXTRACFLAGS=""
16964 if test "x${GCC}" = "xyes"
16965 then
16966 EXTRACFLAGS="-Wall -pipe"
16968 saved_CFLAGS=$CFLAGS
16969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16970 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16971 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16972 $as_echo_n "(cached) " >&6
16973 else
16974 ac_wine_try_cflags_saved=$CFLAGS
16975 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16977 /* end confdefs.h. */
16978 int main(int argc, char **argv) { return 0; }
16979 _ACEOF
16980 if ac_fn_c_try_link "$LINENO"; then :
16981 ac_cv_cflags__Werror_unknown_warning_option=yes
16982 else
16983 ac_cv_cflags__Werror_unknown_warning_option=no
16985 rm -f core conftest.err conftest.$ac_objext \
16986 conftest$ac_exeext conftest.$ac_ext
16987 CFLAGS=$ac_wine_try_cflags_saved
16989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16990 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16991 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16992 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
16995 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
16996 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
16997 $as_echo_n "(cached) " >&6
16998 else
16999 ac_wine_try_cflags_saved=$CFLAGS
17000 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17002 /* end confdefs.h. */
17003 int main(int argc, char **argv) { return 0; }
17004 _ACEOF
17005 if ac_fn_c_try_link "$LINENO"; then :
17006 ac_cv_cflags__Werror_unused_command_line_argument=yes
17007 else
17008 ac_cv_cflags__Werror_unused_command_line_argument=no
17010 rm -f core conftest.err conftest.$ac_objext \
17011 conftest$ac_exeext conftest.$ac_ext
17012 CFLAGS=$ac_wine_try_cflags_saved
17014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17015 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17016 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17017 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17020 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17021 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
17022 $as_echo_n "(cached) " >&6
17023 else
17024 ac_wine_try_cflags_saved=$CFLAGS
17025 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17027 /* end confdefs.h. */
17028 int main(int argc, char **argv) { return 0; }
17029 _ACEOF
17030 if ac_fn_c_try_link "$LINENO"; then :
17031 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17032 else
17033 ac_cv_cflags__Werror_ignored_optimization_argument=no
17035 rm -f core conftest.err conftest.$ac_objext \
17036 conftest$ac_exeext conftest.$ac_ext
17037 CFLAGS=$ac_wine_try_cflags_saved
17039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17040 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17041 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17042 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17045 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17046 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17047 $as_echo_n "(cached) " >&6
17048 else
17049 ac_wine_try_cflags_saved=$CFLAGS
17050 CFLAGS="$CFLAGS -fcf-protection=none"
17051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17052 /* end confdefs.h. */
17053 int main(int argc, char **argv) { return 0; }
17054 _ACEOF
17055 if ac_fn_c_try_link "$LINENO"; then :
17056 ac_cv_cflags__fcf_protection_none=yes
17057 else
17058 ac_cv_cflags__fcf_protection_none=no
17060 rm -f core conftest.err conftest.$ac_objext \
17061 conftest$ac_exeext conftest.$ac_ext
17062 CFLAGS=$ac_wine_try_cflags_saved
17064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17065 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17066 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17067 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17070 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17071 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17072 $as_echo_n "(cached) " >&6
17073 else
17074 ac_wine_try_cflags_saved=$CFLAGS
17075 CFLAGS="$CFLAGS -fno-stack-protector"
17076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17077 /* end confdefs.h. */
17078 int main(int argc, char **argv) { return 0; }
17079 _ACEOF
17080 if ac_fn_c_try_link "$LINENO"; then :
17081 ac_cv_cflags__fno_stack_protector=yes
17082 else
17083 ac_cv_cflags__fno_stack_protector=no
17085 rm -f core conftest.err conftest.$ac_objext \
17086 conftest$ac_exeext conftest.$ac_ext
17087 CFLAGS=$ac_wine_try_cflags_saved
17089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17090 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17091 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17092 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17095 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17096 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17097 $as_echo_n "(cached) " >&6
17098 else
17099 ac_wine_try_cflags_saved=$CFLAGS
17100 CFLAGS="$CFLAGS -fno-strict-aliasing"
17101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17102 /* end confdefs.h. */
17103 int main(int argc, char **argv) { return 0; }
17104 _ACEOF
17105 if ac_fn_c_try_link "$LINENO"; then :
17106 ac_cv_cflags__fno_strict_aliasing=yes
17107 else
17108 ac_cv_cflags__fno_strict_aliasing=no
17110 rm -f core conftest.err conftest.$ac_objext \
17111 conftest$ac_exeext conftest.$ac_ext
17112 CFLAGS=$ac_wine_try_cflags_saved
17114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17115 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17116 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17117 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17120 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17121 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17122 $as_echo_n "(cached) " >&6
17123 else
17124 ac_wine_try_cflags_saved=$CFLAGS
17125 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17127 /* end confdefs.h. */
17128 int main(int argc, char **argv) { return 0; }
17129 _ACEOF
17130 if ac_fn_c_try_link "$LINENO"; then :
17131 ac_cv_cflags__Wdeclaration_after_statement=yes
17132 else
17133 ac_cv_cflags__Wdeclaration_after_statement=no
17135 rm -f core conftest.err conftest.$ac_objext \
17136 conftest$ac_exeext conftest.$ac_ext
17137 CFLAGS=$ac_wine_try_cflags_saved
17139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17140 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17141 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17142 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17145 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17146 if ${ac_cv_cflags__Wempty_body+:} false; then :
17147 $as_echo_n "(cached) " >&6
17148 else
17149 ac_wine_try_cflags_saved=$CFLAGS
17150 CFLAGS="$CFLAGS -Wempty-body"
17151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17152 /* end confdefs.h. */
17153 int main(int argc, char **argv) { return 0; }
17154 _ACEOF
17155 if ac_fn_c_try_link "$LINENO"; then :
17156 ac_cv_cflags__Wempty_body=yes
17157 else
17158 ac_cv_cflags__Wempty_body=no
17160 rm -f core conftest.err conftest.$ac_objext \
17161 conftest$ac_exeext conftest.$ac_ext
17162 CFLAGS=$ac_wine_try_cflags_saved
17164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17165 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17166 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17167 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17170 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17171 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17172 $as_echo_n "(cached) " >&6
17173 else
17174 ac_wine_try_cflags_saved=$CFLAGS
17175 CFLAGS="$CFLAGS -Wignored-qualifiers"
17176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17177 /* end confdefs.h. */
17178 int main(int argc, char **argv) { return 0; }
17179 _ACEOF
17180 if ac_fn_c_try_link "$LINENO"; then :
17181 ac_cv_cflags__Wignored_qualifiers=yes
17182 else
17183 ac_cv_cflags__Wignored_qualifiers=no
17185 rm -f core conftest.err conftest.$ac_objext \
17186 conftest$ac_exeext conftest.$ac_ext
17187 CFLAGS=$ac_wine_try_cflags_saved
17189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17190 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17191 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17192 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17195 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17196 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17197 $as_echo_n "(cached) " >&6
17198 else
17199 ac_wine_try_cflags_saved=$CFLAGS
17200 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17202 /* end confdefs.h. */
17203 int main(int argc, char **argv) { return 0; }
17204 _ACEOF
17205 if ac_fn_c_try_link "$LINENO"; then :
17206 ac_cv_cflags__Wpacked_not_aligned=yes
17207 else
17208 ac_cv_cflags__Wpacked_not_aligned=no
17210 rm -f core conftest.err conftest.$ac_objext \
17211 conftest$ac_exeext conftest.$ac_ext
17212 CFLAGS=$ac_wine_try_cflags_saved
17214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17215 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17216 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17217 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17220 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17221 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17222 $as_echo_n "(cached) " >&6
17223 else
17224 ac_wine_try_cflags_saved=$CFLAGS
17225 CFLAGS="$CFLAGS -Wpragma-pack"
17226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17227 /* end confdefs.h. */
17228 int main(int argc, char **argv) { return 0; }
17229 _ACEOF
17230 if ac_fn_c_try_link "$LINENO"; then :
17231 ac_cv_cflags__Wpragma_pack=yes
17232 else
17233 ac_cv_cflags__Wpragma_pack=no
17235 rm -f core conftest.err conftest.$ac_objext \
17236 conftest$ac_exeext conftest.$ac_ext
17237 CFLAGS=$ac_wine_try_cflags_saved
17239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17240 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17241 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17242 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17245 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17246 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17247 $as_echo_n "(cached) " >&6
17248 else
17249 ac_wine_try_cflags_saved=$CFLAGS
17250 CFLAGS="$CFLAGS -Wshift-overflow=2"
17251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17252 /* end confdefs.h. */
17253 int main(int argc, char **argv) { return 0; }
17254 _ACEOF
17255 if ac_fn_c_try_link "$LINENO"; then :
17256 ac_cv_cflags__Wshift_overflow_2=yes
17257 else
17258 ac_cv_cflags__Wshift_overflow_2=no
17260 rm -f core conftest.err conftest.$ac_objext \
17261 conftest$ac_exeext conftest.$ac_ext
17262 CFLAGS=$ac_wine_try_cflags_saved
17264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17265 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17266 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17267 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17270 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17271 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17272 $as_echo_n "(cached) " >&6
17273 else
17274 ac_wine_try_cflags_saved=$CFLAGS
17275 CFLAGS="$CFLAGS -Wstrict-prototypes"
17276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17277 /* end confdefs.h. */
17278 int main(int argc, char **argv) { return 0; }
17279 _ACEOF
17280 if ac_fn_c_try_link "$LINENO"; then :
17281 ac_cv_cflags__Wstrict_prototypes=yes
17282 else
17283 ac_cv_cflags__Wstrict_prototypes=no
17285 rm -f core conftest.err conftest.$ac_objext \
17286 conftest$ac_exeext conftest.$ac_ext
17287 CFLAGS=$ac_wine_try_cflags_saved
17289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17290 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17291 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17292 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17295 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17296 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17297 $as_echo_n "(cached) " >&6
17298 else
17299 ac_wine_try_cflags_saved=$CFLAGS
17300 CFLAGS="$CFLAGS -Wtype-limits"
17301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17302 /* end confdefs.h. */
17303 int main(int argc, char **argv) { return 0; }
17304 _ACEOF
17305 if ac_fn_c_try_link "$LINENO"; then :
17306 ac_cv_cflags__Wtype_limits=yes
17307 else
17308 ac_cv_cflags__Wtype_limits=no
17310 rm -f core conftest.err conftest.$ac_objext \
17311 conftest$ac_exeext conftest.$ac_ext
17312 CFLAGS=$ac_wine_try_cflags_saved
17314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17315 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17316 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17317 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17320 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17321 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17322 $as_echo_n "(cached) " >&6
17323 else
17324 ac_wine_try_cflags_saved=$CFLAGS
17325 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17327 /* end confdefs.h. */
17328 int main(int argc, char **argv) { return 0; }
17329 _ACEOF
17330 if ac_fn_c_try_link "$LINENO"; then :
17331 ac_cv_cflags__Wunused_but_set_parameter=yes
17332 else
17333 ac_cv_cflags__Wunused_but_set_parameter=no
17335 rm -f core conftest.err conftest.$ac_objext \
17336 conftest$ac_exeext conftest.$ac_ext
17337 CFLAGS=$ac_wine_try_cflags_saved
17339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17340 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17341 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17342 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17345 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17346 if ${ac_cv_cflags__Wvla+:} false; then :
17347 $as_echo_n "(cached) " >&6
17348 else
17349 ac_wine_try_cflags_saved=$CFLAGS
17350 CFLAGS="$CFLAGS -Wvla"
17351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17352 /* end confdefs.h. */
17353 int main(int argc, char **argv) { return 0; }
17354 _ACEOF
17355 if ac_fn_c_try_link "$LINENO"; then :
17356 ac_cv_cflags__Wvla=yes
17357 else
17358 ac_cv_cflags__Wvla=no
17360 rm -f core conftest.err conftest.$ac_objext \
17361 conftest$ac_exeext conftest.$ac_ext
17362 CFLAGS=$ac_wine_try_cflags_saved
17364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17365 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17366 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17367 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17370 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17371 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17372 $as_echo_n "(cached) " >&6
17373 else
17374 ac_wine_try_cflags_saved=$CFLAGS
17375 CFLAGS="$CFLAGS -Wwrite-strings"
17376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17377 /* end confdefs.h. */
17378 int main(int argc, char **argv) { return 0; }
17379 _ACEOF
17380 if ac_fn_c_try_link "$LINENO"; then :
17381 ac_cv_cflags__Wwrite_strings=yes
17382 else
17383 ac_cv_cflags__Wwrite_strings=no
17385 rm -f core conftest.err conftest.$ac_objext \
17386 conftest$ac_exeext conftest.$ac_ext
17387 CFLAGS=$ac_wine_try_cflags_saved
17389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17390 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17391 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17392 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17395 if test -z "$CROSSTARGET"
17396 then
17397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17398 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17399 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17400 $as_echo_n "(cached) " >&6
17401 else
17402 ac_wine_try_cflags_saved=$CFLAGS
17403 CFLAGS="$CFLAGS -fexcess-precision=standard"
17404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17405 /* end confdefs.h. */
17406 int main(int argc, char **argv) { return 0; }
17407 _ACEOF
17408 if ac_fn_c_try_link "$LINENO"; then :
17409 ac_cv_cflags__fexcess_precision_standard=yes
17410 else
17411 ac_cv_cflags__fexcess_precision_standard=no
17413 rm -f core conftest.err conftest.$ac_objext \
17414 conftest$ac_exeext conftest.$ac_ext
17415 CFLAGS=$ac_wine_try_cflags_saved
17417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17418 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17419 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17420 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17426 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17427 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17428 $as_echo_n "(cached) " >&6
17429 else
17430 ac_wine_try_cflags_saved=$CFLAGS
17431 CFLAGS="$CFLAGS -Wpointer-arith"
17432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17433 /* end confdefs.h. */
17434 int main(int argc, char **argv) { return 0; }
17435 _ACEOF
17436 if ac_fn_c_try_link "$LINENO"; then :
17437 ac_cv_cflags__Wpointer_arith=yes
17438 else
17439 ac_cv_cflags__Wpointer_arith=no
17441 rm -f core conftest.err conftest.$ac_objext \
17442 conftest$ac_exeext conftest.$ac_ext
17443 CFLAGS=$ac_wine_try_cflags_saved
17445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17446 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17447 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17448 saved_string_h_CFLAGS=$CFLAGS
17449 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17451 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17452 if ${ac_cv_c_string_h_warnings+:} false; then :
17453 $as_echo_n "(cached) " >&6
17454 else
17455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17456 /* end confdefs.h. */
17457 #include <string.h>
17459 main ()
17463 return 0;
17465 _ACEOF
17466 if ac_fn_c_try_compile "$LINENO"; then :
17467 ac_cv_c_string_h_warnings=no
17468 else
17469 ac_cv_c_string_h_warnings=yes
17471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17474 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17475 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17476 CFLAGS=$saved_string_h_CFLAGS
17479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17480 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17481 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17482 $as_echo_n "(cached) " >&6
17483 else
17484 ac_wine_try_cflags_saved=$CFLAGS
17485 CFLAGS="$CFLAGS -Wlogical-op"
17486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17487 /* end confdefs.h. */
17488 int main(int argc, char **argv) { return 0; }
17489 _ACEOF
17490 if ac_fn_c_try_link "$LINENO"; then :
17491 ac_cv_cflags__Wlogical_op=yes
17492 else
17493 ac_cv_cflags__Wlogical_op=no
17495 rm -f core conftest.err conftest.$ac_objext \
17496 conftest$ac_exeext conftest.$ac_ext
17497 CFLAGS=$ac_wine_try_cflags_saved
17499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17500 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17501 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17502 saved_string_h_CFLAGS=$CFLAGS
17503 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17505 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17506 if ${ac_cv_c_logicalop_noisy+:} false; then :
17507 $as_echo_n "(cached) " >&6
17508 else
17509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17510 /* end confdefs.h. */
17511 #include <string.h>
17512 char*f(const char *h,char n) {return strchr(h,n);}
17514 main ()
17518 return 0;
17520 _ACEOF
17521 if ac_fn_c_try_compile "$LINENO"; then :
17522 ac_cv_c_logicalop_noisy=no
17523 else
17524 ac_cv_c_logicalop_noisy=yes
17526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17529 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17530 CFLAGS=$saved_string_h_CFLAGS
17531 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
17535 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
17536 if ${wine_cv_64bit_compare_swap+:} false; then :
17537 $as_echo_n "(cached) " >&6
17538 else
17539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17540 /* end confdefs.h. */
17541 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17542 #error no
17543 #endif
17545 main ()
17549 return 0;
17551 _ACEOF
17552 if ac_fn_c_try_compile "$LINENO"; then :
17553 wine_cv_64bit_compare_swap="none needed"
17554 else
17555 case $host_cpu in
17556 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
17557 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
17558 *) wine_cv_64bit_compare_swap="unknown" ;;
17559 esac
17560 if test "x$wine_cv_64bit_compare_swap" != xunknown
17561 then
17562 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
17563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17564 /* end confdefs.h. */
17565 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17566 #error no
17567 #endif
17569 main ()
17573 return 0;
17575 _ACEOF
17576 if ac_fn_c_try_compile "$LINENO"; then :
17578 else
17579 wine_cv_64bit_compare_swap="unknown"
17581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17582 CFLAGS=$saved_CFLAGS
17585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
17588 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
17589 case "$wine_cv_64bit_compare_swap" in
17590 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
17591 "none needed") ;;
17592 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
17593 esac
17595 for ac_flag in $CFLAGS; do
17596 case $ac_flag in
17597 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17598 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17599 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17600 $as_echo_n "(cached) " >&6
17601 else
17602 ac_wine_try_cflags_saved=$CFLAGS
17603 CFLAGS="$CFLAGS -gdwarf-2"
17604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17605 /* end confdefs.h. */
17606 int main(int argc, char **argv) { return 0; }
17607 _ACEOF
17608 if ac_fn_c_try_link "$LINENO"; then :
17609 ac_cv_cflags__gdwarf_2=yes
17610 else
17611 ac_cv_cflags__gdwarf_2=no
17613 rm -f core conftest.err conftest.$ac_objext \
17614 conftest$ac_exeext conftest.$ac_ext
17615 CFLAGS=$ac_wine_try_cflags_saved
17617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17618 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17619 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17620 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17623 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17624 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17625 $as_echo_n "(cached) " >&6
17626 else
17627 ac_wine_try_cflags_saved=$CFLAGS
17628 CFLAGS="$CFLAGS -gstrict-dwarf"
17629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17630 /* end confdefs.h. */
17631 int main(int argc, char **argv) { return 0; }
17632 _ACEOF
17633 if ac_fn_c_try_link "$LINENO"; then :
17634 ac_cv_cflags__gstrict_dwarf=yes
17635 else
17636 ac_cv_cflags__gstrict_dwarf=no
17638 rm -f core conftest.err conftest.$ac_objext \
17639 conftest$ac_exeext conftest.$ac_ext
17640 CFLAGS=$ac_wine_try_cflags_saved
17642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17643 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17644 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17645 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17646 fi ;;
17647 esac
17648 done
17650 MSVCRTFLAGS=""
17652 case $host_os in
17653 mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
17654 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
17655 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
17656 $as_echo_n "(cached) " >&6
17657 else
17658 ac_wine_try_cflags_saved=$CFLAGS
17659 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
17660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17661 /* end confdefs.h. */
17662 int main(int argc, char **argv) { return 0; }
17663 _ACEOF
17664 if ac_fn_c_try_link "$LINENO"; then :
17665 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
17666 else
17667 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
17669 rm -f core conftest.err conftest.$ac_objext \
17670 conftest$ac_exeext conftest.$ac_ext
17671 CFLAGS=$ac_wine_try_cflags_saved
17673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
17674 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
17675 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
17676 DELAYLOADFLAG="-Wl,-delayload,"
17678 fi ;;
17679 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17680 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17681 if ${ac_cv_cflags__fno_builtin+:} false; then :
17682 $as_echo_n "(cached) " >&6
17683 else
17684 ac_wine_try_cflags_saved=$CFLAGS
17685 CFLAGS="$CFLAGS -fno-builtin"
17686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17687 /* end confdefs.h. */
17688 int main(int argc, char **argv) { return 0; }
17689 _ACEOF
17690 if ac_fn_c_try_link "$LINENO"; then :
17691 ac_cv_cflags__fno_builtin=yes
17692 else
17693 ac_cv_cflags__fno_builtin=no
17695 rm -f core conftest.err conftest.$ac_objext \
17696 conftest$ac_exeext conftest.$ac_ext
17697 CFLAGS=$ac_wine_try_cflags_saved
17699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17700 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17701 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17702 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17705 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17706 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17707 $as_echo_n "(cached) " >&6
17708 else
17709 ac_wine_try_cflags_saved=$CFLAGS
17710 CFLAGS="$CFLAGS -fshort-wchar"
17711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17712 /* end confdefs.h. */
17713 int main(int argc, char **argv) { return 0; }
17714 _ACEOF
17715 if ac_fn_c_try_link "$LINENO"; then :
17716 ac_cv_cflags__fshort_wchar=yes
17717 else
17718 ac_cv_cflags__fshort_wchar=no
17720 rm -f core conftest.err conftest.$ac_objext \
17721 conftest$ac_exeext conftest.$ac_ext
17722 CFLAGS=$ac_wine_try_cflags_saved
17724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17725 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17726 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17727 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17728 fi ;;
17729 esac
17731 case $host_cpu in
17732 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17733 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17734 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17735 $as_echo_n "(cached) " >&6
17736 else
17737 ac_wine_try_cflags_saved=$CFLAGS
17738 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17740 /* end confdefs.h. */
17741 int main(int argc, char **argv) { return 0; }
17742 _ACEOF
17743 if ac_fn_c_try_link "$LINENO"; then :
17744 ac_cv_cflags__fno_omit_frame_pointer=yes
17745 else
17746 ac_cv_cflags__fno_omit_frame_pointer=no
17748 rm -f core conftest.err conftest.$ac_objext \
17749 conftest$ac_exeext conftest.$ac_ext
17750 CFLAGS=$ac_wine_try_cflags_saved
17752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17753 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17754 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17755 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17756 fi ;;
17757 *x86_64*)
17758 case $host_os in
17759 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17760 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17761 if ${ac_cv_cflags__Wno_format+:} false; then :
17762 $as_echo_n "(cached) " >&6
17763 else
17764 ac_wine_try_cflags_saved=$CFLAGS
17765 CFLAGS="$CFLAGS -Wno-format"
17766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17767 /* end confdefs.h. */
17768 int main(int argc, char **argv) { return 0; }
17769 _ACEOF
17770 if ac_fn_c_try_link "$LINENO"; then :
17771 ac_cv_cflags__Wno_format=yes
17772 else
17773 ac_cv_cflags__Wno_format=no
17775 rm -f core conftest.err conftest.$ac_objext \
17776 conftest$ac_exeext conftest.$ac_ext
17777 CFLAGS=$ac_wine_try_cflags_saved
17779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17780 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17781 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17782 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17783 fi ;;
17784 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17785 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17786 if ${ac_cv_cflags__mabi_ms+:} false; then :
17787 $as_echo_n "(cached) " >&6
17788 else
17789 ac_wine_try_cflags_saved=$CFLAGS
17790 CFLAGS="$CFLAGS -mabi=ms"
17791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17792 /* end confdefs.h. */
17793 int main(int argc, char **argv) { return 0; }
17794 _ACEOF
17795 if ac_fn_c_try_link "$LINENO"; then :
17796 ac_cv_cflags__mabi_ms=yes
17797 else
17798 ac_cv_cflags__mabi_ms=no
17800 rm -f core conftest.err conftest.$ac_objext \
17801 conftest$ac_exeext conftest.$ac_ext
17802 CFLAGS=$ac_wine_try_cflags_saved
17804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17805 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17806 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17807 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17808 fi ;;
17809 esac ;;
17810 esac
17812 CFLAGS=$saved_CFLAGS
17814 if test "x$enable_werror" = "xyes"
17815 then
17816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17817 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17818 if ${ac_cv_cflags__Werror+:} false; then :
17819 $as_echo_n "(cached) " >&6
17820 else
17821 ac_wine_try_cflags_saved=$CFLAGS
17822 CFLAGS="$CFLAGS -Werror"
17823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17824 /* end confdefs.h. */
17825 int main(int argc, char **argv) { return 0; }
17826 _ACEOF
17827 if ac_fn_c_try_link "$LINENO"; then :
17828 ac_cv_cflags__Werror=yes
17829 else
17830 ac_cv_cflags__Werror=no
17832 rm -f core conftest.err conftest.$ac_objext \
17833 conftest$ac_exeext conftest.$ac_ext
17834 CFLAGS=$ac_wine_try_cflags_saved
17836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17837 $as_echo "$ac_cv_cflags__Werror" >&6; }
17838 if test "x$ac_cv_cflags__Werror" = xyes; then :
17839 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17842 if test "x$enable_build_id" = "xyes"
17843 then
17844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
17845 $as_echo_n "checking whether the compiler supports -Wl,--build-id... " >&6; }
17846 if ${ac_cv_cflags__Wl___build_id+:} false; then :
17847 $as_echo_n "(cached) " >&6
17848 else
17849 ac_wine_try_cflags_saved=$CFLAGS
17850 CFLAGS="$CFLAGS -Wl,--build-id"
17851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17852 /* end confdefs.h. */
17853 int main(int argc, char **argv) { return 0; }
17854 _ACEOF
17855 if ac_fn_c_try_link "$LINENO"; then :
17856 ac_cv_cflags__Wl___build_id=yes
17857 else
17858 ac_cv_cflags__Wl___build_id=no
17860 rm -f core conftest.err conftest.$ac_objext \
17861 conftest$ac_exeext conftest.$ac_ext
17862 CFLAGS=$ac_wine_try_cflags_saved
17864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
17865 $as_echo "$ac_cv_cflags__Wl___build_id" >&6; }
17866 if test "x$ac_cv_cflags__Wl___build_id" = xyes; then :
17867 CFLAGS="$CFLAGS -Wl,--build-id"
17868 LDFLAGS="$LDFLAGS -Wl,--build-id"
17874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17875 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17876 if ${ac_cv_c_fortify_enabled+:} false; then :
17877 $as_echo_n "(cached) " >&6
17878 else
17879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17880 /* end confdefs.h. */
17881 #include <string.h>
17883 main ()
17885 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17886 #error Fortify enabled
17887 #endif
17889 return 0;
17891 _ACEOF
17892 if ac_fn_c_try_compile "$LINENO"; then :
17893 ac_cv_c_fortify_enabled=no
17894 else
17895 ac_cv_c_fortify_enabled=yes
17897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17900 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17901 if test "$ac_cv_c_fortify_enabled" = yes
17902 then
17903 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17908 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17909 if ${ac_cv_c_cfi_support+:} false; then :
17910 $as_echo_n "(cached) " >&6
17911 else
17912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17913 /* end confdefs.h. */
17914 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17916 main ()
17920 return 0;
17922 _ACEOF
17923 if ac_fn_c_try_compile "$LINENO"; then :
17924 ac_cv_c_cfi_support="yes"
17925 else
17926 ac_cv_c_cfi_support="no"
17928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17931 $as_echo "$ac_cv_c_cfi_support" >&6; }
17932 if test "$ac_cv_c_cfi_support" = "yes"
17933 then
17934 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
17935 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17936 else
17937 if test "x$enable_win64" = "xyes"
17938 then
17939 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17944 case $build_os in
17945 cygwin*|mingw32*) TOOLSEXT=".exe"
17947 esac
17949 case $host_os in
17950 linux*)
17951 case $host_cpu in
17952 *i[3456789]86*|x86_64*|*aarch64*)
17953 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17954 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17956 esac
17958 esac
17961 ac_save_CFLAGS="$CFLAGS"
17962 CFLAGS="$CFLAGS $BUILTINFLAG"
17963 for ac_func in \
17964 __res_get_state \
17965 __res_getservers \
17966 _spawnvp \
17967 epoll_create \
17968 fnmatch \
17969 fork \
17970 fstatfs \
17971 futimens \
17972 futimes \
17973 futimesat \
17974 getattrlist \
17975 getauxval \
17976 getifaddrs \
17977 getopt_long_only \
17978 getrandom \
17979 kqueue \
17980 lstat \
17981 mach_continuous_time \
17982 pipe2 \
17983 poll \
17984 port_create \
17985 prctl \
17986 pread \
17987 proc_pidinfo \
17988 pwrite \
17989 readlink \
17990 sched_yield \
17991 setproctitle \
17992 setprogname \
17993 sigprocmask \
17994 symlink \
17995 tcdrain \
17996 thr_kill2
17998 do :
17999 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18000 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18001 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18002 cat >>confdefs.h <<_ACEOF
18003 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18004 _ACEOF
18007 done
18009 CFLAGS="$ac_save_CFLAGS"
18011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18012 $as_echo_n "checking for library containing dlopen... " >&6; }
18013 if ${ac_cv_search_dlopen+:} false; then :
18014 $as_echo_n "(cached) " >&6
18015 else
18016 ac_func_search_save_LIBS=$LIBS
18017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18018 /* end confdefs.h. */
18020 /* Override any GCC internal prototype to avoid an error.
18021 Use char because int might match the return type of a GCC
18022 builtin and then its argument prototype would still apply. */
18023 #ifdef __cplusplus
18024 extern "C"
18025 #endif
18026 char dlopen ();
18028 main ()
18030 return dlopen ();
18032 return 0;
18034 _ACEOF
18035 for ac_lib in '' dl; do
18036 if test -z "$ac_lib"; then
18037 ac_res="none required"
18038 else
18039 ac_res=-l$ac_lib
18040 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18042 if ac_fn_c_try_link "$LINENO"; then :
18043 ac_cv_search_dlopen=$ac_res
18045 rm -f core conftest.err conftest.$ac_objext \
18046 conftest$ac_exeext
18047 if ${ac_cv_search_dlopen+:} false; then :
18048 break
18050 done
18051 if ${ac_cv_search_dlopen+:} false; then :
18053 else
18054 ac_cv_search_dlopen=no
18056 rm conftest.$ac_ext
18057 LIBS=$ac_func_search_save_LIBS
18059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18060 $as_echo "$ac_cv_search_dlopen" >&6; }
18061 ac_res=$ac_cv_search_dlopen
18062 if test "$ac_res" != no; then :
18063 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18067 ac_wine_check_funcs_save_LIBS="$LIBS"
18068 LIBS="$LIBS $DL_LIBS"
18069 for ac_func in dladdr dlinfo
18070 do :
18071 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18072 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18073 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18074 cat >>confdefs.h <<_ACEOF
18075 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18076 _ACEOF
18079 done
18081 LIBS="$ac_wine_check_funcs_save_LIBS"
18083 if test "$ac_cv_func_poll" = no
18084 then
18085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18086 $as_echo_n "checking for poll in -lpoll... " >&6; }
18087 if ${ac_cv_lib_poll_poll+:} false; then :
18088 $as_echo_n "(cached) " >&6
18089 else
18090 ac_check_lib_save_LIBS=$LIBS
18091 LIBS="-lpoll $LIBS"
18092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18093 /* end confdefs.h. */
18095 /* Override any GCC internal prototype to avoid an error.
18096 Use char because int might match the return type of a GCC
18097 builtin and then its argument prototype would still apply. */
18098 #ifdef __cplusplus
18099 extern "C"
18100 #endif
18101 char poll ();
18103 main ()
18105 return poll ();
18107 return 0;
18109 _ACEOF
18110 if ac_fn_c_try_link "$LINENO"; then :
18111 ac_cv_lib_poll_poll=yes
18112 else
18113 ac_cv_lib_poll_poll=no
18115 rm -f core conftest.err conftest.$ac_objext \
18116 conftest$ac_exeext conftest.$ac_ext
18117 LIBS=$ac_check_lib_save_LIBS
18119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18120 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18121 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18122 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18123 POLL_LIBS="-lpoll"
18129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18130 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18131 if ${ac_cv_search_gethostbyname+:} false; then :
18132 $as_echo_n "(cached) " >&6
18133 else
18134 ac_func_search_save_LIBS=$LIBS
18135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18136 /* end confdefs.h. */
18138 /* Override any GCC internal prototype to avoid an error.
18139 Use char because int might match the return type of a GCC
18140 builtin and then its argument prototype would still apply. */
18141 #ifdef __cplusplus
18142 extern "C"
18143 #endif
18144 char gethostbyname ();
18146 main ()
18148 return gethostbyname ();
18150 return 0;
18152 _ACEOF
18153 for ac_lib in '' nsl; do
18154 if test -z "$ac_lib"; then
18155 ac_res="none required"
18156 else
18157 ac_res=-l$ac_lib
18158 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18160 if ac_fn_c_try_link "$LINENO"; then :
18161 ac_cv_search_gethostbyname=$ac_res
18163 rm -f core conftest.err conftest.$ac_objext \
18164 conftest$ac_exeext
18165 if ${ac_cv_search_gethostbyname+:} false; then :
18166 break
18168 done
18169 if ${ac_cv_search_gethostbyname+:} false; then :
18171 else
18172 ac_cv_search_gethostbyname=no
18174 rm conftest.$ac_ext
18175 LIBS=$ac_func_search_save_LIBS
18177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18178 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18179 ac_res=$ac_cv_search_gethostbyname
18180 if test "$ac_res" != no; then :
18181 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18187 $as_echo_n "checking for library containing connect... " >&6; }
18188 if ${ac_cv_search_connect+:} false; then :
18189 $as_echo_n "(cached) " >&6
18190 else
18191 ac_func_search_save_LIBS=$LIBS
18192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18193 /* end confdefs.h. */
18195 /* Override any GCC internal prototype to avoid an error.
18196 Use char because int might match the return type of a GCC
18197 builtin and then its argument prototype would still apply. */
18198 #ifdef __cplusplus
18199 extern "C"
18200 #endif
18201 char connect ();
18203 main ()
18205 return connect ();
18207 return 0;
18209 _ACEOF
18210 for ac_lib in '' socket; do
18211 if test -z "$ac_lib"; then
18212 ac_res="none required"
18213 else
18214 ac_res=-l$ac_lib
18215 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18217 if ac_fn_c_try_link "$LINENO"; then :
18218 ac_cv_search_connect=$ac_res
18220 rm -f core conftest.err conftest.$ac_objext \
18221 conftest$ac_exeext
18222 if ${ac_cv_search_connect+:} false; then :
18223 break
18225 done
18226 if ${ac_cv_search_connect+:} false; then :
18228 else
18229 ac_cv_search_connect=no
18231 rm conftest.$ac_ext
18232 LIBS=$ac_func_search_save_LIBS
18234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18235 $as_echo "$ac_cv_search_connect" >&6; }
18236 ac_res=$ac_cv_search_connect
18237 if test "$ac_res" != no; then :
18238 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18244 $as_echo_n "checking for library containing inet_aton... " >&6; }
18245 if ${ac_cv_search_inet_aton+:} false; then :
18246 $as_echo_n "(cached) " >&6
18247 else
18248 ac_func_search_save_LIBS=$LIBS
18249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18250 /* end confdefs.h. */
18252 /* Override any GCC internal prototype to avoid an error.
18253 Use char because int might match the return type of a GCC
18254 builtin and then its argument prototype would still apply. */
18255 #ifdef __cplusplus
18256 extern "C"
18257 #endif
18258 char inet_aton ();
18260 main ()
18262 return inet_aton ();
18264 return 0;
18266 _ACEOF
18267 for ac_lib in '' resolv; do
18268 if test -z "$ac_lib"; then
18269 ac_res="none required"
18270 else
18271 ac_res=-l$ac_lib
18272 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18274 if ac_fn_c_try_link "$LINENO"; then :
18275 ac_cv_search_inet_aton=$ac_res
18277 rm -f core conftest.err conftest.$ac_objext \
18278 conftest$ac_exeext
18279 if ${ac_cv_search_inet_aton+:} false; then :
18280 break
18282 done
18283 if ${ac_cv_search_inet_aton+:} false; then :
18285 else
18286 ac_cv_search_inet_aton=no
18288 rm conftest.$ac_ext
18289 LIBS=$ac_func_search_save_LIBS
18291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18292 $as_echo "$ac_cv_search_inet_aton" >&6; }
18293 ac_res=$ac_cv_search_inet_aton
18294 if test "$ac_res" != no; then :
18295 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18300 for ac_func in \
18301 getaddrinfo \
18302 getnameinfo \
18303 getservbyport \
18305 do :
18306 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18307 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18308 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18309 cat >>confdefs.h <<_ACEOF
18310 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18311 _ACEOF
18314 done
18317 case $host_os in
18318 darwin*|macosx*) ;;
18319 *) ac_save_LIBS=$LIBS
18320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18321 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18322 if ${ac_cv_search_clock_gettime+:} false; then :
18323 $as_echo_n "(cached) " >&6
18324 else
18325 ac_func_search_save_LIBS=$LIBS
18326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18327 /* end confdefs.h. */
18329 /* Override any GCC internal prototype to avoid an error.
18330 Use char because int might match the return type of a GCC
18331 builtin and then its argument prototype would still apply. */
18332 #ifdef __cplusplus
18333 extern "C"
18334 #endif
18335 char clock_gettime ();
18337 main ()
18339 return clock_gettime ();
18341 return 0;
18343 _ACEOF
18344 for ac_lib in '' rt; do
18345 if test -z "$ac_lib"; then
18346 ac_res="none required"
18347 else
18348 ac_res=-l$ac_lib
18349 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18351 if ac_fn_c_try_link "$LINENO"; then :
18352 ac_cv_search_clock_gettime=$ac_res
18354 rm -f core conftest.err conftest.$ac_objext \
18355 conftest$ac_exeext
18356 if ${ac_cv_search_clock_gettime+:} false; then :
18357 break
18359 done
18360 if ${ac_cv_search_clock_gettime+:} false; then :
18362 else
18363 ac_cv_search_clock_gettime=no
18365 rm conftest.$ac_ext
18366 LIBS=$ac_func_search_save_LIBS
18368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18369 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18370 ac_res=$ac_cv_search_clock_gettime
18371 if test "$ac_res" != no; then :
18372 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18374 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18376 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18380 LIBS=$ac_save_LIBS
18382 esac
18384 if test "x$with_ldap" != "xno"
18385 then
18386 if ${LDAP_CFLAGS:+false} :; then :
18387 if ${PKG_CONFIG+:} false; then :
18388 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18392 if ${LDAP_LIBS:+false} :; then :
18393 if ${PKG_CONFIG+:} false; then :
18394 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18398 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18399 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18400 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18401 ac_save_CPPFLAGS=$CPPFLAGS
18402 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18403 for ac_header in ldap.h lber.h
18404 do :
18405 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18406 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18407 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18408 cat >>confdefs.h <<_ACEOF
18409 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18410 _ACEOF
18414 done
18416 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18417 then
18418 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18420 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18422 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18423 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18424 $as_echo_n "(cached) " >&6
18425 else
18426 ac_check_lib_save_LIBS=$LIBS
18427 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18429 /* end confdefs.h. */
18431 /* Override any GCC internal prototype to avoid an error.
18432 Use char because int might match the return type of a GCC
18433 builtin and then its argument prototype would still apply. */
18434 #ifdef __cplusplus
18435 extern "C"
18436 #endif
18437 char ldap_initialize ();
18439 main ()
18441 return ldap_initialize ();
18443 return 0;
18445 _ACEOF
18446 if ac_fn_c_try_link "$LINENO"; then :
18447 ac_cv_lib_ldap_r_ldap_initialize=yes
18448 else
18449 ac_cv_lib_ldap_r_ldap_initialize=no
18451 rm -f core conftest.err conftest.$ac_objext \
18452 conftest$ac_exeext conftest.$ac_ext
18453 LIBS=$ac_check_lib_save_LIBS
18455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18456 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18457 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18459 $as_echo_n "checking for ber_init in -llber... " >&6; }
18460 if ${ac_cv_lib_lber_ber_init+:} false; then :
18461 $as_echo_n "(cached) " >&6
18462 else
18463 ac_check_lib_save_LIBS=$LIBS
18464 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18466 /* end confdefs.h. */
18468 /* Override any GCC internal prototype to avoid an error.
18469 Use char because int might match the return type of a GCC
18470 builtin and then its argument prototype would still apply. */
18471 #ifdef __cplusplus
18472 extern "C"
18473 #endif
18474 char ber_init ();
18476 main ()
18478 return ber_init ();
18480 return 0;
18482 _ACEOF
18483 if ac_fn_c_try_link "$LINENO"; then :
18484 ac_cv_lib_lber_ber_init=yes
18485 else
18486 ac_cv_lib_lber_ber_init=no
18488 rm -f core conftest.err conftest.$ac_objext \
18489 conftest$ac_exeext conftest.$ac_ext
18490 LIBS=$ac_check_lib_save_LIBS
18492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18493 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18494 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18496 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18498 else
18499 LDAP_LIBS=""
18502 else
18503 LDAP_LIBS=""
18506 else
18507 LDAP_LIBS=""
18510 ac_wine_check_funcs_save_LIBS="$LIBS"
18511 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18512 for ac_func in \
18513 ldap_count_references \
18514 ldap_first_reference \
18515 ldap_next_reference \
18516 ldap_parse_reference \
18517 ldap_parse_sort_control \
18518 ldap_parse_sortresponse_control \
18519 ldap_parse_vlv_control \
18520 ldap_parse_vlvresponse_control
18521 do :
18522 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18523 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18524 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18525 cat >>confdefs.h <<_ACEOF
18526 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18527 _ACEOF
18530 done
18532 LIBS="$ac_wine_check_funcs_save_LIBS"
18533 else
18534 LDAP_LIBS=""
18536 CPPFLAGS=$ac_save_CPPFLAGS
18539 if test "x$LDAP_LIBS" = "x"; then :
18540 case "x$with_ldap" in
18541 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18542 xno) ;;
18543 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18544 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18545 esac
18549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18550 $as_echo_n "checking for sched_setaffinity... " >&6; }
18551 if ${wine_cv_have_sched_setaffinity+:} false; then :
18552 $as_echo_n "(cached) " >&6
18553 else
18554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18555 /* end confdefs.h. */
18556 #define _GNU_SOURCE
18557 #include <sched.h>
18559 main ()
18561 sched_setaffinity(0, 0, 0);
18563 return 0;
18565 _ACEOF
18566 if ac_fn_c_try_link "$LINENO"; then :
18567 wine_cv_have_sched_setaffinity=yes
18568 else
18569 wine_cv_have_sched_setaffinity=no
18571 rm -f core conftest.err conftest.$ac_objext \
18572 conftest$ac_exeext conftest.$ac_ext
18574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18575 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18576 if test "$wine_cv_have_sched_setaffinity" = "yes"
18577 then
18579 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18584 $as_echo_n "checking for fallocate... " >&6; }
18585 if ${wine_cv_have_fallocate+:} false; then :
18586 $as_echo_n "(cached) " >&6
18587 else
18588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18589 /* end confdefs.h. */
18590 #define _GNU_SOURCE
18591 #include <fcntl.h>
18593 main ()
18595 fallocate(-1, 0, 0, 0);
18597 return 0;
18599 _ACEOF
18600 if ac_fn_c_try_link "$LINENO"; then :
18601 wine_cv_have_fallocate=yes
18602 else
18603 wine_cv_have_fallocate=no
18605 rm -f core conftest.err conftest.$ac_objext \
18606 conftest$ac_exeext conftest.$ac_ext
18608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18609 $as_echo "$wine_cv_have_fallocate" >&6; }
18610 if test "$wine_cv_have_fallocate" = "yes"
18611 then
18613 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18619 $as_echo_n "checking for inline... " >&6; }
18620 if ${ac_cv_c_inline+:} false; then :
18621 $as_echo_n "(cached) " >&6
18622 else
18623 ac_cv_c_inline=no
18624 for ac_kw in inline __inline__ __inline; do
18625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18626 /* end confdefs.h. */
18627 #ifndef __cplusplus
18628 typedef int foo_t;
18629 static $ac_kw foo_t static_foo () {return 0; }
18630 $ac_kw foo_t foo () {return 0; }
18631 #endif
18633 _ACEOF
18634 if ac_fn_c_try_compile "$LINENO"; then :
18635 ac_cv_c_inline=$ac_kw
18637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18638 test "$ac_cv_c_inline" != no && break
18639 done
18642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18643 $as_echo "$ac_cv_c_inline" >&6; }
18645 case $ac_cv_c_inline in
18646 inline | yes) ;;
18648 case $ac_cv_c_inline in
18649 no) ac_val=;;
18650 *) ac_val=$ac_cv_c_inline;;
18651 esac
18652 cat >>confdefs.h <<_ACEOF
18653 #ifndef __cplusplus
18654 #define inline $ac_val
18655 #endif
18656 _ACEOF
18658 esac
18660 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18661 #include <signal.h>
18663 if test "x$ac_cv_type_sigset_t" = xyes; then :
18665 cat >>confdefs.h <<_ACEOF
18666 #define HAVE_SIGSET_T 1
18667 _ACEOF
18672 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18674 if test "x$ac_cv_type_request_sense" = xyes; then :
18676 cat >>confdefs.h <<_ACEOF
18677 #define HAVE_REQUEST_SENSE 1
18678 _ACEOF
18684 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18685 #ifdef HAVE_SYS_SOCKET_H
18686 #include <sys/socket.h>
18687 #endif
18688 #ifdef HAVE_SYS_SOCKETVAR_H
18689 #include <sys/socketvar.h>
18690 #endif
18691 #ifdef HAVE_NET_ROUTE_H
18692 #include <net/route.h>
18693 #endif
18694 #ifdef HAVE_NETINET_IN_H
18695 #include <netinet/in.h>
18696 #endif
18697 #ifdef HAVE_NETINET_IN_SYSTM_H
18698 #include <netinet/in_systm.h>
18699 #endif
18700 #ifdef HAVE_NETINET_IP_H
18701 #include <netinet/ip.h>
18702 #endif
18703 #ifdef HAVE_NETINET_IN_PCB_H
18704 #include <netinet/in_pcb.h>
18705 #endif
18707 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18709 cat >>confdefs.h <<_ACEOF
18710 #define HAVE_STRUCT_XINPGEN 1
18711 _ACEOF
18717 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18718 #include <linux/input.h>
18719 #endif
18721 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18723 cat >>confdefs.h <<_ACEOF
18724 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18725 _ACEOF
18731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18732 $as_echo_n "checking for if_nameindex... " >&6; }
18733 if ${wine_cv_have_if_nameindex+:} false; then :
18734 $as_echo_n "(cached) " >&6
18735 else
18736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18737 /* end confdefs.h. */
18738 #ifdef HAVE_SYS_TYPES_H
18739 #include <sys/types.h>
18740 #endif
18741 #ifdef HAVE_SYS_SOCKET_H
18742 #include <sys/socket.h>
18743 #endif
18744 #ifdef HAVE_NET_IF_H
18745 # include <net/if.h>
18746 #endif
18748 main ()
18750 struct if_nameindex *p = if_nameindex(); return p->if_index;
18752 return 0;
18754 _ACEOF
18755 if ac_fn_c_try_link "$LINENO"; then :
18756 wine_cv_have_if_nameindex=yes
18757 else
18758 wine_cv_have_if_nameindex=no
18760 rm -f core conftest.err conftest.$ac_objext \
18761 conftest$ac_exeext conftest.$ac_ext
18763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18764 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18765 if test "$wine_cv_have_if_nameindex" = "yes"
18766 then
18768 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18773 $as_echo_n "checking for sigaddset... " >&6; }
18774 if ${wine_cv_have_sigaddset+:} false; then :
18775 $as_echo_n "(cached) " >&6
18776 else
18777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18778 /* end confdefs.h. */
18779 #include <signal.h>
18781 main ()
18783 sigset_t set; sigaddset(&set,SIGTERM);
18785 return 0;
18787 _ACEOF
18788 if ac_fn_c_try_link "$LINENO"; then :
18789 wine_cv_have_sigaddset=yes
18790 else
18791 wine_cv_have_sigaddset=no
18793 rm -f core conftest.err conftest.$ac_objext \
18794 conftest$ac_exeext conftest.$ac_ext
18796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18797 $as_echo "$wine_cv_have_sigaddset" >&6; }
18798 if test "$wine_cv_have_sigaddset" = "yes"
18799 then
18801 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18807 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18808 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18809 $as_echo_n "(cached) " >&6
18810 else
18811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18812 /* end confdefs.h. */
18813 #include <netdb.h>
18815 main ()
18818 char *name=0;
18819 struct hostent he;
18820 struct hostent *result;
18821 char *buf=0;
18822 int bufsize=0;
18823 int errnr;
18824 char *addr=0;
18825 int addrlen=0;
18826 int addrtype=0;
18827 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18828 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18831 return 0;
18833 _ACEOF
18834 if ac_fn_c_try_link "$LINENO"; then :
18835 wine_cv_linux_gethostbyname_r_6=yes
18836 else
18837 wine_cv_linux_gethostbyname_r_6=no
18840 rm -f core conftest.err conftest.$ac_objext \
18841 conftest$ac_exeext conftest.$ac_ext
18844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18845 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18846 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18847 then
18849 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18853 if test "$ac_cv_header_linux_joystick_h" = "yes"
18854 then
18855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18856 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18857 if ${wine_cv_linux_joystick_22_api+:} false; then :
18858 $as_echo_n "(cached) " >&6
18859 else
18860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18861 /* end confdefs.h. */
18863 #include <sys/ioctl.h>
18864 #include <sys/types.h>
18865 #include <linux/joystick.h>
18867 struct js_event blub;
18868 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18869 #error "no 2.2 header"
18870 #endif
18873 main ()
18875 /*empty*/
18877 return 0;
18879 _ACEOF
18880 if ac_fn_c_try_compile "$LINENO"; then :
18881 wine_cv_linux_joystick_22_api=yes
18882 else
18883 wine_cv_linux_joystick_22_api=no
18885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18889 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18890 if test "$wine_cv_linux_joystick_22_api" = "yes"
18891 then
18893 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18898 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18899 #ifdef HAVE_SYS_SOCKET_H
18900 # include <sys/socket.h>
18901 #endif
18902 #ifdef HAVE_SYS_UN_H
18903 # include <sys/un.h>
18904 #endif
18906 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18908 cat >>confdefs.h <<_ACEOF
18909 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18910 _ACEOF
18914 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18915 #ifdef HAVE_SYS_SOCKET_H
18916 # include <sys/socket.h>
18917 #endif
18918 #ifdef HAVE_SYS_UN_H
18919 # include <sys/un.h>
18920 #endif
18922 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18924 cat >>confdefs.h <<_ACEOF
18925 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18926 _ACEOF
18930 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18931 #ifdef HAVE_SYS_SOCKET_H
18932 # include <sys/socket.h>
18933 #endif
18934 #ifdef HAVE_SYS_UN_H
18935 # include <sys/un.h>
18936 #endif
18938 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18940 cat >>confdefs.h <<_ACEOF
18941 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18942 _ACEOF
18948 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18949 #ifdef HAVE_SCSI_SG_H
18950 #include <scsi/sg.h>
18951 #endif
18953 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18955 cat >>confdefs.h <<_ACEOF
18956 #define HAVE_SCSIREQ_T_CMD 1
18957 _ACEOF
18961 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>
18962 #ifdef HAVE_SCSI_SG_H
18963 #include <scsi/sg.h>
18964 #endif
18966 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18968 cat >>confdefs.h <<_ACEOF
18969 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18970 _ACEOF
18976 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18978 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18980 cat >>confdefs.h <<_ACEOF
18981 #define HAVE_SIGINFO_T_SI_FD 1
18982 _ACEOF
18988 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18989 #ifdef HAVE_SYS_MTIO_H
18990 #include <sys/mtio.h>
18991 #endif
18993 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18995 cat >>confdefs.h <<_ACEOF
18996 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18997 _ACEOF
19001 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19002 #ifdef HAVE_SYS_MTIO_H
19003 #include <sys/mtio.h>
19004 #endif
19006 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19008 cat >>confdefs.h <<_ACEOF
19009 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19010 _ACEOF
19014 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19015 #ifdef HAVE_SYS_MTIO_H
19016 #include <sys/mtio.h>
19017 #endif
19019 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19021 cat >>confdefs.h <<_ACEOF
19022 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19023 _ACEOF
19029 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19030 #include <getopt.h>
19031 #endif
19033 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19035 cat >>confdefs.h <<_ACEOF
19036 #define HAVE_STRUCT_OPTION_NAME 1
19037 _ACEOF
19043 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19044 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19046 cat >>confdefs.h <<_ACEOF
19047 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19048 _ACEOF
19052 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19053 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19055 cat >>confdefs.h <<_ACEOF
19056 #define HAVE_STRUCT_STAT_ST_MTIM 1
19057 _ACEOF
19061 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19062 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19064 cat >>confdefs.h <<_ACEOF
19065 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19066 _ACEOF
19070 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19071 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19073 cat >>confdefs.h <<_ACEOF
19074 #define HAVE_STRUCT_STAT_ST_CTIM 1
19075 _ACEOF
19079 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19080 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19082 cat >>confdefs.h <<_ACEOF
19083 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19084 _ACEOF
19088 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19089 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19091 cat >>confdefs.h <<_ACEOF
19092 #define HAVE_STRUCT_STAT_ST_ATIM 1
19093 _ACEOF
19097 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19098 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19100 cat >>confdefs.h <<_ACEOF
19101 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19102 _ACEOF
19106 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19107 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19109 cat >>confdefs.h <<_ACEOF
19110 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19111 _ACEOF
19115 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19116 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19118 cat >>confdefs.h <<_ACEOF
19119 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19120 _ACEOF
19124 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19125 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19127 cat >>confdefs.h <<_ACEOF
19128 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19129 _ACEOF
19133 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19134 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19136 cat >>confdefs.h <<_ACEOF
19137 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19138 _ACEOF
19142 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19143 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19145 cat >>confdefs.h <<_ACEOF
19146 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19147 _ACEOF
19153 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
19154 #include <sys/types.h>
19155 #endif
19156 #ifdef HAVE_NETINET_IN_H
19157 #include <netinet/in.h>
19158 #endif
19160 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19162 cat >>confdefs.h <<_ACEOF
19163 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19164 _ACEOF
19170 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19171 #include <sys/types.h>
19172 #endif
19173 #ifdef HAVE_NETINET_IN_H
19174 #include <netinet/in.h>
19175 #endif
19176 #ifdef HAVE_RESOLV_H
19177 #include <resolv.h>
19178 #endif
19180 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19182 cat >>confdefs.h <<_ACEOF
19183 #define HAVE_STRUCT___RES_STATE 1
19184 _ACEOF
19190 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
19191 #include <resolv.h>
19192 #endif
19194 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19196 cat >>confdefs.h <<_ACEOF
19197 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19198 _ACEOF
19204 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19205 #include <sys/types.h>
19206 #endif
19207 #ifdef HAVE_NETINET_IN_H
19208 # include <netinet/in.h>
19209 #endif
19210 #ifdef HAVE_ARPA_NAMESER_H
19211 # include <arpa/nameser.h>
19212 #endif
19214 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19216 cat >>confdefs.h <<_ACEOF
19217 #define HAVE_NS_MSG__MSG_PTR 1
19218 _ACEOF
19224 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19225 #include <sys/types.h>
19226 #endif
19227 #ifdef HAVE_NETINET_IN_H
19228 #include <netinet/in.h>
19229 #endif
19230 #ifdef HAVE_NETINET_IP_H
19231 #include <netinet/ip.h>
19232 #endif
19233 #ifdef HAVE_NETINET_IP_ICMP_H
19234 #include <netinet/ip_icmp.h>
19235 #endif
19236 #ifdef HAVE_NETINET_ICMP_VAR_H
19237 #include <netinet/icmp_var.h>
19238 #endif
19240 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19242 cat >>confdefs.h <<_ACEOF
19243 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19244 _ACEOF
19250 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19251 #include <sys/types.h>
19252 #endif
19253 #ifdef HAVE_ALIAS_H
19254 #include <alias.h>
19255 #endif
19256 #ifdef HAVE_SYS_SOCKET_H
19257 #include <sys/socket.h>
19258 #endif
19259 #ifdef HAVE_SYS_SOCKETVAR_H
19260 #include <sys/socketvar.h>
19261 #endif
19262 #ifdef HAVE_SYS_TIMEOUT_H
19263 #include <sys/timeout.h>
19264 #endif
19265 #ifdef HAVE_NETINET_IN_H
19266 #include <netinet/in.h>
19267 #endif
19268 #ifdef HAVE_NETINET_IN_SYSTM_H
19269 #include <netinet/in_systm.h>
19270 #endif
19271 #ifdef HAVE_NETINET_IP_H
19272 #include <netinet/ip.h>
19273 #endif
19274 #ifdef HAVE_NETINET_IP_VAR_H
19275 #include <netinet/ip_var.h>
19276 #endif
19277 #ifdef HAVE_NETINET_IP_ICMP_H
19278 #include <netinet/ip_icmp.h>
19279 #endif
19280 #ifdef HAVE_NETINET_ICMP_VAR_H
19281 #include <netinet/icmp_var.h>
19282 #endif
19284 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19286 cat >>confdefs.h <<_ACEOF
19287 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19288 _ACEOF
19294 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19295 #include <sys/types.h>
19296 #endif
19297 #ifdef HAVE_SYS_SOCKETVAR_H
19298 #include <sys/socketvar.h>
19299 #endif
19300 #ifdef HAVE_NETINET_IN_H
19301 #include <netinet/in.h>
19302 #endif
19303 #ifdef HAVE_NETINET_IP_VAR_H
19304 #include <netinet/ip_var.h>
19305 #endif
19307 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19309 cat >>confdefs.h <<_ACEOF
19310 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19311 _ACEOF
19317 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
19318 #include <netinet/ip_var.h>
19319 #endif
19321 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19323 cat >>confdefs.h <<_ACEOF
19324 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19325 _ACEOF
19331 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19332 #include <sys/types.h>
19333 #endif
19334 #ifdef HAVE_SYS_SOCKETVAR_H
19335 #include <sys/socketvar.h>
19336 #endif
19337 #ifdef HAVE_NETINET_IN_H
19338 #include <netinet/in.h>
19339 #endif
19340 #ifdef HAVE_NETINET_TCP_H
19341 #include <netinet/tcp.h>
19342 #endif
19343 #ifdef HAVE_NETINET_TCP_VAR_H
19344 #include <netinet/tcp_var.h>
19345 #endif
19347 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19349 cat >>confdefs.h <<_ACEOF
19350 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19351 _ACEOF
19357 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
19358 #include <netinet/tcp_var.h>
19359 #endif
19361 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19363 cat >>confdefs.h <<_ACEOF
19364 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19365 _ACEOF
19371 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19372 #include <sys/types.h>
19373 #endif
19374 #ifdef HAVE_NETINET_IN_H
19375 #include <netinet/in.h>
19376 #endif
19377 #ifdef HAVE_NETINET_IP_VAR_H
19378 #include <netinet/ip_var.h>
19379 #endif
19380 #ifdef HAVE_NETINET_UDP_H
19381 #include <netinet/udp.h>
19382 #endif
19383 #ifdef HAVE_NETINET_UDP_VAR_H
19384 #include <netinet/udp_var.h>
19385 #endif
19387 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19389 cat >>confdefs.h <<_ACEOF
19390 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19391 _ACEOF
19397 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19398 #include <sys/types.h>
19399 #endif
19400 #ifdef HAVE_NET_IF_H
19401 # include <net/if.h>
19402 #endif
19404 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19406 cat >>confdefs.h <<_ACEOF
19407 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19408 _ACEOF
19414 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19415 # include <sys/sysinfo.h>
19416 #endif
19418 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19420 cat >>confdefs.h <<_ACEOF
19421 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19422 _ACEOF
19426 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19427 # include <sys/sysinfo.h>
19428 #endif
19430 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19432 cat >>confdefs.h <<_ACEOF
19433 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19434 _ACEOF
19440 ac_save_LIBS="$LIBS"
19441 LIBS="$LIBS -lm"
19442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19443 $as_echo_n "checking for isfinite... " >&6; }
19444 if ${ac_cv_have_isfinite+:} false; then :
19445 $as_echo_n "(cached) " >&6
19446 else
19447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19448 /* end confdefs.h. */
19449 #define _GNU_SOURCE
19450 #include <math.h>
19452 main ()
19454 float f = 0.0; return isfinite(f)
19456 return 0;
19458 _ACEOF
19459 if ac_fn_c_try_link "$LINENO"; then :
19460 ac_cv_have_isfinite="yes"
19461 else
19462 ac_cv_have_isfinite="no"
19464 rm -f core conftest.err conftest.$ac_objext \
19465 conftest$ac_exeext conftest.$ac_ext
19467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19468 $as_echo "$ac_cv_have_isfinite" >&6; }
19469 if test "$ac_cv_have_isfinite" = "yes"
19470 then
19472 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19477 $as_echo_n "checking for isinf... " >&6; }
19478 if ${ac_cv_have_isinf+:} false; then :
19479 $as_echo_n "(cached) " >&6
19480 else
19481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19482 /* end confdefs.h. */
19483 #include <math.h>
19485 main ()
19487 float f = 0.0; return isinf(f)
19489 return 0;
19491 _ACEOF
19492 if ac_fn_c_try_link "$LINENO"; then :
19493 ac_cv_have_isinf="yes"
19494 else
19495 ac_cv_have_isinf="no"
19497 rm -f core conftest.err conftest.$ac_objext \
19498 conftest$ac_exeext conftest.$ac_ext
19500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19501 $as_echo "$ac_cv_have_isinf" >&6; }
19502 if test "$ac_cv_have_isinf" = "yes"
19503 then
19505 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19510 $as_echo_n "checking for isnan... " >&6; }
19511 if ${ac_cv_have_isnan+:} false; then :
19512 $as_echo_n "(cached) " >&6
19513 else
19514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19515 /* end confdefs.h. */
19516 #include <math.h>
19518 main ()
19520 float f = 0.0; return isnan(f)
19522 return 0;
19524 _ACEOF
19525 if ac_fn_c_try_link "$LINENO"; then :
19526 ac_cv_have_isnan="yes"
19527 else
19528 ac_cv_have_isnan="no"
19530 rm -f core conftest.err conftest.$ac_objext \
19531 conftest$ac_exeext conftest.$ac_ext
19533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19534 $as_echo "$ac_cv_have_isnan" >&6; }
19535 if test "$ac_cv_have_isnan" = "yes"
19536 then
19538 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19542 for ac_func in \
19543 acosh \
19544 acoshf \
19545 asinh \
19546 asinhf \
19547 atanh \
19548 atanhf \
19549 cbrt \
19550 cbrtf \
19551 erf \
19552 erfc \
19553 erfcf \
19554 erff \
19555 exp2 \
19556 exp2f \
19557 expm1 \
19558 expm1f \
19559 fma \
19560 fmaf \
19561 j0 \
19562 j1 \
19563 jn \
19564 lgamma \
19565 lgammaf \
19566 llrint \
19567 llrintf \
19568 llround \
19569 llroundf \
19570 log1p \
19571 log1pf \
19572 log2 \
19573 log2f \
19574 lrint \
19575 lrintf \
19576 lround \
19577 lroundf \
19578 nearbyint \
19579 nearbyintf \
19580 nexttoward \
19581 nexttowardf \
19582 remainder \
19583 remainderf \
19584 remquo \
19585 remquof \
19586 rint \
19587 rintf \
19588 round \
19589 roundf \
19590 tgamma \
19591 tgammaf \
19592 trunc \
19593 truncf \
19594 y0 \
19595 y1 \
19598 do :
19599 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19600 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19601 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19602 cat >>confdefs.h <<_ACEOF
19603 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19604 _ACEOF
19607 done
19609 LIBS="$ac_save_LIBS"
19611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19612 $as_echo_n "checking for __builtin_popcount... " >&6; }
19613 if ${ac_cv_have___builtin_popcount+:} false; then :
19614 $as_echo_n "(cached) " >&6
19615 else
19616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19617 /* end confdefs.h. */
19620 main ()
19622 return __builtin_popcount(1)
19624 return 0;
19626 _ACEOF
19627 if ac_fn_c_try_link "$LINENO"; then :
19628 ac_cv_have___builtin_popcount="yes"
19629 else
19630 ac_cv_have___builtin_popcount="no"
19632 rm -f core conftest.err conftest.$ac_objext \
19633 conftest$ac_exeext conftest.$ac_ext
19635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19636 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19637 if test "$ac_cv_have___builtin_popcount" = "yes"
19638 then
19640 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19645 $as_echo_n "checking for __clear_cache... " >&6; }
19646 if ${ac_cv_have___clear_cache+:} false; then :
19647 $as_echo_n "(cached) " >&6
19648 else
19649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19650 /* end confdefs.h. */
19653 main ()
19655 __clear_cache((void*)0, (void*)0); return 0;
19657 return 0;
19659 _ACEOF
19660 if ac_fn_c_try_link "$LINENO"; then :
19661 ac_cv_have___clear_cache="yes"
19662 else
19663 ac_cv_have___clear_cache="no"
19665 rm -f core conftest.err conftest.$ac_objext \
19666 conftest$ac_exeext conftest.$ac_ext
19668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19669 $as_echo "$ac_cv_have___clear_cache" >&6; }
19670 if test "$ac_cv_have___clear_cache" = "yes"
19671 then
19673 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19678 case $host_cpu in
19679 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19680 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19681 if ${ac_cv_cpp_def___i386__+:} false; then :
19682 $as_echo_n "(cached) " >&6
19683 else
19684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19685 /* end confdefs.h. */
19686 #ifndef __i386__
19688 #endif
19689 _ACEOF
19690 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19691 $EGREP "yes" >/dev/null 2>&1; then :
19692 ac_cv_cpp_def___i386__=yes
19693 else
19694 ac_cv_cpp_def___i386__=no
19696 rm -f conftest*
19699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19700 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19701 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19702 CFLAGS="$CFLAGS -D__i386__"
19703 LINTFLAGS="$LINTFLAGS -D__i386__"
19704 fi ;;
19705 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19706 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19707 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19708 $as_echo_n "(cached) " >&6
19709 else
19710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19711 /* end confdefs.h. */
19712 #ifndef __x86_64__
19714 #endif
19715 _ACEOF
19716 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19717 $EGREP "yes" >/dev/null 2>&1; then :
19718 ac_cv_cpp_def___x86_64__=yes
19719 else
19720 ac_cv_cpp_def___x86_64__=no
19722 rm -f conftest*
19725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19726 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19727 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19728 CFLAGS="$CFLAGS -D__x86_64__"
19729 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19730 fi ;;
19731 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19732 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19733 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19734 $as_echo_n "(cached) " >&6
19735 else
19736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19737 /* end confdefs.h. */
19738 #ifndef __sparc64__
19740 #endif
19741 _ACEOF
19742 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19743 $EGREP "yes" >/dev/null 2>&1; then :
19744 ac_cv_cpp_def___sparc64__=yes
19745 else
19746 ac_cv_cpp_def___sparc64__=no
19748 rm -f conftest*
19751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19752 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19753 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19754 CFLAGS="$CFLAGS -D__sparc64__"
19755 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19756 fi ;;
19757 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19758 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19759 if ${ac_cv_cpp_def___sparc__+:} false; then :
19760 $as_echo_n "(cached) " >&6
19761 else
19762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19763 /* end confdefs.h. */
19764 #ifndef __sparc__
19766 #endif
19767 _ACEOF
19768 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19769 $EGREP "yes" >/dev/null 2>&1; then :
19770 ac_cv_cpp_def___sparc__=yes
19771 else
19772 ac_cv_cpp_def___sparc__=no
19774 rm -f conftest*
19777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19778 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19779 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19780 CFLAGS="$CFLAGS -D__sparc__"
19781 LINTFLAGS="$LINTFLAGS -D__sparc__"
19782 fi ;;
19783 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19784 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19785 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19786 $as_echo_n "(cached) " >&6
19787 else
19788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19789 /* end confdefs.h. */
19790 #ifndef __powerpc64__
19792 #endif
19793 _ACEOF
19794 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19795 $EGREP "yes" >/dev/null 2>&1; then :
19796 ac_cv_cpp_def___powerpc64__=yes
19797 else
19798 ac_cv_cpp_def___powerpc64__=no
19800 rm -f conftest*
19803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19804 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19805 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19806 CFLAGS="$CFLAGS -D__powerpc64__"
19807 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19808 fi ;;
19809 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19810 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19811 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19812 $as_echo_n "(cached) " >&6
19813 else
19814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19815 /* end confdefs.h. */
19816 #ifndef __powerpc__
19818 #endif
19819 _ACEOF
19820 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19821 $EGREP "yes" >/dev/null 2>&1; then :
19822 ac_cv_cpp_def___powerpc__=yes
19823 else
19824 ac_cv_cpp_def___powerpc__=no
19826 rm -f conftest*
19829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19830 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19831 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19832 CFLAGS="$CFLAGS -D__powerpc__"
19833 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19834 fi ;;
19835 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19836 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19837 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19838 $as_echo_n "(cached) " >&6
19839 else
19840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19841 /* end confdefs.h. */
19842 #ifndef __aarch64__
19844 #endif
19845 _ACEOF
19846 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19847 $EGREP "yes" >/dev/null 2>&1; then :
19848 ac_cv_cpp_def___aarch64__=yes
19849 else
19850 ac_cv_cpp_def___aarch64__=no
19852 rm -f conftest*
19855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19856 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19857 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19858 CFLAGS="$CFLAGS -D__aarch64__"
19859 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19860 fi ;;
19861 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19862 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19863 if ${ac_cv_cpp_def___arm__+:} false; then :
19864 $as_echo_n "(cached) " >&6
19865 else
19866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19867 /* end confdefs.h. */
19868 #ifndef __arm__
19870 #endif
19871 _ACEOF
19872 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19873 $EGREP "yes" >/dev/null 2>&1; then :
19874 ac_cv_cpp_def___arm__=yes
19875 else
19876 ac_cv_cpp_def___arm__=no
19878 rm -f conftest*
19881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19882 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19883 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19884 CFLAGS="$CFLAGS -D__arm__"
19885 LINTFLAGS="$LINTFLAGS -D__arm__"
19886 fi ;;
19887 esac
19889 case $host_vendor in
19890 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19891 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19892 if ${ac_cv_cpp_def___sun__+:} false; then :
19893 $as_echo_n "(cached) " >&6
19894 else
19895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19896 /* end confdefs.h. */
19897 #ifndef __sun__
19899 #endif
19900 _ACEOF
19901 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19902 $EGREP "yes" >/dev/null 2>&1; then :
19903 ac_cv_cpp_def___sun__=yes
19904 else
19905 ac_cv_cpp_def___sun__=no
19907 rm -f conftest*
19910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19911 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19912 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19913 CFLAGS="$CFLAGS -D__sun__"
19914 LINTFLAGS="$LINTFLAGS -D__sun__"
19915 fi ;;
19916 esac
19922 ac_config_commands="$ac_config_commands include/stamp-h"
19924 $as_echo_n "creating Makefile rules..." >&6
19926 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19927 OPENGL_LIBS = $OPENGL_LIBS
19928 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19929 IOKIT_LIBS = $IOKIT_LIBS
19930 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19931 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19932 CORESERVICES_LIBS = $CORESERVICES_LIBS
19933 APPKIT_LIBS = $APPKIT_LIBS
19934 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19935 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19936 SECURITY_LIBS = $SECURITY_LIBS
19937 COREAUDIO_LIBS = $COREAUDIO_LIBS
19938 OPENAL_LIBS = $OPENAL_LIBS
19939 OPENCL_LIBS = $OPENCL_LIBS
19940 QUICKTIME_LIBS = $QUICKTIME_LIBS
19941 CARBON_LIBS = $CARBON_LIBS
19942 METAL_LIBS = $METAL_LIBS
19943 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19944 PTHREAD_LIBS = $PTHREAD_LIBS
19945 X_CFLAGS = $X_CFLAGS
19946 X_PRE_LIBS = $X_PRE_LIBS
19947 X_LIBS = $X_LIBS
19948 X_EXTRA_LIBS = $X_EXTRA_LIBS
19949 PCAP_LIBS = $PCAP_LIBS
19950 XML2_CFLAGS = $XML2_CFLAGS
19951 XML2_LIBS = $XML2_LIBS
19952 XSLT_CFLAGS = $XSLT_CFLAGS
19953 XSLT_LIBS = $XSLT_LIBS
19954 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19955 INOTIFY_LIBS = $INOTIFY_LIBS
19956 DBUS_CFLAGS = $DBUS_CFLAGS
19957 DBUS_LIBS = $DBUS_LIBS
19958 HAL_CFLAGS = $HAL_CFLAGS
19959 HAL_LIBS = $HAL_LIBS
19960 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19961 GNUTLS_LIBS = $GNUTLS_LIBS
19962 SANE_CFLAGS = $SANE_CFLAGS
19963 SANE_LIBS = $SANE_LIBS
19964 USB_CFLAGS = $USB_CFLAGS
19965 USB_LIBS = $USB_LIBS
19966 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19967 GPHOTO2_LIBS = $GPHOTO2_LIBS
19968 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19969 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19970 RESOLV_LIBS = $RESOLV_LIBS
19971 LCMS2_CFLAGS = $LCMS2_CFLAGS
19972 LCMS2_LIBS = $LCMS2_LIBS
19973 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19974 FREETYPE_LIBS = $FREETYPE_LIBS
19975 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19976 PULSE_CFLAGS = $PULSE_CFLAGS
19977 PULSE_LIBS = $PULSE_LIBS
19978 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19979 GSTREAMER_LIBS = $GSTREAMER_LIBS
19980 ALSA_LIBS = $ALSA_LIBS
19981 OSS4_CFLAGS = $OSS4_CFLAGS
19982 OSS4_LIBS = $OSS4_LIBS
19983 UDEV_CFLAGS = $UDEV_CFLAGS
19984 UDEV_LIBS = $UDEV_LIBS
19985 UNWIND_CFLAGS = $UNWIND_CFLAGS
19986 UNWIND_LIBS = $UNWIND_LIBS
19987 SDL2_CFLAGS = $SDL2_CFLAGS
19988 SDL2_LIBS = $SDL2_LIBS
19989 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19990 FAUDIO_LIBS = $FAUDIO_LIBS
19991 CAPI20_CFLAGS = $CAPI20_CFLAGS
19992 CAPI20_LIBS = $CAPI20_LIBS
19993 CUPS_CFLAGS = $CUPS_CFLAGS
19994 CUPS_LIBS = $CUPS_LIBS
19995 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19996 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19997 KRB5_CFLAGS = $KRB5_CFLAGS
19998 KRB5_LIBS = $KRB5_LIBS
19999 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20000 GSSAPI_LIBS = $GSSAPI_LIBS
20001 JPEG_CFLAGS = $JPEG_CFLAGS
20002 JPEG_LIBS = $JPEG_LIBS
20003 JXRLIB_CFLAGS = $JXRLIB_CFLAGS
20004 JXRLIB_LIBS = $JXRLIB_LIBS
20005 PNG_CFLAGS = $PNG_CFLAGS
20006 PNG_LIBS = $PNG_LIBS
20007 TIFF_CFLAGS = $TIFF_CFLAGS
20008 TIFF_LIBS = $TIFF_LIBS
20009 MPG123_CFLAGS = $MPG123_CFLAGS
20010 MPG123_LIBS = $MPG123_LIBS
20011 KSTAT_LIBS = $KSTAT_LIBS
20012 PROCSTAT_LIBS = $PROCSTAT_LIBS
20013 NETAPI_CFLAGS = $NETAPI_CFLAGS
20014 NETAPI_LIBS = $NETAPI_LIBS
20015 VKD3D_CFLAGS = $VKD3D_CFLAGS
20016 VKD3D_LIBS = $VKD3D_LIBS
20017 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
20018 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
20019 POLL_LIBS = $POLL_LIBS
20020 RT_LIBS = $RT_LIBS
20021 LDAP_CFLAGS = $LDAP_CFLAGS
20022 LDAP_LIBS = $LDAP_LIBS
20026 makedep_flags=""
20027 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20030 wine_fn_append_rule "
20031 # Rules automatically generated by configure
20033 .INIT: Makefile
20034 .MAKEFILEDEPS:
20035 all: Makefile
20036 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20037 @./config.status Make.tmp Makefile
20038 depend: \$(MAKEDEP)
20039 \$(MAKEDEP)$makedep_flags
20040 dummy:
20041 .PHONY: depend dummy"
20043 ac_config_links="$ac_config_links wine:tools/winewrapper"
20044 wine_fn_config_symlink wine
20045 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20046 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20047 wine_fn_config_symlink wine64
20050 wine_fn_config_makefile dlls/acledit enable_acledit
20051 wine_fn_config_makefile dlls/aclui enable_aclui
20052 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20053 wine_fn_config_makefile dlls/activeds enable_activeds
20054 wine_fn_config_makefile dlls/activeds/tests enable_tests
20055 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20056 wine_fn_config_makefile dlls/adsiid enable_adsiid
20057 wine_fn_config_makefile dlls/adsldp enable_adsldp
20058 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20059 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20060 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20061 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20062 wine_fn_config_makefile dlls/advpack enable_advpack
20063 wine_fn_config_makefile dlls/advpack/tests enable_tests
20064 wine_fn_config_makefile dlls/amsi enable_amsi
20065 wine_fn_config_makefile dlls/amstream enable_amstream
20066 wine_fn_config_makefile dlls/amstream/tests enable_tests
20067 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20068 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20069 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20070 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20071 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20072 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20073 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20074 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20075 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20076 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20077 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20078 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20079 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20080 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20081 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20082 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20083 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20084 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20085 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20086 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20087 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20088 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20089 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20090 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20091 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20092 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20093 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20094 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20095 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
20096 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
20097 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20098 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20099 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20100 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20101 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20102 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20103 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20104 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20105 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20106 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20107 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20108 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20109 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20110 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20111 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20112 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20113 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20114 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20115 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20116 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20117 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20118 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20119 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20120 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20121 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20122 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20123 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20124 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20125 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20126 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20127 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20128 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20129 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20130 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20131 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20132 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20133 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20134 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20135 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20137 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20138 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20139 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20140 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20141 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20144 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20145 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20146 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20147 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20148 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20149 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20150 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20151 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20152 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20153 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20154 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20156 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20157 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20160 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20161 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20162 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20163 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20164 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20165 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20166 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20167 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20168 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20170 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20174 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20175 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20176 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20177 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20178 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20179 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20180 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20181 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20182 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20183 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20184 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20185 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20186 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20187 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20188 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20189 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20190 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20191 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20193 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20194 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20195 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20196 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20197 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20198 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20199 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20200 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20201 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20202 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20203 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20204 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20205 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20206 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20208 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20209 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20210 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20211 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20212 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20213 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20214 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20215 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20216 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20217 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20218 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20219 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20221 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20222 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20223 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20224 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20225 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20226 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20227 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20228 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20229 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20230 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20231 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20232 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20233 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20234 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20235 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20236 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20237 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20238 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20239 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20240 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20241 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20242 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20243 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20244 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20245 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20246 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20247 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20248 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20249 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20250 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20252 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20254 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20256 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20258 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20259 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20260 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20261 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20262 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20263 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20264 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20265 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20266 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20267 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20268 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20269 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20270 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20271 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20272 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20273 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20274 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20275 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20276 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20277 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20278 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20279 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20280 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20281 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20282 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20283 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20284 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20285 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20286 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20287 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20288 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20289 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20290 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20291 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20292 wine_fn_config_makefile dlls/apphelp enable_apphelp
20293 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20294 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20295 wine_fn_config_makefile dlls/atl enable_atl
20296 wine_fn_config_makefile dlls/atl/tests enable_tests
20297 wine_fn_config_makefile dlls/atl100 enable_atl100
20298 wine_fn_config_makefile dlls/atl100/tests enable_tests
20299 wine_fn_config_makefile dlls/atl110 enable_atl110
20300 wine_fn_config_makefile dlls/atl80 enable_atl80
20301 wine_fn_config_makefile dlls/atl80/tests enable_tests
20302 wine_fn_config_makefile dlls/atl90 enable_atl90
20303 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20304 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20305 wine_fn_config_makefile dlls/atmlib enable_atmlib
20306 wine_fn_config_makefile dlls/authz enable_authz
20307 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20308 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20309 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20310 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20311 wine_fn_config_makefile dlls/avrt enable_avrt
20312 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20313 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20314 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20315 wine_fn_config_makefile dlls/browseui enable_browseui
20316 wine_fn_config_makefile dlls/browseui/tests enable_tests
20317 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20318 wine_fn_config_makefile dlls/cabinet enable_cabinet
20319 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20320 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20321 wine_fn_config_makefile dlls/cards enable_cards
20322 wine_fn_config_makefile dlls/cdosys enable_cdosys
20323 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20324 wine_fn_config_makefile dlls/clusapi enable_clusapi
20325 wine_fn_config_makefile dlls/combase enable_combase
20326 wine_fn_config_makefile dlls/combase/tests enable_tests
20327 wine_fn_config_makefile dlls/comcat enable_comcat
20328 wine_fn_config_makefile dlls/comcat/tests enable_tests
20329 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20330 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20331 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20332 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20333 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20334 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20335 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20336 wine_fn_config_makefile dlls/compstui enable_compstui
20337 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20338 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20339 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20340 wine_fn_config_makefile dlls/concrt140/tests enable_tests
20341 wine_fn_config_makefile dlls/connect enable_connect
20342 wine_fn_config_makefile dlls/credui enable_credui
20343 wine_fn_config_makefile dlls/credui/tests enable_tests
20344 wine_fn_config_makefile dlls/crtdll enable_crtdll
20345 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20346 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20347 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20348 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20349 wine_fn_config_makefile dlls/cryptext enable_cryptext
20350 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20351 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20352 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
20353 wine_fn_config_makefile dlls/cryptui enable_cryptui
20354 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20355 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20356 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20357 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20358 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20359 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20360 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20361 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20362 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20363 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20364 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20365 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20366 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20367 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20368 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20369 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20370 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20371 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20372 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20373 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
20374 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20375 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20376 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20377 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20378 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20379 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20380 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20381 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20382 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20383 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20384 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20385 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20386 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20387 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20388 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20389 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20390 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20391 wine_fn_config_makefile dlls/d3dim enable_d3dim
20392 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
20393 wine_fn_config_makefile dlls/d3drm enable_d3drm
20394 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20395 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20396 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20397 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20398 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20399 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20400 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20401 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20402 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20403 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20404 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20405 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20406 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20407 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20408 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20409 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20410 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20411 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20412 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20413 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20414 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20415 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20416 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20417 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20418 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20419 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20420 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20421 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20422 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20423 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20424 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20425 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20426 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20427 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20428 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20429 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20430 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20431 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20432 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20433 wine_fn_config_makefile dlls/davclnt enable_davclnt
20434 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20435 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20436 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20437 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20438 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20439 wine_fn_config_makefile dlls/dcomp enable_dcomp
20440 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20441 wine_fn_config_makefile dlls/ddraw enable_ddraw
20442 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20443 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20444 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20445 wine_fn_config_makefile dlls/devenum enable_devenum
20446 wine_fn_config_makefile dlls/devenum/tests enable_tests
20447 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20448 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20449 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20450 wine_fn_config_makefile dlls/difxapi enable_difxapi
20451 wine_fn_config_makefile dlls/dinput enable_dinput
20452 wine_fn_config_makefile dlls/dinput/tests enable_tests
20453 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20454 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20455 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20456 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20457 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20458 wine_fn_config_makefile dlls/dispex enable_dispex
20459 wine_fn_config_makefile dlls/dispex/tests enable_tests
20460 wine_fn_config_makefile dlls/display.drv16 enable_win16
20461 wine_fn_config_makefile dlls/dmband enable_dmband
20462 wine_fn_config_makefile dlls/dmband/tests enable_tests
20463 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20464 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20465 wine_fn_config_makefile dlls/dmime enable_dmime
20466 wine_fn_config_makefile dlls/dmime/tests enable_tests
20467 wine_fn_config_makefile dlls/dmloader enable_dmloader
20468 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20469 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20470 wine_fn_config_makefile dlls/dmscript enable_dmscript
20471 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20472 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20473 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20474 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20475 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20476 wine_fn_config_makefile dlls/dmusic enable_dmusic
20477 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20478 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20479 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20480 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20481 wine_fn_config_makefile dlls/dplay enable_dplay
20482 wine_fn_config_makefile dlls/dplayx enable_dplayx
20483 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20484 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20485 wine_fn_config_makefile dlls/dpnet enable_dpnet
20486 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20487 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20488 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20489 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20490 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20491 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20492 wine_fn_config_makefile dlls/drmclien enable_drmclien
20493 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20494 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20495 wine_fn_config_makefile dlls/dsound enable_dsound
20496 wine_fn_config_makefile dlls/dsound/tests enable_tests
20497 wine_fn_config_makefile dlls/dsquery enable_dsquery
20498 wine_fn_config_makefile dlls/dssenh enable_dssenh
20499 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20500 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20501 wine_fn_config_makefile dlls/dswave enable_dswave
20502 wine_fn_config_makefile dlls/dswave/tests enable_tests
20503 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20504 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20505 wine_fn_config_makefile dlls/dwrite enable_dwrite
20506 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20507 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20508 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20509 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20510 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20511 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20512 wine_fn_config_makefile dlls/dxgi enable_dxgi
20513 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20514 wine_fn_config_makefile dlls/dxguid enable_dxguid
20515 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20516 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20517 wine_fn_config_makefile dlls/esent enable_esent
20518 wine_fn_config_makefile dlls/evr enable_evr
20519 wine_fn_config_makefile dlls/evr/tests enable_tests
20520 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20521 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20522 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20523 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20524 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20525 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20526 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20527 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20528 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20529 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20530 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20531 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20532 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20533 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20534 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20535 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20536 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20537 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20538 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20539 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20540 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20541 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20542 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20543 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20544 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20545 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20546 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20547 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20548 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20549 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20550 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20551 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20552 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20553 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20554 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20555 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20556 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20557 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20558 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20559 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20560 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20561 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20562 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
20563 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20564 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20565 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20566 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20567 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20568 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20569 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20570 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20571 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20572 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20573 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20574 wine_fn_config_makefile dlls/faultrep enable_faultrep
20575 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20576 wine_fn_config_makefile dlls/feclient enable_feclient
20577 wine_fn_config_makefile dlls/fltlib enable_fltlib
20578 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20579 wine_fn_config_makefile dlls/fntcache enable_fntcache
20580 wine_fn_config_makefile dlls/fontsub enable_fontsub
20581 wine_fn_config_makefile dlls/fusion enable_fusion
20582 wine_fn_config_makefile dlls/fusion/tests enable_tests
20583 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20584 wine_fn_config_makefile dlls/gameux enable_gameux
20585 wine_fn_config_makefile dlls/gameux/tests enable_tests
20586 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20587 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20588 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20589 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20590 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20591 wine_fn_config_makefile dlls/glu32 enable_glu32
20592 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20593 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20594 wine_fn_config_makefile dlls/hal enable_hal
20595 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20596 wine_fn_config_makefile dlls/hid enable_hid
20597 wine_fn_config_makefile dlls/hid/tests enable_tests
20598 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20599 wine_fn_config_makefile dlls/hlink enable_hlink
20600 wine_fn_config_makefile dlls/hlink/tests enable_tests
20601 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20602 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20603 wine_fn_config_makefile dlls/http.sys enable_http_sys
20604 wine_fn_config_makefile dlls/httpapi enable_httpapi
20605 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20606 wine_fn_config_makefile dlls/iccvid enable_iccvid
20607 wine_fn_config_makefile dlls/icmp enable_icmp
20608 wine_fn_config_makefile dlls/ieframe enable_ieframe
20609 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20610 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20611 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20612 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20613 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20614 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20615 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20616 wine_fn_config_makefile dlls/imm32 enable_imm32
20617 wine_fn_config_makefile dlls/imm32/tests enable_tests
20618 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20619 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20620 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20621 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20622 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20623 wine_fn_config_makefile dlls/infosoft enable_infosoft
20624 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20625 wine_fn_config_makefile dlls/initpki enable_initpki
20626 wine_fn_config_makefile dlls/inkobj enable_inkobj
20627 wine_fn_config_makefile dlls/inseng enable_inseng
20628 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20629 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20630 wine_fn_config_makefile dlls/iprop enable_iprop
20631 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20632 wine_fn_config_makefile dlls/itircl enable_itircl
20633 wine_fn_config_makefile dlls/itss enable_itss
20634 wine_fn_config_makefile dlls/itss/tests enable_tests
20635 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20636 wine_fn_config_makefile dlls/jscript enable_jscript
20637 wine_fn_config_makefile dlls/jscript/tests enable_tests
20638 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20639 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20640 wine_fn_config_makefile dlls/kerberos enable_kerberos
20641 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20642 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20643 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20644 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20645 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20646 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20647 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20648 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20649 wine_fn_config_makefile dlls/ksuser enable_ksuser
20650 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20651 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20652 wine_fn_config_makefile dlls/loadperf enable_loadperf
20653 wine_fn_config_makefile dlls/localspl enable_localspl
20654 wine_fn_config_makefile dlls/localspl/tests enable_tests
20655 wine_fn_config_makefile dlls/localui enable_localui
20656 wine_fn_config_makefile dlls/localui/tests enable_tests
20657 wine_fn_config_makefile dlls/lz32 enable_lz32
20658 wine_fn_config_makefile dlls/lz32/tests enable_tests
20659 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20660 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20661 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20662 wine_fn_config_makefile dlls/mapistub enable_mapistub
20663 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20664 wine_fn_config_makefile dlls/mcicda enable_mcicda
20665 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20666 wine_fn_config_makefile dlls/mciseq enable_mciseq
20667 wine_fn_config_makefile dlls/mciwave enable_mciwave
20668 wine_fn_config_makefile dlls/mf enable_mf
20669 wine_fn_config_makefile dlls/mf/tests enable_tests
20670 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20671 wine_fn_config_makefile dlls/mferror enable_mferror
20672 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20673 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20674 wine_fn_config_makefile dlls/mfplat enable_mfplat
20675 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20676 wine_fn_config_makefile dlls/mfplay enable_mfplay
20677 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20678 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20679 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20680 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20681 wine_fn_config_makefile dlls/midimap enable_midimap
20682 wine_fn_config_makefile dlls/mlang enable_mlang
20683 wine_fn_config_makefile dlls/mlang/tests enable_tests
20684 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20685 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20686 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20687 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20688 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20689 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20690 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20691 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20692 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20693 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20694 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20695 wine_fn_config_makefile dlls/mpr enable_mpr
20696 wine_fn_config_makefile dlls/mpr/tests enable_tests
20697 wine_fn_config_makefile dlls/mprapi enable_mprapi
20698 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20699 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20700 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20701 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20702 wine_fn_config_makefile dlls/msado15 enable_msado15
20703 wine_fn_config_makefile dlls/msado15/tests enable_tests
20704 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20705 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20706 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20707 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20708 wine_fn_config_makefile dlls/mscms enable_mscms
20709 wine_fn_config_makefile dlls/mscms/tests enable_tests
20710 wine_fn_config_makefile dlls/mscoree enable_mscoree
20711 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20712 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20713 wine_fn_config_makefile dlls/msctf enable_msctf
20714 wine_fn_config_makefile dlls/msctf/tests enable_tests
20715 wine_fn_config_makefile dlls/msctfp enable_msctfp
20716 wine_fn_config_makefile dlls/msdaps enable_msdaps
20717 wine_fn_config_makefile dlls/msdelta enable_msdelta
20718 wine_fn_config_makefile dlls/msdmo enable_msdmo
20719 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20720 wine_fn_config_makefile dlls/msdrm enable_msdrm
20721 wine_fn_config_makefile dlls/msftedit enable_msftedit
20722 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20723 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20724 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20725 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20726 wine_fn_config_makefile dlls/mshtml enable_mshtml
20727 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20728 wine_fn_config_makefile dlls/msi enable_msi
20729 wine_fn_config_makefile dlls/msi/tests enable_tests
20730 wine_fn_config_makefile dlls/msident enable_msident
20731 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20732 wine_fn_config_makefile dlls/msimsg enable_msimsg
20733 wine_fn_config_makefile dlls/msimtf enable_msimtf
20734 wine_fn_config_makefile dlls/msisip enable_msisip
20735 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20736 wine_fn_config_makefile dlls/msls31 enable_msls31
20737 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20738 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20739 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20740 wine_fn_config_makefile dlls/msports enable_msports
20741 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20742 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20743 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20744 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20745 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20746 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20747 wine_fn_config_makefile dlls/mstask enable_mstask
20748 wine_fn_config_makefile dlls/mstask/tests enable_tests
20749 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20750 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20751 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20752 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20753 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20754 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20755 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20756 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20757 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20758 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20759 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20760 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20761 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20762 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20763 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20764 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20765 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20766 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20767 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20768 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20769 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20770 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20771 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20772 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20773 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20774 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20775 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20776 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20777 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20778 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20779 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20780 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20781 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20782 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20783 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20784 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20785 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20786 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20787 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20788 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20789 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20790 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20791 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20792 wine_fn_config_makefile dlls/mswsock enable_mswsock
20793 wine_fn_config_makefile dlls/msxml enable_msxml
20794 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20795 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20796 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20797 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20798 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20799 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20800 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20801 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20802 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20803 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20804 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20805 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20806 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20807 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20808 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20809 wine_fn_config_makefile dlls/netprofm enable_netprofm
20810 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20811 wine_fn_config_makefile dlls/netutils enable_netutils
20812 wine_fn_config_makefile dlls/newdev enable_newdev
20813 wine_fn_config_makefile dlls/ninput enable_ninput
20814 wine_fn_config_makefile dlls/ninput/tests enable_tests
20815 wine_fn_config_makefile dlls/normaliz enable_normaliz
20816 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20817 wine_fn_config_makefile dlls/npptools enable_npptools
20818 wine_fn_config_makefile dlls/ntdll enable_ntdll
20819 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20820 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20821 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20822 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20823 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20824 wine_fn_config_makefile dlls/ntprint enable_ntprint
20825 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20826 wine_fn_config_makefile dlls/objsel enable_objsel
20827 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20828 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20829 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20830 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20831 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20832 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20833 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20834 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20835 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20836 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20837 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20838 wine_fn_config_makefile dlls/ole32 enable_ole32
20839 wine_fn_config_makefile dlls/ole32/tests enable_tests
20840 wine_fn_config_makefile dlls/oleacc enable_oleacc
20841 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20842 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20843 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20844 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20845 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20846 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20847 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20848 wine_fn_config_makefile dlls/oledlg enable_oledlg
20849 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20850 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20851 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20852 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20853 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20854 wine_fn_config_makefile dlls/opcservices enable_opcservices
20855 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20856 wine_fn_config_makefile dlls/openal32 enable_openal32
20857 wine_fn_config_makefile dlls/opencl enable_opencl
20858 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20859 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20860 wine_fn_config_makefile dlls/packager enable_packager
20861 wine_fn_config_makefile dlls/packager/tests enable_tests
20862 wine_fn_config_makefile dlls/pdh enable_pdh
20863 wine_fn_config_makefile dlls/pdh/tests enable_tests
20864 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20865 wine_fn_config_makefile dlls/pidgen enable_pidgen
20866 wine_fn_config_makefile dlls/powrprof enable_powrprof
20867 wine_fn_config_makefile dlls/printui enable_printui
20868 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20869 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20870 wine_fn_config_makefile dlls/propsys enable_propsys
20871 wine_fn_config_makefile dlls/propsys/tests enable_tests
20872 wine_fn_config_makefile dlls/psapi enable_psapi
20873 wine_fn_config_makefile dlls/psapi/tests enable_tests
20874 wine_fn_config_makefile dlls/pstorec enable_pstorec
20875 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20876 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20877 wine_fn_config_makefile dlls/qasf enable_qasf
20878 wine_fn_config_makefile dlls/qasf/tests enable_tests
20879 wine_fn_config_makefile dlls/qcap enable_qcap
20880 wine_fn_config_makefile dlls/qcap/tests enable_tests
20881 wine_fn_config_makefile dlls/qdvd enable_qdvd
20882 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20883 wine_fn_config_makefile dlls/qedit enable_qedit
20884 wine_fn_config_makefile dlls/qedit/tests enable_tests
20885 wine_fn_config_makefile dlls/qmgr enable_qmgr
20886 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20887 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20888 wine_fn_config_makefile dlls/quartz enable_quartz
20889 wine_fn_config_makefile dlls/quartz/tests enable_tests
20890 wine_fn_config_makefile dlls/query enable_query
20891 wine_fn_config_makefile dlls/qwave enable_qwave
20892 wine_fn_config_makefile dlls/qwave/tests enable_tests
20893 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20894 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20895 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20896 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20897 wine_fn_config_makefile dlls/regapi enable_regapi
20898 wine_fn_config_makefile dlls/resutils enable_resutils
20899 wine_fn_config_makefile dlls/riched20 enable_riched20
20900 wine_fn_config_makefile dlls/riched20/tests enable_tests
20901 wine_fn_config_makefile dlls/riched32 enable_riched32
20902 wine_fn_config_makefile dlls/riched32/tests enable_tests
20903 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20904 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20905 wine_fn_config_makefile dlls/rsabase enable_rsabase
20906 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20907 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20908 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20909 wine_fn_config_makefile dlls/rtutils enable_rtutils
20910 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20911 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20912 wine_fn_config_makefile dlls/samlib enable_samlib
20913 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20914 wine_fn_config_makefile dlls/sapi enable_sapi
20915 wine_fn_config_makefile dlls/sapi/tests enable_tests
20916 wine_fn_config_makefile dlls/sas enable_sas
20917 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20918 wine_fn_config_makefile dlls/sccbase enable_sccbase
20919 wine_fn_config_makefile dlls/schannel enable_schannel
20920 wine_fn_config_makefile dlls/schannel/tests enable_tests
20921 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20922 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20923 wine_fn_config_makefile dlls/scrobj enable_scrobj
20924 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20925 wine_fn_config_makefile dlls/scrrun enable_scrrun
20926 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20927 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20928 wine_fn_config_makefile dlls/sechost enable_sechost
20929 wine_fn_config_makefile dlls/secur32 enable_secur32
20930 wine_fn_config_makefile dlls/secur32/tests enable_tests
20931 wine_fn_config_makefile dlls/security enable_security
20932 wine_fn_config_makefile dlls/sensapi enable_sensapi
20933 wine_fn_config_makefile dlls/serialui enable_serialui
20934 wine_fn_config_makefile dlls/serialui/tests enable_tests
20935 wine_fn_config_makefile dlls/setupapi enable_setupapi
20936 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20937 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20938 wine_fn_config_makefile dlls/sfc enable_sfc
20939 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20940 wine_fn_config_makefile dlls/shcore enable_shcore
20941 wine_fn_config_makefile dlls/shcore/tests enable_tests
20942 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20943 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20944 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20945 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20946 wine_fn_config_makefile dlls/shell32 enable_shell32
20947 wine_fn_config_makefile dlls/shell32/tests enable_tests
20948 wine_fn_config_makefile dlls/shfolder enable_shfolder
20949 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20950 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20951 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20952 wine_fn_config_makefile dlls/slc enable_slc
20953 wine_fn_config_makefile dlls/slc/tests enable_tests
20954 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20955 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20956 wine_fn_config_makefile dlls/softpub enable_softpub
20957 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20958 wine_fn_config_makefile dlls/spoolss enable_spoolss
20959 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20960 wine_fn_config_makefile dlls/srclient enable_srclient
20961 wine_fn_config_makefile dlls/srvcli enable_srvcli
20962 wine_fn_config_makefile dlls/sspicli enable_sspicli
20963 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20964 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20965 wine_fn_config_makefile dlls/sti enable_sti
20966 wine_fn_config_makefile dlls/sti/tests enable_tests
20967 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20968 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20969 wine_fn_config_makefile dlls/strmbase enable_strmbase
20970 wine_fn_config_makefile dlls/strmdll enable_strmdll
20971 wine_fn_config_makefile dlls/strmiids enable_strmiids
20972 wine_fn_config_makefile dlls/svrapi enable_svrapi
20973 wine_fn_config_makefile dlls/sxs enable_sxs
20974 wine_fn_config_makefile dlls/sxs/tests enable_tests
20975 wine_fn_config_makefile dlls/system.drv16 enable_win16
20976 wine_fn_config_makefile dlls/t2embed enable_t2embed
20977 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20978 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20979 wine_fn_config_makefile dlls/tapi32/tests enable_tests
20980 wine_fn_config_makefile dlls/taskschd enable_taskschd
20981 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20982 wine_fn_config_makefile dlls/tdh enable_tdh
20983 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20984 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20985 wine_fn_config_makefile dlls/traffic enable_traffic
20986 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20987 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20988 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20989 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20990 wine_fn_config_makefile dlls/tzres enable_tzres
20991 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20992 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20993 wine_fn_config_makefile dlls/uianimation enable_uianimation
20994 wine_fn_config_makefile dlls/uianimation/tests enable_tests
20995 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20996 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20997 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20998 wine_fn_config_makefile dlls/unicows enable_unicows
20999 wine_fn_config_makefile dlls/updspapi enable_updspapi
21000 wine_fn_config_makefile dlls/url enable_url
21001 wine_fn_config_makefile dlls/urlmon enable_urlmon
21002 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21003 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21004 wine_fn_config_makefile dlls/user.exe16 enable_win16
21005 wine_fn_config_makefile dlls/user32 enable_user32
21006 wine_fn_config_makefile dlls/user32/tests enable_tests
21007 wine_fn_config_makefile dlls/userenv enable_userenv
21008 wine_fn_config_makefile dlls/userenv/tests enable_tests
21009 wine_fn_config_makefile dlls/usp10 enable_usp10
21010 wine_fn_config_makefile dlls/usp10/tests enable_tests
21011 wine_fn_config_makefile dlls/utildll enable_utildll
21012 wine_fn_config_makefile dlls/uuid enable_uuid
21013 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21014 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21015 wine_fn_config_makefile dlls/vbscript enable_vbscript
21016 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21017 wine_fn_config_makefile dlls/vcomp enable_vcomp
21018 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21019 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21020 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21021 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21022 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21023 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21024 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21025 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21026 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21027 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21028 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21029 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21030 wine_fn_config_makefile dlls/version enable_version
21031 wine_fn_config_makefile dlls/version/tests enable_tests
21032 wine_fn_config_makefile dlls/vga enable_vga
21033 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21034 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21035 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21036 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21037 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21038 wine_fn_config_makefile dlls/vssapi enable_vssapi
21039 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21040 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21041 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21042 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21043 wine_fn_config_makefile dlls/w32skrnl enable_win16
21044 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21045 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21046 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21047 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21048 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21049 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21050 wine_fn_config_makefile dlls/wdscore enable_wdscore
21051 wine_fn_config_makefile dlls/webservices enable_webservices
21052 wine_fn_config_makefile dlls/webservices/tests enable_tests
21053 wine_fn_config_makefile dlls/wer enable_wer
21054 wine_fn_config_makefile dlls/wer/tests enable_tests
21055 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21056 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21057 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21058 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21059 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21060 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21061 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21062 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21063 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21064 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21065 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21066 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21067 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21068 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21069 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21070 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21071 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21072 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21073 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21074 wine_fn_config_makefile dlls/wined3d enable_wined3d
21075 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21076 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21077 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21078 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21079 wine_fn_config_makefile dlls/winemapi enable_winemapi
21080 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21081 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21082 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21083 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21084 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21085 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21086 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21087 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21088 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21089 wine_fn_config_makefile dlls/wing32 enable_wing32
21090 wine_fn_config_makefile dlls/winhttp enable_winhttp
21091 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21092 wine_fn_config_makefile dlls/wininet enable_wininet
21093 wine_fn_config_makefile dlls/wininet/tests enable_tests
21094 wine_fn_config_makefile dlls/winmm enable_winmm
21095 wine_fn_config_makefile dlls/winmm/tests enable_tests
21096 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21097 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21098 wine_fn_config_makefile dlls/winscard enable_winscard
21099 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21100 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21101 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21102 wine_fn_config_makefile dlls/winsta enable_winsta
21103 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21104 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21105 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21106 wine_fn_config_makefile dlls/wintrust enable_wintrust
21107 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21108 wine_fn_config_makefile dlls/winusb enable_winusb
21109 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21110 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21111 wine_fn_config_makefile dlls/wlanui enable_wlanui
21112 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21113 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21114 wine_fn_config_makefile dlls/wmasf enable_wmasf
21115 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21116 wine_fn_config_makefile dlls/wmi enable_wmi
21117 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21118 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21119 wine_fn_config_makefile dlls/wmp enable_wmp
21120 wine_fn_config_makefile dlls/wmp/tests enable_tests
21121 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21122 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21123 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21124 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21125 wine_fn_config_makefile dlls/wow32 enable_win16
21126 wine_fn_config_makefile dlls/wpc enable_wpc
21127 wine_fn_config_makefile dlls/wpc/tests enable_tests
21128 wine_fn_config_makefile dlls/wpcap enable_wpcap
21129 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21130 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21131 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21132 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21133 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21134 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21135 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21136 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21137 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21138 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21139 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21140 wine_fn_config_makefile dlls/wuapi enable_wuapi
21141 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21142 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21143 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21144 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21145 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21146 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21147 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21148 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21149 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21150 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21151 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21152 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21153 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21154 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21155 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21156 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21157 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21158 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21159 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21160 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21161 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21162 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21163 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21164 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21165 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21166 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21167 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21168 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21169 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21170 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21171 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21172 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21173 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21174 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21175 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21176 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21177 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21178 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21179 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21180 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21181 wine_fn_config_makefile dlls/xmllite enable_xmllite
21182 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21183 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21184 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21185 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21186 wine_fn_config_makefile fonts enable_fonts
21187 wine_fn_config_makefile include enable_include
21188 wine_fn_config_makefile libs/port enable_port
21189 wine_fn_config_makefile libs/wine enable_wine
21190 wine_fn_config_makefile libs/wpp enable_wpp
21191 wine_fn_config_makefile loader enable_loader
21192 wine_fn_config_makefile nls enable_nls
21193 wine_fn_config_makefile po enable_po
21194 wine_fn_config_makefile programs/arp enable_arp
21195 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21196 wine_fn_config_makefile programs/attrib enable_attrib
21197 wine_fn_config_makefile programs/cabarc enable_cabarc
21198 wine_fn_config_makefile programs/cacls enable_cacls
21199 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21200 wine_fn_config_makefile programs/clock enable_clock
21201 wine_fn_config_makefile programs/cmd enable_cmd
21202 wine_fn_config_makefile programs/cmd/tests enable_tests
21203 wine_fn_config_makefile programs/conhost enable_conhost
21204 wine_fn_config_makefile programs/conhost/tests enable_tests
21205 wine_fn_config_makefile programs/control enable_control
21206 wine_fn_config_makefile programs/cscript enable_cscript
21207 wine_fn_config_makefile programs/dism enable_dism
21208 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21209 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21210 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21211 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21212 wine_fn_config_makefile programs/eject enable_eject
21213 wine_fn_config_makefile programs/expand enable_expand
21214 wine_fn_config_makefile programs/explorer enable_explorer
21215 wine_fn_config_makefile programs/extrac32 enable_extrac32
21216 wine_fn_config_makefile programs/fc enable_fc
21217 wine_fn_config_makefile programs/find enable_find
21218 wine_fn_config_makefile programs/find/tests enable_tests
21219 wine_fn_config_makefile programs/findstr enable_findstr
21220 wine_fn_config_makefile programs/fsutil enable_fsutil
21221 wine_fn_config_makefile programs/fsutil/tests enable_tests
21222 wine_fn_config_makefile programs/hh enable_hh
21223 wine_fn_config_makefile programs/hostname enable_hostname
21224 wine_fn_config_makefile programs/icacls enable_icacls
21225 wine_fn_config_makefile programs/icinfo enable_icinfo
21226 wine_fn_config_makefile programs/iexplore enable_iexplore
21227 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21228 wine_fn_config_makefile programs/lodctr enable_lodctr
21229 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21230 wine_fn_config_makefile programs/mshta enable_mshta
21231 wine_fn_config_makefile programs/msidb enable_msidb
21232 wine_fn_config_makefile programs/msiexec enable_msiexec
21233 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21234 wine_fn_config_makefile programs/net enable_net
21235 wine_fn_config_makefile programs/netsh enable_netsh
21236 wine_fn_config_makefile programs/netstat enable_netstat
21237 wine_fn_config_makefile programs/ngen enable_ngen
21238 wine_fn_config_makefile programs/notepad enable_notepad
21239 wine_fn_config_makefile programs/oleview enable_oleview
21240 wine_fn_config_makefile programs/ping enable_ping
21241 wine_fn_config_makefile programs/plugplay enable_plugplay
21242 wine_fn_config_makefile programs/powershell enable_powershell
21243 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21244 wine_fn_config_makefile programs/progman enable_progman
21245 wine_fn_config_makefile programs/reg enable_reg
21246 wine_fn_config_makefile programs/reg/tests enable_tests
21247 wine_fn_config_makefile programs/regasm enable_regasm
21248 wine_fn_config_makefile programs/regedit enable_regedit
21249 wine_fn_config_makefile programs/regedit/tests enable_tests
21250 wine_fn_config_makefile programs/regini enable_regini
21251 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21252 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21253 wine_fn_config_makefile programs/rpcss enable_rpcss
21254 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21255 wine_fn_config_makefile programs/rundll32 enable_rundll32
21256 wine_fn_config_makefile programs/sc enable_sc
21257 wine_fn_config_makefile programs/schtasks enable_schtasks
21258 wine_fn_config_makefile programs/schtasks/tests enable_tests
21259 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21260 wine_fn_config_makefile programs/secedit enable_secedit
21261 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21262 wine_fn_config_makefile programs/services enable_services
21263 wine_fn_config_makefile programs/services/tests enable_tests
21264 wine_fn_config_makefile programs/shutdown enable_shutdown
21265 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21266 wine_fn_config_makefile programs/start enable_start
21267 wine_fn_config_makefile programs/subst enable_subst
21268 wine_fn_config_makefile programs/svchost enable_svchost
21269 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21270 wine_fn_config_makefile programs/taskkill enable_taskkill
21271 wine_fn_config_makefile programs/tasklist enable_tasklist
21272 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21273 wine_fn_config_makefile programs/termsv enable_termsv
21274 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21275 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21276 wine_fn_config_makefile programs/view enable_view
21277 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21278 wine_fn_config_makefile programs/where enable_where
21279 wine_fn_config_makefile programs/whoami enable_whoami
21280 wine_fn_config_makefile programs/wineboot enable_wineboot
21281 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21282 wine_fn_config_makefile programs/winecfg enable_winecfg
21283 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21284 wine_fn_config_makefile programs/winedbg enable_winedbg
21285 wine_fn_config_makefile programs/winedevice enable_winedevice
21286 wine_fn_config_makefile programs/winefile enable_winefile
21287 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21288 wine_fn_config_makefile programs/winemine enable_winemine
21289 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21290 wine_fn_config_makefile programs/winepath enable_winepath
21291 wine_fn_config_makefile programs/winetest enable_winetest
21292 wine_fn_config_makefile programs/winevdm enable_win16
21293 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21294 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21295 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21296 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21297 wine_fn_config_makefile programs/winver enable_winver
21298 wine_fn_config_makefile programs/wmic enable_wmic
21299 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21300 wine_fn_config_makefile programs/wordpad enable_wordpad
21301 wine_fn_config_makefile programs/write enable_write
21302 wine_fn_config_makefile programs/wscript enable_wscript
21303 wine_fn_config_makefile programs/wscript/tests enable_tests
21304 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21305 wine_fn_config_makefile programs/wusa enable_wusa
21306 wine_fn_config_makefile programs/xcopy enable_xcopy
21307 wine_fn_config_makefile programs/xcopy/tests enable_tests
21308 wine_fn_config_makefile server enable_server
21309 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21310 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21311 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21312 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21313 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21314 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21315 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21316 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21317 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21320 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21321 wine_fn_append_file CONFIGURE_TARGETS "tags"
21322 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21323 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21324 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21325 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21326 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21327 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21329 if test "x$enable_tools" != xno
21330 then
21331 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21332 ac_config_commands="$ac_config_commands tools/makedep"
21336 ac_config_commands="$ac_config_commands Makefile"
21339 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21343 if test "x$enable_maintainer_mode" = xyes
21344 then
21345 wine_fn_append_rule "configure: configure.ac aclocal.m4
21346 autoconf --warnings=all
21347 include/config.h.in: include/stamp-h.in
21348 include/stamp-h.in: configure.ac aclocal.m4
21349 autoheader --warnings=all
21350 @echo timestamp > \$@"
21353 if test "x$enable_tools" != xno
21354 then
21355 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21356 @./config.status tools/makedep
21357 Makefile: tools/makedep$ac_exeext"
21358 else
21359 wine_fn_append_rule "\$(MAKEDEP):
21360 @echo \"You need to run make in $TOOLSDIR first\" && false"
21363 if test -n "$with_wine64"
21364 then
21365 case "$with_wine64" in
21366 /*) reldir="" ;;
21367 *) reldir="../" ;;
21368 esac
21369 rm -f fonts server 2>/dev/null
21370 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21371 loader/wine64 loader/wine64-preloader:
21372 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21373 $with_wine64/loader/wine:
21374 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21375 $with_wine64/loader/wine-preloader:
21376 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21377 clean::
21378 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21379 else
21380 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21381 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21382 fonts \
21383 loader/wine.inf \
21384 nls \
21385 programs/msidb/msidb \
21386 programs/msiexec/msiexec \
21387 programs/notepad/notepad \
21388 programs/regedit/regedit \
21389 programs/regsvr32/regsvr32 \
21390 programs/wineboot/wineboot \
21391 programs/winecfg/winecfg \
21392 programs/wineconsole/wineconsole \
21393 programs/winedbg/winedbg \
21394 programs/winefile/winefile \
21395 programs/winemine/winemine \
21396 programs/winepath/winepath \
21397 server/wineserver"
21399 case $host_os in
21400 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21401 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21402 esac
21405 $as_echo " done" >&6
21406 cat >confcache <<\_ACEOF
21407 # This file is a shell script that caches the results of configure
21408 # tests run on this system so they can be shared between configure
21409 # scripts and configure runs, see configure's option --config-cache.
21410 # It is not useful on other systems. If it contains results you don't
21411 # want to keep, you may remove or edit it.
21413 # config.status only pays attention to the cache file if you give it
21414 # the --recheck option to rerun configure.
21416 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21417 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21418 # following values.
21420 _ACEOF
21422 # The following way of writing the cache mishandles newlines in values,
21423 # but we know of no workaround that is simple, portable, and efficient.
21424 # So, we kill variables containing newlines.
21425 # Ultrix sh set writes to stderr and can't be redirected directly,
21426 # and sets the high bit in the cache file unless we assign to the vars.
21428 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21429 eval ac_val=\$$ac_var
21430 case $ac_val in #(
21431 *${as_nl}*)
21432 case $ac_var in #(
21433 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21434 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21435 esac
21436 case $ac_var in #(
21437 _ | IFS | as_nl) ;; #(
21438 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21439 *) { eval $ac_var=; unset $ac_var;} ;;
21440 esac ;;
21441 esac
21442 done
21444 (set) 2>&1 |
21445 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21446 *${as_nl}ac_space=\ *)
21447 # `set' does not quote correctly, so add quotes: double-quote
21448 # substitution turns \\\\ into \\, and sed turns \\ into \.
21449 sed -n \
21450 "s/'/'\\\\''/g;
21451 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21452 ;; #(
21454 # `set' quotes correctly as required by POSIX, so do not add quotes.
21455 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21457 esac |
21458 sort
21460 sed '
21461 /^ac_cv_env_/b end
21462 t clear
21463 :clear
21464 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21465 t end
21466 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21467 :end' >>confcache
21468 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21469 if test -w "$cache_file"; then
21470 if test "x$cache_file" != "x/dev/null"; then
21471 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21472 $as_echo "$as_me: updating cache $cache_file" >&6;}
21473 if test ! -f "$cache_file" || test -h "$cache_file"; then
21474 cat confcache >"$cache_file"
21475 else
21476 case $cache_file in #(
21477 */* | ?:*)
21478 mv -f confcache "$cache_file"$$ &&
21479 mv -f "$cache_file"$$ "$cache_file" ;; #(
21481 mv -f confcache "$cache_file" ;;
21482 esac
21485 else
21486 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21487 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21490 rm -f confcache
21492 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21493 # Let make expand exec_prefix.
21494 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21496 DEFS=-DHAVE_CONFIG_H
21498 ac_libobjs=
21499 ac_ltlibobjs=
21501 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21502 # 1. Remove the extension, and $U if already installed.
21503 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21504 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21505 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21506 # will be set to the directory where LIBOBJS objects are built.
21507 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21508 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21509 done
21510 LIBOBJS=$ac_libobjs
21512 LTLIBOBJS=$ac_ltlibobjs
21516 : "${CONFIG_STATUS=./config.status}"
21517 ac_write_fail=0
21518 ac_clean_files_save=$ac_clean_files
21519 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21520 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21521 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21522 as_write_fail=0
21523 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21524 #! $SHELL
21525 # Generated by $as_me.
21526 # Run this file to recreate the current configuration.
21527 # Compiler output produced by configure, useful for debugging
21528 # configure, is in config.log if it exists.
21530 debug=false
21531 ac_cs_recheck=false
21532 ac_cs_silent=false
21534 SHELL=\${CONFIG_SHELL-$SHELL}
21535 export SHELL
21536 _ASEOF
21537 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21538 ## -------------------- ##
21539 ## M4sh Initialization. ##
21540 ## -------------------- ##
21542 # Be more Bourne compatible
21543 DUALCASE=1; export DUALCASE # for MKS sh
21544 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21545 emulate sh
21546 NULLCMD=:
21547 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21548 # is contrary to our usage. Disable this feature.
21549 alias -g '${1+"$@"}'='"$@"'
21550 setopt NO_GLOB_SUBST
21551 else
21552 case `(set -o) 2>/dev/null` in #(
21553 *posix*) :
21554 set -o posix ;; #(
21555 *) :
21557 esac
21561 as_nl='
21563 export as_nl
21564 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21565 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21566 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21567 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21568 # Prefer a ksh shell builtin over an external printf program on Solaris,
21569 # but without wasting forks for bash or zsh.
21570 if test -z "$BASH_VERSION$ZSH_VERSION" \
21571 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21572 as_echo='print -r --'
21573 as_echo_n='print -rn --'
21574 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21575 as_echo='printf %s\n'
21576 as_echo_n='printf %s'
21577 else
21578 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21579 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21580 as_echo_n='/usr/ucb/echo -n'
21581 else
21582 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21583 as_echo_n_body='eval
21584 arg=$1;
21585 case $arg in #(
21586 *"$as_nl"*)
21587 expr "X$arg" : "X\\(.*\\)$as_nl";
21588 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21589 esac;
21590 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21592 export as_echo_n_body
21593 as_echo_n='sh -c $as_echo_n_body as_echo'
21595 export as_echo_body
21596 as_echo='sh -c $as_echo_body as_echo'
21599 # The user is always right.
21600 if test "${PATH_SEPARATOR+set}" != set; then
21601 PATH_SEPARATOR=:
21602 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21603 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21604 PATH_SEPARATOR=';'
21609 # IFS
21610 # We need space, tab and new line, in precisely that order. Quoting is
21611 # there to prevent editors from complaining about space-tab.
21612 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21613 # splitting by setting IFS to empty value.)
21614 IFS=" "" $as_nl"
21616 # Find who we are. Look in the path if we contain no directory separator.
21617 as_myself=
21618 case $0 in #((
21619 *[\\/]* ) as_myself=$0 ;;
21620 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21621 for as_dir in $PATH
21623 IFS=$as_save_IFS
21624 test -z "$as_dir" && as_dir=.
21625 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21626 done
21627 IFS=$as_save_IFS
21630 esac
21631 # We did not find ourselves, most probably we were run as `sh COMMAND'
21632 # in which case we are not to be found in the path.
21633 if test "x$as_myself" = x; then
21634 as_myself=$0
21636 if test ! -f "$as_myself"; then
21637 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21638 exit 1
21641 # Unset variables that we do not need and which cause bugs (e.g. in
21642 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21643 # suppresses any "Segmentation fault" message there. '((' could
21644 # trigger a bug in pdksh 5.2.14.
21645 for as_var in BASH_ENV ENV MAIL MAILPATH
21646 do eval test x\${$as_var+set} = xset \
21647 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21648 done
21649 PS1='$ '
21650 PS2='> '
21651 PS4='+ '
21653 # NLS nuisances.
21654 LC_ALL=C
21655 export LC_ALL
21656 LANGUAGE=C
21657 export LANGUAGE
21659 # CDPATH.
21660 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21663 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21664 # ----------------------------------------
21665 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21666 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21667 # script with STATUS, using 1 if that was 0.
21668 as_fn_error ()
21670 as_status=$1; test $as_status -eq 0 && as_status=1
21671 if test "$4"; then
21672 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21673 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21675 $as_echo "$as_me: error: $2" >&2
21676 as_fn_exit $as_status
21677 } # as_fn_error
21680 # as_fn_set_status STATUS
21681 # -----------------------
21682 # Set $? to STATUS, without forking.
21683 as_fn_set_status ()
21685 return $1
21686 } # as_fn_set_status
21688 # as_fn_exit STATUS
21689 # -----------------
21690 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21691 as_fn_exit ()
21693 set +e
21694 as_fn_set_status $1
21695 exit $1
21696 } # as_fn_exit
21698 # as_fn_unset VAR
21699 # ---------------
21700 # Portably unset VAR.
21701 as_fn_unset ()
21703 { eval $1=; unset $1;}
21705 as_unset=as_fn_unset
21706 # as_fn_append VAR VALUE
21707 # ----------------------
21708 # Append the text in VALUE to the end of the definition contained in VAR. Take
21709 # advantage of any shell optimizations that allow amortized linear growth over
21710 # repeated appends, instead of the typical quadratic growth present in naive
21711 # implementations.
21712 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21713 eval 'as_fn_append ()
21715 eval $1+=\$2
21717 else
21718 as_fn_append ()
21720 eval $1=\$$1\$2
21722 fi # as_fn_append
21724 # as_fn_arith ARG...
21725 # ------------------
21726 # Perform arithmetic evaluation on the ARGs, and store the result in the
21727 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21728 # must be portable across $(()) and expr.
21729 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21730 eval 'as_fn_arith ()
21732 as_val=$(( $* ))
21734 else
21735 as_fn_arith ()
21737 as_val=`expr "$@" || test $? -eq 1`
21739 fi # as_fn_arith
21742 if expr a : '\(a\)' >/dev/null 2>&1 &&
21743 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21744 as_expr=expr
21745 else
21746 as_expr=false
21749 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21750 as_basename=basename
21751 else
21752 as_basename=false
21755 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21756 as_dirname=dirname
21757 else
21758 as_dirname=false
21761 as_me=`$as_basename -- "$0" ||
21762 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21763 X"$0" : 'X\(//\)$' \| \
21764 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21765 $as_echo X/"$0" |
21766 sed '/^.*\/\([^/][^/]*\)\/*$/{
21767 s//\1/
21770 /^X\/\(\/\/\)$/{
21771 s//\1/
21774 /^X\/\(\/\).*/{
21775 s//\1/
21778 s/.*/./; q'`
21780 # Avoid depending upon Character Ranges.
21781 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21782 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21783 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21784 as_cr_digits='0123456789'
21785 as_cr_alnum=$as_cr_Letters$as_cr_digits
21787 ECHO_C= ECHO_N= ECHO_T=
21788 case `echo -n x` in #(((((
21789 -n*)
21790 case `echo 'xy\c'` in
21791 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21792 xy) ECHO_C='\c';;
21793 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21794 ECHO_T=' ';;
21795 esac;;
21797 ECHO_N='-n';;
21798 esac
21800 rm -f conf$$ conf$$.exe conf$$.file
21801 if test -d conf$$.dir; then
21802 rm -f conf$$.dir/conf$$.file
21803 else
21804 rm -f conf$$.dir
21805 mkdir conf$$.dir 2>/dev/null
21807 if (echo >conf$$.file) 2>/dev/null; then
21808 if ln -s conf$$.file conf$$ 2>/dev/null; then
21809 as_ln_s='ln -s'
21810 # ... but there are two gotchas:
21811 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21812 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21813 # In both cases, we have to default to `cp -pR'.
21814 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21815 as_ln_s='cp -pR'
21816 elif ln conf$$.file conf$$ 2>/dev/null; then
21817 as_ln_s=ln
21818 else
21819 as_ln_s='cp -pR'
21821 else
21822 as_ln_s='cp -pR'
21824 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21825 rmdir conf$$.dir 2>/dev/null
21828 # as_fn_mkdir_p
21829 # -------------
21830 # Create "$as_dir" as a directory, including parents if necessary.
21831 as_fn_mkdir_p ()
21834 case $as_dir in #(
21835 -*) as_dir=./$as_dir;;
21836 esac
21837 test -d "$as_dir" || eval $as_mkdir_p || {
21838 as_dirs=
21839 while :; do
21840 case $as_dir in #(
21841 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21842 *) as_qdir=$as_dir;;
21843 esac
21844 as_dirs="'$as_qdir' $as_dirs"
21845 as_dir=`$as_dirname -- "$as_dir" ||
21846 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21847 X"$as_dir" : 'X\(//\)[^/]' \| \
21848 X"$as_dir" : 'X\(//\)$' \| \
21849 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21850 $as_echo X"$as_dir" |
21851 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21852 s//\1/
21855 /^X\(\/\/\)[^/].*/{
21856 s//\1/
21859 /^X\(\/\/\)$/{
21860 s//\1/
21863 /^X\(\/\).*/{
21864 s//\1/
21867 s/.*/./; q'`
21868 test -d "$as_dir" && break
21869 done
21870 test -z "$as_dirs" || eval "mkdir $as_dirs"
21871 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21874 } # as_fn_mkdir_p
21875 if mkdir -p . 2>/dev/null; then
21876 as_mkdir_p='mkdir -p "$as_dir"'
21877 else
21878 test -d ./-p && rmdir ./-p
21879 as_mkdir_p=false
21883 # as_fn_executable_p FILE
21884 # -----------------------
21885 # Test if FILE is an executable regular file.
21886 as_fn_executable_p ()
21888 test -f "$1" && test -x "$1"
21889 } # as_fn_executable_p
21890 as_test_x='test -x'
21891 as_executable_p=as_fn_executable_p
21893 # Sed expression to map a string onto a valid CPP name.
21894 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21896 # Sed expression to map a string onto a valid variable name.
21897 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21900 exec 6>&1
21901 ## ----------------------------------- ##
21902 ## Main body of $CONFIG_STATUS script. ##
21903 ## ----------------------------------- ##
21904 _ASEOF
21905 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21907 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21908 # Save the log message, to keep $0 and so on meaningful, and to
21909 # report actual input values of CONFIG_FILES etc. instead of their
21910 # values after options handling.
21911 ac_log="
21912 This file was extended by Wine $as_me 6.2, which was
21913 generated by GNU Autoconf 2.69. Invocation command line was
21915 CONFIG_FILES = $CONFIG_FILES
21916 CONFIG_HEADERS = $CONFIG_HEADERS
21917 CONFIG_LINKS = $CONFIG_LINKS
21918 CONFIG_COMMANDS = $CONFIG_COMMANDS
21919 $ $0 $@
21921 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21924 _ACEOF
21926 case $ac_config_files in *"
21927 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21928 esac
21930 case $ac_config_headers in *"
21931 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21932 esac
21935 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21936 # Files that config.status was made for.
21937 config_files="$ac_config_files"
21938 config_headers="$ac_config_headers"
21939 config_links="$ac_config_links"
21940 config_commands="$ac_config_commands"
21942 _ACEOF
21944 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21945 ac_cs_usage="\
21946 \`$as_me' instantiates files and other configuration actions
21947 from templates according to the current configuration. Unless the files
21948 and actions are specified as TAGs, all are instantiated by default.
21950 Usage: $0 [OPTION]... [TAG]...
21952 -h, --help print this help, then exit
21953 -V, --version print version number and configuration settings, then exit
21954 --config print configuration, then exit
21955 -q, --quiet, --silent
21956 do not print progress messages
21957 -d, --debug don't remove temporary files
21958 --recheck update $as_me by reconfiguring in the same conditions
21959 --file=FILE[:TEMPLATE]
21960 instantiate the configuration file FILE
21961 --header=FILE[:TEMPLATE]
21962 instantiate the configuration header FILE
21964 Configuration files:
21965 $config_files
21967 Configuration headers:
21968 $config_headers
21970 Configuration links:
21971 $config_links
21973 Configuration commands:
21974 $config_commands
21976 Report bugs to <wine-devel@winehq.org>.
21977 Wine home page: <https://www.winehq.org>."
21979 _ACEOF
21980 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21981 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21982 ac_cs_version="\\
21983 Wine config.status 6.2
21984 configured by $0, generated by GNU Autoconf 2.69,
21985 with options \\"\$ac_cs_config\\"
21987 Copyright (C) 2012 Free Software Foundation, Inc.
21988 This config.status script is free software; the Free Software Foundation
21989 gives unlimited permission to copy, distribute and modify it."
21991 ac_pwd='$ac_pwd'
21992 srcdir='$srcdir'
21993 test -n "\$AWK" || AWK=awk
21994 _ACEOF
21996 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21997 # The default lists apply if the user does not specify any file.
21998 ac_need_defaults=:
21999 while test $# != 0
22001 case $1 in
22002 --*=?*)
22003 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22004 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22005 ac_shift=:
22007 --*=)
22008 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22009 ac_optarg=
22010 ac_shift=:
22013 ac_option=$1
22014 ac_optarg=$2
22015 ac_shift=shift
22017 esac
22019 case $ac_option in
22020 # Handling of the options.
22021 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22022 ac_cs_recheck=: ;;
22023 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22024 $as_echo "$ac_cs_version"; exit ;;
22025 --config | --confi | --conf | --con | --co | --c )
22026 $as_echo "$ac_cs_config"; exit ;;
22027 --debug | --debu | --deb | --de | --d | -d )
22028 debug=: ;;
22029 --file | --fil | --fi | --f )
22030 $ac_shift
22031 case $ac_optarg in
22032 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22033 '') as_fn_error $? "missing file argument" ;;
22034 esac
22035 as_fn_append CONFIG_FILES " '$ac_optarg'"
22036 ac_need_defaults=false;;
22037 --header | --heade | --head | --hea )
22038 $ac_shift
22039 case $ac_optarg in
22040 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22041 esac
22042 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22043 ac_need_defaults=false;;
22044 --he | --h)
22045 # Conflict between --help and --header
22046 as_fn_error $? "ambiguous option: \`$1'
22047 Try \`$0 --help' for more information.";;
22048 --help | --hel | -h )
22049 $as_echo "$ac_cs_usage"; exit ;;
22050 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22051 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22052 ac_cs_silent=: ;;
22054 # This is an error.
22055 -*) as_fn_error $? "unrecognized option: \`$1'
22056 Try \`$0 --help' for more information." ;;
22058 *) as_fn_append ac_config_targets " $1"
22059 ac_need_defaults=false ;;
22061 esac
22062 shift
22063 done
22065 ac_configure_extra_args=
22067 if $ac_cs_silent; then
22068 exec 6>/dev/null
22069 ac_configure_extra_args="$ac_configure_extra_args --silent"
22072 _ACEOF
22073 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22074 if \$ac_cs_recheck; then
22075 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22076 shift
22077 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22078 CONFIG_SHELL='$SHELL'
22079 export CONFIG_SHELL
22080 exec "\$@"
22083 _ACEOF
22084 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22085 exec 5>>config.log
22087 echo
22088 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22089 ## Running $as_me. ##
22090 _ASBOX
22091 $as_echo "$ac_log"
22092 } >&5
22094 _ACEOF
22095 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22097 # INIT-COMMANDS
22099 wine_fn_output_makedep ()
22101 as_dir=tools; as_fn_mkdir_p
22102 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22104 wine_fn_output_makefile ()
22106 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep"$makedep_flags && return
22107 `cat $wine_rules_file`
22108 _WINE_EOF
22109 as_fn_error $? "could not create Makefile" "$LINENO" 5
22112 _ACEOF
22114 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22116 # Handling of arguments.
22117 for ac_config_target in $ac_config_targets
22119 case $ac_config_target in
22120 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22121 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22122 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22123 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22124 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22125 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22126 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22128 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22129 esac
22130 done
22133 # If the user did not use the arguments to specify the items to instantiate,
22134 # then the envvar interface is used. Set only those that are not.
22135 # We use the long form for the default assignment because of an extremely
22136 # bizarre bug on SunOS 4.1.3.
22137 if $ac_need_defaults; then
22138 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22139 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22140 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22141 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22144 # Have a temporary directory for convenience. Make it in the build tree
22145 # simply because there is no reason against having it here, and in addition,
22146 # creating and moving files from /tmp can sometimes cause problems.
22147 # Hook for its removal unless debugging.
22148 # Note that there is a small window in which the directory will not be cleaned:
22149 # after its creation but before its name has been assigned to `$tmp'.
22150 $debug ||
22152 tmp= ac_tmp=
22153 trap 'exit_status=$?
22154 : "${ac_tmp:=$tmp}"
22155 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22157 trap 'as_fn_exit 1' 1 2 13 15
22159 # Create a (secure) tmp directory for tmp files.
22162 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22163 test -d "$tmp"
22164 } ||
22166 tmp=./conf$$-$RANDOM
22167 (umask 077 && mkdir "$tmp")
22168 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22169 ac_tmp=$tmp
22171 # Set up the scripts for CONFIG_FILES section.
22172 # No need to generate them if there are no CONFIG_FILES.
22173 # This happens for instance with `./config.status config.h'.
22174 if test -n "$CONFIG_FILES"; then
22177 ac_cr=`echo X | tr X '\015'`
22178 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22179 # But we know of no other shell where ac_cr would be empty at this
22180 # point, so we can use a bashism as a fallback.
22181 if test "x$ac_cr" = x; then
22182 eval ac_cr=\$\'\\r\'
22184 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22185 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22186 ac_cs_awk_cr='\\r'
22187 else
22188 ac_cs_awk_cr=$ac_cr
22191 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22192 _ACEOF
22196 echo "cat >conf$$subs.awk <<_ACEOF" &&
22197 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22198 echo "_ACEOF"
22199 } >conf$$subs.sh ||
22200 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22201 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22202 ac_delim='%!_!# '
22203 for ac_last_try in false false false false false :; do
22204 . ./conf$$subs.sh ||
22205 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22207 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22208 if test $ac_delim_n = $ac_delim_num; then
22209 break
22210 elif $ac_last_try; then
22211 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22212 else
22213 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22215 done
22216 rm -f conf$$subs.sh
22218 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22219 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22220 _ACEOF
22221 sed -n '
22223 s/^/S["/; s/!.*/"]=/
22226 s/^[^!]*!//
22227 :repl
22228 t repl
22229 s/'"$ac_delim"'$//
22230 t delim
22233 s/\(.\{148\}\)..*/\1/
22234 t more1
22235 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22238 b repl
22239 :more1
22240 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22243 s/.\{148\}//
22244 t nl
22245 :delim
22247 s/\(.\{148\}\)..*/\1/
22248 t more2
22249 s/["\\]/\\&/g; s/^/"/; s/$/"/
22252 :more2
22253 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22256 s/.\{148\}//
22257 t delim
22258 ' <conf$$subs.awk | sed '
22259 /^[^""]/{
22261 s/\n//
22263 ' >>$CONFIG_STATUS || ac_write_fail=1
22264 rm -f conf$$subs.awk
22265 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22266 _ACAWK
22267 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22268 for (key in S) S_is_set[key] = 1
22269 FS = "\a"
22273 line = $ 0
22274 nfields = split(line, field, "@")
22275 substed = 0
22276 len = length(field[1])
22277 for (i = 2; i < nfields; i++) {
22278 key = field[i]
22279 keylen = length(key)
22280 if (S_is_set[key]) {
22281 value = S[key]
22282 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22283 len += length(value) + length(field[++i])
22284 substed = 1
22285 } else
22286 len += 1 + keylen
22289 print line
22292 _ACAWK
22293 _ACEOF
22294 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22295 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22296 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22297 else
22299 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22300 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22301 _ACEOF
22303 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22304 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22305 # trailing colons and then remove the whole line if VPATH becomes empty
22306 # (actually we leave an empty line to preserve line numbers).
22307 if test "x$srcdir" = x.; then
22308 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22310 s///
22311 s/^/:/
22312 s/[ ]*$/:/
22313 s/:\$(srcdir):/:/g
22314 s/:\${srcdir}:/:/g
22315 s/:@srcdir@:/:/g
22316 s/^:*//
22317 s/:*$//
22319 s/\(=[ ]*\).*/\1/
22321 s/\n//
22322 s/^[^=]*=[ ]*$//
22326 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22327 fi # test -n "$CONFIG_FILES"
22329 # Set up the scripts for CONFIG_HEADERS section.
22330 # No need to generate them if there are no CONFIG_HEADERS.
22331 # This happens for instance with `./config.status Makefile'.
22332 if test -n "$CONFIG_HEADERS"; then
22333 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22334 BEGIN {
22335 _ACEOF
22337 # Transform confdefs.h into an awk script `defines.awk', embedded as
22338 # here-document in config.status, that substitutes the proper values into
22339 # config.h.in to produce config.h.
22341 # Create a delimiter string that does not exist in confdefs.h, to ease
22342 # handling of long lines.
22343 ac_delim='%!_!# '
22344 for ac_last_try in false false :; do
22345 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22346 if test -z "$ac_tt"; then
22347 break
22348 elif $ac_last_try; then
22349 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22350 else
22351 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22353 done
22355 # For the awk script, D is an array of macro values keyed by name,
22356 # likewise P contains macro parameters if any. Preserve backslash
22357 # newline sequences.
22359 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22360 sed -n '
22361 s/.\{148\}/&'"$ac_delim"'/g
22362 t rset
22363 :rset
22364 s/^[ ]*#[ ]*define[ ][ ]*/ /
22365 t def
22367 :def
22368 s/\\$//
22369 t bsnl
22370 s/["\\]/\\&/g
22371 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22372 D["\1"]=" \3"/p
22373 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22375 :bsnl
22376 s/["\\]/\\&/g
22377 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22378 D["\1"]=" \3\\\\\\n"\\/p
22379 t cont
22380 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22381 t cont
22383 :cont
22385 s/.\{148\}/&'"$ac_delim"'/g
22386 t clear
22387 :clear
22388 s/\\$//
22389 t bsnlc
22390 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22392 :bsnlc
22393 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22394 b cont
22395 ' <confdefs.h | sed '
22396 s/'"$ac_delim"'/"\\\
22397 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22399 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22400 for (key in D) D_is_set[key] = 1
22401 FS = "\a"
22403 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22404 line = \$ 0
22405 split(line, arg, " ")
22406 if (arg[1] == "#") {
22407 defundef = arg[2]
22408 mac1 = arg[3]
22409 } else {
22410 defundef = substr(arg[1], 2)
22411 mac1 = arg[2]
22413 split(mac1, mac2, "(") #)
22414 macro = mac2[1]
22415 prefix = substr(line, 1, index(line, defundef) - 1)
22416 if (D_is_set[macro]) {
22417 # Preserve the white space surrounding the "#".
22418 print prefix "define", macro P[macro] D[macro]
22419 next
22420 } else {
22421 # Replace #undef with comments. This is necessary, for example,
22422 # in the case of _POSIX_SOURCE, which is predefined and required
22423 # on some systems where configure will not decide to define it.
22424 if (defundef == "undef") {
22425 print "/*", prefix defundef, macro, "*/"
22426 next
22430 { print }
22431 _ACAWK
22432 _ACEOF
22433 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22434 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22435 fi # test -n "$CONFIG_HEADERS"
22438 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22439 shift
22440 for ac_tag
22442 case $ac_tag in
22443 :[FHLC]) ac_mode=$ac_tag; continue;;
22444 esac
22445 case $ac_mode$ac_tag in
22446 :[FHL]*:*);;
22447 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22448 :[FH]-) ac_tag=-:-;;
22449 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22450 esac
22451 ac_save_IFS=$IFS
22452 IFS=:
22453 set x $ac_tag
22454 IFS=$ac_save_IFS
22455 shift
22456 ac_file=$1
22457 shift
22459 case $ac_mode in
22460 :L) ac_source=$1;;
22461 :[FH])
22462 ac_file_inputs=
22463 for ac_f
22465 case $ac_f in
22466 -) ac_f="$ac_tmp/stdin";;
22467 *) # Look for the file first in the build tree, then in the source tree
22468 # (if the path is not absolute). The absolute path cannot be DOS-style,
22469 # because $ac_f cannot contain `:'.
22470 test -f "$ac_f" ||
22471 case $ac_f in
22472 [\\/$]*) false;;
22473 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22474 esac ||
22475 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22476 esac
22477 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22478 as_fn_append ac_file_inputs " '$ac_f'"
22479 done
22481 # Let's still pretend it is `configure' which instantiates (i.e., don't
22482 # use $as_me), people would be surprised to read:
22483 # /* config.h. Generated by config.status. */
22484 configure_input='Generated from '`
22485 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22486 `' by configure.'
22487 if test x"$ac_file" != x-; then
22488 configure_input="$ac_file. $configure_input"
22489 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22490 $as_echo "$as_me: creating $ac_file" >&6;}
22492 # Neutralize special characters interpreted by sed in replacement strings.
22493 case $configure_input in #(
22494 *\&* | *\|* | *\\* )
22495 ac_sed_conf_input=`$as_echo "$configure_input" |
22496 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22497 *) ac_sed_conf_input=$configure_input;;
22498 esac
22500 case $ac_tag in
22501 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22502 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22503 esac
22505 esac
22507 ac_dir=`$as_dirname -- "$ac_file" ||
22508 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22509 X"$ac_file" : 'X\(//\)[^/]' \| \
22510 X"$ac_file" : 'X\(//\)$' \| \
22511 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22512 $as_echo X"$ac_file" |
22513 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22514 s//\1/
22517 /^X\(\/\/\)[^/].*/{
22518 s//\1/
22521 /^X\(\/\/\)$/{
22522 s//\1/
22525 /^X\(\/\).*/{
22526 s//\1/
22529 s/.*/./; q'`
22530 as_dir="$ac_dir"; as_fn_mkdir_p
22531 ac_builddir=.
22533 case "$ac_dir" in
22534 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22536 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22537 # A ".." for each directory in $ac_dir_suffix.
22538 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22539 case $ac_top_builddir_sub in
22540 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22541 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22542 esac ;;
22543 esac
22544 ac_abs_top_builddir=$ac_pwd
22545 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22546 # for backward compatibility:
22547 ac_top_builddir=$ac_top_build_prefix
22549 case $srcdir in
22550 .) # We are building in place.
22551 ac_srcdir=.
22552 ac_top_srcdir=$ac_top_builddir_sub
22553 ac_abs_top_srcdir=$ac_pwd ;;
22554 [\\/]* | ?:[\\/]* ) # Absolute name.
22555 ac_srcdir=$srcdir$ac_dir_suffix;
22556 ac_top_srcdir=$srcdir
22557 ac_abs_top_srcdir=$srcdir ;;
22558 *) # Relative name.
22559 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22560 ac_top_srcdir=$ac_top_build_prefix$srcdir
22561 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22562 esac
22563 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22566 case $ac_mode in
22569 # CONFIG_FILE
22572 _ACEOF
22574 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22575 # If the template does not know about datarootdir, expand it.
22576 # FIXME: This hack should be removed a few years after 2.60.
22577 ac_datarootdir_hack=; ac_datarootdir_seen=
22578 ac_sed_dataroot='
22579 /datarootdir/ {
22583 /@datadir@/p
22584 /@docdir@/p
22585 /@infodir@/p
22586 /@localedir@/p
22587 /@mandir@/p'
22588 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22589 *datarootdir*) ac_datarootdir_seen=yes;;
22590 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22592 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22593 _ACEOF
22594 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22595 ac_datarootdir_hack='
22596 s&@datadir@&$datadir&g
22597 s&@docdir@&$docdir&g
22598 s&@infodir@&$infodir&g
22599 s&@localedir@&$localedir&g
22600 s&@mandir@&$mandir&g
22601 s&\\\${datarootdir}&$datarootdir&g' ;;
22602 esac
22603 _ACEOF
22605 # Neutralize VPATH when `$srcdir' = `.'.
22606 # Shell code in configure.ac might set extrasub.
22607 # FIXME: do we really want to maintain this feature?
22608 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22609 ac_sed_extra="$ac_vpsub
22610 $extrasub
22611 _ACEOF
22612 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22614 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22615 s|@configure_input@|$ac_sed_conf_input|;t t
22616 s&@top_builddir@&$ac_top_builddir_sub&;t t
22617 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22618 s&@srcdir@&$ac_srcdir&;t t
22619 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22620 s&@top_srcdir@&$ac_top_srcdir&;t t
22621 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22622 s&@builddir@&$ac_builddir&;t t
22623 s&@abs_builddir@&$ac_abs_builddir&;t t
22624 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22625 $ac_datarootdir_hack
22627 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22628 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22630 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22631 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22632 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22633 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22635 which seems to be undefined. Please make sure it is defined" >&5
22636 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22637 which seems to be undefined. Please make sure it is defined" >&2;}
22639 rm -f "$ac_tmp/stdin"
22640 case $ac_file in
22641 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22642 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22643 esac \
22644 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22648 # CONFIG_HEADER
22650 if test x"$ac_file" != x-; then
22652 $as_echo "/* $configure_input */" \
22653 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22654 } >"$ac_tmp/config.h" \
22655 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22656 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22657 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22658 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22659 else
22660 rm -f "$ac_file"
22661 mv "$ac_tmp/config.h" "$ac_file" \
22662 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22664 else
22665 $as_echo "/* $configure_input */" \
22666 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22667 || as_fn_error $? "could not create -" "$LINENO" 5
22672 # CONFIG_LINK
22675 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22677 else
22678 # Prefer the file from the source tree if names are identical.
22679 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22680 ac_source=$srcdir/$ac_source
22683 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22684 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22686 if test ! -r "$ac_source"; then
22687 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22689 rm -f "$ac_file"
22691 # Try a relative symlink, then a hard link, then a copy.
22692 case $ac_source in
22693 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22694 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22695 esac
22696 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22697 ln "$ac_source" "$ac_file" 2>/dev/null ||
22698 cp -p "$ac_source" "$ac_file" ||
22699 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22702 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22703 $as_echo "$as_me: executing $ac_file commands" >&6;}
22705 esac
22708 case $ac_file$ac_mode in
22709 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22710 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22711 "Makefile":C) wine_fn_output_makefile Makefile ;;
22713 esac
22714 done # for ac_tag
22717 as_fn_exit 0
22718 _ACEOF
22719 ac_clean_files=$ac_clean_files_save
22721 test $ac_write_fail = 0 ||
22722 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22725 # configure is writing to config.log, and then calls config.status.
22726 # config.status does its own redirection, appending to config.log.
22727 # Unfortunately, on DOS this fails, as config.log is still kept open
22728 # by configure, so config.status won't be able to write to it; its
22729 # output is simply discarded. So we exec the FD to /dev/null,
22730 # effectively closing config.log, so it can be properly (re)opened and
22731 # appended to by config.status. When coming back to configure, we
22732 # need to make the FD available again.
22733 if test "$no_create" != yes; then
22734 ac_cs_success=:
22735 ac_config_status_args=
22736 test "$silent" = yes &&
22737 ac_config_status_args="$ac_config_status_args --quiet"
22738 exec 5>/dev/null
22739 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22740 exec 5>>config.log
22741 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22742 # would make configure fail if this is the last instruction.
22743 $ac_cs_success || as_fn_exit 1
22745 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22747 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22751 if test "$no_create" = "yes"
22752 then
22753 exit 0
22756 ac_save_IFS="$IFS"
22757 if test "x$wine_notices" != x; then
22758 echo >&6
22759 IFS="|"
22760 for msg in $wine_notices; do
22761 IFS="$ac_save_IFS"
22762 if ${msg:+false} :; then :
22764 else
22765 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22766 $as_echo "$as_me: $msg" >&6;}
22768 done
22770 IFS="|"
22771 for msg in $wine_warnings; do
22772 IFS="$ac_save_IFS"
22773 if ${msg:+false} :; then :
22775 else
22776 echo >&2
22777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22778 $as_echo "$as_me: WARNING: $msg" >&2;}
22780 done
22781 IFS="$ac_save_IFS"
22783 $as_echo "
22784 $as_me: Finished. Do '${ac_make}' to compile Wine.
22785 " >&6