nsi: Add a stub dll.
[wine.git] / configure
blob22562bb38970e49e987e93761b9ac5a626dec5b3
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 6.11.
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.11'
584 PACKAGE_STRING='Wine 6.11'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 TOOLSEXT
633 MSVCRTFLAGS
634 EXTRACFLAGS
635 VKD3D_SHADER_LIBS
636 VKD3D_SHADER_CFLAGS
637 VKD3D_LIBS
638 VKD3D_CFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JXRLIB_LIBS
650 JXRLIB_CFLAGS
651 JPEG_LIBS
652 JPEG_CFLAGS
653 GSSAPI_LIBS
654 GSSAPI_CFLAGS
655 KRB5_LIBS
656 KRB5_CFLAGS
657 FONTCONFIG_LIBS
658 FONTCONFIG_CFLAGS
659 CUPS_LIBS
660 CUPS_CFLAGS
661 CAPI20_LIBS
662 CAPI20_CFLAGS
663 FAUDIO_LIBS
664 FAUDIO_CFLAGS
665 SDL2_LIBS
666 SDL2_CFLAGS
667 UNWIND_LIBS
668 UNWIND_CFLAGS
669 UDEV_LIBS
670 UDEV_CFLAGS
671 OSS4_LIBS
672 OSS4_CFLAGS
673 ALSA_LIBS
674 GSTREAMER_LIBS
675 GSTREAMER_CFLAGS
676 PULSE_LIBS
677 PULSE_CFLAGS
678 GETTEXTPO_LIBS
679 FREETYPE_LIBS
680 FREETYPE_CFLAGS
681 LCMS2_LIBS
682 LCMS2_CFLAGS
683 RESOLV_LIBS
684 GPHOTO2_PORT_LIBS
685 GPHOTO2_PORT_CFLAGS
686 GPHOTO2_LIBS
687 GPHOTO2_CFLAGS
688 USB_LIBS
689 USB_CFLAGS
690 SANE_LIBS
691 SANE_CFLAGS
692 GNUTLS_LIBS
693 GNUTLS_CFLAGS
694 HAL_LIBS
695 HAL_CFLAGS
696 DBUS_LIBS
697 DBUS_CFLAGS
698 INOTIFY_LIBS
699 INOTIFY_CFLAGS
700 XSLT_LIBS
701 XSLT_CFLAGS
702 XML2_LIBS
703 XML2_CFLAGS
704 PCAP_LIBS
705 X_EXTRA_LIBS
706 X_LIBS
707 X_PRE_LIBS
708 X_CFLAGS
709 XMKMF
710 PTHREAD_LIBS
711 EXCESS_PRECISION_CFLAGS
712 CROSSDEBUG
713 DELAYLOADFLAG
714 CROSSLDFLAGS
715 EXTRACROSSCFLAGS
716 CROSSCFLAGS
717 CROSSCC
718 CROSSTARGET
719 LIBWINE_DEPENDS
720 PRELINK
721 WINELOADER_DEPENDS
722 LIBWINE_LDFLAGS
723 LIBWINE_SHAREDLIB
724 METAL_LIBS
725 CARBON_LIBS
726 QUICKTIME_LIBS
727 OPENCL_LIBS
728 OPENAL_LIBS
729 COREAUDIO_LIBS
730 SECURITY_LIBS
731 DISKARBITRATION_LIBS
732 SYSTEMCONFIGURATION_LIBS
733 APPKIT_LIBS
734 CORESERVICES_LIBS
735 APPLICATIONSERVICES_LIBS
736 FORCEFEEDBACK_LIBS
737 IOKIT_LIBS
738 COREFOUNDATION_LIBS
739 OBJCPP
740 ac_ct_OBJC
741 OBJCFLAGS
742 OBJC
743 DLLTOOL
744 WINELOADER_PROGRAMS
745 CONFIGURE_TARGETS
746 DISABLED_SUBDIRS
747 SUBDIRS
748 READELF
749 OTOOL
751 WINEPRELOADER_LDFLAGS
752 WINELOADER_LDFLAGS
753 TOP_INSTALL_DEV
754 TOP_INSTALL_LIB
755 LDEXECFLAGS
756 LDDLLFLAGS
757 DLLFLAGS
759 OPENGL_LIBS
760 I386_LIBS
761 ICOTOOL
762 CONVERT
763 RSVG
764 FONTFORGE
765 PKG_CONFIG
766 MSGFMT
767 LDCONFIG
768 EGREP
769 GREP
770 LN_S
771 RANLIB
772 STRIP
773 ac_ct_AR
775 BISON
776 FLEX
777 TOOLSDIR
778 ARCH
779 TARGETFLAGS
781 CPPBIN
782 ac_ct_CXX
783 CXXFLAGS
785 OBJEXT
786 EXEEXT
787 ac_ct_CC
788 CPPFLAGS
789 LDFLAGS
790 CFLAGS
792 SET_MAKE
793 host_os
794 host_vendor
795 host_cpu
796 host
797 build_os
798 build_vendor
799 build_cpu
800 build
801 target_alias
802 host_alias
803 build_alias
804 LIBS
805 ECHO_T
806 ECHO_N
807 ECHO_C
808 DEFS
809 mandir
810 localedir
811 libdir
812 psdir
813 pdfdir
814 dvidir
815 htmldir
816 infodir
817 docdir
818 oldincludedir
819 includedir
820 runstatedir
821 localstatedir
822 sharedstatedir
823 sysconfdir
824 datadir
825 datarootdir
826 libexecdir
827 sbindir
828 bindir
829 program_transform_name
830 prefix
831 exec_prefix
832 PACKAGE_URL
833 PACKAGE_BUGREPORT
834 PACKAGE_STRING
835 PACKAGE_VERSION
836 PACKAGE_TARNAME
837 PACKAGE_NAME
838 PATH_SEPARATOR
839 SHELL'
840 ac_subst_files=''
841 ac_user_opts='
842 enable_option_checking
843 enable_win16
844 enable_win64
845 enable_tests
846 enable_build_id
847 enable_maintainer_mode
848 enable_silent_rules
849 enable_werror
850 with_alsa
851 with_capi
852 with_cms
853 with_coreaudio
854 with_cups
855 with_dbus
856 with_faudio
857 with_float_abi
858 with_fontconfig
859 with_freetype
860 with_gettext
861 with_gettextpo
862 with_gphoto
863 with_gnutls
864 with_gsm
865 with_gssapi
866 with_gstreamer
867 with_hal
868 with_inotify
869 with_jpeg
870 with_jxrlib
871 with_krb5
872 with_ldap
873 with_mingw
874 with_mpg123
875 with_netapi
876 with_openal
877 with_opencl
878 with_opengl
879 with_osmesa
880 with_oss
881 with_pcap
882 with_png
883 with_pthread
884 with_pulse
885 with_quicktime
886 with_sane
887 with_sdl
888 with_tiff
889 with_udev
890 with_unwind
891 with_usb
892 with_v4l2
893 with_vkd3d
894 with_vulkan
895 with_xcomposite
896 with_xcursor
897 with_xfixes
898 with_xinerama
899 with_xinput
900 with_xinput2
901 with_xml
902 with_xrandr
903 with_xrender
904 with_xshape
905 with_xshm
906 with_xslt
907 with_xxf86vm
908 with_wine_tools
909 with_wine64
910 enable_largefile
911 with_x
912 enable_acledit
913 enable_aclui
914 enable_activeds_tlb
915 enable_activeds
916 enable_actxprxy
917 enable_adsiid
918 enable_adsldp
919 enable_adsldpc
920 enable_advapi32
921 enable_advpack
922 enable_amsi
923 enable_amstream
924 enable_api_ms_win_appmodel_identity_l1_1_0
925 enable_api_ms_win_appmodel_runtime_l1_1_1
926 enable_api_ms_win_appmodel_runtime_l1_1_2
927 enable_api_ms_win_core_apiquery_l1_1_0
928 enable_api_ms_win_core_appcompat_l1_1_1
929 enable_api_ms_win_core_appinit_l1_1_0
930 enable_api_ms_win_core_atoms_l1_1_0
931 enable_api_ms_win_core_bem_l1_1_0
932 enable_api_ms_win_core_com_l1_1_0
933 enable_api_ms_win_core_com_l1_1_1
934 enable_api_ms_win_core_com_private_l1_1_0
935 enable_api_ms_win_core_comm_l1_1_0
936 enable_api_ms_win_core_console_l1_1_0
937 enable_api_ms_win_core_console_l1_2_0
938 enable_api_ms_win_core_console_l2_1_0
939 enable_api_ms_win_core_crt_l1_1_0
940 enable_api_ms_win_core_crt_l2_1_0
941 enable_api_ms_win_core_datetime_l1_1_0
942 enable_api_ms_win_core_datetime_l1_1_1
943 enable_api_ms_win_core_debug_l1_1_0
944 enable_api_ms_win_core_debug_l1_1_1
945 enable_api_ms_win_core_delayload_l1_1_0
946 enable_api_ms_win_core_delayload_l1_1_1
947 enable_api_ms_win_core_errorhandling_l1_1_0
948 enable_api_ms_win_core_errorhandling_l1_1_1
949 enable_api_ms_win_core_errorhandling_l1_1_2
950 enable_api_ms_win_core_errorhandling_l1_1_3
951 enable_api_ms_win_core_fibers_l1_1_0
952 enable_api_ms_win_core_fibers_l1_1_1
953 enable_api_ms_win_core_file_ansi_l2_1_0
954 enable_api_ms_win_core_file_fromapp_l1_1_0
955 enable_api_ms_win_core_file_l1_1_0
956 enable_api_ms_win_core_file_l1_2_0
957 enable_api_ms_win_core_file_l1_2_1
958 enable_api_ms_win_core_file_l1_2_2
959 enable_api_ms_win_core_file_l2_1_0
960 enable_api_ms_win_core_file_l2_1_1
961 enable_api_ms_win_core_file_l2_1_2
962 enable_api_ms_win_core_handle_l1_1_0
963 enable_api_ms_win_core_heap_l1_1_0
964 enable_api_ms_win_core_heap_l1_2_0
965 enable_api_ms_win_core_heap_l2_1_0
966 enable_api_ms_win_core_heap_obsolete_l1_1_0
967 enable_api_ms_win_core_interlocked_l1_1_0
968 enable_api_ms_win_core_interlocked_l1_2_0
969 enable_api_ms_win_core_io_l1_1_0
970 enable_api_ms_win_core_io_l1_1_1
971 enable_api_ms_win_core_job_l1_1_0
972 enable_api_ms_win_core_job_l2_1_0
973 enable_api_ms_win_core_kernel32_legacy_l1_1_0
974 enable_api_ms_win_core_kernel32_legacy_l1_1_1
975 enable_api_ms_win_core_kernel32_legacy_l1_1_2
976 enable_api_ms_win_core_kernel32_private_l1_1_1
977 enable_api_ms_win_core_largeinteger_l1_1_0
978 enable_api_ms_win_core_libraryloader_l1_1_0
979 enable_api_ms_win_core_libraryloader_l1_1_1
980 enable_api_ms_win_core_libraryloader_l1_2_0
981 enable_api_ms_win_core_libraryloader_l1_2_1
982 enable_api_ms_win_core_libraryloader_l1_2_2
983 enable_api_ms_win_core_libraryloader_l2_1_0
984 enable_api_ms_win_core_localization_l1_1_0
985 enable_api_ms_win_core_localization_l1_2_0
986 enable_api_ms_win_core_localization_l1_2_1
987 enable_api_ms_win_core_localization_l1_2_2
988 enable_api_ms_win_core_localization_l2_1_0
989 enable_api_ms_win_core_localization_obsolete_l1_1_0
990 enable_api_ms_win_core_localization_obsolete_l1_2_0
991 enable_api_ms_win_core_localization_obsolete_l1_3_0
992 enable_api_ms_win_core_localization_private_l1_1_0
993 enable_api_ms_win_core_localregistry_l1_1_0
994 enable_api_ms_win_core_memory_l1_1_0
995 enable_api_ms_win_core_memory_l1_1_1
996 enable_api_ms_win_core_memory_l1_1_2
997 enable_api_ms_win_core_memory_l1_1_3
998 enable_api_ms_win_core_memory_l1_1_4
999 enable_api_ms_win_core_misc_l1_1_0
1000 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
1001 enable_api_ms_win_core_namedpipe_l1_1_0
1002 enable_api_ms_win_core_namedpipe_l1_2_0
1003 enable_api_ms_win_core_namespace_l1_1_0
1004 enable_api_ms_win_core_normalization_l1_1_0
1005 enable_api_ms_win_core_path_l1_1_0
1006 enable_api_ms_win_core_privateprofile_l1_1_1
1007 enable_api_ms_win_core_processenvironment_l1_1_0
1008 enable_api_ms_win_core_processenvironment_l1_2_0
1009 enable_api_ms_win_core_processthreads_l1_1_0
1010 enable_api_ms_win_core_processthreads_l1_1_1
1011 enable_api_ms_win_core_processthreads_l1_1_2
1012 enable_api_ms_win_core_processthreads_l1_1_3
1013 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1014 enable_api_ms_win_core_profile_l1_1_0
1015 enable_api_ms_win_core_psapi_ansi_l1_1_0
1016 enable_api_ms_win_core_psapi_l1_1_0
1017 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1018 enable_api_ms_win_core_quirks_l1_1_0
1019 enable_api_ms_win_core_realtime_l1_1_0
1020 enable_api_ms_win_core_registry_l1_1_0
1021 enable_api_ms_win_core_registry_l2_1_0
1022 enable_api_ms_win_core_registry_l2_2_0
1023 enable_api_ms_win_core_registryuserspecific_l1_1_0
1024 enable_api_ms_win_core_rtlsupport_l1_1_0
1025 enable_api_ms_win_core_rtlsupport_l1_2_0
1026 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1027 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1028 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1029 enable_api_ms_win_core_shutdown_l1_1_0
1030 enable_api_ms_win_core_sidebyside_l1_1_0
1031 enable_api_ms_win_core_string_l1_1_0
1032 enable_api_ms_win_core_string_l2_1_0
1033 enable_api_ms_win_core_string_obsolete_l1_1_0
1034 enable_api_ms_win_core_stringansi_l1_1_0
1035 enable_api_ms_win_core_stringloader_l1_1_1
1036 enable_api_ms_win_core_synch_ansi_l1_1_0
1037 enable_api_ms_win_core_synch_l1_1_0
1038 enable_api_ms_win_core_synch_l1_2_0
1039 enable_api_ms_win_core_synch_l1_2_1
1040 enable_api_ms_win_core_sysinfo_l1_1_0
1041 enable_api_ms_win_core_sysinfo_l1_2_0
1042 enable_api_ms_win_core_sysinfo_l1_2_1
1043 enable_api_ms_win_core_systemtopology_l1_1_0
1044 enable_api_ms_win_core_threadpool_l1_1_0
1045 enable_api_ms_win_core_threadpool_l1_2_0
1046 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1047 enable_api_ms_win_core_threadpool_private_l1_1_0
1048 enable_api_ms_win_core_timezone_l1_1_0
1049 enable_api_ms_win_core_toolhelp_l1_1_0
1050 enable_api_ms_win_core_url_l1_1_0
1051 enable_api_ms_win_core_util_l1_1_0
1052 enable_api_ms_win_core_version_l1_1_0
1053 enable_api_ms_win_core_version_l1_1_1
1054 enable_api_ms_win_core_version_private_l1_1_0
1055 enable_api_ms_win_core_versionansi_l1_1_0
1056 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1057 enable_api_ms_win_core_winrt_error_l1_1_0
1058 enable_api_ms_win_core_winrt_error_l1_1_1
1059 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1060 enable_api_ms_win_core_winrt_l1_1_0
1061 enable_api_ms_win_core_winrt_registration_l1_1_0
1062 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1063 enable_api_ms_win_core_winrt_string_l1_1_0
1064 enable_api_ms_win_core_winrt_string_l1_1_1
1065 enable_api_ms_win_core_wow64_l1_1_0
1066 enable_api_ms_win_core_wow64_l1_1_1
1067 enable_api_ms_win_core_xstate_l1_1_0
1068 enable_api_ms_win_core_xstate_l2_1_0
1069 enable_api_ms_win_crt_conio_l1_1_0
1070 enable_api_ms_win_crt_convert_l1_1_0
1071 enable_api_ms_win_crt_environment_l1_1_0
1072 enable_api_ms_win_crt_filesystem_l1_1_0
1073 enable_api_ms_win_crt_heap_l1_1_0
1074 enable_api_ms_win_crt_locale_l1_1_0
1075 enable_api_ms_win_crt_math_l1_1_0
1076 enable_api_ms_win_crt_multibyte_l1_1_0
1077 enable_api_ms_win_crt_private_l1_1_0
1078 enable_api_ms_win_crt_process_l1_1_0
1079 enable_api_ms_win_crt_runtime_l1_1_0
1080 enable_api_ms_win_crt_stdio_l1_1_0
1081 enable_api_ms_win_crt_string_l1_1_0
1082 enable_api_ms_win_crt_time_l1_1_0
1083 enable_api_ms_win_crt_utility_l1_1_0
1084 enable_api_ms_win_devices_config_l1_1_0
1085 enable_api_ms_win_devices_config_l1_1_1
1086 enable_api_ms_win_devices_query_l1_1_1
1087 enable_api_ms_win_downlevel_advapi32_l1_1_0
1088 enable_api_ms_win_downlevel_advapi32_l2_1_0
1089 enable_api_ms_win_downlevel_kernel32_l2_1_0
1090 enable_api_ms_win_downlevel_normaliz_l1_1_0
1091 enable_api_ms_win_downlevel_ole32_l1_1_0
1092 enable_api_ms_win_downlevel_shell32_l1_1_0
1093 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1094 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1095 enable_api_ms_win_downlevel_user32_l1_1_0
1096 enable_api_ms_win_downlevel_version_l1_1_0
1097 enable_api_ms_win_dx_d3dkmt_l1_1_0
1098 enable_api_ms_win_eventing_classicprovider_l1_1_0
1099 enable_api_ms_win_eventing_consumer_l1_1_0
1100 enable_api_ms_win_eventing_controller_l1_1_0
1101 enable_api_ms_win_eventing_legacy_l1_1_0
1102 enable_api_ms_win_eventing_provider_l1_1_0
1103 enable_api_ms_win_eventlog_legacy_l1_1_0
1104 enable_api_ms_win_gaming_tcui_l1_1_0
1105 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1106 enable_api_ms_win_mm_joystick_l1_1_0
1107 enable_api_ms_win_mm_misc_l1_1_1
1108 enable_api_ms_win_mm_mme_l1_1_0
1109 enable_api_ms_win_mm_time_l1_1_0
1110 enable_api_ms_win_ntuser_dc_access_l1_1_0
1111 enable_api_ms_win_ntuser_rectangle_l1_1_0
1112 enable_api_ms_win_ntuser_sysparams_l1_1_0
1113 enable_api_ms_win_perf_legacy_l1_1_0
1114 enable_api_ms_win_power_base_l1_1_0
1115 enable_api_ms_win_power_setting_l1_1_0
1116 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1117 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1118 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1119 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1120 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1121 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1122 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1123 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1124 enable_api_ms_win_security_audit_l1_1_1
1125 enable_api_ms_win_security_base_l1_1_0
1126 enable_api_ms_win_security_base_l1_2_0
1127 enable_api_ms_win_security_base_private_l1_1_1
1128 enable_api_ms_win_security_credentials_l1_1_0
1129 enable_api_ms_win_security_cryptoapi_l1_1_0
1130 enable_api_ms_win_security_grouppolicy_l1_1_0
1131 enable_api_ms_win_security_lsalookup_l1_1_0
1132 enable_api_ms_win_security_lsalookup_l1_1_1
1133 enable_api_ms_win_security_lsalookup_l2_1_0
1134 enable_api_ms_win_security_lsalookup_l2_1_1
1135 enable_api_ms_win_security_lsapolicy_l1_1_0
1136 enable_api_ms_win_security_provider_l1_1_0
1137 enable_api_ms_win_security_sddl_l1_1_0
1138 enable_api_ms_win_security_systemfunctions_l1_1_0
1139 enable_api_ms_win_service_core_l1_1_0
1140 enable_api_ms_win_service_core_l1_1_1
1141 enable_api_ms_win_service_management_l1_1_0
1142 enable_api_ms_win_service_management_l2_1_0
1143 enable_api_ms_win_service_private_l1_1_1
1144 enable_api_ms_win_service_winsvc_l1_1_0
1145 enable_api_ms_win_service_winsvc_l1_2_0
1146 enable_api_ms_win_shcore_obsolete_l1_1_0
1147 enable_api_ms_win_shcore_scaling_l1_1_0
1148 enable_api_ms_win_shcore_scaling_l1_1_1
1149 enable_api_ms_win_shcore_stream_l1_1_0
1150 enable_api_ms_win_shcore_stream_winrt_l1_1_0
1151 enable_api_ms_win_shcore_thread_l1_1_0
1152 enable_api_ms_win_shell_shellcom_l1_1_0
1153 enable_api_ms_win_shell_shellfolders_l1_1_0
1154 enable_apphelp
1155 enable_appwiz_cpl
1156 enable_atl
1157 enable_atl100
1158 enable_atl110
1159 enable_atl80
1160 enable_atl90
1161 enable_atlthunk
1162 enable_atmlib
1163 enable_authz
1164 enable_avicap32
1165 enable_avifil32
1166 enable_avrt
1167 enable_bcrypt
1168 enable_bluetoothapis
1169 enable_browseui
1170 enable_bthprops_cpl
1171 enable_cabinet
1172 enable_capi2032
1173 enable_cards
1174 enable_cdosys
1175 enable_cfgmgr32
1176 enable_clusapi
1177 enable_combase
1178 enable_comcat
1179 enable_comctl32
1180 enable_comdlg32
1181 enable_compstui
1182 enable_comsvcs
1183 enable_concrt140
1184 enable_connect
1185 enable_credui
1186 enable_crtdll
1187 enable_crypt32
1188 enable_cryptdlg
1189 enable_cryptdll
1190 enable_cryptext
1191 enable_cryptnet
1192 enable_cryptsp
1193 enable_cryptui
1194 enable_ctapi32
1195 enable_ctl3d32
1196 enable_d2d1
1197 enable_d3d10
1198 enable_d3d10_1
1199 enable_d3d10core
1200 enable_d3d11
1201 enable_d3d12
1202 enable_d3d8
1203 enable_d3d8thk
1204 enable_d3d9
1205 enable_d3dcompiler_33
1206 enable_d3dcompiler_34
1207 enable_d3dcompiler_35
1208 enable_d3dcompiler_36
1209 enable_d3dcompiler_37
1210 enable_d3dcompiler_38
1211 enable_d3dcompiler_39
1212 enable_d3dcompiler_40
1213 enable_d3dcompiler_41
1214 enable_d3dcompiler_42
1215 enable_d3dcompiler_43
1216 enable_d3dcompiler_46
1217 enable_d3dcompiler_47
1218 enable_d3dim
1219 enable_d3dim700
1220 enable_d3drm
1221 enable_d3dx10_33
1222 enable_d3dx10_34
1223 enable_d3dx10_35
1224 enable_d3dx10_36
1225 enable_d3dx10_37
1226 enable_d3dx10_38
1227 enable_d3dx10_39
1228 enable_d3dx10_40
1229 enable_d3dx10_41
1230 enable_d3dx10_42
1231 enable_d3dx10_43
1232 enable_d3dx11_42
1233 enable_d3dx11_43
1234 enable_d3dx9_24
1235 enable_d3dx9_25
1236 enable_d3dx9_26
1237 enable_d3dx9_27
1238 enable_d3dx9_28
1239 enable_d3dx9_29
1240 enable_d3dx9_30
1241 enable_d3dx9_31
1242 enable_d3dx9_32
1243 enable_d3dx9_33
1244 enable_d3dx9_34
1245 enable_d3dx9_35
1246 enable_d3dx9_36
1247 enable_d3dx9_37
1248 enable_d3dx9_38
1249 enable_d3dx9_39
1250 enable_d3dx9_40
1251 enable_d3dx9_41
1252 enable_d3dx9_42
1253 enable_d3dx9_43
1254 enable_d3dxof
1255 enable_davclnt
1256 enable_dbgeng
1257 enable_dbghelp
1258 enable_dciman32
1259 enable_dcomp
1260 enable_ddraw
1261 enable_ddrawex
1262 enable_devenum
1263 enable_dhcpcsvc
1264 enable_dhtmled_ocx
1265 enable_difxapi
1266 enable_dinput
1267 enable_dinput8
1268 enable_directmanipulation
1269 enable_dispex
1270 enable_dmband
1271 enable_dmcompos
1272 enable_dmime
1273 enable_dmloader
1274 enable_dmoguids
1275 enable_dmscript
1276 enable_dmstyle
1277 enable_dmsynth
1278 enable_dmusic
1279 enable_dmusic32
1280 enable_dnsapi
1281 enable_dplay
1282 enable_dplayx
1283 enable_dpnaddr
1284 enable_dpnet
1285 enable_dpnhpast
1286 enable_dpnhupnp
1287 enable_dpnlobby
1288 enable_dpvoice
1289 enable_dpwsockx
1290 enable_drmclien
1291 enable_dsdmo
1292 enable_dsound
1293 enable_dsquery
1294 enable_dssenh
1295 enable_dsuiext
1296 enable_dswave
1297 enable_dwmapi
1298 enable_dwrite
1299 enable_dx8vb
1300 enable_dxdiagn
1301 enable_dxerr8
1302 enable_dxerr9
1303 enable_dxgi
1304 enable_dxguid
1305 enable_dxva2
1306 enable_esent
1307 enable_evr
1308 enable_explorerframe
1309 enable_ext_ms_win_authz_context_l1_1_0
1310 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1311 enable_ext_ms_win_dwmapi_ext_l1_1_0
1312 enable_ext_ms_win_gdi_dc_create_l1_1_0
1313 enable_ext_ms_win_gdi_dc_create_l1_1_1
1314 enable_ext_ms_win_gdi_dc_l1_2_0
1315 enable_ext_ms_win_gdi_devcaps_l1_1_0
1316 enable_ext_ms_win_gdi_draw_l1_1_0
1317 enable_ext_ms_win_gdi_draw_l1_1_1
1318 enable_ext_ms_win_gdi_font_l1_1_0
1319 enable_ext_ms_win_gdi_font_l1_1_1
1320 enable_ext_ms_win_gdi_render_l1_1_0
1321 enable_ext_ms_win_kernel32_package_current_l1_1_0
1322 enable_ext_ms_win_kernel32_package_l1_1_1
1323 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1324 enable_ext_ms_win_ntuser_draw_l1_1_0
1325 enable_ext_ms_win_ntuser_gui_l1_1_0
1326 enable_ext_ms_win_ntuser_gui_l1_3_0
1327 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1328 enable_ext_ms_win_ntuser_message_l1_1_0
1329 enable_ext_ms_win_ntuser_message_l1_1_1
1330 enable_ext_ms_win_ntuser_misc_l1_1_0
1331 enable_ext_ms_win_ntuser_misc_l1_2_0
1332 enable_ext_ms_win_ntuser_misc_l1_5_1
1333 enable_ext_ms_win_ntuser_mouse_l1_1_0
1334 enable_ext_ms_win_ntuser_private_l1_1_1
1335 enable_ext_ms_win_ntuser_private_l1_3_1
1336 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1337 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1338 enable_ext_ms_win_ntuser_window_l1_1_0
1339 enable_ext_ms_win_ntuser_window_l1_1_1
1340 enable_ext_ms_win_ntuser_window_l1_1_4
1341 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1342 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1343 enable_ext_ms_win_oleacc_l1_1_0
1344 enable_ext_ms_win_ras_rasapi32_l1_1_0
1345 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1346 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1347 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1348 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1349 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1350 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1351 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1352 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1353 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1354 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1355 enable_ext_ms_win_security_credui_l1_1_0
1356 enable_ext_ms_win_security_cryptui_l1_1_0
1357 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1358 enable_ext_ms_win_shell_comdlg32_l1_1_0
1359 enable_ext_ms_win_shell_shell32_l1_2_0
1360 enable_ext_ms_win_uxtheme_themes_l1_1_0
1361 enable_faultrep
1362 enable_feclient
1363 enable_fltlib
1364 enable_fltmgr_sys
1365 enable_fntcache
1366 enable_fontsub
1367 enable_fusion
1368 enable_fwpuclnt
1369 enable_gameux
1370 enable_gamingtcui
1371 enable_gdi32
1372 enable_gdiplus
1373 enable_glu32
1374 enable_gphoto2_ds
1375 enable_gpkcsp
1376 enable_hal
1377 enable_hhctrl_ocx
1378 enable_hid
1379 enable_hidclass_sys
1380 enable_hlink
1381 enable_hnetcfg
1382 enable_http_sys
1383 enable_httpapi
1384 enable_iccvid
1385 enable_icmp
1386 enable_ieframe
1387 enable_ieproxy
1388 enable_imaadp32_acm
1389 enable_imagehlp
1390 enable_imm32
1391 enable_inetcomm
1392 enable_inetcpl_cpl
1393 enable_inetmib1
1394 enable_infosoft
1395 enable_initpki
1396 enable_inkobj
1397 enable_inseng
1398 enable_iphlpapi
1399 enable_iprop
1400 enable_irprops_cpl
1401 enable_itircl
1402 enable_itss
1403 enable_joy_cpl
1404 enable_jscript
1405 enable_jsproxy
1406 enable_kerberos
1407 enable_kernel32
1408 enable_kernelbase
1409 enable_ksecdd_sys
1410 enable_ksproxy_ax
1411 enable_ksuser
1412 enable_ktmw32
1413 enable_l3codeca_acm
1414 enable_light_msstyles
1415 enable_loadperf
1416 enable_localspl
1417 enable_localui
1418 enable_lz32
1419 enable_mapi32
1420 enable_mapistub
1421 enable_mciavi32
1422 enable_mcicda
1423 enable_mciqtz32
1424 enable_mciseq
1425 enable_mciwave
1426 enable_mf
1427 enable_mf3216
1428 enable_mferror
1429 enable_mfmediaengine
1430 enable_mfplat
1431 enable_mfplay
1432 enable_mfreadwrite
1433 enable_mfuuid
1434 enable_mgmtapi
1435 enable_midimap
1436 enable_mlang
1437 enable_mmcndmgr
1438 enable_mmdevapi
1439 enable_mountmgr_sys
1440 enable_mp3dmod
1441 enable_mpr
1442 enable_mprapi
1443 enable_msacm32_drv
1444 enable_msacm32
1445 enable_msado15
1446 enable_msadp32_acm
1447 enable_msasn1
1448 enable_mscat32
1449 enable_mscms
1450 enable_mscoree
1451 enable_mscorwks
1452 enable_msctf
1453 enable_msctfp
1454 enable_msdaps
1455 enable_msdelta
1456 enable_msdmo
1457 enable_msdrm
1458 enable_msftedit
1459 enable_msg711_acm
1460 enable_msgsm32_acm
1461 enable_mshtml_tlb
1462 enable_mshtml
1463 enable_msi
1464 enable_msident
1465 enable_msimg32
1466 enable_msimsg
1467 enable_msimtf
1468 enable_msisip
1469 enable_msisys_ocx
1470 enable_msls31
1471 enable_msnet32
1472 enable_mspatcha
1473 enable_msports
1474 enable_msrle32
1475 enable_msscript_ocx
1476 enable_mssign32
1477 enable_mssip32
1478 enable_mstask
1479 enable_msv1_0
1480 enable_msvcirt
1481 enable_msvcm80
1482 enable_msvcm90
1483 enable_msvcp100
1484 enable_msvcp110
1485 enable_msvcp120
1486 enable_msvcp120_app
1487 enable_msvcp140
1488 enable_msvcp140_1
1489 enable_msvcp60
1490 enable_msvcp70
1491 enable_msvcp71
1492 enable_msvcp80
1493 enable_msvcp90
1494 enable_msvcr100
1495 enable_msvcr110
1496 enable_msvcr120
1497 enable_msvcr120_app
1498 enable_msvcr70
1499 enable_msvcr71
1500 enable_msvcr80
1501 enable_msvcr90
1502 enable_msvcrt
1503 enable_msvcrt20
1504 enable_msvcrt40
1505 enable_msvcrtd
1506 enable_msvfw32
1507 enable_msvidc32
1508 enable_mswsock
1509 enable_msxml
1510 enable_msxml2
1511 enable_msxml3
1512 enable_msxml4
1513 enable_msxml6
1514 enable_mtxdm
1515 enable_ncrypt
1516 enable_nddeapi
1517 enable_ndis_sys
1518 enable_netapi32
1519 enable_netcfgx
1520 enable_netio_sys
1521 enable_netprofm
1522 enable_netutils
1523 enable_newdev
1524 enable_ninput
1525 enable_normaliz
1526 enable_npmshtml
1527 enable_npptools
1528 enable_nsi
1529 enable_ntdll
1530 enable_ntdsapi
1531 enable_ntoskrnl_exe
1532 enable_ntprint
1533 enable_objsel
1534 enable_odbc32
1535 enable_odbcbcp
1536 enable_odbccp32
1537 enable_odbccu32
1538 enable_ole32
1539 enable_oleacc
1540 enable_oleaut32
1541 enable_olecli32
1542 enable_oledb32
1543 enable_oledlg
1544 enable_olepro32
1545 enable_olesvr32
1546 enable_olethk32
1547 enable_opcservices
1548 enable_openal32
1549 enable_opencl
1550 enable_opengl32
1551 enable_packager
1552 enable_pdh
1553 enable_photometadatahandler
1554 enable_pidgen
1555 enable_powrprof
1556 enable_printui
1557 enable_prntvpt
1558 enable_propsys
1559 enable_psapi
1560 enable_pstorec
1561 enable_pwrshplugin
1562 enable_qasf
1563 enable_qcap
1564 enable_qdvd
1565 enable_qedit
1566 enable_qmgr
1567 enable_qmgrprxy
1568 enable_quartz
1569 enable_query
1570 enable_qwave
1571 enable_rasapi32
1572 enable_rasdlg
1573 enable_regapi
1574 enable_resutils
1575 enable_riched20
1576 enable_riched32
1577 enable_rpcrt4
1578 enable_rsabase
1579 enable_rsaenh
1580 enable_rstrtmgr
1581 enable_rtutils
1582 enable_rtworkq
1583 enable_samlib
1584 enable_sane_ds
1585 enable_sapi
1586 enable_sas
1587 enable_scarddlg
1588 enable_sccbase
1589 enable_schannel
1590 enable_schedsvc
1591 enable_scrobj
1592 enable_scrrun
1593 enable_scsiport_sys
1594 enable_sechost
1595 enable_secur32
1596 enable_security
1597 enable_sensapi
1598 enable_serialui
1599 enable_setupapi
1600 enable_sfc
1601 enable_sfc_os
1602 enable_shcore
1603 enable_shdoclc
1604 enable_shdocvw
1605 enable_shell32
1606 enable_shfolder
1607 enable_shlwapi
1608 enable_slbcsp
1609 enable_slc
1610 enable_snmpapi
1611 enable_softpub
1612 enable_spoolss
1613 enable_sppc
1614 enable_srclient
1615 enable_srvcli
1616 enable_sspicli
1617 enable_stdole2_tlb
1618 enable_stdole32_tlb
1619 enable_sti
1620 enable_strmbase
1621 enable_strmdll
1622 enable_strmiids
1623 enable_svrapi
1624 enable_sxs
1625 enable_t2embed
1626 enable_tapi32
1627 enable_taskschd
1628 enable_tdh
1629 enable_tdi_sys
1630 enable_traffic
1631 enable_twain_32
1632 enable_tzres
1633 enable_ucrtbase
1634 enable_uianimation
1635 enable_uiautomationcore
1636 enable_uiribbon
1637 enable_unicows
1638 enable_updspapi
1639 enable_url
1640 enable_urlmon
1641 enable_usbd_sys
1642 enable_user32
1643 enable_userenv
1644 enable_usp10
1645 enable_utildll
1646 enable_uuid
1647 enable_uxtheme
1648 enable_vbscript
1649 enable_vcomp
1650 enable_vcomp100
1651 enable_vcomp110
1652 enable_vcomp120
1653 enable_vcomp140
1654 enable_vcomp90
1655 enable_vcruntime140
1656 enable_vcruntime140_1
1657 enable_vdmdbg
1658 enable_version
1659 enable_vga
1660 enable_virtdisk
1661 enable_vssapi
1662 enable_vulkan_1
1663 enable_wbemdisp
1664 enable_wbemprox
1665 enable_wbemuuid
1666 enable_wdscore
1667 enable_webservices
1668 enable_websocket
1669 enable_wer
1670 enable_wevtapi
1671 enable_wevtsvc
1672 enable_wiaservc
1673 enable_wimgapi
1674 enable_win32u
1675 enable_windows_gaming_input
1676 enable_windows_globalization
1677 enable_windows_media_devices
1678 enable_windows_media_speech
1679 enable_windowscodecs
1680 enable_windowscodecsext
1681 enable_winealsa_drv
1682 enable_wineandroid_drv
1683 enable_winebus_sys
1684 enable_winecoreaudio_drv
1685 enable_winecrt0
1686 enable_wined3d
1687 enable_winegstreamer
1688 enable_winehid_sys
1689 enable_winejoystick_drv
1690 enable_winemac_drv
1691 enable_winemapi
1692 enable_wineoss_drv
1693 enable_wineps_drv
1694 enable_winepulse_drv
1695 enable_wineqtdecoder
1696 enable_wineusb_sys
1697 enable_winevulkan
1698 enable_winex11_drv
1699 enable_wing32
1700 enable_winhttp
1701 enable_wininet
1702 enable_winmm
1703 enable_winnls32
1704 enable_winscard
1705 enable_winspool_drv
1706 enable_winsta
1707 enable_wintab32
1708 enable_wintrust
1709 enable_winusb
1710 enable_wlanapi
1711 enable_wlanui
1712 enable_wldap32
1713 enable_wmasf
1714 enable_wmcodecdspuuid
1715 enable_wmi
1716 enable_wmiutils
1717 enable_wmp
1718 enable_wmphoto
1719 enable_wmvcore
1720 enable_wnaspi32
1721 enable_wow64cpu
1722 enable_wpc
1723 enable_wpcap
1724 enable_ws2_32
1725 enable_wsdapi
1726 enable_wshom_ocx
1727 enable_wsnmp32
1728 enable_wsock32
1729 enable_wtsapi32
1730 enable_wuapi
1731 enable_wuaueng
1732 enable_x3daudio1_0
1733 enable_x3daudio1_1
1734 enable_x3daudio1_2
1735 enable_x3daudio1_3
1736 enable_x3daudio1_4
1737 enable_x3daudio1_5
1738 enable_x3daudio1_6
1739 enable_x3daudio1_7
1740 enable_xactengine2_0
1741 enable_xactengine2_4
1742 enable_xactengine2_7
1743 enable_xactengine2_9
1744 enable_xactengine3_0
1745 enable_xactengine3_1
1746 enable_xactengine3_2
1747 enable_xactengine3_3
1748 enable_xactengine3_4
1749 enable_xactengine3_5
1750 enable_xactengine3_6
1751 enable_xactengine3_7
1752 enable_xapofx1_1
1753 enable_xapofx1_2
1754 enable_xapofx1_3
1755 enable_xapofx1_4
1756 enable_xapofx1_5
1757 enable_xaudio2_0
1758 enable_xaudio2_1
1759 enable_xaudio2_2
1760 enable_xaudio2_3
1761 enable_xaudio2_4
1762 enable_xaudio2_5
1763 enable_xaudio2_6
1764 enable_xaudio2_7
1765 enable_xaudio2_8
1766 enable_xaudio2_9
1767 enable_xinput1_1
1768 enable_xinput1_2
1769 enable_xinput1_3
1770 enable_xinput1_4
1771 enable_xinput9_1_0
1772 enable_xmllite
1773 enable_xolehlp
1774 enable_xpsprint
1775 enable_xpssvcs
1776 enable_fonts
1777 enable_include
1778 enable_port
1779 enable_wine
1780 enable_wpp
1781 enable_loader
1782 enable_nls
1783 enable_po
1784 enable_arp
1785 enable_aspnet_regiis
1786 enable_attrib
1787 enable_cabarc
1788 enable_cacls
1789 enable_chcp_com
1790 enable_clock
1791 enable_cmd
1792 enable_conhost
1793 enable_control
1794 enable_cscript
1795 enable_dism
1796 enable_dplaysvr
1797 enable_dpnsvr
1798 enable_dpvsetup
1799 enable_dxdiag
1800 enable_eject
1801 enable_expand
1802 enable_explorer
1803 enable_extrac32
1804 enable_fc
1805 enable_find
1806 enable_findstr
1807 enable_fsutil
1808 enable_hh
1809 enable_hostname
1810 enable_icacls
1811 enable_icinfo
1812 enable_iexplore
1813 enable_ipconfig
1814 enable_lodctr
1815 enable_mofcomp
1816 enable_mshta
1817 enable_msidb
1818 enable_msiexec
1819 enable_msinfo32
1820 enable_net
1821 enable_netsh
1822 enable_netstat
1823 enable_ngen
1824 enable_notepad
1825 enable_oleview
1826 enable_ping
1827 enable_plugplay
1828 enable_powershell
1829 enable_presentationfontcache
1830 enable_progman
1831 enable_reg
1832 enable_regasm
1833 enable_regedit
1834 enable_regini
1835 enable_regsvcs
1836 enable_regsvr32
1837 enable_rpcss
1838 enable_rundll32
1839 enable_sc
1840 enable_schtasks
1841 enable_sdbinst
1842 enable_secedit
1843 enable_servicemodelreg
1844 enable_services
1845 enable_shutdown
1846 enable_spoolsv
1847 enable_start
1848 enable_subst
1849 enable_svchost
1850 enable_systeminfo
1851 enable_taskkill
1852 enable_tasklist
1853 enable_taskmgr
1854 enable_termsv
1855 enable_uninstaller
1856 enable_unlodctr
1857 enable_view
1858 enable_wevtutil
1859 enable_where
1860 enable_whoami
1861 enable_wineboot
1862 enable_winebrowser
1863 enable_winecfg
1864 enable_wineconsole
1865 enable_winedbg
1866 enable_winedevice
1867 enable_winefile
1868 enable_winemenubuilder
1869 enable_winemine
1870 enable_winemsibuilder
1871 enable_winepath
1872 enable_winetest
1873 enable_winhlp32
1874 enable_winmgmt
1875 enable_winver
1876 enable_wmic
1877 enable_wmplayer
1878 enable_wordpad
1879 enable_write
1880 enable_wscript
1881 enable_wuauserv
1882 enable_wusa
1883 enable_xcopy
1884 enable_server
1885 enable_tools
1886 enable_sfnt2fon
1887 enable_widl
1888 enable_winebuild
1889 enable_winedump
1890 enable_winegcc
1891 enable_winemaker
1892 enable_wmc
1893 enable_wrc
1895 ac_precious_vars='build_alias
1896 host_alias
1897 target_alias
1899 CFLAGS
1900 LDFLAGS
1901 LIBS
1902 CPPFLAGS
1904 CXXFLAGS
1907 OBJC
1908 OBJCFLAGS
1909 OBJCPP
1910 XMKMF
1911 XML2_CFLAGS
1912 XML2_LIBS
1913 XSLT_CFLAGS
1914 XSLT_LIBS
1915 INOTIFY_CFLAGS
1916 INOTIFY_LIBS
1917 DBUS_CFLAGS
1918 DBUS_LIBS
1919 HAL_CFLAGS
1920 HAL_LIBS
1921 GNUTLS_CFLAGS
1922 GNUTLS_LIBS
1923 SANE_CFLAGS
1924 SANE_LIBS
1925 USB_CFLAGS
1926 USB_LIBS
1927 GPHOTO2_CFLAGS
1928 GPHOTO2_LIBS
1929 GPHOTO2_PORT_CFLAGS
1930 GPHOTO2_PORT_LIBS
1931 LCMS2_CFLAGS
1932 LCMS2_LIBS
1933 FREETYPE_CFLAGS
1934 FREETYPE_LIBS
1935 PULSE_CFLAGS
1936 PULSE_LIBS
1937 GSTREAMER_CFLAGS
1938 GSTREAMER_LIBS
1939 UDEV_CFLAGS
1940 UDEV_LIBS
1941 UNWIND_CFLAGS
1942 UNWIND_LIBS
1943 SDL2_CFLAGS
1944 SDL2_LIBS
1945 FAUDIO_CFLAGS
1946 FAUDIO_LIBS
1947 CAPI20_CFLAGS
1948 CAPI20_LIBS
1949 CUPS_CFLAGS
1950 CUPS_LIBS
1951 FONTCONFIG_CFLAGS
1952 FONTCONFIG_LIBS
1953 KRB5_CFLAGS
1954 KRB5_LIBS
1955 GSSAPI_CFLAGS
1956 GSSAPI_LIBS
1957 JPEG_CFLAGS
1958 JPEG_LIBS
1959 JXRLIB_CFLAGS
1960 JXRLIB_LIBS
1961 PNG_CFLAGS
1962 PNG_LIBS
1963 TIFF_CFLAGS
1964 TIFF_LIBS
1965 MPG123_CFLAGS
1966 MPG123_LIBS
1967 NETAPI_CFLAGS
1968 NETAPI_LIBS
1969 VKD3D_CFLAGS
1970 VKD3D_LIBS
1971 VKD3D_SHADER_CFLAGS
1972 VKD3D_SHADER_LIBS
1973 LDAP_CFLAGS
1974 LDAP_LIBS'
1977 # Initialize some variables set by options.
1978 ac_init_help=
1979 ac_init_version=false
1980 ac_unrecognized_opts=
1981 ac_unrecognized_sep=
1982 # The variables have the same names as the options, with
1983 # dashes changed to underlines.
1984 cache_file=/dev/null
1985 exec_prefix=NONE
1986 no_create=
1987 no_recursion=
1988 prefix=NONE
1989 program_prefix=NONE
1990 program_suffix=NONE
1991 program_transform_name=s,x,x,
1992 silent=
1993 site=
1994 srcdir=
1995 verbose=
1996 x_includes=NONE
1997 x_libraries=NONE
1999 # Installation directory options.
2000 # These are left unexpanded so users can "make install exec_prefix=/foo"
2001 # and all the variables that are supposed to be based on exec_prefix
2002 # by default will actually change.
2003 # Use braces instead of parens because sh, perl, etc. also accept them.
2004 # (The list follows the same order as the GNU Coding Standards.)
2005 bindir='${exec_prefix}/bin'
2006 sbindir='${exec_prefix}/sbin'
2007 libexecdir='${exec_prefix}/libexec'
2008 datarootdir='${prefix}/share'
2009 datadir='${datarootdir}'
2010 sysconfdir='${prefix}/etc'
2011 sharedstatedir='${prefix}/com'
2012 localstatedir='${prefix}/var'
2013 runstatedir='${localstatedir}/run'
2014 includedir='${prefix}/include'
2015 oldincludedir='/usr/include'
2016 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2017 infodir='${datarootdir}/info'
2018 htmldir='${docdir}'
2019 dvidir='${docdir}'
2020 pdfdir='${docdir}'
2021 psdir='${docdir}'
2022 libdir='${exec_prefix}/lib'
2023 localedir='${datarootdir}/locale'
2024 mandir='${datarootdir}/man'
2026 ac_prev=
2027 ac_dashdash=
2028 for ac_option
2030 # If the previous option needs an argument, assign it.
2031 if test -n "$ac_prev"; then
2032 eval $ac_prev=\$ac_option
2033 ac_prev=
2034 continue
2037 case $ac_option in
2038 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2039 *=) ac_optarg= ;;
2040 *) ac_optarg=yes ;;
2041 esac
2043 # Accept the important Cygnus configure options, so we can diagnose typos.
2045 case $ac_dashdash$ac_option in
2047 ac_dashdash=yes ;;
2049 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2050 ac_prev=bindir ;;
2051 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2052 bindir=$ac_optarg ;;
2054 -build | --build | --buil | --bui | --bu)
2055 ac_prev=build_alias ;;
2056 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2057 build_alias=$ac_optarg ;;
2059 -cache-file | --cache-file | --cache-fil | --cache-fi \
2060 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2061 ac_prev=cache_file ;;
2062 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2063 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2064 cache_file=$ac_optarg ;;
2066 --config-cache | -C)
2067 cache_file=config.cache ;;
2069 -datadir | --datadir | --datadi | --datad)
2070 ac_prev=datadir ;;
2071 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2072 datadir=$ac_optarg ;;
2074 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2075 | --dataroo | --dataro | --datar)
2076 ac_prev=datarootdir ;;
2077 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2078 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2079 datarootdir=$ac_optarg ;;
2081 -disable-* | --disable-*)
2082 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2083 # Reject names that are not valid shell variable names.
2084 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2085 as_fn_error $? "invalid feature name: $ac_useropt"
2086 ac_useropt_orig=$ac_useropt
2087 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2088 case $ac_user_opts in
2090 "enable_$ac_useropt"
2091 "*) ;;
2092 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2093 ac_unrecognized_sep=', ';;
2094 esac
2095 eval enable_$ac_useropt=no ;;
2097 -docdir | --docdir | --docdi | --doc | --do)
2098 ac_prev=docdir ;;
2099 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2100 docdir=$ac_optarg ;;
2102 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2103 ac_prev=dvidir ;;
2104 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2105 dvidir=$ac_optarg ;;
2107 -enable-* | --enable-*)
2108 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2109 # Reject names that are not valid shell variable names.
2110 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2111 as_fn_error $? "invalid feature name: $ac_useropt"
2112 ac_useropt_orig=$ac_useropt
2113 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2114 case $ac_user_opts in
2116 "enable_$ac_useropt"
2117 "*) ;;
2118 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2119 ac_unrecognized_sep=', ';;
2120 esac
2121 eval enable_$ac_useropt=\$ac_optarg ;;
2123 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2124 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2125 | --exec | --exe | --ex)
2126 ac_prev=exec_prefix ;;
2127 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2128 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2129 | --exec=* | --exe=* | --ex=*)
2130 exec_prefix=$ac_optarg ;;
2132 -gas | --gas | --ga | --g)
2133 # Obsolete; use --with-gas.
2134 with_gas=yes ;;
2136 -help | --help | --hel | --he | -h)
2137 ac_init_help=long ;;
2138 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2139 ac_init_help=recursive ;;
2140 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2141 ac_init_help=short ;;
2143 -host | --host | --hos | --ho)
2144 ac_prev=host_alias ;;
2145 -host=* | --host=* | --hos=* | --ho=*)
2146 host_alias=$ac_optarg ;;
2148 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2149 ac_prev=htmldir ;;
2150 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2151 | --ht=*)
2152 htmldir=$ac_optarg ;;
2154 -includedir | --includedir | --includedi | --included | --include \
2155 | --includ | --inclu | --incl | --inc)
2156 ac_prev=includedir ;;
2157 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2158 | --includ=* | --inclu=* | --incl=* | --inc=*)
2159 includedir=$ac_optarg ;;
2161 -infodir | --infodir | --infodi | --infod | --info | --inf)
2162 ac_prev=infodir ;;
2163 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2164 infodir=$ac_optarg ;;
2166 -libdir | --libdir | --libdi | --libd)
2167 ac_prev=libdir ;;
2168 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2169 libdir=$ac_optarg ;;
2171 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2172 | --libexe | --libex | --libe)
2173 ac_prev=libexecdir ;;
2174 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2175 | --libexe=* | --libex=* | --libe=*)
2176 libexecdir=$ac_optarg ;;
2178 -localedir | --localedir | --localedi | --localed | --locale)
2179 ac_prev=localedir ;;
2180 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2181 localedir=$ac_optarg ;;
2183 -localstatedir | --localstatedir | --localstatedi | --localstated \
2184 | --localstate | --localstat | --localsta | --localst | --locals)
2185 ac_prev=localstatedir ;;
2186 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2187 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2188 localstatedir=$ac_optarg ;;
2190 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2191 ac_prev=mandir ;;
2192 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2193 mandir=$ac_optarg ;;
2195 -nfp | --nfp | --nf)
2196 # Obsolete; use --without-fp.
2197 with_fp=no ;;
2199 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2200 | --no-cr | --no-c | -n)
2201 no_create=yes ;;
2203 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2204 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2205 no_recursion=yes ;;
2207 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2208 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2209 | --oldin | --oldi | --old | --ol | --o)
2210 ac_prev=oldincludedir ;;
2211 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2212 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2213 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2214 oldincludedir=$ac_optarg ;;
2216 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2217 ac_prev=prefix ;;
2218 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2219 prefix=$ac_optarg ;;
2221 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2222 | --program-pre | --program-pr | --program-p)
2223 ac_prev=program_prefix ;;
2224 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2225 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2226 program_prefix=$ac_optarg ;;
2228 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2229 | --program-suf | --program-su | --program-s)
2230 ac_prev=program_suffix ;;
2231 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2232 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2233 program_suffix=$ac_optarg ;;
2235 -program-transform-name | --program-transform-name \
2236 | --program-transform-nam | --program-transform-na \
2237 | --program-transform-n | --program-transform- \
2238 | --program-transform | --program-transfor \
2239 | --program-transfo | --program-transf \
2240 | --program-trans | --program-tran \
2241 | --progr-tra | --program-tr | --program-t)
2242 ac_prev=program_transform_name ;;
2243 -program-transform-name=* | --program-transform-name=* \
2244 | --program-transform-nam=* | --program-transform-na=* \
2245 | --program-transform-n=* | --program-transform-=* \
2246 | --program-transform=* | --program-transfor=* \
2247 | --program-transfo=* | --program-transf=* \
2248 | --program-trans=* | --program-tran=* \
2249 | --progr-tra=* | --program-tr=* | --program-t=*)
2250 program_transform_name=$ac_optarg ;;
2252 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2253 ac_prev=pdfdir ;;
2254 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2255 pdfdir=$ac_optarg ;;
2257 -psdir | --psdir | --psdi | --psd | --ps)
2258 ac_prev=psdir ;;
2259 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2260 psdir=$ac_optarg ;;
2262 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2263 | -silent | --silent | --silen | --sile | --sil)
2264 silent=yes ;;
2266 -runstatedir | --runstatedir | --runstatedi | --runstated \
2267 | --runstate | --runstat | --runsta | --runst | --runs \
2268 | --run | --ru | --r)
2269 ac_prev=runstatedir ;;
2270 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2271 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2272 | --run=* | --ru=* | --r=*)
2273 runstatedir=$ac_optarg ;;
2275 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2276 ac_prev=sbindir ;;
2277 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2278 | --sbi=* | --sb=*)
2279 sbindir=$ac_optarg ;;
2281 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2282 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2283 | --sharedst | --shareds | --shared | --share | --shar \
2284 | --sha | --sh)
2285 ac_prev=sharedstatedir ;;
2286 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2287 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2288 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2289 | --sha=* | --sh=*)
2290 sharedstatedir=$ac_optarg ;;
2292 -site | --site | --sit)
2293 ac_prev=site ;;
2294 -site=* | --site=* | --sit=*)
2295 site=$ac_optarg ;;
2297 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2298 ac_prev=srcdir ;;
2299 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2300 srcdir=$ac_optarg ;;
2302 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2303 | --syscon | --sysco | --sysc | --sys | --sy)
2304 ac_prev=sysconfdir ;;
2305 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2306 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2307 sysconfdir=$ac_optarg ;;
2309 -target | --target | --targe | --targ | --tar | --ta | --t)
2310 ac_prev=target_alias ;;
2311 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2312 target_alias=$ac_optarg ;;
2314 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2315 verbose=yes ;;
2317 -version | --version | --versio | --versi | --vers | -V)
2318 ac_init_version=: ;;
2320 -with-* | --with-*)
2321 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2322 # Reject names that are not valid shell variable names.
2323 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2324 as_fn_error $? "invalid package name: $ac_useropt"
2325 ac_useropt_orig=$ac_useropt
2326 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2327 case $ac_user_opts in
2329 "with_$ac_useropt"
2330 "*) ;;
2331 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2332 ac_unrecognized_sep=', ';;
2333 esac
2334 eval with_$ac_useropt=\$ac_optarg ;;
2336 -without-* | --without-*)
2337 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2338 # Reject names that are not valid shell variable names.
2339 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2340 as_fn_error $? "invalid package name: $ac_useropt"
2341 ac_useropt_orig=$ac_useropt
2342 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2343 case $ac_user_opts in
2345 "with_$ac_useropt"
2346 "*) ;;
2347 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2348 ac_unrecognized_sep=', ';;
2349 esac
2350 eval with_$ac_useropt=no ;;
2352 --x)
2353 # Obsolete; use --with-x.
2354 with_x=yes ;;
2356 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2357 | --x-incl | --x-inc | --x-in | --x-i)
2358 ac_prev=x_includes ;;
2359 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2360 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2361 x_includes=$ac_optarg ;;
2363 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2364 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2365 ac_prev=x_libraries ;;
2366 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2367 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2368 x_libraries=$ac_optarg ;;
2370 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2371 Try \`$0 --help' for more information"
2374 *=*)
2375 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2376 # Reject names that are not valid shell variable names.
2377 case $ac_envvar in #(
2378 '' | [0-9]* | *[!_$as_cr_alnum]* )
2379 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2380 esac
2381 eval $ac_envvar=\$ac_optarg
2382 export $ac_envvar ;;
2385 # FIXME: should be removed in autoconf 3.0.
2386 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2387 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2388 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2389 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2392 esac
2393 done
2395 if test -n "$ac_prev"; then
2396 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2397 as_fn_error $? "missing argument to $ac_option"
2400 if test -n "$ac_unrecognized_opts"; then
2401 case $enable_option_checking in
2402 no) ;;
2403 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2404 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2405 esac
2408 # Check all directory arguments for consistency.
2409 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2410 datadir sysconfdir sharedstatedir localstatedir includedir \
2411 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2412 libdir localedir mandir runstatedir
2414 eval ac_val=\$$ac_var
2415 # Remove trailing slashes.
2416 case $ac_val in
2417 */ )
2418 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2419 eval $ac_var=\$ac_val;;
2420 esac
2421 # Be sure to have absolute directory names.
2422 case $ac_val in
2423 [\\/$]* | ?:[\\/]* ) continue;;
2424 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2425 esac
2426 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2427 done
2429 # There might be people who depend on the old broken behavior: `$host'
2430 # used to hold the argument of --host etc.
2431 # FIXME: To remove some day.
2432 build=$build_alias
2433 host=$host_alias
2434 target=$target_alias
2436 # FIXME: To remove some day.
2437 if test "x$host_alias" != x; then
2438 if test "x$build_alias" = x; then
2439 cross_compiling=maybe
2440 elif test "x$build_alias" != "x$host_alias"; then
2441 cross_compiling=yes
2445 ac_tool_prefix=
2446 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2448 test "$silent" = yes && exec 6>/dev/null
2451 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2452 ac_ls_di=`ls -di .` &&
2453 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2454 as_fn_error $? "working directory cannot be determined"
2455 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2456 as_fn_error $? "pwd does not report name of working directory"
2459 # Find the source files, if location was not specified.
2460 if test -z "$srcdir"; then
2461 ac_srcdir_defaulted=yes
2462 # Try the directory containing this script, then the parent directory.
2463 ac_confdir=`$as_dirname -- "$as_myself" ||
2464 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2465 X"$as_myself" : 'X\(//\)[^/]' \| \
2466 X"$as_myself" : 'X\(//\)$' \| \
2467 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2468 $as_echo X"$as_myself" |
2469 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2470 s//\1/
2473 /^X\(\/\/\)[^/].*/{
2474 s//\1/
2477 /^X\(\/\/\)$/{
2478 s//\1/
2481 /^X\(\/\).*/{
2482 s//\1/
2485 s/.*/./; q'`
2486 srcdir=$ac_confdir
2487 if test ! -r "$srcdir/$ac_unique_file"; then
2488 srcdir=..
2490 else
2491 ac_srcdir_defaulted=no
2493 if test ! -r "$srcdir/$ac_unique_file"; then
2494 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2495 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2497 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2498 ac_abs_confdir=`(
2499 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2500 pwd)`
2501 # When building in place, set srcdir=.
2502 if test "$ac_abs_confdir" = "$ac_pwd"; then
2503 srcdir=.
2505 # Remove unnecessary trailing slashes from srcdir.
2506 # Double slashes in file names in object file debugging info
2507 # mess up M-x gdb in Emacs.
2508 case $srcdir in
2509 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2510 esac
2511 for ac_var in $ac_precious_vars; do
2512 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2513 eval ac_env_${ac_var}_value=\$${ac_var}
2514 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2515 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2516 done
2519 # Report the --help message.
2521 if test "$ac_init_help" = "long"; then
2522 # Omit some internal or obsolete options to make the list less imposing.
2523 # This message is too long to be a string in the A/UX 3.1 sh.
2524 cat <<_ACEOF
2525 \`configure' configures Wine 6.11 to adapt to many kinds of systems.
2527 Usage: $0 [OPTION]... [VAR=VALUE]...
2529 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2530 VAR=VALUE. See below for descriptions of some of the useful variables.
2532 Defaults for the options are specified in brackets.
2534 Configuration:
2535 -h, --help display this help and exit
2536 --help=short display options specific to this package
2537 --help=recursive display the short help of all the included packages
2538 -V, --version display version information and exit
2539 -q, --quiet, --silent do not print \`checking ...' messages
2540 --cache-file=FILE cache test results in FILE [disabled]
2541 -C, --config-cache alias for \`--cache-file=config.cache'
2542 -n, --no-create do not create output files
2543 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2545 Installation directories:
2546 --prefix=PREFIX install architecture-independent files in PREFIX
2547 [$ac_default_prefix]
2548 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2549 [PREFIX]
2551 By default, \`make install' will install all the files in
2552 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2553 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2554 for instance \`--prefix=\$HOME'.
2556 For better control, use the options below.
2558 Fine tuning of the installation directories:
2559 --bindir=DIR user executables [EPREFIX/bin]
2560 --sbindir=DIR system admin executables [EPREFIX/sbin]
2561 --libexecdir=DIR program executables [EPREFIX/libexec]
2562 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2563 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2564 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2565 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2566 --libdir=DIR object code libraries [EPREFIX/lib]
2567 --includedir=DIR C header files [PREFIX/include]
2568 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2569 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2570 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2571 --infodir=DIR info documentation [DATAROOTDIR/info]
2572 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2573 --mandir=DIR man documentation [DATAROOTDIR/man]
2574 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2575 --htmldir=DIR html documentation [DOCDIR]
2576 --dvidir=DIR dvi documentation [DOCDIR]
2577 --pdfdir=DIR pdf documentation [DOCDIR]
2578 --psdir=DIR ps documentation [DOCDIR]
2579 _ACEOF
2581 cat <<\_ACEOF
2583 X features:
2584 --x-includes=DIR X include files are in DIR
2585 --x-libraries=DIR X library files are in DIR
2587 System types:
2588 --build=BUILD configure for building on BUILD [guessed]
2589 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2590 _ACEOF
2593 if test -n "$ac_init_help"; then
2594 case $ac_init_help in
2595 short | recursive ) echo "Configuration of Wine 6.11:";;
2596 esac
2597 cat <<\_ACEOF
2599 Optional Features:
2600 --disable-option-checking ignore unrecognized --enable/--with options
2601 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2602 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2603 --disable-win16 do not include Win16 support
2604 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2605 binaries)
2606 --disable-tests do not build the regression tests
2607 --enable-build-id include .buildid section in output objects
2608 --enable-maintainer-mode
2609 enable maintainer-specific build rules
2610 --enable-silent-rules use silent build rules (override: "make V=1")
2611 --enable-werror treat compilation warnings as errors
2612 --disable-largefile omit support for large files
2614 Optional Packages:
2615 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2616 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2617 --without-alsa do not use the Alsa sound support
2618 --without-capi do not use CAPI (ISDN support)
2619 --without-cms do not use CMS (color management support)
2620 --without-coreaudio do not use the CoreAudio sound support
2621 --without-cups do not use CUPS
2622 --without-dbus do not use DBus (dynamic device support)
2623 --without-faudio do not use FAudio (XAudio2 support)
2624 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2625 --without-fontconfig do not use fontconfig
2626 --without-freetype do not use the FreeType library
2627 --without-gettext do not use gettext
2628 --with-gettextpo use the GetTextPO library to rebuild po files
2629 --without-gphoto do not use gphoto (Digital Camera support)
2630 --without-gnutls do not use GnuTLS (schannel support)
2631 --without-gsm do not use libgsm (GSM 06.10 codec support)
2632 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2633 --without-gstreamer do not use GStreamer (codecs support)
2634 --without-hal do not use HAL (dynamic device support)
2635 --without-inotify do not use inotify (filesystem change notifications)
2636 --without-jpeg do not use JPEG
2637 --without-jxrlib do not use JPEG-XR
2638 --without-krb5 do not use krb5 (Kerberos)
2639 --without-ldap do not use LDAP
2640 --without-mingw do not use the MinGW cross-compiler
2641 --without-mpg123 do not use the mpg123 library
2642 --without-netapi do not use the Samba NetAPI library
2643 --without-openal do not use OpenAL
2644 --without-opencl do not use OpenCL
2645 --without-opengl do not use OpenGL
2646 --without-osmesa do not use the OSMesa library
2647 --without-oss do not use the OSS sound support
2648 --without-pcap do not use the Packet Capture library
2649 --without-png do not use PNG
2650 --without-pthread do not use the pthread library
2651 --without-pulse do not use PulseAudio sound support
2652 --without-quicktime do not use QuickTime support
2653 --without-sane do not use SANE (scanner support)
2654 --without-sdl do not use SDL
2655 --without-tiff do not use TIFF
2656 --without-udev do not use udev (plug and play support)
2657 --without-unwind do not use the libunwind library (exception
2658 handling)
2659 --without-usb do not use the libusb library
2660 --without-v4l2 do not use v4l2 (video capture)
2661 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2662 --without-vulkan do not use Vulkan
2663 --without-xcomposite do not use the Xcomposite extension
2664 --without-xcursor do not use the Xcursor extension
2665 --without-xfixes do not use Xfixes for clipboard change notifications
2666 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2667 --without-xinput do not use the Xinput extension
2668 --without-xinput2 do not use the Xinput 2 extension
2669 --without-xml do not use XML
2670 --without-xrandr do not use Xrandr (multi-monitor support)
2671 --without-xrender do not use the Xrender extension
2672 --without-xshape do not use the Xshape extension
2673 --without-xshm do not use XShm (shared memory extension)
2674 --without-xslt do not use XSLT
2675 --without-xxf86vm do not use XFree video mode extension
2676 --with-wine-tools=DIR use Wine tools from directory DIR
2677 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2678 --with-x use the X Window System
2680 Some influential environment variables:
2681 CC C compiler command
2682 CFLAGS C compiler flags
2683 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2684 nonstandard directory <lib dir>
2685 LIBS libraries to pass to the linker, e.g. -l<library>
2686 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2687 you have headers in a nonstandard directory <include dir>
2688 CXX C++ compiler command
2689 CXXFLAGS C++ compiler flags
2690 CPP C preprocessor
2691 OBJC Objective C compiler command
2692 OBJCFLAGS Objective C compiler flags
2693 OBJCPP Objective C preprocessor
2694 XMKMF Path to xmkmf, Makefile generator for X Window System
2695 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2696 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2697 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2698 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2699 INOTIFY_CFLAGS
2700 C compiler flags for libinotify, overriding pkg-config
2701 INOTIFY_LIBS
2702 Linker flags for libinotify, overriding pkg-config
2703 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2704 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2705 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2706 HAL_LIBS Linker flags for hal, overriding pkg-config
2707 GNUTLS_CFLAGS
2708 C compiler flags for gnutls, overriding pkg-config
2709 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2710 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2711 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2712 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2713 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2714 GPHOTO2_CFLAGS
2715 C compiler flags for libgphoto2, overriding pkg-config
2716 GPHOTO2_LIBS
2717 Linker flags for libgphoto2, overriding pkg-config
2718 GPHOTO2_PORT_CFLAGS
2719 C compiler flags for libgphoto2_port, overriding pkg-config
2720 GPHOTO2_PORT_LIBS
2721 Linker flags for libgphoto2_port, overriding pkg-config
2722 LCMS2_CFLAGS
2723 C compiler flags for lcms2, overriding pkg-config
2724 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2725 FREETYPE_CFLAGS
2726 C compiler flags for freetype2, overriding pkg-config
2727 FREETYPE_LIBS
2728 Linker flags for freetype2, overriding pkg-config
2729 PULSE_CFLAGS
2730 C compiler flags for libpulse, overriding pkg-config
2731 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2732 GSTREAMER_CFLAGS
2733 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2734 gstreamer-audio-1.0, overriding pkg-config
2735 GSTREAMER_LIBS
2736 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2737 gstreamer-audio-1.0, overriding pkg-config
2738 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2739 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2740 UNWIND_CFLAGS
2741 C compiler flags for libunwind, overriding pkg-config
2742 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2743 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2744 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2745 FAUDIO_CFLAGS
2746 C compiler flags for FAudio, overriding pkg-config
2747 FAUDIO_LIBS Linker flags for FAudio, overriding pkg-config
2748 CAPI20_CFLAGS
2749 C compiler flags for capi20, overriding pkg-config
2750 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2751 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2752 CUPS_LIBS Linker flags for cups, overriding pkg-config
2753 FONTCONFIG_CFLAGS
2754 C compiler flags for fontconfig, overriding pkg-config
2755 FONTCONFIG_LIBS
2756 Linker flags for fontconfig, overriding pkg-config
2757 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2758 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2759 GSSAPI_CFLAGS
2760 C compiler flags for krb5-gssapi, overriding pkg-config
2761 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2762 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2763 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2764 JXRLIB_CFLAGS
2765 C compiler flags for jxrlib, overriding pkg-config
2766 JXRLIB_LIBS Linker flags for jxrlib, overriding pkg-config
2767 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2768 PNG_LIBS Linker flags for libpng, overriding pkg-config
2769 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2770 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2771 MPG123_CFLAGS
2772 C compiler flags for libmpg123, overriding pkg-config
2773 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2774 NETAPI_CFLAGS
2775 C compiler flags for netapi, overriding pkg-config
2776 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2777 VKD3D_CFLAGS
2778 C compiler flags for libvkd3d, overriding pkg-config
2779 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2780 VKD3D_SHADER_CFLAGS
2781 C compiler flags for libvkd3d-shader, overriding pkg-config
2782 VKD3D_SHADER_LIBS
2783 Linker flags for libvkd3d-shader, overriding pkg-config
2784 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2785 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2787 Use these variables to override the choices made by `configure' or to help
2788 it to find libraries and programs with nonstandard names/locations.
2790 Report bugs to <wine-devel@winehq.org>.
2791 Wine home page: <https://www.winehq.org>.
2792 _ACEOF
2793 ac_status=$?
2796 if test "$ac_init_help" = "recursive"; then
2797 # If there are subdirs, report their specific --help.
2798 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2799 test -d "$ac_dir" ||
2800 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2801 continue
2802 ac_builddir=.
2804 case "$ac_dir" in
2805 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2807 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2808 # A ".." for each directory in $ac_dir_suffix.
2809 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2810 case $ac_top_builddir_sub in
2811 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2812 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2813 esac ;;
2814 esac
2815 ac_abs_top_builddir=$ac_pwd
2816 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2817 # for backward compatibility:
2818 ac_top_builddir=$ac_top_build_prefix
2820 case $srcdir in
2821 .) # We are building in place.
2822 ac_srcdir=.
2823 ac_top_srcdir=$ac_top_builddir_sub
2824 ac_abs_top_srcdir=$ac_pwd ;;
2825 [\\/]* | ?:[\\/]* ) # Absolute name.
2826 ac_srcdir=$srcdir$ac_dir_suffix;
2827 ac_top_srcdir=$srcdir
2828 ac_abs_top_srcdir=$srcdir ;;
2829 *) # Relative name.
2830 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2831 ac_top_srcdir=$ac_top_build_prefix$srcdir
2832 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2833 esac
2834 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2836 cd "$ac_dir" || { ac_status=$?; continue; }
2837 # Check for guested configure.
2838 if test -f "$ac_srcdir/configure.gnu"; then
2839 echo &&
2840 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2841 elif test -f "$ac_srcdir/configure"; then
2842 echo &&
2843 $SHELL "$ac_srcdir/configure" --help=recursive
2844 else
2845 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2846 fi || ac_status=$?
2847 cd "$ac_pwd" || { ac_status=$?; break; }
2848 done
2851 test -n "$ac_init_help" && exit $ac_status
2852 if $ac_init_version; then
2853 cat <<\_ACEOF
2854 Wine configure 6.11
2855 generated by GNU Autoconf 2.69
2857 Copyright (C) 2012 Free Software Foundation, Inc.
2858 This configure script is free software; the Free Software Foundation
2859 gives unlimited permission to copy, distribute and modify it.
2860 _ACEOF
2861 exit
2864 ## ------------------------ ##
2865 ## Autoconf initialization. ##
2866 ## ------------------------ ##
2868 # ac_fn_c_try_compile LINENO
2869 # --------------------------
2870 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2871 ac_fn_c_try_compile ()
2873 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2874 rm -f conftest.$ac_objext
2875 if { { ac_try="$ac_compile"
2876 case "(($ac_try" in
2877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2878 *) ac_try_echo=$ac_try;;
2879 esac
2880 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2881 $as_echo "$ac_try_echo"; } >&5
2882 (eval "$ac_compile") 2>conftest.err
2883 ac_status=$?
2884 if test -s conftest.err; then
2885 grep -v '^ *+' conftest.err >conftest.er1
2886 cat conftest.er1 >&5
2887 mv -f conftest.er1 conftest.err
2889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2890 test $ac_status = 0; } && {
2891 test -z "$ac_c_werror_flag" ||
2892 test ! -s conftest.err
2893 } && test -s conftest.$ac_objext; then :
2894 ac_retval=0
2895 else
2896 $as_echo "$as_me: failed program was:" >&5
2897 sed 's/^/| /' conftest.$ac_ext >&5
2899 ac_retval=1
2901 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2902 as_fn_set_status $ac_retval
2904 } # ac_fn_c_try_compile
2906 # ac_fn_cxx_try_compile LINENO
2907 # ----------------------------
2908 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2909 ac_fn_cxx_try_compile ()
2911 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2912 rm -f conftest.$ac_objext
2913 if { { ac_try="$ac_compile"
2914 case "(($ac_try" in
2915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2916 *) ac_try_echo=$ac_try;;
2917 esac
2918 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2919 $as_echo "$ac_try_echo"; } >&5
2920 (eval "$ac_compile") 2>conftest.err
2921 ac_status=$?
2922 if test -s conftest.err; then
2923 grep -v '^ *+' conftest.err >conftest.er1
2924 cat conftest.er1 >&5
2925 mv -f conftest.er1 conftest.err
2927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2928 test $ac_status = 0; } && {
2929 test -z "$ac_cxx_werror_flag" ||
2930 test ! -s conftest.err
2931 } && test -s conftest.$ac_objext; then :
2932 ac_retval=0
2933 else
2934 $as_echo "$as_me: failed program was:" >&5
2935 sed 's/^/| /' conftest.$ac_ext >&5
2937 ac_retval=1
2939 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2940 as_fn_set_status $ac_retval
2942 } # ac_fn_cxx_try_compile
2944 # ac_fn_c_try_link LINENO
2945 # -----------------------
2946 # Try to link conftest.$ac_ext, and return whether this succeeded.
2947 ac_fn_c_try_link ()
2949 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2950 rm -f conftest.$ac_objext conftest$ac_exeext
2951 if { { ac_try="$ac_link"
2952 case "(($ac_try" in
2953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2954 *) ac_try_echo=$ac_try;;
2955 esac
2956 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2957 $as_echo "$ac_try_echo"; } >&5
2958 (eval "$ac_link") 2>conftest.err
2959 ac_status=$?
2960 if test -s conftest.err; then
2961 grep -v '^ *+' conftest.err >conftest.er1
2962 cat conftest.er1 >&5
2963 mv -f conftest.er1 conftest.err
2965 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2966 test $ac_status = 0; } && {
2967 test -z "$ac_c_werror_flag" ||
2968 test ! -s conftest.err
2969 } && test -s conftest$ac_exeext && {
2970 test "$cross_compiling" = yes ||
2971 test -x conftest$ac_exeext
2972 }; then :
2973 ac_retval=0
2974 else
2975 $as_echo "$as_me: failed program was:" >&5
2976 sed 's/^/| /' conftest.$ac_ext >&5
2978 ac_retval=1
2980 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2981 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2982 # interfere with the next link command; also delete a directory that is
2983 # left behind by Apple's compiler. We do this before executing the actions.
2984 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2985 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2986 as_fn_set_status $ac_retval
2988 } # ac_fn_c_try_link
2990 # ac_fn_c_try_cpp LINENO
2991 # ----------------------
2992 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2993 ac_fn_c_try_cpp ()
2995 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2996 if { { ac_try="$ac_cpp conftest.$ac_ext"
2997 case "(($ac_try" in
2998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2999 *) ac_try_echo=$ac_try;;
3000 esac
3001 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3002 $as_echo "$ac_try_echo"; } >&5
3003 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3004 ac_status=$?
3005 if test -s conftest.err; then
3006 grep -v '^ *+' conftest.err >conftest.er1
3007 cat conftest.er1 >&5
3008 mv -f conftest.er1 conftest.err
3010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3011 test $ac_status = 0; } > conftest.i && {
3012 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3013 test ! -s conftest.err
3014 }; then :
3015 ac_retval=0
3016 else
3017 $as_echo "$as_me: failed program was:" >&5
3018 sed 's/^/| /' conftest.$ac_ext >&5
3020 ac_retval=1
3022 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3023 as_fn_set_status $ac_retval
3025 } # ac_fn_c_try_cpp
3027 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
3028 # -------------------------------------------------------
3029 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3030 # the include files in INCLUDES and setting the cache variable VAR
3031 # accordingly.
3032 ac_fn_c_check_header_mongrel ()
3034 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3035 if eval \${$3+:} false; then :
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3037 $as_echo_n "checking for $2... " >&6; }
3038 if eval \${$3+:} false; then :
3039 $as_echo_n "(cached) " >&6
3041 eval ac_res=\$$3
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3043 $as_echo "$ac_res" >&6; }
3044 else
3045 # Is the header compilable?
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3047 $as_echo_n "checking $2 usability... " >&6; }
3048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3049 /* end confdefs.h. */
3051 #include <$2>
3052 _ACEOF
3053 if ac_fn_c_try_compile "$LINENO"; then :
3054 ac_header_compiler=yes
3055 else
3056 ac_header_compiler=no
3058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3060 $as_echo "$ac_header_compiler" >&6; }
3062 # Is the header present?
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3064 $as_echo_n "checking $2 presence... " >&6; }
3065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3066 /* end confdefs.h. */
3067 #include <$2>
3068 _ACEOF
3069 if ac_fn_c_try_cpp "$LINENO"; then :
3070 ac_header_preproc=yes
3071 else
3072 ac_header_preproc=no
3074 rm -f conftest.err conftest.i conftest.$ac_ext
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3076 $as_echo "$ac_header_preproc" >&6; }
3078 # So? What about this header?
3079 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3080 yes:no: )
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3082 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3084 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3086 no:yes:* )
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3088 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3090 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3092 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3094 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3096 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3097 ( $as_echo "## ------------------------------------ ##
3098 ## Report this to wine-devel@winehq.org ##
3099 ## ------------------------------------ ##"
3100 ) | sed "s/^/$as_me: WARNING: /" >&2
3102 esac
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3104 $as_echo_n "checking for $2... " >&6; }
3105 if eval \${$3+:} false; then :
3106 $as_echo_n "(cached) " >&6
3107 else
3108 eval "$3=\$ac_header_compiler"
3110 eval ac_res=\$$3
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3112 $as_echo "$ac_res" >&6; }
3114 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3116 } # ac_fn_c_check_header_mongrel
3118 # ac_fn_c_try_run LINENO
3119 # ----------------------
3120 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3121 # that executables *can* be run.
3122 ac_fn_c_try_run ()
3124 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3125 if { { ac_try="$ac_link"
3126 case "(($ac_try" in
3127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3128 *) ac_try_echo=$ac_try;;
3129 esac
3130 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3131 $as_echo "$ac_try_echo"; } >&5
3132 (eval "$ac_link") 2>&5
3133 ac_status=$?
3134 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3135 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3136 { { case "(($ac_try" in
3137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3138 *) ac_try_echo=$ac_try;;
3139 esac
3140 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3141 $as_echo "$ac_try_echo"; } >&5
3142 (eval "$ac_try") 2>&5
3143 ac_status=$?
3144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3145 test $ac_status = 0; }; }; then :
3146 ac_retval=0
3147 else
3148 $as_echo "$as_me: program exited with status $ac_status" >&5
3149 $as_echo "$as_me: failed program was:" >&5
3150 sed 's/^/| /' conftest.$ac_ext >&5
3152 ac_retval=$ac_status
3154 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3155 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3156 as_fn_set_status $ac_retval
3158 } # ac_fn_c_try_run
3160 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3161 # -------------------------------------------------------
3162 # Tests whether HEADER exists and can be compiled using the include files in
3163 # INCLUDES, setting the cache variable VAR accordingly.
3164 ac_fn_c_check_header_compile ()
3166 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3168 $as_echo_n "checking for $2... " >&6; }
3169 if eval \${$3+:} false; then :
3170 $as_echo_n "(cached) " >&6
3171 else
3172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3173 /* end confdefs.h. */
3175 #include <$2>
3176 _ACEOF
3177 if ac_fn_c_try_compile "$LINENO"; then :
3178 eval "$3=yes"
3179 else
3180 eval "$3=no"
3182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3184 eval ac_res=\$$3
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3186 $as_echo "$ac_res" >&6; }
3187 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3189 } # ac_fn_c_check_header_compile
3191 # ac_fn_objc_try_compile LINENO
3192 # -----------------------------
3193 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3194 ac_fn_objc_try_compile ()
3196 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3197 rm -f conftest.$ac_objext
3198 if { { ac_try="$ac_compile"
3199 case "(($ac_try" in
3200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3201 *) ac_try_echo=$ac_try;;
3202 esac
3203 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3204 $as_echo "$ac_try_echo"; } >&5
3205 (eval "$ac_compile") 2>conftest.err
3206 ac_status=$?
3207 if test -s conftest.err; then
3208 grep -v '^ *+' conftest.err >conftest.er1
3209 cat conftest.er1 >&5
3210 mv -f conftest.er1 conftest.err
3212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3213 test $ac_status = 0; } && {
3214 test -z "$ac_objc_werror_flag" ||
3215 test ! -s conftest.err
3216 } && test -s conftest.$ac_objext; then :
3217 ac_retval=0
3218 else
3219 $as_echo "$as_me: failed program was:" >&5
3220 sed 's/^/| /' conftest.$ac_ext >&5
3222 ac_retval=1
3224 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3225 as_fn_set_status $ac_retval
3227 } # ac_fn_objc_try_compile
3229 # ac_fn_objc_try_cpp LINENO
3230 # -------------------------
3231 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3232 ac_fn_objc_try_cpp ()
3234 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3235 if { { ac_try="$ac_cpp conftest.$ac_ext"
3236 case "(($ac_try" in
3237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3238 *) ac_try_echo=$ac_try;;
3239 esac
3240 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3241 $as_echo "$ac_try_echo"; } >&5
3242 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3243 ac_status=$?
3244 if test -s conftest.err; then
3245 grep -v '^ *+' conftest.err >conftest.er1
3246 cat conftest.er1 >&5
3247 mv -f conftest.er1 conftest.err
3249 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3250 test $ac_status = 0; } > conftest.i && {
3251 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3252 test ! -s conftest.err
3253 }; then :
3254 ac_retval=0
3255 else
3256 $as_echo "$as_me: failed program was:" >&5
3257 sed 's/^/| /' conftest.$ac_ext >&5
3259 ac_retval=1
3261 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3262 as_fn_set_status $ac_retval
3264 } # ac_fn_objc_try_cpp
3266 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3267 # ----------------------------------------------------------
3268 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3269 # the include files in INCLUDES and setting the cache variable VAR
3270 # accordingly.
3271 ac_fn_objc_check_header_mongrel ()
3273 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3274 if eval \${$3+:} false; then :
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3276 $as_echo_n "checking for $2... " >&6; }
3277 if eval \${$3+:} false; then :
3278 $as_echo_n "(cached) " >&6
3280 eval ac_res=\$$3
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3282 $as_echo "$ac_res" >&6; }
3283 else
3284 # Is the header compilable?
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3286 $as_echo_n "checking $2 usability... " >&6; }
3287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3288 /* end confdefs.h. */
3290 #include <$2>
3291 _ACEOF
3292 if ac_fn_objc_try_compile "$LINENO"; then :
3293 ac_header_compiler=yes
3294 else
3295 ac_header_compiler=no
3297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3299 $as_echo "$ac_header_compiler" >&6; }
3301 # Is the header present?
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3303 $as_echo_n "checking $2 presence... " >&6; }
3304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3305 /* end confdefs.h. */
3306 #include <$2>
3307 _ACEOF
3308 if ac_fn_objc_try_cpp "$LINENO"; then :
3309 ac_header_preproc=yes
3310 else
3311 ac_header_preproc=no
3313 rm -f conftest.err conftest.i conftest.$ac_ext
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3315 $as_echo "$ac_header_preproc" >&6; }
3317 # So? What about this header?
3318 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3319 yes:no: )
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3321 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3323 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3325 no:yes:* )
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3327 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3329 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3331 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3333 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3335 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3336 ( $as_echo "## ------------------------------------ ##
3337 ## Report this to wine-devel@winehq.org ##
3338 ## ------------------------------------ ##"
3339 ) | sed "s/^/$as_me: WARNING: /" >&2
3341 esac
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3343 $as_echo_n "checking for $2... " >&6; }
3344 if eval \${$3+:} false; then :
3345 $as_echo_n "(cached) " >&6
3346 else
3347 eval "$3=\$ac_header_compiler"
3349 eval ac_res=\$$3
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3351 $as_echo "$ac_res" >&6; }
3353 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3355 } # ac_fn_objc_check_header_mongrel
3357 # ac_fn_c_check_func LINENO FUNC VAR
3358 # ----------------------------------
3359 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3360 ac_fn_c_check_func ()
3362 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3364 $as_echo_n "checking for $2... " >&6; }
3365 if eval \${$3+:} false; then :
3366 $as_echo_n "(cached) " >&6
3367 else
3368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3369 /* end confdefs.h. */
3370 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3372 #define $2 innocuous_$2
3374 /* System header to define __stub macros and hopefully few prototypes,
3375 which can conflict with char $2 (); below.
3376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3377 <limits.h> exists even on freestanding compilers. */
3379 #ifdef __STDC__
3380 # include <limits.h>
3381 #else
3382 # include <assert.h>
3383 #endif
3385 #undef $2
3387 /* Override any GCC internal prototype to avoid an error.
3388 Use char because int might match the return type of a GCC
3389 builtin and then its argument prototype would still apply. */
3390 #ifdef __cplusplus
3391 extern "C"
3392 #endif
3393 char $2 ();
3394 /* The GNU C library defines this for functions which it implements
3395 to always fail with ENOSYS. Some functions are actually named
3396 something starting with __ and the normal name is an alias. */
3397 #if defined __stub_$2 || defined __stub___$2
3398 choke me
3399 #endif
3402 main ()
3404 return $2 ();
3406 return 0;
3408 _ACEOF
3409 if ac_fn_c_try_link "$LINENO"; then :
3410 eval "$3=yes"
3411 else
3412 eval "$3=no"
3414 rm -f core conftest.err conftest.$ac_objext \
3415 conftest$ac_exeext conftest.$ac_ext
3417 eval ac_res=\$$3
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3419 $as_echo "$ac_res" >&6; }
3420 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3422 } # ac_fn_c_check_func
3424 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3425 # ----------------------------------------------------
3426 # Tries to find if the field MEMBER exists in type AGGR, after including
3427 # INCLUDES, setting cache variable VAR accordingly.
3428 ac_fn_c_check_member ()
3430 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3432 $as_echo_n "checking for $2.$3... " >&6; }
3433 if eval \${$4+:} false; then :
3434 $as_echo_n "(cached) " >&6
3435 else
3436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3437 /* end confdefs.h. */
3440 main ()
3442 static $2 ac_aggr;
3443 if (ac_aggr.$3)
3444 return 0;
3446 return 0;
3448 _ACEOF
3449 if ac_fn_c_try_compile "$LINENO"; then :
3450 eval "$4=yes"
3451 else
3452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3453 /* end confdefs.h. */
3456 main ()
3458 static $2 ac_aggr;
3459 if (sizeof ac_aggr.$3)
3460 return 0;
3462 return 0;
3464 _ACEOF
3465 if ac_fn_c_try_compile "$LINENO"; then :
3466 eval "$4=yes"
3467 else
3468 eval "$4=no"
3470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3474 eval ac_res=\$$4
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3476 $as_echo "$ac_res" >&6; }
3477 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3479 } # ac_fn_c_check_member
3481 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3482 # -------------------------------------------
3483 # Tests whether TYPE exists after having included INCLUDES, setting cache
3484 # variable VAR accordingly.
3485 ac_fn_c_check_type ()
3487 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3489 $as_echo_n "checking for $2... " >&6; }
3490 if eval \${$3+:} false; then :
3491 $as_echo_n "(cached) " >&6
3492 else
3493 eval "$3=no"
3494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3495 /* end confdefs.h. */
3498 main ()
3500 if (sizeof ($2))
3501 return 0;
3503 return 0;
3505 _ACEOF
3506 if ac_fn_c_try_compile "$LINENO"; then :
3507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3508 /* end confdefs.h. */
3511 main ()
3513 if (sizeof (($2)))
3514 return 0;
3516 return 0;
3518 _ACEOF
3519 if ac_fn_c_try_compile "$LINENO"; then :
3521 else
3522 eval "$3=yes"
3524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3528 eval ac_res=\$$3
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3530 $as_echo "$ac_res" >&6; }
3531 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3533 } # ac_fn_c_check_type
3534 cat >config.log <<_ACEOF
3535 This file contains any messages produced by compilers while
3536 running configure, to aid debugging if configure makes a mistake.
3538 It was created by Wine $as_me 6.11, which was
3539 generated by GNU Autoconf 2.69. Invocation command line was
3541 $ $0 $@
3543 _ACEOF
3544 exec 5>>config.log
3546 cat <<_ASUNAME
3547 ## --------- ##
3548 ## Platform. ##
3549 ## --------- ##
3551 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3552 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3553 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3554 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3555 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3557 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3558 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3560 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3561 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3562 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3563 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3564 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3565 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3566 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3568 _ASUNAME
3570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3571 for as_dir in $PATH
3573 IFS=$as_save_IFS
3574 test -z "$as_dir" && as_dir=.
3575 $as_echo "PATH: $as_dir"
3576 done
3577 IFS=$as_save_IFS
3579 } >&5
3581 cat >&5 <<_ACEOF
3584 ## ----------- ##
3585 ## Core tests. ##
3586 ## ----------- ##
3588 _ACEOF
3591 # Keep a trace of the command line.
3592 # Strip out --no-create and --no-recursion so they do not pile up.
3593 # Strip out --silent because we don't want to record it for future runs.
3594 # Also quote any args containing shell meta-characters.
3595 # Make two passes to allow for proper duplicate-argument suppression.
3596 ac_configure_args=
3597 ac_configure_args0=
3598 ac_configure_args1=
3599 ac_must_keep_next=false
3600 for ac_pass in 1 2
3602 for ac_arg
3604 case $ac_arg in
3605 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3606 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3607 | -silent | --silent | --silen | --sile | --sil)
3608 continue ;;
3609 *\'*)
3610 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3611 esac
3612 case $ac_pass in
3613 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3615 as_fn_append ac_configure_args1 " '$ac_arg'"
3616 if test $ac_must_keep_next = true; then
3617 ac_must_keep_next=false # Got value, back to normal.
3618 else
3619 case $ac_arg in
3620 *=* | --config-cache | -C | -disable-* | --disable-* \
3621 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3622 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3623 | -with-* | --with-* | -without-* | --without-* | --x)
3624 case "$ac_configure_args0 " in
3625 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3626 esac
3628 -* ) ac_must_keep_next=true ;;
3629 esac
3631 as_fn_append ac_configure_args " '$ac_arg'"
3633 esac
3634 done
3635 done
3636 { ac_configure_args0=; unset ac_configure_args0;}
3637 { ac_configure_args1=; unset ac_configure_args1;}
3639 # When interrupted or exit'd, cleanup temporary files, and complete
3640 # config.log. We remove comments because anyway the quotes in there
3641 # would cause problems or look ugly.
3642 # WARNING: Use '\'' to represent an apostrophe within the trap.
3643 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3644 trap 'exit_status=$?
3645 # Save into config.log some information that might help in debugging.
3647 echo
3649 $as_echo "## ---------------- ##
3650 ## Cache variables. ##
3651 ## ---------------- ##"
3652 echo
3653 # The following way of writing the cache mishandles newlines in values,
3655 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3656 eval ac_val=\$$ac_var
3657 case $ac_val in #(
3658 *${as_nl}*)
3659 case $ac_var in #(
3660 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3661 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3662 esac
3663 case $ac_var in #(
3664 _ | IFS | as_nl) ;; #(
3665 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3666 *) { eval $ac_var=; unset $ac_var;} ;;
3667 esac ;;
3668 esac
3669 done
3670 (set) 2>&1 |
3671 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3672 *${as_nl}ac_space=\ *)
3673 sed -n \
3674 "s/'\''/'\''\\\\'\'''\''/g;
3675 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3676 ;; #(
3678 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3680 esac |
3681 sort
3683 echo
3685 $as_echo "## ----------------- ##
3686 ## Output variables. ##
3687 ## ----------------- ##"
3688 echo
3689 for ac_var in $ac_subst_vars
3691 eval ac_val=\$$ac_var
3692 case $ac_val in
3693 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3694 esac
3695 $as_echo "$ac_var='\''$ac_val'\''"
3696 done | sort
3697 echo
3699 if test -n "$ac_subst_files"; then
3700 $as_echo "## ------------------- ##
3701 ## File substitutions. ##
3702 ## ------------------- ##"
3703 echo
3704 for ac_var in $ac_subst_files
3706 eval ac_val=\$$ac_var
3707 case $ac_val in
3708 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3709 esac
3710 $as_echo "$ac_var='\''$ac_val'\''"
3711 done | sort
3712 echo
3715 if test -s confdefs.h; then
3716 $as_echo "## ----------- ##
3717 ## confdefs.h. ##
3718 ## ----------- ##"
3719 echo
3720 cat confdefs.h
3721 echo
3723 test "$ac_signal" != 0 &&
3724 $as_echo "$as_me: caught signal $ac_signal"
3725 $as_echo "$as_me: exit $exit_status"
3726 } >&5
3727 rm -f core *.core core.conftest.* &&
3728 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3729 exit $exit_status
3731 for ac_signal in 1 2 13 15; do
3732 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3733 done
3734 ac_signal=0
3736 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3737 rm -f -r conftest* confdefs.h
3739 $as_echo "/* confdefs.h */" > confdefs.h
3741 # Predefined preprocessor variables.
3743 cat >>confdefs.h <<_ACEOF
3744 #define PACKAGE_NAME "$PACKAGE_NAME"
3745 _ACEOF
3747 cat >>confdefs.h <<_ACEOF
3748 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3749 _ACEOF
3751 cat >>confdefs.h <<_ACEOF
3752 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3753 _ACEOF
3755 cat >>confdefs.h <<_ACEOF
3756 #define PACKAGE_STRING "$PACKAGE_STRING"
3757 _ACEOF
3759 cat >>confdefs.h <<_ACEOF
3760 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3761 _ACEOF
3763 cat >>confdefs.h <<_ACEOF
3764 #define PACKAGE_URL "$PACKAGE_URL"
3765 _ACEOF
3768 # Let the site file select an alternate cache file if it wants to.
3769 # Prefer an explicitly selected file to automatically selected ones.
3770 ac_site_file1=NONE
3771 ac_site_file2=NONE
3772 if test -n "$CONFIG_SITE"; then
3773 # We do not want a PATH search for config.site.
3774 case $CONFIG_SITE in #((
3775 -*) ac_site_file1=./$CONFIG_SITE;;
3776 */*) ac_site_file1=$CONFIG_SITE;;
3777 *) ac_site_file1=./$CONFIG_SITE;;
3778 esac
3779 elif test "x$prefix" != xNONE; then
3780 ac_site_file1=$prefix/share/config.site
3781 ac_site_file2=$prefix/etc/config.site
3782 else
3783 ac_site_file1=$ac_default_prefix/share/config.site
3784 ac_site_file2=$ac_default_prefix/etc/config.site
3786 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3788 test "x$ac_site_file" = xNONE && continue
3789 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3791 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3792 sed 's/^/| /' "$ac_site_file" >&5
3793 . "$ac_site_file" \
3794 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3795 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3796 as_fn_error $? "failed to load site script $ac_site_file
3797 See \`config.log' for more details" "$LINENO" 5; }
3799 done
3801 if test -r "$cache_file"; then
3802 # Some versions of bash will fail to source /dev/null (special files
3803 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3804 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3806 $as_echo "$as_me: loading cache $cache_file" >&6;}
3807 case $cache_file in
3808 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3809 *) . "./$cache_file";;
3810 esac
3812 else
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3814 $as_echo "$as_me: creating cache $cache_file" >&6;}
3815 >$cache_file
3818 # Check that the precious variables saved in the cache have kept the same
3819 # value.
3820 ac_cache_corrupted=false
3821 for ac_var in $ac_precious_vars; do
3822 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3823 eval ac_new_set=\$ac_env_${ac_var}_set
3824 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3825 eval ac_new_val=\$ac_env_${ac_var}_value
3826 case $ac_old_set,$ac_new_set in
3827 set,)
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3829 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3830 ac_cache_corrupted=: ;;
3831 ,set)
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3833 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3834 ac_cache_corrupted=: ;;
3835 ,);;
3837 if test "x$ac_old_val" != "x$ac_new_val"; then
3838 # differences in whitespace do not lead to failure.
3839 ac_old_val_w=`echo x $ac_old_val`
3840 ac_new_val_w=`echo x $ac_new_val`
3841 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3843 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3844 ac_cache_corrupted=:
3845 else
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3847 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3848 eval $ac_var=\$ac_old_val
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3851 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3853 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3854 fi;;
3855 esac
3856 # Pass precious variables to config.status.
3857 if test "$ac_new_set" = set; then
3858 case $ac_new_val in
3859 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3860 *) ac_arg=$ac_var=$ac_new_val ;;
3861 esac
3862 case " $ac_configure_args " in
3863 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3864 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3865 esac
3867 done
3868 if $ac_cache_corrupted; then
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3870 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3872 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3873 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3875 ## -------------------- ##
3876 ## Main body of script. ##
3877 ## -------------------- ##
3879 ac_ext=c
3880 ac_cpp='$CPP $CPPFLAGS'
3881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3887 ac_config_headers="$ac_config_headers include/config.h"
3889 ac_aux_dir=
3890 for ac_dir in tools "$srcdir"/tools; do
3891 if test -f "$ac_dir/install-sh"; then
3892 ac_aux_dir=$ac_dir
3893 ac_install_sh="$ac_aux_dir/install-sh -c"
3894 break
3895 elif test -f "$ac_dir/install.sh"; then
3896 ac_aux_dir=$ac_dir
3897 ac_install_sh="$ac_aux_dir/install.sh -c"
3898 break
3899 elif test -f "$ac_dir/shtool"; then
3900 ac_aux_dir=$ac_dir
3901 ac_install_sh="$ac_aux_dir/shtool install -c"
3902 break
3904 done
3905 if test -z "$ac_aux_dir"; then
3906 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3909 # These three variables are undocumented and unsupported,
3910 # and are intended to be withdrawn in a future Autoconf release.
3911 # They can cause serious problems if a builder's source tree is in a directory
3912 # whose full name contains unusual characters.
3913 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3914 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3915 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3919 libwine_version="1.0"
3923 # Check whether --enable-win16 was given.
3924 if test "${enable_win16+set}" = set; then :
3925 enableval=$enable_win16;
3928 # Check whether --enable-win64 was given.
3929 if test "${enable_win64+set}" = set; then :
3930 enableval=$enable_win64;
3933 # Check whether --enable-tests was given.
3934 if test "${enable_tests+set}" = set; then :
3935 enableval=$enable_tests;
3938 # Check whether --enable-build-id was given.
3939 if test "${enable_build_id+set}" = set; then :
3940 enableval=$enable_build_id;
3943 # Check whether --enable-maintainer-mode was given.
3944 if test "${enable_maintainer_mode+set}" = set; then :
3945 enableval=$enable_maintainer_mode;
3948 # Check whether --enable-silent-rules was given.
3949 if test "${enable_silent_rules+set}" = set; then :
3950 enableval=$enable_silent_rules;
3953 # Check whether --enable-werror was given.
3954 if test "${enable_werror+set}" = set; then :
3955 enableval=$enable_werror;
3960 # Check whether --with-alsa was given.
3961 if test "${with_alsa+set}" = set; then :
3962 withval=$with_alsa;
3966 # Check whether --with-capi was given.
3967 if test "${with_capi+set}" = set; then :
3968 withval=$with_capi;
3972 # Check whether --with-cms was given.
3973 if test "${with_cms+set}" = set; then :
3974 withval=$with_cms;
3978 # Check whether --with-coreaudio was given.
3979 if test "${with_coreaudio+set}" = set; then :
3980 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3984 # Check whether --with-cups was given.
3985 if test "${with_cups+set}" = set; then :
3986 withval=$with_cups;
3990 # Check whether --with-dbus was given.
3991 if test "${with_dbus+set}" = set; then :
3992 withval=$with_dbus;
3996 # Check whether --with-faudio was given.
3997 if test "${with_faudio+set}" = set; then :
3998 withval=$with_faudio;
4002 # Check whether --with-float-abi was given.
4003 if test "${with_float_abi+set}" = set; then :
4004 withval=$with_float_abi;
4008 # Check whether --with-fontconfig was given.
4009 if test "${with_fontconfig+set}" = set; then :
4010 withval=$with_fontconfig;
4014 # Check whether --with-freetype was given.
4015 if test "${with_freetype+set}" = set; then :
4016 withval=$with_freetype;
4020 # Check whether --with-gettext was given.
4021 if test "${with_gettext+set}" = set; then :
4022 withval=$with_gettext;
4026 # Check whether --with-gettextpo was given.
4027 if test "${with_gettextpo+set}" = set; then :
4028 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4032 # Check whether --with-gphoto was given.
4033 if test "${with_gphoto+set}" = set; then :
4034 withval=$with_gphoto;
4038 # Check whether --with-gnutls was given.
4039 if test "${with_gnutls+set}" = set; then :
4040 withval=$with_gnutls;
4044 # Check whether --with-gsm was given.
4045 if test "${with_gsm+set}" = set; then :
4046 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4050 # Check whether --with-gssapi was given.
4051 if test "${with_gssapi+set}" = set; then :
4052 withval=$with_gssapi;
4056 # Check whether --with-gstreamer was given.
4057 if test "${with_gstreamer+set}" = set; then :
4058 withval=$with_gstreamer;
4062 # Check whether --with-hal was given.
4063 if test "${with_hal+set}" = set; then :
4064 withval=$with_hal;
4068 # Check whether --with-inotify was given.
4069 if test "${with_inotify+set}" = set; then :
4070 withval=$with_inotify;
4074 # Check whether --with-jpeg was given.
4075 if test "${with_jpeg+set}" = set; then :
4076 withval=$with_jpeg;
4080 # Check whether --with-jxrlib was given.
4081 if test "${with_jxrlib+set}" = set; then :
4082 withval=$with_jxrlib;
4086 # Check whether --with-krb5 was given.
4087 if test "${with_krb5+set}" = set; then :
4088 withval=$with_krb5;
4092 # Check whether --with-ldap was given.
4093 if test "${with_ldap+set}" = set; then :
4094 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4098 # Check whether --with-mingw was given.
4099 if test "${with_mingw+set}" = set; then :
4100 withval=$with_mingw;
4104 # Check whether --with-mpg123 was given.
4105 if test "${with_mpg123+set}" = set; then :
4106 withval=$with_mpg123;
4110 # Check whether --with-netapi was given.
4111 if test "${with_netapi+set}" = set; then :
4112 withval=$with_netapi;
4116 # Check whether --with-openal was given.
4117 if test "${with_openal+set}" = set; then :
4118 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4122 # Check whether --with-opencl was given.
4123 if test "${with_opencl+set}" = set; then :
4124 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4128 # Check whether --with-opengl was given.
4129 if test "${with_opengl+set}" = set; then :
4130 withval=$with_opengl;
4134 # Check whether --with-osmesa was given.
4135 if test "${with_osmesa+set}" = set; then :
4136 withval=$with_osmesa;
4140 # Check whether --with-oss was given.
4141 if test "${with_oss+set}" = set; then :
4142 withval=$with_oss;
4146 # Check whether --with-pcap was given.
4147 if test "${with_pcap+set}" = set; then :
4148 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4152 # Check whether --with-png was given.
4153 if test "${with_png+set}" = set; then :
4154 withval=$with_png;
4158 # Check whether --with-pthread was given.
4159 if test "${with_pthread+set}" = set; then :
4160 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4164 # Check whether --with-pulse was given.
4165 if test "${with_pulse+set}" = set; then :
4166 withval=$with_pulse;
4170 # Check whether --with-quicktime was given.
4171 if test "${with_quicktime+set}" = set; then :
4172 withval=$with_quicktime;
4176 # Check whether --with-sane was given.
4177 if test "${with_sane+set}" = set; then :
4178 withval=$with_sane;
4182 # Check whether --with-sdl was given.
4183 if test "${with_sdl+set}" = set; then :
4184 withval=$with_sdl;
4188 # Check whether --with-tiff was given.
4189 if test "${with_tiff+set}" = set; then :
4190 withval=$with_tiff;
4194 # Check whether --with-udev was given.
4195 if test "${with_udev+set}" = set; then :
4196 withval=$with_udev;
4200 # Check whether --with-unwind was given.
4201 if test "${with_unwind+set}" = set; then :
4202 withval=$with_unwind;
4206 # Check whether --with-usb was given.
4207 if test "${with_usb+set}" = set; then :
4208 withval=$with_usb;
4212 # Check whether --with-v4l2 was given.
4213 if test "${with_v4l2+set}" = set; then :
4214 withval=$with_v4l2;
4218 # Check whether --with-vkd3d was given.
4219 if test "${with_vkd3d+set}" = set; then :
4220 withval=$with_vkd3d;
4224 # Check whether --with-vulkan was given.
4225 if test "${with_vulkan+set}" = set; then :
4226 withval=$with_vulkan;
4230 # Check whether --with-xcomposite was given.
4231 if test "${with_xcomposite+set}" = set; then :
4232 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4236 # Check whether --with-xcursor was given.
4237 if test "${with_xcursor+set}" = set; then :
4238 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4242 # Check whether --with-xfixes was given.
4243 if test "${with_xfixes+set}" = set; then :
4244 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4248 # Check whether --with-xinerama was given.
4249 if test "${with_xinerama+set}" = set; then :
4250 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4254 # Check whether --with-xinput was given.
4255 if test "${with_xinput+set}" = set; then :
4256 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4260 # Check whether --with-xinput2 was given.
4261 if test "${with_xinput2+set}" = set; then :
4262 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4266 # Check whether --with-xml was given.
4267 if test "${with_xml+set}" = set; then :
4268 withval=$with_xml;
4272 # Check whether --with-xrandr was given.
4273 if test "${with_xrandr+set}" = set; then :
4274 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4278 # Check whether --with-xrender was given.
4279 if test "${with_xrender+set}" = set; then :
4280 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4284 # Check whether --with-xshape was given.
4285 if test "${with_xshape+set}" = set; then :
4286 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4290 # Check whether --with-xshm was given.
4291 if test "${with_xshm+set}" = set; then :
4292 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4296 # Check whether --with-xslt was given.
4297 if test "${with_xslt+set}" = set; then :
4298 withval=$with_xslt;
4302 # Check whether --with-xxf86vm was given.
4303 if test "${with_xxf86vm+set}" = set; then :
4304 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
4309 # Check whether --with-wine-tools was given.
4310 if test "${with_wine_tools+set}" = set; then :
4311 withval=$with_wine_tools;
4315 # Check whether --with-wine64 was given.
4316 if test "${with_wine64+set}" = set; then :
4317 withval=$with_wine64;
4321 # Make sure we can run config.sub.
4322 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4323 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4326 $as_echo_n "checking build system type... " >&6; }
4327 if ${ac_cv_build+:} false; then :
4328 $as_echo_n "(cached) " >&6
4329 else
4330 ac_build_alias=$build_alias
4331 test "x$ac_build_alias" = x &&
4332 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4333 test "x$ac_build_alias" = x &&
4334 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4335 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4336 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4340 $as_echo "$ac_cv_build" >&6; }
4341 case $ac_cv_build in
4342 *-*-*) ;;
4343 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4344 esac
4345 build=$ac_cv_build
4346 ac_save_IFS=$IFS; IFS='-'
4347 set x $ac_cv_build
4348 shift
4349 build_cpu=$1
4350 build_vendor=$2
4351 shift; shift
4352 # Remember, the first character of IFS is used to create $*,
4353 # except with old shells:
4354 build_os=$*
4355 IFS=$ac_save_IFS
4356 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4360 $as_echo_n "checking host system type... " >&6; }
4361 if ${ac_cv_host+:} false; then :
4362 $as_echo_n "(cached) " >&6
4363 else
4364 if test "x$host_alias" = x; then
4365 ac_cv_host=$ac_cv_build
4366 else
4367 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4368 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4373 $as_echo "$ac_cv_host" >&6; }
4374 case $ac_cv_host in
4375 *-*-*) ;;
4376 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4377 esac
4378 host=$ac_cv_host
4379 ac_save_IFS=$IFS; IFS='-'
4380 set x $ac_cv_host
4381 shift
4382 host_cpu=$1
4383 host_vendor=$2
4384 shift; shift
4385 # Remember, the first character of IFS is used to create $*,
4386 # except with old shells:
4387 host_os=$*
4388 IFS=$ac_save_IFS
4389 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4395 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4396 set x ${MAKE-make}
4397 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4398 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4399 $as_echo_n "(cached) " >&6
4400 else
4401 cat >conftest.make <<\_ACEOF
4402 SHELL = /bin/sh
4403 all:
4404 @echo '@@@%%%=$(MAKE)=@@@%%%'
4405 _ACEOF
4406 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4407 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4408 *@@@%%%=?*=@@@%%%*)
4409 eval ac_cv_prog_make_${ac_make}_set=yes;;
4411 eval ac_cv_prog_make_${ac_make}_set=no;;
4412 esac
4413 rm -f conftest.make
4415 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4417 $as_echo "yes" >&6; }
4418 SET_MAKE=
4419 else
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4421 $as_echo "no" >&6; }
4422 SET_MAKE="MAKE=${MAKE-make}"
4425 ac_ext=c
4426 ac_cpp='$CPP $CPPFLAGS'
4427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4430 if test -n "$ac_tool_prefix"; then
4431 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4432 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4434 $as_echo_n "checking for $ac_word... " >&6; }
4435 if ${ac_cv_prog_CC+:} false; then :
4436 $as_echo_n "(cached) " >&6
4437 else
4438 if test -n "$CC"; then
4439 ac_cv_prog_CC="$CC" # Let the user override the test.
4440 else
4441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4442 for as_dir in $PATH
4444 IFS=$as_save_IFS
4445 test -z "$as_dir" && as_dir=.
4446 for ac_exec_ext in '' $ac_executable_extensions; do
4447 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4448 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4450 break 2
4452 done
4453 done
4454 IFS=$as_save_IFS
4458 CC=$ac_cv_prog_CC
4459 if test -n "$CC"; then
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4461 $as_echo "$CC" >&6; }
4462 else
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4464 $as_echo "no" >&6; }
4469 if test -z "$ac_cv_prog_CC"; then
4470 ac_ct_CC=$CC
4471 # Extract the first word of "gcc", so it can be a program name with args.
4472 set dummy gcc; ac_word=$2
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4474 $as_echo_n "checking for $ac_word... " >&6; }
4475 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4476 $as_echo_n "(cached) " >&6
4477 else
4478 if test -n "$ac_ct_CC"; then
4479 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4480 else
4481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4482 for as_dir in $PATH
4484 IFS=$as_save_IFS
4485 test -z "$as_dir" && as_dir=.
4486 for ac_exec_ext in '' $ac_executable_extensions; do
4487 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4488 ac_cv_prog_ac_ct_CC="gcc"
4489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4490 break 2
4492 done
4493 done
4494 IFS=$as_save_IFS
4498 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4499 if test -n "$ac_ct_CC"; then
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4501 $as_echo "$ac_ct_CC" >&6; }
4502 else
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4504 $as_echo "no" >&6; }
4507 if test "x$ac_ct_CC" = x; then
4508 CC=""
4509 else
4510 case $cross_compiling:$ac_tool_warned in
4511 yes:)
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4513 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4514 ac_tool_warned=yes ;;
4515 esac
4516 CC=$ac_ct_CC
4518 else
4519 CC="$ac_cv_prog_CC"
4522 if test -z "$CC"; then
4523 if test -n "$ac_tool_prefix"; then
4524 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4525 set dummy ${ac_tool_prefix}cc; ac_word=$2
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4527 $as_echo_n "checking for $ac_word... " >&6; }
4528 if ${ac_cv_prog_CC+:} false; then :
4529 $as_echo_n "(cached) " >&6
4530 else
4531 if test -n "$CC"; then
4532 ac_cv_prog_CC="$CC" # Let the user override the test.
4533 else
4534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4535 for as_dir in $PATH
4537 IFS=$as_save_IFS
4538 test -z "$as_dir" && as_dir=.
4539 for ac_exec_ext in '' $ac_executable_extensions; do
4540 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4541 ac_cv_prog_CC="${ac_tool_prefix}cc"
4542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4543 break 2
4545 done
4546 done
4547 IFS=$as_save_IFS
4551 CC=$ac_cv_prog_CC
4552 if test -n "$CC"; then
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4554 $as_echo "$CC" >&6; }
4555 else
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4557 $as_echo "no" >&6; }
4563 if test -z "$CC"; then
4564 # Extract the first word of "cc", so it can be a program name with args.
4565 set dummy cc; ac_word=$2
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4567 $as_echo_n "checking for $ac_word... " >&6; }
4568 if ${ac_cv_prog_CC+:} false; then :
4569 $as_echo_n "(cached) " >&6
4570 else
4571 if test -n "$CC"; then
4572 ac_cv_prog_CC="$CC" # Let the user override the test.
4573 else
4574 ac_prog_rejected=no
4575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4576 for as_dir in $PATH
4578 IFS=$as_save_IFS
4579 test -z "$as_dir" && as_dir=.
4580 for ac_exec_ext in '' $ac_executable_extensions; do
4581 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4582 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4583 ac_prog_rejected=yes
4584 continue
4586 ac_cv_prog_CC="cc"
4587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4588 break 2
4590 done
4591 done
4592 IFS=$as_save_IFS
4594 if test $ac_prog_rejected = yes; then
4595 # We found a bogon in the path, so make sure we never use it.
4596 set dummy $ac_cv_prog_CC
4597 shift
4598 if test $# != 0; then
4599 # We chose a different compiler from the bogus one.
4600 # However, it has the same basename, so the bogon will be chosen
4601 # first if we set CC to just the basename; use the full file name.
4602 shift
4603 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4608 CC=$ac_cv_prog_CC
4609 if test -n "$CC"; then
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4611 $as_echo "$CC" >&6; }
4612 else
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4614 $as_echo "no" >&6; }
4619 if test -z "$CC"; then
4620 if test -n "$ac_tool_prefix"; then
4621 for ac_prog in cl.exe
4623 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4624 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4626 $as_echo_n "checking for $ac_word... " >&6; }
4627 if ${ac_cv_prog_CC+:} false; then :
4628 $as_echo_n "(cached) " >&6
4629 else
4630 if test -n "$CC"; then
4631 ac_cv_prog_CC="$CC" # Let the user override the test.
4632 else
4633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4634 for as_dir in $PATH
4636 IFS=$as_save_IFS
4637 test -z "$as_dir" && as_dir=.
4638 for ac_exec_ext in '' $ac_executable_extensions; do
4639 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4640 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4642 break 2
4644 done
4645 done
4646 IFS=$as_save_IFS
4650 CC=$ac_cv_prog_CC
4651 if test -n "$CC"; then
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4653 $as_echo "$CC" >&6; }
4654 else
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4656 $as_echo "no" >&6; }
4660 test -n "$CC" && break
4661 done
4663 if test -z "$CC"; then
4664 ac_ct_CC=$CC
4665 for ac_prog in cl.exe
4667 # Extract the first word of "$ac_prog", so it can be a program name with args.
4668 set dummy $ac_prog; ac_word=$2
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4670 $as_echo_n "checking for $ac_word... " >&6; }
4671 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4672 $as_echo_n "(cached) " >&6
4673 else
4674 if test -n "$ac_ct_CC"; then
4675 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4676 else
4677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4678 for as_dir in $PATH
4680 IFS=$as_save_IFS
4681 test -z "$as_dir" && as_dir=.
4682 for ac_exec_ext in '' $ac_executable_extensions; do
4683 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4684 ac_cv_prog_ac_ct_CC="$ac_prog"
4685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4686 break 2
4688 done
4689 done
4690 IFS=$as_save_IFS
4694 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4695 if test -n "$ac_ct_CC"; then
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4697 $as_echo "$ac_ct_CC" >&6; }
4698 else
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4700 $as_echo "no" >&6; }
4704 test -n "$ac_ct_CC" && break
4705 done
4707 if test "x$ac_ct_CC" = x; then
4708 CC=""
4709 else
4710 case $cross_compiling:$ac_tool_warned in
4711 yes:)
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4713 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4714 ac_tool_warned=yes ;;
4715 esac
4716 CC=$ac_ct_CC
4723 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4724 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4725 as_fn_error $? "no acceptable C compiler found in \$PATH
4726 See \`config.log' for more details" "$LINENO" 5; }
4728 # Provide some information about the compiler.
4729 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4730 set X $ac_compile
4731 ac_compiler=$2
4732 for ac_option in --version -v -V -qversion; do
4733 { { ac_try="$ac_compiler $ac_option >&5"
4734 case "(($ac_try" in
4735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4736 *) ac_try_echo=$ac_try;;
4737 esac
4738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4739 $as_echo "$ac_try_echo"; } >&5
4740 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4741 ac_status=$?
4742 if test -s conftest.err; then
4743 sed '10a\
4744 ... rest of stderr output deleted ...
4745 10q' conftest.err >conftest.er1
4746 cat conftest.er1 >&5
4748 rm -f conftest.er1 conftest.err
4749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4750 test $ac_status = 0; }
4751 done
4753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4754 /* end confdefs.h. */
4757 main ()
4761 return 0;
4763 _ACEOF
4764 ac_clean_files_save=$ac_clean_files
4765 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4766 # Try to create an executable without -o first, disregard a.out.
4767 # It will help us diagnose broken compilers, and finding out an intuition
4768 # of exeext.
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4770 $as_echo_n "checking whether the C compiler works... " >&6; }
4771 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4773 # The possible output files:
4774 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4776 ac_rmfiles=
4777 for ac_file in $ac_files
4779 case $ac_file in
4780 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4781 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4782 esac
4783 done
4784 rm -f $ac_rmfiles
4786 if { { ac_try="$ac_link_default"
4787 case "(($ac_try" in
4788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4789 *) ac_try_echo=$ac_try;;
4790 esac
4791 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4792 $as_echo "$ac_try_echo"; } >&5
4793 (eval "$ac_link_default") 2>&5
4794 ac_status=$?
4795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4796 test $ac_status = 0; }; then :
4797 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4798 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4799 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4800 # so that the user can short-circuit this test for compilers unknown to
4801 # Autoconf.
4802 for ac_file in $ac_files ''
4804 test -f "$ac_file" || continue
4805 case $ac_file in
4806 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4808 [ab].out )
4809 # We found the default executable, but exeext='' is most
4810 # certainly right.
4811 break;;
4812 *.* )
4813 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4814 then :; else
4815 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4817 # We set ac_cv_exeext here because the later test for it is not
4818 # safe: cross compilers may not add the suffix if given an `-o'
4819 # argument, so we may need to know it at that point already.
4820 # Even if this section looks crufty: it has the advantage of
4821 # actually working.
4822 break;;
4824 break;;
4825 esac
4826 done
4827 test "$ac_cv_exeext" = no && ac_cv_exeext=
4829 else
4830 ac_file=''
4832 if test -z "$ac_file"; then :
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4834 $as_echo "no" >&6; }
4835 $as_echo "$as_me: failed program was:" >&5
4836 sed 's/^/| /' conftest.$ac_ext >&5
4838 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4839 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4840 as_fn_error 77 "C compiler cannot create executables
4841 See \`config.log' for more details" "$LINENO" 5; }
4842 else
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4844 $as_echo "yes" >&6; }
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4847 $as_echo_n "checking for C compiler default output file name... " >&6; }
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4849 $as_echo "$ac_file" >&6; }
4850 ac_exeext=$ac_cv_exeext
4852 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4853 ac_clean_files=$ac_clean_files_save
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4855 $as_echo_n "checking for suffix of executables... " >&6; }
4856 if { { ac_try="$ac_link"
4857 case "(($ac_try" in
4858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4859 *) ac_try_echo=$ac_try;;
4860 esac
4861 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4862 $as_echo "$ac_try_echo"; } >&5
4863 (eval "$ac_link") 2>&5
4864 ac_status=$?
4865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4866 test $ac_status = 0; }; then :
4867 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4868 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4869 # work properly (i.e., refer to `conftest.exe'), while it won't with
4870 # `rm'.
4871 for ac_file in conftest.exe conftest conftest.*; do
4872 test -f "$ac_file" || continue
4873 case $ac_file in
4874 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4875 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4876 break;;
4877 * ) break;;
4878 esac
4879 done
4880 else
4881 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4882 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4883 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4884 See \`config.log' for more details" "$LINENO" 5; }
4886 rm -f conftest conftest$ac_cv_exeext
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4888 $as_echo "$ac_cv_exeext" >&6; }
4890 rm -f conftest.$ac_ext
4891 EXEEXT=$ac_cv_exeext
4892 ac_exeext=$EXEEXT
4893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4894 /* end confdefs.h. */
4895 #include <stdio.h>
4897 main ()
4899 FILE *f = fopen ("conftest.out", "w");
4900 return ferror (f) || fclose (f) != 0;
4903 return 0;
4905 _ACEOF
4906 ac_clean_files="$ac_clean_files conftest.out"
4907 # Check that the compiler produces executables we can run. If not, either
4908 # the compiler is broken, or we cross compile.
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4910 $as_echo_n "checking whether we are cross compiling... " >&6; }
4911 if test "$cross_compiling" != yes; then
4912 { { ac_try="$ac_link"
4913 case "(($ac_try" in
4914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4915 *) ac_try_echo=$ac_try;;
4916 esac
4917 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4918 $as_echo "$ac_try_echo"; } >&5
4919 (eval "$ac_link") 2>&5
4920 ac_status=$?
4921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4922 test $ac_status = 0; }
4923 if { ac_try='./conftest$ac_cv_exeext'
4924 { { case "(($ac_try" in
4925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4926 *) ac_try_echo=$ac_try;;
4927 esac
4928 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4929 $as_echo "$ac_try_echo"; } >&5
4930 (eval "$ac_try") 2>&5
4931 ac_status=$?
4932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4933 test $ac_status = 0; }; }; then
4934 cross_compiling=no
4935 else
4936 if test "$cross_compiling" = maybe; then
4937 cross_compiling=yes
4938 else
4939 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4940 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4941 as_fn_error $? "cannot run C compiled programs.
4942 If you meant to cross compile, use \`--host'.
4943 See \`config.log' for more details" "$LINENO" 5; }
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4948 $as_echo "$cross_compiling" >&6; }
4950 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4951 ac_clean_files=$ac_clean_files_save
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4953 $as_echo_n "checking for suffix of object files... " >&6; }
4954 if ${ac_cv_objext+:} false; then :
4955 $as_echo_n "(cached) " >&6
4956 else
4957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4958 /* end confdefs.h. */
4961 main ()
4965 return 0;
4967 _ACEOF
4968 rm -f conftest.o conftest.obj
4969 if { { ac_try="$ac_compile"
4970 case "(($ac_try" in
4971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4972 *) ac_try_echo=$ac_try;;
4973 esac
4974 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4975 $as_echo "$ac_try_echo"; } >&5
4976 (eval "$ac_compile") 2>&5
4977 ac_status=$?
4978 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4979 test $ac_status = 0; }; then :
4980 for ac_file in conftest.o conftest.obj conftest.*; do
4981 test -f "$ac_file" || continue;
4982 case $ac_file in
4983 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4984 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4985 break;;
4986 esac
4987 done
4988 else
4989 $as_echo "$as_me: failed program was:" >&5
4990 sed 's/^/| /' conftest.$ac_ext >&5
4992 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4993 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4994 as_fn_error $? "cannot compute suffix of object files: cannot compile
4995 See \`config.log' for more details" "$LINENO" 5; }
4997 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5000 $as_echo "$ac_cv_objext" >&6; }
5001 OBJEXT=$ac_cv_objext
5002 ac_objext=$OBJEXT
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5004 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5005 if ${ac_cv_c_compiler_gnu+:} false; then :
5006 $as_echo_n "(cached) " >&6
5007 else
5008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5009 /* end confdefs.h. */
5012 main ()
5014 #ifndef __GNUC__
5015 choke me
5016 #endif
5019 return 0;
5021 _ACEOF
5022 if ac_fn_c_try_compile "$LINENO"; then :
5023 ac_compiler_gnu=yes
5024 else
5025 ac_compiler_gnu=no
5027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5028 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5032 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5033 if test $ac_compiler_gnu = yes; then
5034 GCC=yes
5035 else
5036 GCC=
5038 ac_test_CFLAGS=${CFLAGS+set}
5039 ac_save_CFLAGS=$CFLAGS
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5041 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5042 if ${ac_cv_prog_cc_g+:} false; then :
5043 $as_echo_n "(cached) " >&6
5044 else
5045 ac_save_c_werror_flag=$ac_c_werror_flag
5046 ac_c_werror_flag=yes
5047 ac_cv_prog_cc_g=no
5048 CFLAGS="-g"
5049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5050 /* end confdefs.h. */
5053 main ()
5057 return 0;
5059 _ACEOF
5060 if ac_fn_c_try_compile "$LINENO"; then :
5061 ac_cv_prog_cc_g=yes
5062 else
5063 CFLAGS=""
5064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5065 /* end confdefs.h. */
5068 main ()
5072 return 0;
5074 _ACEOF
5075 if ac_fn_c_try_compile "$LINENO"; then :
5077 else
5078 ac_c_werror_flag=$ac_save_c_werror_flag
5079 CFLAGS="-g"
5080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5081 /* end confdefs.h. */
5084 main ()
5088 return 0;
5090 _ACEOF
5091 if ac_fn_c_try_compile "$LINENO"; then :
5092 ac_cv_prog_cc_g=yes
5094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5099 ac_c_werror_flag=$ac_save_c_werror_flag
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5102 $as_echo "$ac_cv_prog_cc_g" >&6; }
5103 if test "$ac_test_CFLAGS" = set; then
5104 CFLAGS=$ac_save_CFLAGS
5105 elif test $ac_cv_prog_cc_g = yes; then
5106 if test "$GCC" = yes; then
5107 CFLAGS="-g -O2"
5108 else
5109 CFLAGS="-g"
5111 else
5112 if test "$GCC" = yes; then
5113 CFLAGS="-O2"
5114 else
5115 CFLAGS=
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5119 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5120 if ${ac_cv_prog_cc_c89+:} false; then :
5121 $as_echo_n "(cached) " >&6
5122 else
5123 ac_cv_prog_cc_c89=no
5124 ac_save_CC=$CC
5125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5126 /* end confdefs.h. */
5127 #include <stdarg.h>
5128 #include <stdio.h>
5129 struct stat;
5130 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5131 struct buf { int x; };
5132 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5133 static char *e (p, i)
5134 char **p;
5135 int i;
5137 return p[i];
5139 static char *f (char * (*g) (char **, int), char **p, ...)
5141 char *s;
5142 va_list v;
5143 va_start (v,p);
5144 s = g (p, va_arg (v,int));
5145 va_end (v);
5146 return s;
5149 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5150 function prototypes and stuff, but not '\xHH' hex character constants.
5151 These don't provoke an error unfortunately, instead are silently treated
5152 as 'x'. The following induces an error, until -std is added to get
5153 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5154 array size at least. It's necessary to write '\x00'==0 to get something
5155 that's true only with -std. */
5156 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5158 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5159 inside strings and character constants. */
5160 #define FOO(x) 'x'
5161 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5163 int test (int i, double x);
5164 struct s1 {int (*f) (int a);};
5165 struct s2 {int (*f) (double a);};
5166 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5167 int argc;
5168 char **argv;
5170 main ()
5172 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5174 return 0;
5176 _ACEOF
5177 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5178 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5180 CC="$ac_save_CC $ac_arg"
5181 if ac_fn_c_try_compile "$LINENO"; then :
5182 ac_cv_prog_cc_c89=$ac_arg
5184 rm -f core conftest.err conftest.$ac_objext
5185 test "x$ac_cv_prog_cc_c89" != "xno" && break
5186 done
5187 rm -f conftest.$ac_ext
5188 CC=$ac_save_CC
5191 # AC_CACHE_VAL
5192 case "x$ac_cv_prog_cc_c89" in
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5195 $as_echo "none needed" >&6; } ;;
5196 xno)
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5198 $as_echo "unsupported" >&6; } ;;
5200 CC="$CC $ac_cv_prog_cc_c89"
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5202 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5203 esac
5204 if test "x$ac_cv_prog_cc_c89" != xno; then :
5208 ac_ext=c
5209 ac_cpp='$CPP $CPPFLAGS'
5210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5214 ac_ext=cpp
5215 ac_cpp='$CXXCPP $CPPFLAGS'
5216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5219 if test -z "$CXX"; then
5220 if test -n "$CCC"; then
5221 CXX=$CCC
5222 else
5223 if test -n "$ac_tool_prefix"; then
5224 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5226 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5227 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5229 $as_echo_n "checking for $ac_word... " >&6; }
5230 if ${ac_cv_prog_CXX+:} false; then :
5231 $as_echo_n "(cached) " >&6
5232 else
5233 if test -n "$CXX"; then
5234 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5235 else
5236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5237 for as_dir in $PATH
5239 IFS=$as_save_IFS
5240 test -z "$as_dir" && as_dir=.
5241 for ac_exec_ext in '' $ac_executable_extensions; do
5242 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5243 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5245 break 2
5247 done
5248 done
5249 IFS=$as_save_IFS
5253 CXX=$ac_cv_prog_CXX
5254 if test -n "$CXX"; then
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5256 $as_echo "$CXX" >&6; }
5257 else
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5259 $as_echo "no" >&6; }
5263 test -n "$CXX" && break
5264 done
5266 if test -z "$CXX"; then
5267 ac_ct_CXX=$CXX
5268 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5270 # Extract the first word of "$ac_prog", so it can be a program name with args.
5271 set dummy $ac_prog; ac_word=$2
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5273 $as_echo_n "checking for $ac_word... " >&6; }
5274 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5275 $as_echo_n "(cached) " >&6
5276 else
5277 if test -n "$ac_ct_CXX"; then
5278 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5279 else
5280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5281 for as_dir in $PATH
5283 IFS=$as_save_IFS
5284 test -z "$as_dir" && as_dir=.
5285 for ac_exec_ext in '' $ac_executable_extensions; do
5286 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5287 ac_cv_prog_ac_ct_CXX="$ac_prog"
5288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5289 break 2
5291 done
5292 done
5293 IFS=$as_save_IFS
5297 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5298 if test -n "$ac_ct_CXX"; then
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5300 $as_echo "$ac_ct_CXX" >&6; }
5301 else
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5303 $as_echo "no" >&6; }
5307 test -n "$ac_ct_CXX" && break
5308 done
5310 if test "x$ac_ct_CXX" = x; then
5311 CXX="g++"
5312 else
5313 case $cross_compiling:$ac_tool_warned in
5314 yes:)
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5316 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5317 ac_tool_warned=yes ;;
5318 esac
5319 CXX=$ac_ct_CXX
5325 # Provide some information about the compiler.
5326 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5327 set X $ac_compile
5328 ac_compiler=$2
5329 for ac_option in --version -v -V -qversion; do
5330 { { ac_try="$ac_compiler $ac_option >&5"
5331 case "(($ac_try" in
5332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5333 *) ac_try_echo=$ac_try;;
5334 esac
5335 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5336 $as_echo "$ac_try_echo"; } >&5
5337 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5338 ac_status=$?
5339 if test -s conftest.err; then
5340 sed '10a\
5341 ... rest of stderr output deleted ...
5342 10q' conftest.err >conftest.er1
5343 cat conftest.er1 >&5
5345 rm -f conftest.er1 conftest.err
5346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5347 test $ac_status = 0; }
5348 done
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5351 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5352 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5353 $as_echo_n "(cached) " >&6
5354 else
5355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5356 /* end confdefs.h. */
5359 main ()
5361 #ifndef __GNUC__
5362 choke me
5363 #endif
5366 return 0;
5368 _ACEOF
5369 if ac_fn_cxx_try_compile "$LINENO"; then :
5370 ac_compiler_gnu=yes
5371 else
5372 ac_compiler_gnu=no
5374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5375 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5379 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5380 if test $ac_compiler_gnu = yes; then
5381 GXX=yes
5382 else
5383 GXX=
5385 ac_test_CXXFLAGS=${CXXFLAGS+set}
5386 ac_save_CXXFLAGS=$CXXFLAGS
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5388 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5389 if ${ac_cv_prog_cxx_g+:} false; then :
5390 $as_echo_n "(cached) " >&6
5391 else
5392 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5393 ac_cxx_werror_flag=yes
5394 ac_cv_prog_cxx_g=no
5395 CXXFLAGS="-g"
5396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5397 /* end confdefs.h. */
5400 main ()
5404 return 0;
5406 _ACEOF
5407 if ac_fn_cxx_try_compile "$LINENO"; then :
5408 ac_cv_prog_cxx_g=yes
5409 else
5410 CXXFLAGS=""
5411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5412 /* end confdefs.h. */
5415 main ()
5419 return 0;
5421 _ACEOF
5422 if ac_fn_cxx_try_compile "$LINENO"; then :
5424 else
5425 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5426 CXXFLAGS="-g"
5427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5428 /* end confdefs.h. */
5431 main ()
5435 return 0;
5437 _ACEOF
5438 if ac_fn_cxx_try_compile "$LINENO"; then :
5439 ac_cv_prog_cxx_g=yes
5441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5446 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5449 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5450 if test "$ac_test_CXXFLAGS" = set; then
5451 CXXFLAGS=$ac_save_CXXFLAGS
5452 elif test $ac_cv_prog_cxx_g = yes; then
5453 if test "$GXX" = yes; then
5454 CXXFLAGS="-g -O2"
5455 else
5456 CXXFLAGS="-g"
5458 else
5459 if test "$GXX" = yes; then
5460 CXXFLAGS="-O2"
5461 else
5462 CXXFLAGS=
5465 ac_ext=c
5466 ac_cpp='$CPP $CPPFLAGS'
5467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5471 if test -n "$ac_tool_prefix"; then
5472 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5473 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5475 $as_echo_n "checking for $ac_word... " >&6; }
5476 if ${ac_cv_prog_CPPBIN+:} false; then :
5477 $as_echo_n "(cached) " >&6
5478 else
5479 if test -n "$CPPBIN"; then
5480 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5481 else
5482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5483 for as_dir in $PATH
5485 IFS=$as_save_IFS
5486 test -z "$as_dir" && as_dir=.
5487 for ac_exec_ext in '' $ac_executable_extensions; do
5488 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5489 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5491 break 2
5493 done
5494 done
5495 IFS=$as_save_IFS
5499 CPPBIN=$ac_cv_prog_CPPBIN
5500 if test -n "$CPPBIN"; then
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5502 $as_echo "$CPPBIN" >&6; }
5503 else
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5505 $as_echo "no" >&6; }
5510 if test -z "$ac_cv_prog_CPPBIN"; then
5511 ac_ct_CPPBIN=$CPPBIN
5512 # Extract the first word of "cpp", so it can be a program name with args.
5513 set dummy cpp; ac_word=$2
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5515 $as_echo_n "checking for $ac_word... " >&6; }
5516 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5517 $as_echo_n "(cached) " >&6
5518 else
5519 if test -n "$ac_ct_CPPBIN"; then
5520 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5521 else
5522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5523 for as_dir in $PATH
5525 IFS=$as_save_IFS
5526 test -z "$as_dir" && as_dir=.
5527 for ac_exec_ext in '' $ac_executable_extensions; do
5528 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5529 ac_cv_prog_ac_ct_CPPBIN="cpp"
5530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5531 break 2
5533 done
5534 done
5535 IFS=$as_save_IFS
5539 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5540 if test -n "$ac_ct_CPPBIN"; then
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5542 $as_echo "$ac_ct_CPPBIN" >&6; }
5543 else
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5545 $as_echo "no" >&6; }
5548 if test "x$ac_ct_CPPBIN" = x; then
5549 CPPBIN="cpp"
5550 else
5551 case $cross_compiling:$ac_tool_warned in
5552 yes:)
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5554 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5555 ac_tool_warned=yes ;;
5556 esac
5557 CPPBIN=$ac_ct_CPPBIN
5559 else
5560 CPPBIN="$ac_cv_prog_CPPBIN"
5564 cat >>confdefs.h <<_ACEOF
5565 #define EXEEXT "$ac_exeext"
5566 _ACEOF
5568 if test -n "$ac_tool_prefix"; then
5569 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5570 set dummy ${ac_tool_prefix}ld; ac_word=$2
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5572 $as_echo_n "checking for $ac_word... " >&6; }
5573 if ${ac_cv_prog_LD+:} false; then :
5574 $as_echo_n "(cached) " >&6
5575 else
5576 if test -n "$LD"; then
5577 ac_cv_prog_LD="$LD" # Let the user override the test.
5578 else
5579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5580 for as_dir in $PATH
5582 IFS=$as_save_IFS
5583 test -z "$as_dir" && as_dir=.
5584 for ac_exec_ext in '' $ac_executable_extensions; do
5585 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5586 ac_cv_prog_LD="${ac_tool_prefix}ld"
5587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5588 break 2
5590 done
5591 done
5592 IFS=$as_save_IFS
5596 LD=$ac_cv_prog_LD
5597 if test -n "$LD"; then
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5599 $as_echo "$LD" >&6; }
5600 else
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5602 $as_echo "no" >&6; }
5607 if test -z "$ac_cv_prog_LD"; then
5608 ac_ct_LD=$LD
5609 # Extract the first word of "ld", so it can be a program name with args.
5610 set dummy ld; ac_word=$2
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5612 $as_echo_n "checking for $ac_word... " >&6; }
5613 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5614 $as_echo_n "(cached) " >&6
5615 else
5616 if test -n "$ac_ct_LD"; then
5617 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5618 else
5619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5620 for as_dir in $PATH
5622 IFS=$as_save_IFS
5623 test -z "$as_dir" && as_dir=.
5624 for ac_exec_ext in '' $ac_executable_extensions; do
5625 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5626 ac_cv_prog_ac_ct_LD="ld"
5627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5628 break 2
5630 done
5631 done
5632 IFS=$as_save_IFS
5636 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5637 if test -n "$ac_ct_LD"; then
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5639 $as_echo "$ac_ct_LD" >&6; }
5640 else
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5642 $as_echo "no" >&6; }
5645 if test "x$ac_ct_LD" = x; then
5646 LD=""
5647 else
5648 case $cross_compiling:$ac_tool_warned in
5649 yes:)
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5651 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5652 ac_tool_warned=yes ;;
5653 esac
5654 LD=$ac_ct_LD
5656 else
5657 LD="$ac_cv_prog_LD"
5661 case $host in
5662 *-darwin*)
5663 with_fontconfig=${with_fontconfig:-no}
5665 *-mingw32*|*-cygwin*)
5666 enable_win16=${enable_win16:-no}
5667 with_mingw=${with_mingw:-no}
5668 CFLAGS="$CFLAGS -D_WIN32"
5670 esac
5673 case $host in
5674 x86_64*|amd64*)
5675 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5676 then
5677 CC="$CC -m32"
5678 CXX="$CXX -m32"
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5681 $as_echo_n "checking whether $CC works... " >&6; }
5682 if ${wine_cv_cc_m32+:} false; then :
5683 $as_echo_n "(cached) " >&6
5684 else
5685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5686 /* end confdefs.h. */
5689 main ()
5693 return 0;
5695 _ACEOF
5696 if ac_fn_c_try_link "$LINENO"; then :
5697 wine_cv_cc_m32=yes
5698 else
5699 wine_cv_cc_m32=no
5701 rm -f core conftest.err conftest.$ac_objext \
5702 conftest$ac_exeext conftest.$ac_ext
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5705 $as_echo "$wine_cv_cc_m32" >&6; }
5706 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
5707 host_cpu="i386"
5708 notice_platform="32-bit "
5709 TARGETFLAGS="$TARGETFLAGS -m32"
5710 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5711 export PKG_CONFIG_PATH
5712 enable_win16=${enable_win16:-yes}
5713 with_unwind=${with_unwind:-no}
5714 else
5715 if test "x${GCC}" = "xyes"
5716 then
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5718 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5719 if ${wine_cv_builtin_ms_va_list+:} false; then :
5720 $as_echo_n "(cached) " >&6
5721 else
5722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5723 /* end confdefs.h. */
5724 #include <stdarg.h>
5726 main ()
5728 void func(__builtin_ms_va_list *args);
5730 return 0;
5732 _ACEOF
5733 if ac_fn_c_try_compile "$LINENO"; then :
5734 wine_cv_builtin_ms_va_list=yes
5735 else
5736 wine_cv_builtin_ms_va_list=no
5738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5741 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5742 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
5744 CC="$CC -m64"
5745 CXX="$CXX -m64"
5746 host_cpu="x86_64"
5747 notice_platform="64-bit "
5748 TARGETFLAGS="$TARGETFLAGS -m64"
5749 enable_wow64cpu=${enable_wow64cpu:-yes}
5752 arm*)
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
5754 $as_echo_n "checking whether $CC supports Thumb-2... " >&6; }
5755 if ${wine_cv_thumb2+:} false; then :
5756 $as_echo_n "(cached) " >&6
5757 else
5758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5759 /* end confdefs.h. */
5762 main ()
5764 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
5766 return 0;
5768 _ACEOF
5769 if ac_fn_c_try_link "$LINENO"; then :
5770 wine_cv_thumb2=yes
5771 else
5772 wine_cv_thumb2=no
5774 rm -f core conftest.err conftest.$ac_objext \
5775 conftest$ac_exeext conftest.$ac_ext
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
5778 $as_echo "$wine_cv_thumb2" >&6; }
5779 if test x"$wine_cv_thumb2" = xyes
5780 then
5781 CFLAGS="$CFLAGS -mthumb"
5782 TARGETFLAGS="$TARGETFLAGS -mthumb"
5783 else
5784 CFLAGS="$CFLAGS -marm"
5785 TARGETFLAGS="$TARGETFLAGS -marm"
5787 case $with_float_abi in
5788 soft|softfp|hard)
5789 float_abi=$with_float_abi ;;
5791 case $host_os in
5792 *eabihf)
5793 float_abi=hard ;;
5795 float_abi=softfp
5796 saved_CFLAGS=$CFLAGS
5797 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5799 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5800 if ${wine_cv_float_abi+:} false; then :
5801 $as_echo_n "(cached) " >&6
5802 else
5803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5804 /* end confdefs.h. */
5807 main ()
5809 asm("vmrs r2,fpscr");
5811 return 0;
5813 _ACEOF
5814 if ac_fn_c_try_link "$LINENO"; then :
5815 wine_cv_float_abi=yes
5816 else
5817 wine_cv_float_abi=no
5819 rm -f core conftest.err conftest.$ac_objext \
5820 conftest$ac_exeext conftest.$ac_ext
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5823 $as_echo "$wine_cv_float_abi" >&6; }
5824 if test $wine_cv_float_abi = no
5825 then
5826 float_abi=soft
5827 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5829 CFLAGS=$saved_CFLAGS
5830 esac
5832 esac
5833 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5834 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
5836 aarch64*)
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5838 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5839 if ${wine_cv_builtin_ms_va_list+:} false; then :
5840 $as_echo_n "(cached) " >&6
5841 else
5842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5843 /* end confdefs.h. */
5844 #include <stdarg.h>
5846 main ()
5848 void func(__builtin_ms_va_list *args);
5850 return 0;
5852 _ACEOF
5853 if ac_fn_c_try_compile "$LINENO"; then :
5854 wine_cv_builtin_ms_va_list=yes
5855 else
5856 wine_cv_builtin_ms_va_list=no
5858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5861 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5862 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5864 i[3456789]86*)
5865 enable_win16=${enable_win16:-yes}
5866 with_unwind=${with_unwind:-no}
5868 esac
5870 enable_win16=${enable_win16:-no}
5871 enable_win64=${enable_win64:-no}
5872 enable_wow64cpu=${enable_wow64cpu:-no}
5874 enable_winetest=${enable_winetest:-$enable_tests}
5876 if test "x$enable_win64" = "xyes"
5877 then
5878 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5879 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5882 case $host_cpu in
5883 *i[3456789]86*) ARCH="i386"
5885 *x86_64*) ARCH="x86_64"
5887 *aarch64*) ARCH="aarch64"
5889 *arm*) ARCH="arm"
5891 *) ARCH=""
5893 esac
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5896 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5897 if ${wine_cv_toolsdir+:} false; then :
5898 $as_echo_n "(cached) " >&6
5899 else
5900 wine_cv_toolsdir="$with_wine_tools"
5901 if test -z "$with_wine_tools"; then
5902 if test "$cross_compiling" = "yes"; then
5903 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5904 elif test -n "$with_wine64"; then
5905 wine_cv_toolsdir="$with_wine64"
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5910 $as_echo "$wine_cv_toolsdir" >&6; }
5911 if test -z "$wine_cv_toolsdir"; then
5912 wine_makedep=tools/makedep
5913 TOOLSDIR="."
5915 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5916 wine_makedep=$wine_cv_toolsdir/tools/makedep
5917 TOOLSDIR=$wine_cv_toolsdir
5919 enable_tools=${enable_tools:-no}
5920 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5921 else
5922 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5924 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5925 then
5926 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5929 for ac_prog in flex
5931 # Extract the first word of "$ac_prog", so it can be a program name with args.
5932 set dummy $ac_prog; ac_word=$2
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5934 $as_echo_n "checking for $ac_word... " >&6; }
5935 if ${ac_cv_prog_FLEX+:} false; then :
5936 $as_echo_n "(cached) " >&6
5937 else
5938 if test -n "$FLEX"; then
5939 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5940 else
5941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5942 for as_dir in $PATH
5944 IFS=$as_save_IFS
5945 test -z "$as_dir" && as_dir=.
5946 for ac_exec_ext in '' $ac_executable_extensions; do
5947 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5948 ac_cv_prog_FLEX="$ac_prog"
5949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5950 break 2
5952 done
5953 done
5954 IFS=$as_save_IFS
5958 FLEX=$ac_cv_prog_FLEX
5959 if test -n "$FLEX"; then
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5961 $as_echo "$FLEX" >&6; }
5962 else
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5964 $as_echo "no" >&6; }
5968 test -n "$FLEX" && break
5969 done
5970 test -n "$FLEX" || FLEX="none"
5972 if test "$FLEX" = "none"
5973 then
5974 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5977 $as_echo_n "checking whether flex is recent enough... " >&6; }
5978 if ${wine_cv_recent_flex+:} false; then :
5979 $as_echo_n "(cached) " >&6
5980 else
5981 cat >conftest.l <<EOF
5982 %top{
5983 #include "prediluvian.h"
5987 if $FLEX -t conftest.l >/dev/null 2>&5
5988 then
5989 wine_cv_recent_flex=yes
5990 else
5991 wine_cv_recent_flex=no
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5995 $as_echo "$wine_cv_recent_flex" >&6; }
5996 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
5998 for ac_prog in bison
6000 # Extract the first word of "$ac_prog", so it can be a program name with args.
6001 set dummy $ac_prog; ac_word=$2
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6003 $as_echo_n "checking for $ac_word... " >&6; }
6004 if ${ac_cv_prog_BISON+:} false; then :
6005 $as_echo_n "(cached) " >&6
6006 else
6007 if test -n "$BISON"; then
6008 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6009 else
6010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6011 for as_dir in $PATH
6013 IFS=$as_save_IFS
6014 test -z "$as_dir" && as_dir=.
6015 for ac_exec_ext in '' $ac_executable_extensions; do
6016 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6017 ac_cv_prog_BISON="$ac_prog"
6018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6019 break 2
6021 done
6022 done
6023 IFS=$as_save_IFS
6027 BISON=$ac_cv_prog_BISON
6028 if test -n "$BISON"; then
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6030 $as_echo "$BISON" >&6; }
6031 else
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6033 $as_echo "no" >&6; }
6037 test -n "$BISON" && break
6038 done
6039 test -n "$BISON" || BISON="none"
6041 if test "$BISON" = "none"
6042 then
6043 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6046 $as_echo_n "checking whether bison is recent enough... " >&6; }
6047 if ${wine_cv_recent_bison+:} false; then :
6048 $as_echo_n "(cached) " >&6
6049 else
6050 cat >conftest.y <<EOF
6051 %define parse.error verbose
6053 empty: ;
6055 if $BISON conftest.y >/dev/null 2>&5
6056 then
6057 wine_cv_recent_bison=yes
6058 else
6059 wine_cv_recent_bison=no
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6063 $as_echo "$wine_cv_recent_bison" >&6; }
6064 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
6066 if test -n "$ac_tool_prefix"; then
6067 for ac_prog in ar gar
6069 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6070 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6072 $as_echo_n "checking for $ac_word... " >&6; }
6073 if ${ac_cv_prog_AR+:} false; then :
6074 $as_echo_n "(cached) " >&6
6075 else
6076 if test -n "$AR"; then
6077 ac_cv_prog_AR="$AR" # Let the user override the test.
6078 else
6079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6080 for as_dir in $PATH
6082 IFS=$as_save_IFS
6083 test -z "$as_dir" && as_dir=.
6084 for ac_exec_ext in '' $ac_executable_extensions; do
6085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6086 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6088 break 2
6090 done
6091 done
6092 IFS=$as_save_IFS
6096 AR=$ac_cv_prog_AR
6097 if test -n "$AR"; then
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6099 $as_echo "$AR" >&6; }
6100 else
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6102 $as_echo "no" >&6; }
6106 test -n "$AR" && break
6107 done
6109 if test -z "$AR"; then
6110 ac_ct_AR=$AR
6111 for ac_prog in ar gar
6113 # Extract the first word of "$ac_prog", so it can be a program name with args.
6114 set dummy $ac_prog; ac_word=$2
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6116 $as_echo_n "checking for $ac_word... " >&6; }
6117 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6118 $as_echo_n "(cached) " >&6
6119 else
6120 if test -n "$ac_ct_AR"; then
6121 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6122 else
6123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6124 for as_dir in $PATH
6126 IFS=$as_save_IFS
6127 test -z "$as_dir" && as_dir=.
6128 for ac_exec_ext in '' $ac_executable_extensions; do
6129 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6130 ac_cv_prog_ac_ct_AR="$ac_prog"
6131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6132 break 2
6134 done
6135 done
6136 IFS=$as_save_IFS
6140 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6141 if test -n "$ac_ct_AR"; then
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6143 $as_echo "$ac_ct_AR" >&6; }
6144 else
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6146 $as_echo "no" >&6; }
6150 test -n "$ac_ct_AR" && break
6151 done
6153 if test "x$ac_ct_AR" = x; then
6154 AR="ar"
6155 else
6156 case $cross_compiling:$ac_tool_warned in
6157 yes:)
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6159 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6160 ac_tool_warned=yes ;;
6161 esac
6162 AR=$ac_ct_AR
6166 if test -n "$ac_tool_prefix"; then
6167 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6168 set dummy ${ac_tool_prefix}strip; ac_word=$2
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6170 $as_echo_n "checking for $ac_word... " >&6; }
6171 if ${ac_cv_prog_STRIP+:} false; then :
6172 $as_echo_n "(cached) " >&6
6173 else
6174 if test -n "$STRIP"; then
6175 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6176 else
6177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6178 for as_dir in $PATH
6180 IFS=$as_save_IFS
6181 test -z "$as_dir" && as_dir=.
6182 for ac_exec_ext in '' $ac_executable_extensions; do
6183 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6184 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6186 break 2
6188 done
6189 done
6190 IFS=$as_save_IFS
6194 STRIP=$ac_cv_prog_STRIP
6195 if test -n "$STRIP"; then
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6197 $as_echo "$STRIP" >&6; }
6198 else
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6200 $as_echo "no" >&6; }
6205 if test -z "$ac_cv_prog_STRIP"; then
6206 ac_ct_STRIP=$STRIP
6207 # Extract the first word of "strip", so it can be a program name with args.
6208 set dummy strip; ac_word=$2
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6210 $as_echo_n "checking for $ac_word... " >&6; }
6211 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6212 $as_echo_n "(cached) " >&6
6213 else
6214 if test -n "$ac_ct_STRIP"; then
6215 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6216 else
6217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6218 for as_dir in $PATH
6220 IFS=$as_save_IFS
6221 test -z "$as_dir" && as_dir=.
6222 for ac_exec_ext in '' $ac_executable_extensions; do
6223 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6224 ac_cv_prog_ac_ct_STRIP="strip"
6225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6226 break 2
6228 done
6229 done
6230 IFS=$as_save_IFS
6234 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6235 if test -n "$ac_ct_STRIP"; then
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6237 $as_echo "$ac_ct_STRIP" >&6; }
6238 else
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6240 $as_echo "no" >&6; }
6243 if test "x$ac_ct_STRIP" = x; then
6244 STRIP="strip"
6245 else
6246 case $cross_compiling:$ac_tool_warned in
6247 yes:)
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6249 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6250 ac_tool_warned=yes ;;
6251 esac
6252 STRIP=$ac_ct_STRIP
6254 else
6255 STRIP="$ac_cv_prog_STRIP"
6258 if test -n "$ac_tool_prefix"; then
6259 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6260 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6262 $as_echo_n "checking for $ac_word... " >&6; }
6263 if ${ac_cv_prog_RANLIB+:} false; then :
6264 $as_echo_n "(cached) " >&6
6265 else
6266 if test -n "$RANLIB"; then
6267 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6268 else
6269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6270 for as_dir in $PATH
6272 IFS=$as_save_IFS
6273 test -z "$as_dir" && as_dir=.
6274 for ac_exec_ext in '' $ac_executable_extensions; do
6275 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6276 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6278 break 2
6280 done
6281 done
6282 IFS=$as_save_IFS
6286 RANLIB=$ac_cv_prog_RANLIB
6287 if test -n "$RANLIB"; then
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6289 $as_echo "$RANLIB" >&6; }
6290 else
6291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6292 $as_echo "no" >&6; }
6297 if test -z "$ac_cv_prog_RANLIB"; then
6298 ac_ct_RANLIB=$RANLIB
6299 # Extract the first word of "ranlib", so it can be a program name with args.
6300 set dummy ranlib; ac_word=$2
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6302 $as_echo_n "checking for $ac_word... " >&6; }
6303 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6304 $as_echo_n "(cached) " >&6
6305 else
6306 if test -n "$ac_ct_RANLIB"; then
6307 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6308 else
6309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6310 for as_dir in $PATH
6312 IFS=$as_save_IFS
6313 test -z "$as_dir" && as_dir=.
6314 for ac_exec_ext in '' $ac_executable_extensions; do
6315 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6316 ac_cv_prog_ac_ct_RANLIB="ranlib"
6317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6318 break 2
6320 done
6321 done
6322 IFS=$as_save_IFS
6326 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6327 if test -n "$ac_ct_RANLIB"; then
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6329 $as_echo "$ac_ct_RANLIB" >&6; }
6330 else
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6332 $as_echo "no" >&6; }
6335 if test "x$ac_ct_RANLIB" = x; then
6336 RANLIB=":"
6337 else
6338 case $cross_compiling:$ac_tool_warned in
6339 yes:)
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6341 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6342 ac_tool_warned=yes ;;
6343 esac
6344 RANLIB=$ac_ct_RANLIB
6346 else
6347 RANLIB="$ac_cv_prog_RANLIB"
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6351 $as_echo_n "checking whether ln -s works... " >&6; }
6352 LN_S=$as_ln_s
6353 if test "$LN_S" = "ln -s"; then
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6355 $as_echo "yes" >&6; }
6356 else
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6358 $as_echo "no, using $LN_S" >&6; }
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6362 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6363 if ${ac_cv_path_GREP+:} false; then :
6364 $as_echo_n "(cached) " >&6
6365 else
6366 if test -z "$GREP"; then
6367 ac_path_GREP_found=false
6368 # Loop through the user's path and test for each of PROGNAME-LIST
6369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6370 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6372 IFS=$as_save_IFS
6373 test -z "$as_dir" && as_dir=.
6374 for ac_prog in grep ggrep; do
6375 for ac_exec_ext in '' $ac_executable_extensions; do
6376 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6377 as_fn_executable_p "$ac_path_GREP" || continue
6378 # Check for GNU ac_path_GREP and select it if it is found.
6379 # Check for GNU $ac_path_GREP
6380 case `"$ac_path_GREP" --version 2>&1` in
6381 *GNU*)
6382 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6384 ac_count=0
6385 $as_echo_n 0123456789 >"conftest.in"
6386 while :
6388 cat "conftest.in" "conftest.in" >"conftest.tmp"
6389 mv "conftest.tmp" "conftest.in"
6390 cp "conftest.in" "conftest.nl"
6391 $as_echo 'GREP' >> "conftest.nl"
6392 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6393 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6394 as_fn_arith $ac_count + 1 && ac_count=$as_val
6395 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6396 # Best one so far, save it but keep looking for a better one
6397 ac_cv_path_GREP="$ac_path_GREP"
6398 ac_path_GREP_max=$ac_count
6400 # 10*(2^10) chars as input seems more than enough
6401 test $ac_count -gt 10 && break
6402 done
6403 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6404 esac
6406 $ac_path_GREP_found && break 3
6407 done
6408 done
6409 done
6410 IFS=$as_save_IFS
6411 if test -z "$ac_cv_path_GREP"; then
6412 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6414 else
6415 ac_cv_path_GREP=$GREP
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6420 $as_echo "$ac_cv_path_GREP" >&6; }
6421 GREP="$ac_cv_path_GREP"
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6425 $as_echo_n "checking for egrep... " >&6; }
6426 if ${ac_cv_path_EGREP+:} false; then :
6427 $as_echo_n "(cached) " >&6
6428 else
6429 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6430 then ac_cv_path_EGREP="$GREP -E"
6431 else
6432 if test -z "$EGREP"; then
6433 ac_path_EGREP_found=false
6434 # Loop through the user's path and test for each of PROGNAME-LIST
6435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6436 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6438 IFS=$as_save_IFS
6439 test -z "$as_dir" && as_dir=.
6440 for ac_prog in egrep; do
6441 for ac_exec_ext in '' $ac_executable_extensions; do
6442 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6443 as_fn_executable_p "$ac_path_EGREP" || continue
6444 # Check for GNU ac_path_EGREP and select it if it is found.
6445 # Check for GNU $ac_path_EGREP
6446 case `"$ac_path_EGREP" --version 2>&1` in
6447 *GNU*)
6448 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6450 ac_count=0
6451 $as_echo_n 0123456789 >"conftest.in"
6452 while :
6454 cat "conftest.in" "conftest.in" >"conftest.tmp"
6455 mv "conftest.tmp" "conftest.in"
6456 cp "conftest.in" "conftest.nl"
6457 $as_echo 'EGREP' >> "conftest.nl"
6458 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6459 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6460 as_fn_arith $ac_count + 1 && ac_count=$as_val
6461 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6462 # Best one so far, save it but keep looking for a better one
6463 ac_cv_path_EGREP="$ac_path_EGREP"
6464 ac_path_EGREP_max=$ac_count
6466 # 10*(2^10) chars as input seems more than enough
6467 test $ac_count -gt 10 && break
6468 done
6469 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6470 esac
6472 $ac_path_EGREP_found && break 3
6473 done
6474 done
6475 done
6476 IFS=$as_save_IFS
6477 if test -z "$ac_cv_path_EGREP"; then
6478 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6480 else
6481 ac_cv_path_EGREP=$EGREP
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6487 $as_echo "$ac_cv_path_EGREP" >&6; }
6488 EGREP="$ac_cv_path_EGREP"
6491 # Extract the first word of "ldconfig", so it can be a program name with args.
6492 set dummy ldconfig; ac_word=$2
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6494 $as_echo_n "checking for $ac_word... " >&6; }
6495 if ${ac_cv_path_LDCONFIG+:} false; then :
6496 $as_echo_n "(cached) " >&6
6497 else
6498 case $LDCONFIG in
6499 [\\/]* | ?:[\\/]*)
6500 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6504 for as_dir in /sbin /usr/sbin $PATH
6506 IFS=$as_save_IFS
6507 test -z "$as_dir" && as_dir=.
6508 for ac_exec_ext in '' $ac_executable_extensions; do
6509 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6510 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6512 break 2
6514 done
6515 done
6516 IFS=$as_save_IFS
6518 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6520 esac
6522 LDCONFIG=$ac_cv_path_LDCONFIG
6523 if test -n "$LDCONFIG"; then
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6525 $as_echo "$LDCONFIG" >&6; }
6526 else
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6528 $as_echo "no" >&6; }
6532 for ac_prog in msgfmt
6534 # Extract the first word of "$ac_prog", so it can be a program name with args.
6535 set dummy $ac_prog; ac_word=$2
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6537 $as_echo_n "checking for $ac_word... " >&6; }
6538 if ${ac_cv_prog_MSGFMT+:} false; then :
6539 $as_echo_n "(cached) " >&6
6540 else
6541 if test -n "$MSGFMT"; then
6542 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6543 else
6544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6545 for as_dir in $PATH
6547 IFS=$as_save_IFS
6548 test -z "$as_dir" && as_dir=.
6549 for ac_exec_ext in '' $ac_executable_extensions; do
6550 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6551 ac_cv_prog_MSGFMT="$ac_prog"
6552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6553 break 2
6555 done
6556 done
6557 IFS=$as_save_IFS
6561 MSGFMT=$ac_cv_prog_MSGFMT
6562 if test -n "$MSGFMT"; then
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6564 $as_echo "$MSGFMT" >&6; }
6565 else
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6567 $as_echo "no" >&6; }
6571 test -n "$MSGFMT" && break
6572 done
6573 test -n "$MSGFMT" || MSGFMT="false"
6575 if ${ac_tool_prefix+:} false; then :
6576 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6577 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6579 $as_echo_n "checking for $ac_word... " >&6; }
6580 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6581 $as_echo_n "(cached) " >&6
6582 else
6583 if test -n "$PKG_CONFIG"; then
6584 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6585 else
6586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6587 for as_dir in $PATH
6589 IFS=$as_save_IFS
6590 test -z "$as_dir" && as_dir=.
6591 for ac_exec_ext in '' $ac_executable_extensions; do
6592 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6593 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6595 break 2
6597 done
6598 done
6599 IFS=$as_save_IFS
6603 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6604 if test -n "$PKG_CONFIG"; then
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6606 $as_echo "$PKG_CONFIG" >&6; }
6607 else
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6609 $as_echo "no" >&6; }
6614 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6615 if test "x$cross_compiling" = xyes; then :
6617 else
6618 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6619 # Extract the first word of "pkg-config", so it can be a program name with args.
6620 set dummy pkg-config; ac_word=$2
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6622 $as_echo_n "checking for $ac_word... " >&6; }
6623 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6624 $as_echo_n "(cached) " >&6
6625 else
6626 if test -n "$PKG_CONFIG"; then
6627 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6628 else
6629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6630 for as_dir in $PATH
6632 IFS=$as_save_IFS
6633 test -z "$as_dir" && as_dir=.
6634 for ac_exec_ext in '' $ac_executable_extensions; do
6635 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6636 ac_cv_prog_PKG_CONFIG="pkg-config"
6637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6638 break 2
6640 done
6641 done
6642 IFS=$as_save_IFS
6646 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6647 if test -n "$PKG_CONFIG"; then
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6649 $as_echo "$PKG_CONFIG" >&6; }
6650 else
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6652 $as_echo "no" >&6; }
6657 else
6658 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6661 if test "x$enable_maintainer_mode" != "xyes"
6662 then
6663 FONTFORGE=""
6664 RSVG=""
6665 CONVERT=""
6666 ICOTOOL=""
6667 else
6668 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6669 for ac_prog in fontforge
6671 # Extract the first word of "$ac_prog", so it can be a program name with args.
6672 set dummy $ac_prog; ac_word=$2
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6674 $as_echo_n "checking for $ac_word... " >&6; }
6675 if ${ac_cv_prog_FONTFORGE+:} false; then :
6676 $as_echo_n "(cached) " >&6
6677 else
6678 if test -n "$FONTFORGE"; then
6679 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6680 else
6681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6682 for as_dir in $PATH
6684 IFS=$as_save_IFS
6685 test -z "$as_dir" && as_dir=.
6686 for ac_exec_ext in '' $ac_executable_extensions; do
6687 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6688 ac_cv_prog_FONTFORGE="$ac_prog"
6689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6690 break 2
6692 done
6693 done
6694 IFS=$as_save_IFS
6698 FONTFORGE=$ac_cv_prog_FONTFORGE
6699 if test -n "$FONTFORGE"; then
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6701 $as_echo "$FONTFORGE" >&6; }
6702 else
6703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6704 $as_echo "no" >&6; }
6708 test -n "$FONTFORGE" && break
6709 done
6710 test -n "$FONTFORGE" || FONTFORGE="false"
6712 for ac_prog in rsvg-convert rsvg
6714 # Extract the first word of "$ac_prog", so it can be a program name with args.
6715 set dummy $ac_prog; ac_word=$2
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6717 $as_echo_n "checking for $ac_word... " >&6; }
6718 if ${ac_cv_prog_RSVG+:} false; then :
6719 $as_echo_n "(cached) " >&6
6720 else
6721 if test -n "$RSVG"; then
6722 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6723 else
6724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6725 for as_dir in $PATH
6727 IFS=$as_save_IFS
6728 test -z "$as_dir" && as_dir=.
6729 for ac_exec_ext in '' $ac_executable_extensions; do
6730 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6731 ac_cv_prog_RSVG="$ac_prog"
6732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6733 break 2
6735 done
6736 done
6737 IFS=$as_save_IFS
6741 RSVG=$ac_cv_prog_RSVG
6742 if test -n "$RSVG"; then
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6744 $as_echo "$RSVG" >&6; }
6745 else
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6747 $as_echo "no" >&6; }
6751 test -n "$RSVG" && break
6752 done
6753 test -n "$RSVG" || RSVG="false"
6755 for ac_prog in convert
6757 # Extract the first word of "$ac_prog", so it can be a program name with args.
6758 set dummy $ac_prog; ac_word=$2
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6760 $as_echo_n "checking for $ac_word... " >&6; }
6761 if ${ac_cv_prog_CONVERT+:} false; then :
6762 $as_echo_n "(cached) " >&6
6763 else
6764 if test -n "$CONVERT"; then
6765 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6766 else
6767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6768 for as_dir in $PATH
6770 IFS=$as_save_IFS
6771 test -z "$as_dir" && as_dir=.
6772 for ac_exec_ext in '' $ac_executable_extensions; do
6773 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6774 ac_cv_prog_CONVERT="$ac_prog"
6775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6776 break 2
6778 done
6779 done
6780 IFS=$as_save_IFS
6784 CONVERT=$ac_cv_prog_CONVERT
6785 if test -n "$CONVERT"; then
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6787 $as_echo "$CONVERT" >&6; }
6788 else
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6790 $as_echo "no" >&6; }
6794 test -n "$CONVERT" && break
6795 done
6796 test -n "$CONVERT" || CONVERT="false"
6798 for ac_prog in icotool
6800 # Extract the first word of "$ac_prog", so it can be a program name with args.
6801 set dummy $ac_prog; ac_word=$2
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6803 $as_echo_n "checking for $ac_word... " >&6; }
6804 if ${ac_cv_prog_ICOTOOL+:} false; then :
6805 $as_echo_n "(cached) " >&6
6806 else
6807 if test -n "$ICOTOOL"; then
6808 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6809 else
6810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6811 for as_dir in $PATH
6813 IFS=$as_save_IFS
6814 test -z "$as_dir" && as_dir=.
6815 for ac_exec_ext in '' $ac_executable_extensions; do
6816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6817 ac_cv_prog_ICOTOOL="$ac_prog"
6818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6819 break 2
6821 done
6822 done
6823 IFS=$as_save_IFS
6827 ICOTOOL=$ac_cv_prog_ICOTOOL
6828 if test -n "$ICOTOOL"; then
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6830 $as_echo "$ICOTOOL" >&6; }
6831 else
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6833 $as_echo "no" >&6; }
6837 test -n "$ICOTOOL" && break
6838 done
6839 test -n "$ICOTOOL" || ICOTOOL="false"
6841 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6842 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6844 if test "$CONVERT" = false
6845 then
6846 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6847 else
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6849 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6850 convert_version=`convert --version | head -n1`
6851 if test "x$convert_version" != "x"
6852 then
6853 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6854 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6855 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6856 then
6857 CONVERT=false
6860 if test "$CONVERT" = false
6861 then
6862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6863 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6864 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6865 else
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6867 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6871 if test "$ICOTOOL" = false
6872 then
6873 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6874 else
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6876 $as_echo_n "checking for recent enough icotool... " >&6; }
6877 icotool_version=`icotool --version | head -n1`
6878 if test "x$icotool_version" != "x"
6879 then
6880 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6881 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6882 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6883 then
6884 ICOTOOL=false
6885 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6888 if test "$ICOTOOL" = false
6889 then
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6891 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6892 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6893 else
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6895 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6899 with_gettext=yes
6900 with_gettextpo=yes
6902 enable_werror=yes
6905 test "x$with_gettext" != xno || MSGFMT=false
6906 if test "$MSGFMT" != "false"
6907 then
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6909 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6910 if ${wine_cv_msgfmt_contexts+:} false; then :
6911 $as_echo_n "(cached) " >&6
6912 else
6913 cat >conftest.po <<EOF
6914 # comment
6915 msgctxt "ctxt"
6916 msgid "id"
6917 msgstr "str"
6919 if $MSGFMT -o /dev/null conftest.po 2>&5
6920 then
6921 wine_cv_msgfmt_contexts=yes
6922 else
6923 wine_cv_msgfmt_contexts=no
6926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6927 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6928 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6930 if test "$MSGFMT" = false; then :
6931 case "x$with_gettext" in
6932 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6933 xno) ;;
6934 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6935 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6936 esac
6937 enable_po=${enable_po:-no}
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6942 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6943 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6944 $as_echo_n "(cached) " >&6
6945 else
6946 ac_check_lib_save_LIBS=$LIBS
6947 LIBS="-li386 $LIBS"
6948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6949 /* end confdefs.h. */
6951 /* Override any GCC internal prototype to avoid an error.
6952 Use char because int might match the return type of a GCC
6953 builtin and then its argument prototype would still apply. */
6954 #ifdef __cplusplus
6955 extern "C"
6956 #endif
6957 char i386_set_ldt ();
6959 main ()
6961 return i386_set_ldt ();
6963 return 0;
6965 _ACEOF
6966 if ac_fn_c_try_link "$LINENO"; then :
6967 ac_cv_lib_i386_i386_set_ldt=yes
6968 else
6969 ac_cv_lib_i386_i386_set_ldt=no
6971 rm -f core conftest.err conftest.$ac_objext \
6972 conftest$ac_exeext conftest.$ac_ext
6973 LIBS=$ac_check_lib_save_LIBS
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6976 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6977 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6978 I386_LIBS="-li386"
6983 OPENGL_LIBS=""
6987 # Check whether --enable-largefile was given.
6988 if test "${enable_largefile+set}" = set; then :
6989 enableval=$enable_largefile;
6992 if test "$enable_largefile" != no; then
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6995 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6996 if ${ac_cv_sys_largefile_CC+:} false; then :
6997 $as_echo_n "(cached) " >&6
6998 else
6999 ac_cv_sys_largefile_CC=no
7000 if test "$GCC" != yes; then
7001 ac_save_CC=$CC
7002 while :; do
7003 # IRIX 6.2 and later do not support large files by default,
7004 # so use the C compiler's -n32 option if that helps.
7005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7006 /* end confdefs.h. */
7007 #include <sys/types.h>
7008 /* Check that off_t can represent 2**63 - 1 correctly.
7009 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7010 since some C++ compilers masquerading as C compilers
7011 incorrectly reject 9223372036854775807. */
7012 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7013 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7014 && LARGE_OFF_T % 2147483647 == 1)
7015 ? 1 : -1];
7017 main ()
7021 return 0;
7023 _ACEOF
7024 if ac_fn_c_try_compile "$LINENO"; then :
7025 break
7027 rm -f core conftest.err conftest.$ac_objext
7028 CC="$CC -n32"
7029 if ac_fn_c_try_compile "$LINENO"; then :
7030 ac_cv_sys_largefile_CC=' -n32'; break
7032 rm -f core conftest.err conftest.$ac_objext
7033 break
7034 done
7035 CC=$ac_save_CC
7036 rm -f conftest.$ac_ext
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7040 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
7041 if test "$ac_cv_sys_largefile_CC" != no; then
7042 CC=$CC$ac_cv_sys_largefile_CC
7045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7046 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7047 if ${ac_cv_sys_file_offset_bits+:} false; then :
7048 $as_echo_n "(cached) " >&6
7049 else
7050 while :; do
7051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7052 /* end confdefs.h. */
7053 #include <sys/types.h>
7054 /* Check that off_t can represent 2**63 - 1 correctly.
7055 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7056 since some C++ compilers masquerading as C compilers
7057 incorrectly reject 9223372036854775807. */
7058 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7059 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7060 && LARGE_OFF_T % 2147483647 == 1)
7061 ? 1 : -1];
7063 main ()
7067 return 0;
7069 _ACEOF
7070 if ac_fn_c_try_compile "$LINENO"; then :
7071 ac_cv_sys_file_offset_bits=no; break
7073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7075 /* end confdefs.h. */
7076 #define _FILE_OFFSET_BITS 64
7077 #include <sys/types.h>
7078 /* Check that off_t can represent 2**63 - 1 correctly.
7079 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7080 since some C++ compilers masquerading as C compilers
7081 incorrectly reject 9223372036854775807. */
7082 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7083 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7084 && LARGE_OFF_T % 2147483647 == 1)
7085 ? 1 : -1];
7087 main ()
7091 return 0;
7093 _ACEOF
7094 if ac_fn_c_try_compile "$LINENO"; then :
7095 ac_cv_sys_file_offset_bits=64; break
7097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7098 ac_cv_sys_file_offset_bits=unknown
7099 break
7100 done
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7103 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7104 case $ac_cv_sys_file_offset_bits in #(
7105 no | unknown) ;;
7107 cat >>confdefs.h <<_ACEOF
7108 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7109 _ACEOF
7111 esac
7112 rm -rf conftest*
7113 if test $ac_cv_sys_file_offset_bits = unknown; then
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7115 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7116 if ${ac_cv_sys_large_files+:} false; then :
7117 $as_echo_n "(cached) " >&6
7118 else
7119 while :; do
7120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7121 /* end confdefs.h. */
7122 #include <sys/types.h>
7123 /* Check that off_t can represent 2**63 - 1 correctly.
7124 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7125 since some C++ compilers masquerading as C compilers
7126 incorrectly reject 9223372036854775807. */
7127 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7128 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7129 && LARGE_OFF_T % 2147483647 == 1)
7130 ? 1 : -1];
7132 main ()
7136 return 0;
7138 _ACEOF
7139 if ac_fn_c_try_compile "$LINENO"; then :
7140 ac_cv_sys_large_files=no; break
7142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7144 /* end confdefs.h. */
7145 #define _LARGE_FILES 1
7146 #include <sys/types.h>
7147 /* Check that off_t can represent 2**63 - 1 correctly.
7148 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7149 since some C++ compilers masquerading as C compilers
7150 incorrectly reject 9223372036854775807. */
7151 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7152 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7153 && LARGE_OFF_T % 2147483647 == 1)
7154 ? 1 : -1];
7156 main ()
7160 return 0;
7162 _ACEOF
7163 if ac_fn_c_try_compile "$LINENO"; then :
7164 ac_cv_sys_large_files=1; break
7166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7167 ac_cv_sys_large_files=unknown
7168 break
7169 done
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7172 $as_echo "$ac_cv_sys_large_files" >&6; }
7173 case $ac_cv_sys_large_files in #(
7174 no | unknown) ;;
7176 cat >>confdefs.h <<_ACEOF
7177 #define _LARGE_FILES $ac_cv_sys_large_files
7178 _ACEOF
7180 esac
7181 rm -rf conftest*
7188 ac_ext=c
7189 ac_cpp='$CPP $CPPFLAGS'
7190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7194 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7195 # On Suns, sometimes $CPP names a directory.
7196 if test -n "$CPP" && test -d "$CPP"; then
7197 CPP=
7199 if test -z "$CPP"; then
7200 if ${ac_cv_prog_CPP+:} false; then :
7201 $as_echo_n "(cached) " >&6
7202 else
7203 # Double quotes because CPP needs to be expanded
7204 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7206 ac_preproc_ok=false
7207 for ac_c_preproc_warn_flag in '' yes
7209 # Use a header file that comes with gcc, so configuring glibc
7210 # with a fresh cross-compiler works.
7211 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7212 # <limits.h> exists even on freestanding compilers.
7213 # On the NeXT, cc -E runs the code through the compiler's parser,
7214 # not just through cpp. "Syntax error" is here to catch this case.
7215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7216 /* end confdefs.h. */
7217 #ifdef __STDC__
7218 # include <limits.h>
7219 #else
7220 # include <assert.h>
7221 #endif
7222 Syntax error
7223 _ACEOF
7224 if ac_fn_c_try_cpp "$LINENO"; then :
7226 else
7227 # Broken: fails on valid input.
7228 continue
7230 rm -f conftest.err conftest.i conftest.$ac_ext
7232 # OK, works on sane cases. Now check whether nonexistent headers
7233 # can be detected and how.
7234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7235 /* end confdefs.h. */
7236 #include <ac_nonexistent.h>
7237 _ACEOF
7238 if ac_fn_c_try_cpp "$LINENO"; then :
7239 # Broken: success on invalid input.
7240 continue
7241 else
7242 # Passes both tests.
7243 ac_preproc_ok=:
7244 break
7246 rm -f conftest.err conftest.i conftest.$ac_ext
7248 done
7249 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7250 rm -f conftest.i conftest.err conftest.$ac_ext
7251 if $ac_preproc_ok; then :
7252 break
7255 done
7256 ac_cv_prog_CPP=$CPP
7259 CPP=$ac_cv_prog_CPP
7260 else
7261 ac_cv_prog_CPP=$CPP
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7264 $as_echo "$CPP" >&6; }
7265 ac_preproc_ok=false
7266 for ac_c_preproc_warn_flag in '' yes
7268 # Use a header file that comes with gcc, so configuring glibc
7269 # with a fresh cross-compiler works.
7270 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7271 # <limits.h> exists even on freestanding compilers.
7272 # On the NeXT, cc -E runs the code through the compiler's parser,
7273 # not just through cpp. "Syntax error" is here to catch this case.
7274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7275 /* end confdefs.h. */
7276 #ifdef __STDC__
7277 # include <limits.h>
7278 #else
7279 # include <assert.h>
7280 #endif
7281 Syntax error
7282 _ACEOF
7283 if ac_fn_c_try_cpp "$LINENO"; then :
7285 else
7286 # Broken: fails on valid input.
7287 continue
7289 rm -f conftest.err conftest.i conftest.$ac_ext
7291 # OK, works on sane cases. Now check whether nonexistent headers
7292 # can be detected and how.
7293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7294 /* end confdefs.h. */
7295 #include <ac_nonexistent.h>
7296 _ACEOF
7297 if ac_fn_c_try_cpp "$LINENO"; then :
7298 # Broken: success on invalid input.
7299 continue
7300 else
7301 # Passes both tests.
7302 ac_preproc_ok=:
7303 break
7305 rm -f conftest.err conftest.i conftest.$ac_ext
7307 done
7308 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7309 rm -f conftest.i conftest.err conftest.$ac_ext
7310 if $ac_preproc_ok; then :
7312 else
7313 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7314 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7315 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7316 See \`config.log' for more details" "$LINENO" 5; }
7319 ac_ext=c
7320 ac_cpp='$CPP $CPPFLAGS'
7321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7327 $as_echo_n "checking for ANSI C header files... " >&6; }
7328 if ${ac_cv_header_stdc+:} false; then :
7329 $as_echo_n "(cached) " >&6
7330 else
7331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7332 /* end confdefs.h. */
7333 #include <stdlib.h>
7334 #include <stdarg.h>
7335 #include <string.h>
7336 #include <float.h>
7339 main ()
7343 return 0;
7345 _ACEOF
7346 if ac_fn_c_try_compile "$LINENO"; then :
7347 ac_cv_header_stdc=yes
7348 else
7349 ac_cv_header_stdc=no
7351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7353 if test $ac_cv_header_stdc = yes; then
7354 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7356 /* end confdefs.h. */
7357 #include <string.h>
7359 _ACEOF
7360 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7361 $EGREP "memchr" >/dev/null 2>&1; then :
7363 else
7364 ac_cv_header_stdc=no
7366 rm -f conftest*
7370 if test $ac_cv_header_stdc = yes; then
7371 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7373 /* end confdefs.h. */
7374 #include <stdlib.h>
7376 _ACEOF
7377 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7378 $EGREP "free" >/dev/null 2>&1; then :
7380 else
7381 ac_cv_header_stdc=no
7383 rm -f conftest*
7387 if test $ac_cv_header_stdc = yes; then
7388 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7389 if test "$cross_compiling" = yes; then :
7391 else
7392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7393 /* end confdefs.h. */
7394 #include <ctype.h>
7395 #include <stdlib.h>
7396 #if ((' ' & 0x0FF) == 0x020)
7397 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7398 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7399 #else
7400 # define ISLOWER(c) \
7401 (('a' <= (c) && (c) <= 'i') \
7402 || ('j' <= (c) && (c) <= 'r') \
7403 || ('s' <= (c) && (c) <= 'z'))
7404 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7405 #endif
7407 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7409 main ()
7411 int i;
7412 for (i = 0; i < 256; i++)
7413 if (XOR (islower (i), ISLOWER (i))
7414 || toupper (i) != TOUPPER (i))
7415 return 2;
7416 return 0;
7418 _ACEOF
7419 if ac_fn_c_try_run "$LINENO"; then :
7421 else
7422 ac_cv_header_stdc=no
7424 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7425 conftest.$ac_objext conftest.beam conftest.$ac_ext
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7431 $as_echo "$ac_cv_header_stdc" >&6; }
7432 if test $ac_cv_header_stdc = yes; then
7434 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7438 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7439 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7440 inttypes.h stdint.h unistd.h
7441 do :
7442 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7443 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7445 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7446 cat >>confdefs.h <<_ACEOF
7447 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7448 _ACEOF
7452 done
7455 for ac_header in \
7456 AL/al.h \
7457 ApplicationServices/ApplicationServices.h \
7458 CL/cl.h \
7459 Carbon/Carbon.h \
7460 CommonCrypto/CommonCryptor.h \
7461 CoreAudio/CoreAudio.h \
7462 DiskArbitration/DiskArbitration.h \
7463 EGL/egl.h \
7464 IOKit/IOKitLib.h \
7465 IOKit/hid/IOHIDLib.h \
7466 OpenAL/al.h \
7467 OpenCL/opencl.h \
7468 QuickTime/ImageCompression.h \
7469 Security/Security.h \
7470 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7471 SystemConfiguration/SCNetworkConfiguration.h \
7472 alias.h \
7473 arpa/inet.h \
7474 arpa/nameser.h \
7475 asm/types.h \
7476 asm/user.h \
7477 dirent.h \
7478 dlfcn.h \
7479 elf.h \
7480 float.h \
7481 fnmatch.h \
7482 getopt.h \
7483 gettext-po.h \
7484 grp.h \
7485 gsm.h \
7486 gsm/gsm.h \
7487 ieeefp.h \
7488 inet/mib2.h \
7489 kstat.h \
7490 libproc.h \
7491 link.h \
7492 linux/cdrom.h \
7493 linux/filter.h \
7494 linux/hdreg.h \
7495 linux/hidraw.h \
7496 linux/input.h \
7497 linux/ioctl.h \
7498 linux/joystick.h \
7499 linux/major.h \
7500 linux/param.h \
7501 linux/serial.h \
7502 linux/types.h \
7503 linux/ucdrom.h \
7504 lwp.h \
7505 mach-o/loader.h \
7506 mach/mach.h \
7507 machine/cpu.h \
7508 machine/sysarch.h \
7509 mntent.h \
7510 netdb.h \
7511 netinet/in.h \
7512 netinet/in_systm.h \
7513 netinet/tcp.h \
7514 netinet/tcp_fsm.h \
7515 pcap/pcap.h \
7516 poll.h \
7517 port.h \
7518 pthread.h \
7519 pwd.h \
7520 sasl/sasl.h \
7521 sched.h \
7522 scsi/scsi.h \
7523 scsi/scsi_ioctl.h \
7524 scsi/sg.h \
7525 stdint.h \
7526 stropts.h \
7527 sys/attr.h \
7528 sys/auxv.h \
7529 sys/cdio.h \
7530 sys/epoll.h \
7531 sys/event.h \
7532 sys/filio.h \
7533 sys/ioctl.h \
7534 sys/ipc.h \
7535 sys/link.h \
7536 sys/mman.h \
7537 sys/modem.h \
7538 sys/msg.h \
7539 sys/mtio.h \
7540 sys/param.h \
7541 sys/poll.h \
7542 sys/prctl.h \
7543 sys/protosw.h \
7544 sys/ptrace.h \
7545 sys/queue.h \
7546 sys/random.h \
7547 sys/resource.h \
7548 sys/scsiio.h \
7549 sys/shm.h \
7550 sys/signal.h \
7551 sys/socket.h \
7552 sys/socketvar.h \
7553 sys/sockio.h \
7554 sys/statvfs.h \
7555 sys/strtio.h \
7556 sys/syscall.h \
7557 sys/sysinfo.h \
7558 sys/tihdr.h \
7559 sys/time.h \
7560 sys/timeout.h \
7561 sys/times.h \
7562 sys/uio.h \
7563 sys/user.h \
7564 sys/utsname.h \
7565 sys/vnode.h \
7566 sys/wait.h \
7567 syscall.h \
7568 termios.h \
7569 unistd.h \
7570 utime.h \
7571 valgrind/memcheck.h \
7572 valgrind/valgrind.h
7574 do :
7575 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7576 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7577 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7578 cat >>confdefs.h <<_ACEOF
7579 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7580 _ACEOF
7584 done
7586 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7587 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7589 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7594 if test $ac_cv_header_sys_mkdev_h = no; then
7595 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7596 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7598 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7605 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7606 if ${ac_cv_header_stat_broken+:} false; then :
7607 $as_echo_n "(cached) " >&6
7608 else
7609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7610 /* end confdefs.h. */
7611 #include <sys/types.h>
7612 #include <sys/stat.h>
7614 #if defined S_ISBLK && defined S_IFDIR
7615 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7616 #endif
7618 #if defined S_ISBLK && defined S_IFCHR
7619 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7620 #endif
7622 #if defined S_ISLNK && defined S_IFREG
7623 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7624 #endif
7626 #if defined S_ISSOCK && defined S_IFREG
7627 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7628 #endif
7630 _ACEOF
7631 if ac_fn_c_try_compile "$LINENO"; then :
7632 ac_cv_header_stat_broken=no
7633 else
7634 ac_cv_header_stat_broken=yes
7636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7639 $as_echo "$ac_cv_header_stat_broken" >&6; }
7640 if test $ac_cv_header_stat_broken = yes; then
7642 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7648 for ac_header in sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7649 do :
7650 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7651 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7652 #ifdef HAVE_SYS_PARAM_H
7653 # include <sys/param.h>
7654 #endif
7656 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7657 cat >>confdefs.h <<_ACEOF
7658 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7659 _ACEOF
7663 done
7666 saved_sysctl_h_CFLAGS=$CFLAGS
7667 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7668 for ac_header in sys/sysctl.h
7669 do :
7670 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7671 #ifdef HAVE_SYS_PARAM_H
7672 # include <sys/param.h>
7673 #endif
7675 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7676 cat >>confdefs.h <<_ACEOF
7677 #define HAVE_SYS_SYSCTL_H 1
7678 _ACEOF
7682 done
7684 CFLAGS=$saved_sysctl_h_CFLAGS
7686 for ac_header in \
7687 netinet/ip.h \
7688 net/if.h \
7689 net/if_arp.h \
7690 net/if_dl.h \
7691 net/if_types.h \
7692 net/route.h \
7693 netinet/if_ether.h \
7694 netinet/if_inarp.h \
7695 netinet/in_pcb.h \
7696 netinet/ip_icmp.h \
7697 netinet/ip_var.h \
7698 netinet/udp.h \
7699 netipx/ipx.h \
7700 sys/un.h \
7702 do :
7703 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7704 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7705 #ifdef HAVE_SYS_SOCKET_H
7706 # include <sys/socket.h>
7707 #endif
7708 #ifdef HAVE_SYS_SOCKETVAR_H
7709 # include <sys/socketvar.h>
7710 #endif
7711 #ifdef HAVE_NET_ROUTE_H
7712 # include <net/route.h>
7713 #endif
7714 #ifdef HAVE_NETINET_IN_H
7715 # include <netinet/in.h>
7716 #endif
7717 #ifdef HAVE_NETINET_IN_SYSTM_H
7718 # include <netinet/in_systm.h>
7719 #endif
7720 #ifdef HAVE_NET_IF_H
7721 # include <net/if.h>
7722 #endif
7723 #ifdef HAVE_NETINET_IP_H
7724 # include <netinet/ip.h>
7725 #endif
7727 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7728 cat >>confdefs.h <<_ACEOF
7729 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7730 _ACEOF
7734 done
7737 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7738 do :
7739 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7740 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7741 #ifdef HAVE_ALIAS_H
7742 # include <alias.h>
7743 #endif
7744 #ifdef HAVE_SYS_SOCKET_H
7745 # include <sys/socket.h>
7746 #endif
7747 #ifdef HAVE_SYS_SOCKETVAR_H
7748 # include <sys/socketvar.h>
7749 #endif
7750 #ifdef HAVE_SYS_TIMEOUT_H
7751 # include <sys/timeout.h>
7752 #endif
7753 #ifdef HAVE_NETINET_IN_H
7754 # include <netinet/in.h>
7755 #endif
7756 #ifdef HAVE_NETINET_IN_SYSTM_H
7757 # include <netinet/in_systm.h>
7758 #endif
7759 #ifdef HAVE_NETINET_IP_H
7760 # include <netinet/ip.h>
7761 #endif
7762 #ifdef HAVE_NETINET_IP_VAR_H
7763 # include <netinet/ip_var.h>
7764 #endif
7765 #ifdef HAVE_NETINET_IP_ICMP_H
7766 # include <netinet/ip_icmp.h>
7767 #endif
7768 #ifdef HAVE_NETINET_UDP_H
7769 # include <netinet/udp.h>
7770 #endif
7771 #ifdef HAVE_NETINET_TCP_H
7772 # include <netinet/tcp.h>
7773 #endif
7774 #ifdef HAVE_NETINET_TCP_TIMER_H
7775 #include <netinet/tcp_timer.h>
7776 #endif
7778 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7779 cat >>confdefs.h <<_ACEOF
7780 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7781 _ACEOF
7785 done
7788 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7789 do :
7790 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7791 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7792 #ifdef HAVE_ASM_TYPES_H
7793 # include <asm/types.h>
7794 #endif
7795 #ifdef HAVE_SYS_SOCKET_H
7796 # include <sys/socket.h>
7797 #endif
7798 #ifdef HAVE_LINUX_TYPES_H
7799 # include <linux/types.h>
7800 #endif
7802 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7803 cat >>confdefs.h <<_ACEOF
7804 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7805 _ACEOF
7809 done
7812 for ac_header in resolv.h
7813 do :
7814 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7815 #ifdef HAVE_SYS_SOCKET_H
7816 # include <sys/socket.h>
7817 #endif
7818 #ifdef HAVE_NETINET_IN_H
7819 # include <netinet/in.h>
7820 #endif
7821 #ifdef HAVE_ARPA_NAMESER_H
7822 # include <arpa/nameser.h>
7823 #endif
7825 if test "x$ac_cv_header_resolv_h" = xyes; then :
7826 cat >>confdefs.h <<_ACEOF
7827 #define HAVE_RESOLV_H 1
7828 _ACEOF
7832 done
7835 for ac_header in ifaddrs.h
7836 do :
7837 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7839 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7840 cat >>confdefs.h <<_ACEOF
7841 #define HAVE_IFADDRS_H 1
7842 _ACEOF
7846 done
7849 for ac_header in sys/ucontext.h
7850 do :
7851 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7853 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7854 cat >>confdefs.h <<_ACEOF
7855 #define HAVE_SYS_UCONTEXT_H 1
7856 _ACEOF
7860 done
7863 for ac_header in sys/thr.h
7864 do :
7865 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7866 #ifdef HAVE_SYS_UCONTEXT_H
7867 #include <sys/ucontext.h>
7868 #endif
7870 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7871 cat >>confdefs.h <<_ACEOF
7872 #define HAVE_SYS_THR_H 1
7873 _ACEOF
7877 done
7880 for ac_header in pthread_np.h
7881 do :
7882 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7883 #include <pthread.h>
7884 #endif
7886 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7887 cat >>confdefs.h <<_ACEOF
7888 #define HAVE_PTHREAD_NP_H 1
7889 _ACEOF
7893 done
7896 for ac_header in linux/videodev2.h
7897 do :
7898 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7899 #include <sys/time.h>
7900 #endif
7901 #include <sys/types.h>
7902 #ifdef HAVE_ASM_TYPES_H
7903 #include <asm/types.h>
7904 #endif
7906 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7907 cat >>confdefs.h <<_ACEOF
7908 #define HAVE_LINUX_VIDEODEV2_H 1
7909 _ACEOF
7913 done
7916 for ac_header in libprocstat.h
7917 do :
7918 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7919 #include <sys/param.h>
7920 #endif
7921 #ifdef HAVE_SYS_QUEUE_H
7922 #include <sys/queue.h>
7923 #endif
7924 #ifdef HAVE_SYS_SOCKET_H
7925 #include <sys/socket.h>
7926 #endif
7928 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7929 cat >>confdefs.h <<_ACEOF
7930 #define HAVE_LIBPROCSTAT_H 1
7931 _ACEOF
7935 done
7939 DLLFLAGS="-D_REENTRANT"
7941 LDDLLFLAGS=""
7943 LDEXECFLAGS=""
7945 TOP_INSTALL_LIB=""
7947 TOP_INSTALL_DEV=""
7949 WINELOADER_LDFLAGS=""
7951 WINEPRELOADER_LDFLAGS=""
7953 LIBEXT="so"
7954 DLLEXT=".so"
7955 # Extract the first word of "ldd", so it can be a program name with args.
7956 set dummy ldd; ac_word=$2
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7958 $as_echo_n "checking for $ac_word... " >&6; }
7959 if ${ac_cv_path_LDD+:} false; then :
7960 $as_echo_n "(cached) " >&6
7961 else
7962 case $LDD in
7963 [\\/]* | ?:[\\/]*)
7964 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7968 as_dummy="/sbin:/usr/sbin:$PATH"
7969 for as_dir in $as_dummy
7971 IFS=$as_save_IFS
7972 test -z "$as_dir" && as_dir=.
7973 for ac_exec_ext in '' $ac_executable_extensions; do
7974 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7975 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7977 break 2
7979 done
7980 done
7981 IFS=$as_save_IFS
7983 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7985 esac
7987 LDD=$ac_cv_path_LDD
7988 if test -n "$LDD"; then
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7990 $as_echo "$LDD" >&6; }
7991 else
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7993 $as_echo "no" >&6; }
7997 if test -n "$ac_tool_prefix"; then
7998 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7999 set dummy ${ac_tool_prefix}otool; ac_word=$2
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8001 $as_echo_n "checking for $ac_word... " >&6; }
8002 if ${ac_cv_prog_OTOOL+:} false; then :
8003 $as_echo_n "(cached) " >&6
8004 else
8005 if test -n "$OTOOL"; then
8006 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8007 else
8008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8009 for as_dir in $PATH
8011 IFS=$as_save_IFS
8012 test -z "$as_dir" && as_dir=.
8013 for ac_exec_ext in '' $ac_executable_extensions; do
8014 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8015 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8017 break 2
8019 done
8020 done
8021 IFS=$as_save_IFS
8025 OTOOL=$ac_cv_prog_OTOOL
8026 if test -n "$OTOOL"; then
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8028 $as_echo "$OTOOL" >&6; }
8029 else
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8031 $as_echo "no" >&6; }
8036 if test -z "$ac_cv_prog_OTOOL"; then
8037 ac_ct_OTOOL=$OTOOL
8038 # Extract the first word of "otool", so it can be a program name with args.
8039 set dummy otool; ac_word=$2
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8041 $as_echo_n "checking for $ac_word... " >&6; }
8042 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8043 $as_echo_n "(cached) " >&6
8044 else
8045 if test -n "$ac_ct_OTOOL"; then
8046 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8047 else
8048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8049 for as_dir in $PATH
8051 IFS=$as_save_IFS
8052 test -z "$as_dir" && as_dir=.
8053 for ac_exec_ext in '' $ac_executable_extensions; do
8054 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8055 ac_cv_prog_ac_ct_OTOOL="otool"
8056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8057 break 2
8059 done
8060 done
8061 IFS=$as_save_IFS
8065 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8066 if test -n "$ac_ct_OTOOL"; then
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8068 $as_echo "$ac_ct_OTOOL" >&6; }
8069 else
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8071 $as_echo "no" >&6; }
8074 if test "x$ac_ct_OTOOL" = x; then
8075 OTOOL="otool"
8076 else
8077 case $cross_compiling:$ac_tool_warned in
8078 yes:)
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8080 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8081 ac_tool_warned=yes ;;
8082 esac
8083 OTOOL=$ac_ct_OTOOL
8085 else
8086 OTOOL="$ac_cv_prog_OTOOL"
8089 if test -n "$ac_tool_prefix"; then
8090 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8091 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8093 $as_echo_n "checking for $ac_word... " >&6; }
8094 if ${ac_cv_prog_READELF+:} false; then :
8095 $as_echo_n "(cached) " >&6
8096 else
8097 if test -n "$READELF"; then
8098 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8099 else
8100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8101 for as_dir in $PATH
8103 IFS=$as_save_IFS
8104 test -z "$as_dir" && as_dir=.
8105 for ac_exec_ext in '' $ac_executable_extensions; do
8106 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8107 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8109 break 2
8111 done
8112 done
8113 IFS=$as_save_IFS
8117 READELF=$ac_cv_prog_READELF
8118 if test -n "$READELF"; then
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8120 $as_echo "$READELF" >&6; }
8121 else
8122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8123 $as_echo "no" >&6; }
8128 if test -z "$ac_cv_prog_READELF"; then
8129 ac_ct_READELF=$READELF
8130 # Extract the first word of "readelf", so it can be a program name with args.
8131 set dummy readelf; ac_word=$2
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8133 $as_echo_n "checking for $ac_word... " >&6; }
8134 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8135 $as_echo_n "(cached) " >&6
8136 else
8137 if test -n "$ac_ct_READELF"; then
8138 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8139 else
8140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8141 for as_dir in $PATH
8143 IFS=$as_save_IFS
8144 test -z "$as_dir" && as_dir=.
8145 for ac_exec_ext in '' $ac_executable_extensions; do
8146 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8147 ac_cv_prog_ac_ct_READELF="readelf"
8148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8149 break 2
8151 done
8152 done
8153 IFS=$as_save_IFS
8157 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8158 if test -n "$ac_ct_READELF"; then
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8160 $as_echo "$ac_ct_READELF" >&6; }
8161 else
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8163 $as_echo "no" >&6; }
8166 if test "x$ac_ct_READELF" = x; then
8167 READELF="true"
8168 else
8169 case $cross_compiling:$ac_tool_warned in
8170 yes:)
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8172 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8173 ac_tool_warned=yes ;;
8174 esac
8175 READELF=$ac_ct_READELF
8177 else
8178 READELF="$ac_cv_prog_READELF"
8181 wine_rules_file=conf$$rules.make
8182 rm -f $wine_rules_file
8183 SUBDIRS=""
8185 DISABLED_SUBDIRS=""
8187 CONFIGURE_TARGETS=""
8190 wine_fn_append_file ()
8192 as_fn_append $1 " \\$as_nl $2"
8195 wine_fn_append_rule ()
8197 $as_echo "$1" >>$wine_rules_file
8200 wine_fn_config_makefile ()
8202 wine_fn_append_file SUBDIRS $1
8203 if eval test \"x\$"$2"\" = x"no"; then :
8204 wine_fn_append_file DISABLED_SUBDIRS $1
8208 wine_fn_config_symlink ()
8210 ac_links=$@
8211 wine_fn_append_rule \
8212 "$ac_links:
8213 @./config.status \$@"
8214 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8217 wine_binary="wine"
8218 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8219 WINELOADER_PROGRAMS="$wine_binary"
8221 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8223 case $host_os in
8224 cygwin*|mingw32*)
8225 if test -n "$ac_tool_prefix"; then
8226 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8227 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8229 $as_echo_n "checking for $ac_word... " >&6; }
8230 if ${ac_cv_prog_DLLTOOL+:} false; then :
8231 $as_echo_n "(cached) " >&6
8232 else
8233 if test -n "$DLLTOOL"; then
8234 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8235 else
8236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8237 for as_dir in $PATH
8239 IFS=$as_save_IFS
8240 test -z "$as_dir" && as_dir=.
8241 for ac_exec_ext in '' $ac_executable_extensions; do
8242 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8243 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8245 break 2
8247 done
8248 done
8249 IFS=$as_save_IFS
8253 DLLTOOL=$ac_cv_prog_DLLTOOL
8254 if test -n "$DLLTOOL"; then
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8256 $as_echo "$DLLTOOL" >&6; }
8257 else
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8259 $as_echo "no" >&6; }
8264 if test -z "$ac_cv_prog_DLLTOOL"; then
8265 ac_ct_DLLTOOL=$DLLTOOL
8266 # Extract the first word of "dlltool", so it can be a program name with args.
8267 set dummy dlltool; ac_word=$2
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8269 $as_echo_n "checking for $ac_word... " >&6; }
8270 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8271 $as_echo_n "(cached) " >&6
8272 else
8273 if test -n "$ac_ct_DLLTOOL"; then
8274 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8275 else
8276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8277 for as_dir in $PATH
8279 IFS=$as_save_IFS
8280 test -z "$as_dir" && as_dir=.
8281 for ac_exec_ext in '' $ac_executable_extensions; do
8282 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8283 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8285 break 2
8287 done
8288 done
8289 IFS=$as_save_IFS
8293 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8294 if test -n "$ac_ct_DLLTOOL"; then
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8296 $as_echo "$ac_ct_DLLTOOL" >&6; }
8297 else
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8299 $as_echo "no" >&6; }
8302 if test "x$ac_ct_DLLTOOL" = x; then
8303 DLLTOOL="false"
8304 else
8305 case $cross_compiling:$ac_tool_warned in
8306 yes:)
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8308 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8309 ac_tool_warned=yes ;;
8310 esac
8311 DLLTOOL=$ac_ct_DLLTOOL
8313 else
8314 DLLTOOL="$ac_cv_prog_DLLTOOL"
8317 LIBEXT="dll"
8318 DLLEXT=""
8319 case $host_cpu in
8320 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8321 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8322 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8323 $as_echo_n "(cached) " >&6
8324 else
8325 ac_wine_try_cflags_saved=$CFLAGS
8326 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8328 /* end confdefs.h. */
8329 int main(int argc, char **argv) { return 0; }
8330 _ACEOF
8331 if ac_fn_c_try_link "$LINENO"; then :
8332 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8333 else
8334 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8336 rm -f core conftest.err conftest.$ac_objext \
8337 conftest$ac_exeext conftest.$ac_ext
8338 CFLAGS=$ac_wine_try_cflags_saved
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8341 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8342 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8343 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8344 fi ;;
8345 esac
8346 enable_iphlpapi=${enable_iphlpapi:-no}
8347 enable_ws2_32=${enable_ws2_32:-no}
8348 enable_loader=${enable_loader:-no}
8349 enable_server=${enable_server:-no}
8350 with_x=${with_x:-no}
8351 with_pthread=${with_pthread:-no}
8354 darwin*|macosx*)
8355 ac_ext=m
8356 ac_cpp='$OBJCPP $CPPFLAGS'
8357 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8358 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8359 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8361 ac_ext=m
8362 ac_cpp='$OBJCPP $CPPFLAGS'
8363 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8364 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8365 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8366 if test -n "$ac_tool_prefix"; then
8367 for ac_prog in gcc objcc objc cc CC
8369 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8370 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8372 $as_echo_n "checking for $ac_word... " >&6; }
8373 if ${ac_cv_prog_OBJC+:} false; then :
8374 $as_echo_n "(cached) " >&6
8375 else
8376 if test -n "$OBJC"; then
8377 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8378 else
8379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8380 for as_dir in $PATH
8382 IFS=$as_save_IFS
8383 test -z "$as_dir" && as_dir=.
8384 for ac_exec_ext in '' $ac_executable_extensions; do
8385 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8386 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8388 break 2
8390 done
8391 done
8392 IFS=$as_save_IFS
8396 OBJC=$ac_cv_prog_OBJC
8397 if test -n "$OBJC"; then
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8399 $as_echo "$OBJC" >&6; }
8400 else
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8402 $as_echo "no" >&6; }
8406 test -n "$OBJC" && break
8407 done
8409 if test -z "$OBJC"; then
8410 ac_ct_OBJC=$OBJC
8411 for ac_prog in gcc objcc objc cc CC
8413 # Extract the first word of "$ac_prog", so it can be a program name with args.
8414 set dummy $ac_prog; ac_word=$2
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8416 $as_echo_n "checking for $ac_word... " >&6; }
8417 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8418 $as_echo_n "(cached) " >&6
8419 else
8420 if test -n "$ac_ct_OBJC"; then
8421 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8422 else
8423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8424 for as_dir in $PATH
8426 IFS=$as_save_IFS
8427 test -z "$as_dir" && as_dir=.
8428 for ac_exec_ext in '' $ac_executable_extensions; do
8429 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8430 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8432 break 2
8434 done
8435 done
8436 IFS=$as_save_IFS
8440 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8441 if test -n "$ac_ct_OBJC"; then
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8443 $as_echo "$ac_ct_OBJC" >&6; }
8444 else
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8446 $as_echo "no" >&6; }
8450 test -n "$ac_ct_OBJC" && break
8451 done
8453 if test "x$ac_ct_OBJC" = x; then
8454 OBJC="gcc"
8455 else
8456 case $cross_compiling:$ac_tool_warned in
8457 yes:)
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8459 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8460 ac_tool_warned=yes ;;
8461 esac
8462 OBJC=$ac_ct_OBJC
8466 # Provide some information about the compiler.
8467 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8468 set X $ac_compile
8469 ac_compiler=$2
8470 for ac_option in --version -v -V -qversion; do
8471 { { ac_try="$ac_compiler $ac_option >&5"
8472 case "(($ac_try" in
8473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8474 *) ac_try_echo=$ac_try;;
8475 esac
8476 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8477 $as_echo "$ac_try_echo"; } >&5
8478 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8479 ac_status=$?
8480 if test -s conftest.err; then
8481 sed '10a\
8482 ... rest of stderr output deleted ...
8483 10q' conftest.err >conftest.er1
8484 cat conftest.er1 >&5
8486 rm -f conftest.er1 conftest.err
8487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8488 test $ac_status = 0; }
8489 done
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8492 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8493 if ${ac_cv_objc_compiler_gnu+:} false; then :
8494 $as_echo_n "(cached) " >&6
8495 else
8496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8497 /* end confdefs.h. */
8500 main ()
8502 #ifndef __GNUC__
8503 choke me
8504 #endif
8507 return 0;
8509 _ACEOF
8510 if ac_fn_objc_try_compile "$LINENO"; then :
8511 ac_compiler_gnu=yes
8512 else
8513 ac_compiler_gnu=no
8515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8516 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8520 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8521 if test $ac_compiler_gnu = yes; then
8522 GOBJC=yes
8523 else
8524 GOBJC=
8526 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8527 ac_save_OBJCFLAGS=$OBJCFLAGS
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8529 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8530 if ${ac_cv_prog_objc_g+:} false; then :
8531 $as_echo_n "(cached) " >&6
8532 else
8533 ac_save_objc_werror_flag=$ac_objc_werror_flag
8534 ac_objc_werror_flag=yes
8535 ac_cv_prog_objc_g=no
8536 OBJCFLAGS="-g"
8537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8538 /* end confdefs.h. */
8541 main ()
8545 return 0;
8547 _ACEOF
8548 if ac_fn_objc_try_compile "$LINENO"; then :
8549 ac_cv_prog_objc_g=yes
8550 else
8551 OBJCFLAGS=""
8552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8553 /* end confdefs.h. */
8556 main ()
8560 return 0;
8562 _ACEOF
8563 if ac_fn_objc_try_compile "$LINENO"; then :
8565 else
8566 ac_objc_werror_flag=$ac_save_objc_werror_flag
8567 OBJCFLAGS="-g"
8568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8569 /* end confdefs.h. */
8572 main ()
8576 return 0;
8578 _ACEOF
8579 if ac_fn_objc_try_compile "$LINENO"; then :
8580 ac_cv_prog_objc_g=yes
8582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8587 ac_objc_werror_flag=$ac_save_objc_werror_flag
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8590 $as_echo "$ac_cv_prog_objc_g" >&6; }
8591 if test "$ac_test_OBJCFLAGS" = set; then
8592 OBJCFLAGS=$ac_save_OBJCFLAGS
8593 elif test $ac_cv_prog_objc_g = yes; then
8594 if test "$GOBJC" = yes; then
8595 OBJCFLAGS="-g -O2"
8596 else
8597 OBJCFLAGS="-g"
8599 else
8600 if test "$GOBJC" = yes; then
8601 OBJCFLAGS="-O2"
8602 else
8603 OBJCFLAGS=
8606 ac_ext=m
8607 ac_cpp='$OBJCPP $CPPFLAGS'
8608 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8609 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8610 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8613 ac_ext=m
8614 ac_cpp='$OBJCPP $CPPFLAGS'
8615 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8616 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8617 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8619 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8620 if test -z "$OBJCPP"; then
8621 if ${ac_cv_prog_OBJCPP+:} false; then :
8622 $as_echo_n "(cached) " >&6
8623 else
8624 # Double quotes because OBJCPP needs to be expanded
8625 for OBJCPP in "$OBJC -E" "/lib/cpp"
8627 ac_preproc_ok=false
8628 for ac_objc_preproc_warn_flag in '' yes
8630 # Use a header file that comes with gcc, so configuring glibc
8631 # with a fresh cross-compiler works.
8632 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8633 # <limits.h> exists even on freestanding compilers.
8634 # On the NeXT, cc -E runs the code through the compiler's parser,
8635 # not just through cpp. "Syntax error" is here to catch this case.
8636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8637 /* end confdefs.h. */
8638 #ifdef __STDC__
8639 # include <limits.h>
8640 #else
8641 # include <assert.h>
8642 #endif
8643 Syntax error
8644 _ACEOF
8645 if ac_fn_objc_try_cpp "$LINENO"; then :
8647 else
8648 # Broken: fails on valid input.
8649 continue
8651 rm -f conftest.err conftest.i conftest.$ac_ext
8653 # OK, works on sane cases. Now check whether nonexistent headers
8654 # can be detected and how.
8655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8656 /* end confdefs.h. */
8657 #include <ac_nonexistent.h>
8658 _ACEOF
8659 if ac_fn_objc_try_cpp "$LINENO"; then :
8660 # Broken: success on invalid input.
8661 continue
8662 else
8663 # Passes both tests.
8664 ac_preproc_ok=:
8665 break
8667 rm -f conftest.err conftest.i conftest.$ac_ext
8669 done
8670 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8671 rm -f conftest.i conftest.err conftest.$ac_ext
8672 if $ac_preproc_ok; then :
8673 break
8676 done
8677 ac_cv_prog_OBJCPP=$OBJCPP
8680 OBJCPP=$ac_cv_prog_OBJCPP
8681 else
8682 ac_cv_prog_OBJCPP=$OBJCPP
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8685 $as_echo "$OBJCPP" >&6; }
8686 ac_preproc_ok=false
8687 for ac_objc_preproc_warn_flag in '' yes
8689 # Use a header file that comes with gcc, so configuring glibc
8690 # with a fresh cross-compiler works.
8691 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8692 # <limits.h> exists even on freestanding compilers.
8693 # On the NeXT, cc -E runs the code through the compiler's parser,
8694 # not just through cpp. "Syntax error" is here to catch this case.
8695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8696 /* end confdefs.h. */
8697 #ifdef __STDC__
8698 # include <limits.h>
8699 #else
8700 # include <assert.h>
8701 #endif
8702 Syntax error
8703 _ACEOF
8704 if ac_fn_objc_try_cpp "$LINENO"; then :
8706 else
8707 # Broken: fails on valid input.
8708 continue
8710 rm -f conftest.err conftest.i conftest.$ac_ext
8712 # OK, works on sane cases. Now check whether nonexistent headers
8713 # can be detected and how.
8714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8715 /* end confdefs.h. */
8716 #include <ac_nonexistent.h>
8717 _ACEOF
8718 if ac_fn_objc_try_cpp "$LINENO"; then :
8719 # Broken: success on invalid input.
8720 continue
8721 else
8722 # Passes both tests.
8723 ac_preproc_ok=:
8724 break
8726 rm -f conftest.err conftest.i conftest.$ac_ext
8728 done
8729 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8730 rm -f conftest.i conftest.err conftest.$ac_ext
8731 if $ac_preproc_ok; then :
8733 else
8734 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8735 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8736 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8737 See \`config.log' for more details" "$LINENO" 5; }
8740 ac_ext=m
8741 ac_cpp='$OBJCPP $CPPFLAGS'
8742 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8743 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8744 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8747 for ac_header in Metal/Metal.h
8748 do :
8749 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8750 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8751 cat >>confdefs.h <<_ACEOF
8752 #define HAVE_METAL_METAL_H 1
8753 _ACEOF
8757 done
8759 ac_ext=c
8760 ac_cpp='$CPP $CPPFLAGS'
8761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8765 LIBEXT="dylib"
8766 DLLFLAGS="$DLLFLAGS -fPIC"
8767 LDDLLFLAGS="-fPIC"
8768 COREFOUNDATION_LIBS="-framework CoreFoundation"
8770 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8772 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8774 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8776 CORESERVICES_LIBS="-framework CoreServices"
8778 APPKIT_LIBS="-framework AppKit"
8780 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8783 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8785 wine_can_build_preloader=yes
8786 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist,-segaddr,WINE_4GB_RESERVE,0x100000000"
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8788 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8789 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8790 $as_echo_n "(cached) " >&6
8791 else
8792 ac_wine_try_cflags_saved=$CFLAGS
8793 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8795 /* end confdefs.h. */
8796 int main(int argc, char **argv) { return 0; }
8797 _ACEOF
8798 if ac_fn_c_try_link "$LINENO"; then :
8799 ac_cv_cflags__Wl__no_new_main__e__main=yes
8800 else
8801 ac_cv_cflags__Wl__no_new_main__e__main=no
8803 rm -f core conftest.err conftest.$ac_objext \
8804 conftest$ac_exeext conftest.$ac_ext
8805 CFLAGS=$ac_wine_try_cflags_saved
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8808 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8809 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8810 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8812 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8813 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8814 $as_echo_n "(cached) " >&6
8815 else
8816 ac_wine_try_cflags_saved=$CFLAGS
8817 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8819 /* end confdefs.h. */
8820 int main(int argc, char **argv) { return 0; }
8821 _ACEOF
8822 if ac_fn_c_try_link "$LINENO"; then :
8823 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8824 else
8825 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8827 rm -f core conftest.err conftest.$ac_objext \
8828 conftest$ac_exeext conftest.$ac_ext
8829 CFLAGS=$ac_wine_try_cflags_saved
8831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8832 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8833 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8834 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8835 else
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8837 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8838 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8839 $as_echo_n "(cached) " >&6
8840 else
8841 ac_wine_try_cflags_saved=$CFLAGS
8842 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8844 /* end confdefs.h. */
8845 int main(int argc, char **argv) { return 0; }
8846 _ACEOF
8847 if ac_fn_c_try_link "$LINENO"; then :
8848 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8849 else
8850 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8852 rm -f core conftest.err conftest.$ac_objext \
8853 conftest$ac_exeext conftest.$ac_ext
8854 CFLAGS=$ac_wine_try_cflags_saved
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8857 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8858 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8859 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8860 else
8861 wine_can_build_preloader=no
8864 else
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8866 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8867 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8868 $as_echo_n "(cached) " >&6
8869 else
8870 ac_wine_try_cflags_saved=$CFLAGS
8871 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8873 /* end confdefs.h. */
8874 int main(int argc, char **argv) { return 0; }
8875 _ACEOF
8876 if ac_fn_c_try_link "$LINENO"; then :
8877 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8878 else
8879 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8881 rm -f core conftest.err conftest.$ac_objext \
8882 conftest$ac_exeext conftest.$ac_ext
8883 CFLAGS=$ac_wine_try_cflags_saved
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8886 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8887 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8888 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8889 else
8890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8891 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8892 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8893 $as_echo_n "(cached) " >&6
8894 else
8895 ac_wine_try_cflags_saved=$CFLAGS
8896 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8898 /* end confdefs.h. */
8899 int main(int argc, char **argv) { return 0; }
8900 _ACEOF
8901 if ac_fn_c_try_link "$LINENO"; then :
8902 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8903 else
8904 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8906 rm -f core conftest.err conftest.$ac_objext \
8907 conftest$ac_exeext conftest.$ac_ext
8908 CFLAGS=$ac_wine_try_cflags_saved
8910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8911 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8912 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8913 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8914 else
8915 wine_can_build_preloader=no
8919 if test "$wine_can_build_preloader" = "yes"
8920 then
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8922 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8923 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8924 $as_echo_n "(cached) " >&6
8925 else
8926 ac_wine_try_cflags_saved=$CFLAGS
8927 CFLAGS="$CFLAGS -Wl,-no_pie"
8928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8929 /* end confdefs.h. */
8930 int main(int argc, char **argv) { return 0; }
8931 _ACEOF
8932 if ac_fn_c_try_link "$LINENO"; then :
8933 ac_cv_cflags__Wl__no_pie=yes
8934 else
8935 ac_cv_cflags__Wl__no_pie=no
8937 rm -f core conftest.err conftest.$ac_objext \
8938 conftest$ac_exeext conftest.$ac_ext
8939 CFLAGS=$ac_wine_try_cflags_saved
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8942 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8943 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8944 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8946 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8947 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8948 else
8949 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8952 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8953 then
8954 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8957 if test "$ac_cv_header_Security_Security_h" = "yes"
8958 then
8959 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8961 ac_save_LIBS="$LIBS"
8962 LIBS="$LIBS $SECURITY_LIBS"
8963 for ac_func in SSLCopyPeerCertificates
8964 do :
8965 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8966 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8967 cat >>confdefs.h <<_ACEOF
8968 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8969 _ACEOF
8972 done
8974 LIBS="$ac_save_LIBS"
8976 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
8977 then
8978 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8980 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8982 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8983 then
8984 OPENAL_LIBS="-framework OpenAL"
8987 cat >>confdefs.h <<_ACEOF
8988 #define HAVE_OPENAL 1
8989 _ACEOF
8991 ac_cv_lib_openal=yes
8993 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8994 then
8995 OPENCL_LIBS="-framework OpenCL"
8997 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8999 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
9000 then
9001 ac_save_LIBS="$LIBS"
9002 LIBS="$LIBS $IOKIT_LIBS"
9003 for ac_func in IOHIDManagerCreate
9004 do :
9005 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
9006 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
9007 cat >>confdefs.h <<_ACEOF
9008 #define HAVE_IOHIDMANAGERCREATE 1
9009 _ACEOF
9012 done
9014 LIBS="$ac_save_LIBS"
9017 if test "x$with_quicktime" != "xno"
9018 then
9019 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
9020 then
9021 ac_save_LIBS="$LIBS"
9022 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
9024 $as_echo_n "checking for the QuickTime framework... " >&6; }
9025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9026 /* end confdefs.h. */
9027 #include <QuickTime/ImageCompression.h>
9029 main ()
9031 CodecManagerVersion(NULL);
9033 return 0;
9035 _ACEOF
9036 if ac_fn_c_try_link "$LINENO"; then :
9037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9038 $as_echo "yes" >&6; }
9039 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
9041 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
9042 else
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9044 $as_echo "no" >&6; }
9045 ac_cv_header_QuickTime_ImageCompression_h=no
9047 rm -f core conftest.err conftest.$ac_objext \
9048 conftest$ac_exeext conftest.$ac_ext
9049 LIBS="$ac_save_LIBS"
9052 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9053 case "x$with_quicktime" in
9054 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9055 xno) ;;
9056 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9057 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9058 esac
9062 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9063 then
9064 CARBON_LIBS="-framework Carbon"
9067 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9068 then
9069 METAL_LIBS="-framework Metal -framework QuartzCore"
9073 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9074 then
9075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9076 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9077 ac_ext=m
9078 ac_cpp='$OBJCPP $CPPFLAGS'
9079 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9080 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9081 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9084 /* end confdefs.h. */
9085 #include <Metal/Metal.h>
9087 main ()
9089 id<MTLDevice> device; device.registryID;
9091 return 0;
9093 _ACEOF
9094 if ac_fn_objc_try_compile "$LINENO"; then :
9095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9096 $as_echo "yes" >&6; }
9098 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9100 else
9101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9102 $as_echo "no" >&6; }
9104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9105 ac_ext=c
9106 ac_cpp='$CPP $CPPFLAGS'
9107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9113 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9114 then
9115 ac_save_LIBS="$LIBS"
9116 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9117 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9118 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9119 enable_winemac_drv=${enable_winemac_drv:-yes}
9122 LIBS="$ac_save_LIBS"
9125 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9127 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9129 WINELOADER_DEPENDS="wine_info.plist"
9131 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9134 linux-android*)
9135 DLLFLAGS="$DLLFLAGS -fPIC"
9136 LDDLLFLAGS="-fPIC"
9137 LDEXECFLAGS="-Wl,-pie"
9138 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9140 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9141 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9142 $as_echo_n "(cached) " >&6
9143 else
9144 ac_wine_try_cflags_saved=$CFLAGS
9145 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9147 /* end confdefs.h. */
9148 int main(int argc, char **argv) { return 0; }
9149 _ACEOF
9150 if ac_fn_c_try_link "$LINENO"; then :
9151 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9152 else
9153 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9155 rm -f core conftest.err conftest.$ac_objext \
9156 conftest$ac_exeext conftest.$ac_ext
9157 CFLAGS=$ac_wine_try_cflags_saved
9159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9160 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9161 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9162 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9164 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9167 $as_echo_n "checking for -lEGL... " >&6; }
9168 if ${ac_cv_lib_soname_EGL+:} false; then :
9169 $as_echo_n "(cached) " >&6
9170 else
9171 ac_check_soname_save_LIBS=$LIBS
9172 LIBS="-lEGL $LIBS"
9173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9174 /* end confdefs.h. */
9176 /* Override any GCC internal prototype to avoid an error.
9177 Use char because int might match the return type of a GCC
9178 builtin and then its argument prototype would still apply. */
9179 #ifdef __cplusplus
9180 extern "C"
9181 #endif
9182 char eglGetProcAddress ();
9184 main ()
9186 return eglGetProcAddress ();
9188 return 0;
9190 _ACEOF
9191 if ac_fn_c_try_link "$LINENO"; then :
9192 case "$LIBEXT" in
9193 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9194 dylib) ac_cv_lib_soname_EGL=`$OTOOL -L conftest$ac_exeext | grep "libEGL\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libEGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9195 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9196 if ${ac_cv_lib_soname_EGL:+false} :; then :
9197 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9198 fi ;;
9199 esac
9200 else
9201 ac_cv_lib_soname_EGL=
9203 rm -f core conftest.err conftest.$ac_objext \
9204 conftest$ac_exeext conftest.$ac_ext
9205 LIBS=$ac_check_soname_save_LIBS
9207 if ${ac_cv_lib_soname_EGL:+false} :; then :
9208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9209 $as_echo "not found" >&6; }
9211 else
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9213 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9215 cat >>confdefs.h <<_ACEOF
9216 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9217 _ACEOF
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9222 $as_echo_n "checking for -lGLESv2... " >&6; }
9223 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9224 $as_echo_n "(cached) " >&6
9225 else
9226 ac_check_soname_save_LIBS=$LIBS
9227 LIBS="-lGLESv2 $LIBS"
9228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9229 /* end confdefs.h. */
9231 /* Override any GCC internal prototype to avoid an error.
9232 Use char because int might match the return type of a GCC
9233 builtin and then its argument prototype would still apply. */
9234 #ifdef __cplusplus
9235 extern "C"
9236 #endif
9237 char glFlush ();
9239 main ()
9241 return glFlush ();
9243 return 0;
9245 _ACEOF
9246 if ac_fn_c_try_link "$LINENO"; then :
9247 case "$LIBEXT" in
9248 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9249 dylib) ac_cv_lib_soname_GLESv2=`$OTOOL -L conftest$ac_exeext | grep "libGLESv2\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLESv2\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9250 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9251 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9252 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9253 fi ;;
9254 esac
9255 else
9256 ac_cv_lib_soname_GLESv2=
9258 rm -f core conftest.err conftest.$ac_objext \
9259 conftest$ac_exeext conftest.$ac_ext
9260 LIBS=$ac_check_soname_save_LIBS
9262 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9264 $as_echo "not found" >&6; }
9266 else
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9268 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9270 cat >>confdefs.h <<_ACEOF
9271 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9272 _ACEOF
9277 if test "x$exec_prefix" = xNONE
9278 then
9279 case $host_cpu in
9280 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9281 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9282 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9283 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9284 esac
9289 case $host_cpu in
9290 *i[3456789]86*)
9291 DLLFLAGS="$DLLFLAGS -fno-PIC"
9292 LDDLLFLAGS="-fno-PIC"
9293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
9294 $as_echo_n "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
9295 if ${ac_cv_cflags__fno_PIC__Wl__z_notext+:} false; then :
9296 $as_echo_n "(cached) " >&6
9297 else
9298 ac_wine_try_cflags_saved=$CFLAGS
9299 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
9300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9301 /* end confdefs.h. */
9302 int main(int argc, char **argv) { return 0; }
9303 _ACEOF
9304 if ac_fn_c_try_link "$LINENO"; then :
9305 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
9306 else
9307 ac_cv_cflags__fno_PIC__Wl__z_notext=no
9309 rm -f core conftest.err conftest.$ac_objext \
9310 conftest$ac_exeext conftest.$ac_ext
9311 CFLAGS=$ac_wine_try_cflags_saved
9313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
9314 $as_echo "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
9315 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes; then :
9316 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
9320 DLLFLAGS="$DLLFLAGS -fPIC"
9321 LDDLLFLAGS="-fPIC" ;;
9322 esac
9323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9324 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9325 if ${ac_cv_c_dll_gnuelf+:} false; then :
9326 $as_echo_n "(cached) " >&6
9327 else
9328 ac_wine_try_cflags_saved=$CFLAGS
9329 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9331 /* end confdefs.h. */
9332 void myfunc() {}
9333 _ACEOF
9334 if ac_fn_c_try_link "$LINENO"; then :
9335 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9336 else
9337 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9339 rm -f core conftest.err conftest.$ac_objext \
9340 conftest$ac_exeext conftest.$ac_ext
9341 CFLAGS=$ac_wine_try_cflags_saved
9342 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9343 ac_cv_c_dll_gnuelf="yes"
9344 else
9345 ac_cv_c_dll_gnuelf="no"
9348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9349 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9350 if test "$ac_cv_c_dll_gnuelf" = "yes"
9351 then
9352 LIBWINE_LDFLAGS="-shared"
9353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9354 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9355 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9356 $as_echo_n "(cached) " >&6
9357 else
9358 ac_wine_try_cflags_saved=$CFLAGS
9359 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9361 /* end confdefs.h. */
9362 int main(int argc, char **argv) { return 0; }
9363 _ACEOF
9364 if ac_fn_c_try_link "$LINENO"; then :
9365 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9366 else
9367 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9369 rm -f core conftest.err conftest.$ac_objext \
9370 conftest$ac_exeext conftest.$ac_ext
9371 CFLAGS=$ac_wine_try_cflags_saved
9373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9374 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9375 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9376 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9377 else
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9379 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9380 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9381 $as_echo_n "(cached) " >&6
9382 else
9383 ac_wine_try_cflags_saved=$CFLAGS
9384 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9386 /* end confdefs.h. */
9387 int main(int argc, char **argv) { return 0; }
9388 _ACEOF
9389 if ac_fn_c_try_link "$LINENO"; then :
9390 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9391 else
9392 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9394 rm -f core conftest.err conftest.$ac_objext \
9395 conftest$ac_exeext conftest.$ac_ext
9396 CFLAGS=$ac_wine_try_cflags_saved
9398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9399 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9400 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9401 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9405 echo '{ global: *; };' >conftest.map
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9407 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9408 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9409 $as_echo_n "(cached) " >&6
9410 else
9411 ac_wine_try_cflags_saved=$CFLAGS
9412 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9414 /* end confdefs.h. */
9415 int main(int argc, char **argv) { return 0; }
9416 _ACEOF
9417 if ac_fn_c_try_link "$LINENO"; then :
9418 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9419 else
9420 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9422 rm -f core conftest.err conftest.$ac_objext \
9423 conftest$ac_exeext conftest.$ac_ext
9424 CFLAGS=$ac_wine_try_cflags_saved
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9427 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9428 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9429 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9431 rm -f conftest.map
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9434 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9435 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9436 $as_echo_n "(cached) " >&6
9437 else
9438 ac_wine_try_cflags_saved=$CFLAGS
9439 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9441 /* end confdefs.h. */
9442 int main(int argc, char **argv) { return 0; }
9443 _ACEOF
9444 if ac_fn_c_try_link "$LINENO"; then :
9445 ac_cv_cflags__Wl___export_dynamic=yes
9446 else
9447 ac_cv_cflags__Wl___export_dynamic=no
9449 rm -f core conftest.err conftest.$ac_objext \
9450 conftest$ac_exeext conftest.$ac_ext
9451 CFLAGS=$ac_wine_try_cflags_saved
9453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9454 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9455 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9456 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9458 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9460 case $host_cpu in
9461 *i[3456789]86* | x86_64 | *aarch64*)
9462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9463 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9464 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9465 $as_echo_n "(cached) " >&6
9466 else
9467 ac_wine_try_cflags_saved=$CFLAGS
9468 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9470 /* end confdefs.h. */
9471 int main(int argc, char **argv) { return 0; }
9472 _ACEOF
9473 if ac_fn_c_try_link "$LINENO"; then :
9474 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9475 else
9476 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9478 rm -f core conftest.err conftest.$ac_objext \
9479 conftest$ac_exeext conftest.$ac_ext
9480 CFLAGS=$ac_wine_try_cflags_saved
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9483 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9484 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9485 case $host_os in
9486 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9487 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9488 esac
9489 else
9490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9491 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9492 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9493 $as_echo_n "(cached) " >&6
9494 else
9495 ac_wine_try_cflags_saved=$CFLAGS
9496 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9498 /* end confdefs.h. */
9499 int main(int argc, char **argv) { return 0; }
9500 _ACEOF
9501 if ac_fn_c_try_link "$LINENO"; then :
9502 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9503 else
9504 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9506 rm -f core conftest.err conftest.$ac_objext \
9507 conftest$ac_exeext conftest.$ac_ext
9508 CFLAGS=$ac_wine_try_cflags_saved
9510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9511 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9512 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9513 case $host_os in
9514 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9515 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9516 esac
9518 # Extract the first word of "prelink", so it can be a program name with args.
9519 set dummy prelink; ac_word=$2
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9521 $as_echo_n "checking for $ac_word... " >&6; }
9522 if ${ac_cv_path_PRELINK+:} false; then :
9523 $as_echo_n "(cached) " >&6
9524 else
9525 case $PRELINK in
9526 [\\/]* | ?:[\\/]*)
9527 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9531 for as_dir in /sbin /usr/sbin $PATH
9533 IFS=$as_save_IFS
9534 test -z "$as_dir" && as_dir=.
9535 for ac_exec_ext in '' $ac_executable_extensions; do
9536 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9537 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9539 break 2
9541 done
9542 done
9543 IFS=$as_save_IFS
9545 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9547 esac
9549 PRELINK=$ac_cv_path_PRELINK
9550 if test -n "$PRELINK"; then
9551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9552 $as_echo "$PRELINK" >&6; }
9553 else
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9555 $as_echo "no" >&6; }
9559 if test "x$PRELINK" = xfalse
9560 then
9561 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9565 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9566 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9567 $as_echo_n "(cached) " >&6
9568 else
9569 ac_wine_try_cflags_saved=$CFLAGS
9570 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9572 /* end confdefs.h. */
9573 int main(int argc, char **argv) { return 0; }
9574 _ACEOF
9575 if ac_fn_c_try_link "$LINENO"; then :
9576 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9577 else
9578 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9580 rm -f core conftest.err conftest.$ac_objext \
9581 conftest$ac_exeext conftest.$ac_ext
9582 CFLAGS=$ac_wine_try_cflags_saved
9584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9585 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9586 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9587 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9590 esac
9592 else
9593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9594 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9595 if ${ac_cv_c_dll_unixware+:} false; then :
9596 $as_echo_n "(cached) " >&6
9597 else
9598 ac_wine_try_cflags_saved=$CFLAGS
9599 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9601 /* end confdefs.h. */
9602 void myfunc() {}
9603 _ACEOF
9604 if ac_fn_c_try_link "$LINENO"; then :
9605 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9606 else
9607 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9609 rm -f core conftest.err conftest.$ac_objext \
9610 conftest$ac_exeext conftest.$ac_ext
9611 CFLAGS=$ac_wine_try_cflags_saved
9612 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9613 ac_cv_c_dll_unixware="yes"
9614 else
9615 ac_cv_c_dll_unixware="no"
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9619 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9620 if test "$ac_cv_c_dll_unixware" = "yes"
9621 then
9622 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9625 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9627 LIBWINE_DEPENDS="wine.map"
9629 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9631 esac
9633 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9634 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9635 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9636 enable_winemac_drv=${enable_winemac_drv:-no}
9637 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9640 if test "x$with_mingw" != xno
9641 then
9642 case "x$with_mingw" in
9643 x|xyes) case "$host_cpu" in
9644 aarch64*)
9645 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
9646 arm*)
9647 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
9648 i[3456789]86*)
9649 ac_prefix_list="i686-w64-mingw32-gcc i586-w64-mingw32-gcc i486-w64-mingw32-gcc i386-w64-mingw32-gcc i686-pc-mingw32-gcc i586-pc-mingw32-gcc i486-pc-mingw32-gcc i386-pc-mingw32-gcc i686-mingw32msvc-gcc i586-mingw32msvc-gcc i486-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i486-mingw32-gcc i386-mingw32-gcc
9650 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9651 mingw32-gcc clang" ;;
9652 x86_64)
9653 ac_prefix_list="x86_64-pc-mingw32-gcc amd64-pc-mingw32-gcc x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-mingw32msvc-gcc amd64-mingw32msvc-gcc
9654 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
9656 ac_prefix_list="" ;;
9657 esac
9658 for ac_prog in $ac_prefix_list
9660 # Extract the first word of "$ac_prog", so it can be a program name with args.
9661 set dummy $ac_prog; ac_word=$2
9662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9663 $as_echo_n "checking for $ac_word... " >&6; }
9664 if ${ac_cv_prog_CROSSCC+:} false; then :
9665 $as_echo_n "(cached) " >&6
9666 else
9667 if test -n "$CROSSCC"; then
9668 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9669 else
9670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9671 for as_dir in $PATH
9673 IFS=$as_save_IFS
9674 test -z "$as_dir" && as_dir=.
9675 for ac_exec_ext in '' $ac_executable_extensions; do
9676 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9677 ac_cv_prog_CROSSCC="$ac_prog"
9678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9679 break 2
9681 done
9682 done
9683 IFS=$as_save_IFS
9687 CROSSCC=$ac_cv_prog_CROSSCC
9688 if test -n "$CROSSCC"; then
9689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9690 $as_echo "$CROSSCC" >&6; }
9691 else
9692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9693 $as_echo "no" >&6; }
9697 test -n "$CROSSCC" && break
9698 done
9699 test -n "$CROSSCC" || CROSSCC="false"
9701 *) CROSSCC=$with_mingw ;;
9702 esac
9703 if test "$CROSSCC" != "false"
9704 then
9705 ac_save_CC="$CC"
9706 saved_CFLAGS=$CFLAGS
9707 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9709 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9713 CC="$CROSSCC"
9714 CFLAGS=$CROSSCFLAGS
9715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9716 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9717 if ${wine_cv_crosscc+:} false; then :
9718 $as_echo_n "(cached) " >&6
9719 else
9720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9721 /* end confdefs.h. */
9724 main ()
9728 return 0;
9730 _ACEOF
9731 if ac_fn_c_try_compile "$LINENO"; then :
9732 wine_cv_crosscc=yes
9733 else
9734 wine_cv_crosscc=no
9736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9739 $as_echo "$wine_cv_crosscc" >&6; }
9740 if test $wine_cv_crosscc = yes
9741 then
9742 set x $CROSSCC
9743 shift
9744 while test $# -ge 1
9746 case "$1" in
9747 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9748 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9749 esac
9750 shift
9751 done
9753 llvm_target=$CROSSTARGET
9754 llvm_cflags="-fuse-ld=lld"
9755 if test -z "$llvm_target"
9756 then
9757 case $host_cpu in
9758 *i[3456789]86*) llvm_target=i686-windows ;;
9759 *) llvm_target=$host_cpu-windows ;;
9760 esac
9762 case $llvm_target in
9763 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9764 esac
9765 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9767 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9768 if eval \${$as_ac_var+:} false; then :
9769 $as_echo_n "(cached) " >&6
9770 else
9771 ac_wine_try_cflags_saved=$CFLAGS
9772 ac_wine_try_cflags_saved_cc=$CC
9773 ac_wine_try_cflags_saved_exeext=$ac_exeext
9774 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9775 CC="$CROSSCC"
9776 ac_exeext=".exe"
9777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9778 /* end confdefs.h. */
9779 int __cdecl mainCRTStartup(void) { return 0; }
9780 _ACEOF
9781 if ac_fn_c_try_link "$LINENO"; then :
9782 eval "$as_ac_var=yes"
9783 else
9784 eval "$as_ac_var=no"
9786 rm -f core conftest.err conftest.$ac_objext \
9787 conftest$ac_exeext conftest.$ac_ext
9788 CFLAGS=$ac_wine_try_cflags_saved
9789 CC=$ac_wine_try_cflags_saved_cc
9790 ac_exeext=$ac_wine_try_cflags_saved_exeext
9792 eval ac_res=\$$as_ac_var
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9794 $as_echo "$ac_res" >&6; }
9795 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9796 CROSSTARGET=$llvm_target
9797 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9798 DELAYLOADFLAG="-Wl,-delayload,"
9800 CFLAGS="$CFLAGS $llvm_cflags"
9803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9804 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9805 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9806 $as_echo_n "(cached) " >&6
9807 else
9808 ac_wine_try_cflags_saved=$CFLAGS
9809 ac_wine_try_cflags_saved_cc=$CC
9810 ac_wine_try_cflags_saved_exeext=$ac_exeext
9811 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9812 CC="$CROSSCC"
9813 ac_exeext=".exe"
9814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9815 /* end confdefs.h. */
9816 int __cdecl mainCRTStartup(void) { return 0; }
9817 _ACEOF
9818 if ac_fn_c_try_link "$LINENO"; then :
9819 ac_cv_crosscflags__fno_strict_aliasing=yes
9820 else
9821 ac_cv_crosscflags__fno_strict_aliasing=no
9823 rm -f core conftest.err conftest.$ac_objext \
9824 conftest$ac_exeext conftest.$ac_ext
9825 CFLAGS=$ac_wine_try_cflags_saved
9826 CC=$ac_wine_try_cflags_saved_cc
9827 ac_exeext=$ac_wine_try_cflags_saved_exeext
9829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9830 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9831 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9832 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9835 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9836 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9837 $as_echo_n "(cached) " >&6
9838 else
9839 ac_wine_try_cflags_saved=$CFLAGS
9840 ac_wine_try_cflags_saved_cc=$CC
9841 ac_wine_try_cflags_saved_exeext=$ac_exeext
9842 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9843 CC="$CROSSCC"
9844 ac_exeext=".exe"
9845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9846 /* end confdefs.h. */
9847 int __cdecl mainCRTStartup(void) { return 0; }
9848 _ACEOF
9849 if ac_fn_c_try_link "$LINENO"; then :
9850 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9851 else
9852 ac_cv_crosscflags__Werror_unknown_warning_option=no
9854 rm -f core conftest.err conftest.$ac_objext \
9855 conftest$ac_exeext conftest.$ac_ext
9856 CFLAGS=$ac_wine_try_cflags_saved
9857 CC=$ac_wine_try_cflags_saved_cc
9858 ac_exeext=$ac_wine_try_cflags_saved_exeext
9860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9861 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9862 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9863 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9866 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9867 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9868 $as_echo_n "(cached) " >&6
9869 else
9870 ac_wine_try_cflags_saved=$CFLAGS
9871 ac_wine_try_cflags_saved_cc=$CC
9872 ac_wine_try_cflags_saved_exeext=$ac_exeext
9873 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9874 CC="$CROSSCC"
9875 ac_exeext=".exe"
9876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9877 /* end confdefs.h. */
9878 int __cdecl mainCRTStartup(void) { return 0; }
9879 _ACEOF
9880 if ac_fn_c_try_link "$LINENO"; then :
9881 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9882 else
9883 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9885 rm -f core conftest.err conftest.$ac_objext \
9886 conftest$ac_exeext conftest.$ac_ext
9887 CFLAGS=$ac_wine_try_cflags_saved
9888 CC=$ac_wine_try_cflags_saved_cc
9889 ac_exeext=$ac_wine_try_cflags_saved_exeext
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9892 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9893 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9894 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9897 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9898 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9899 $as_echo_n "(cached) " >&6
9900 else
9901 ac_wine_try_cflags_saved=$CFLAGS
9902 ac_wine_try_cflags_saved_cc=$CC
9903 ac_wine_try_cflags_saved_exeext=$ac_exeext
9904 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9905 CC="$CROSSCC"
9906 ac_exeext=".exe"
9907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9908 /* end confdefs.h. */
9909 int __cdecl mainCRTStartup(void) { return 0; }
9910 _ACEOF
9911 if ac_fn_c_try_link "$LINENO"; then :
9912 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9913 else
9914 ac_cv_crosscflags__Wdeclaration_after_statement=no
9916 rm -f core conftest.err conftest.$ac_objext \
9917 conftest$ac_exeext conftest.$ac_ext
9918 CFLAGS=$ac_wine_try_cflags_saved
9919 CC=$ac_wine_try_cflags_saved_cc
9920 ac_exeext=$ac_wine_try_cflags_saved_exeext
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9923 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9924 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9925 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9928 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9929 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9930 $as_echo_n "(cached) " >&6
9931 else
9932 ac_wine_try_cflags_saved=$CFLAGS
9933 ac_wine_try_cflags_saved_cc=$CC
9934 ac_wine_try_cflags_saved_exeext=$ac_exeext
9935 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9936 CC="$CROSSCC"
9937 ac_exeext=".exe"
9938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9939 /* end confdefs.h. */
9940 int __cdecl mainCRTStartup(void) { return 0; }
9941 _ACEOF
9942 if ac_fn_c_try_link "$LINENO"; then :
9943 ac_cv_crosscflags__Wempty_body=yes
9944 else
9945 ac_cv_crosscflags__Wempty_body=no
9947 rm -f core conftest.err conftest.$ac_objext \
9948 conftest$ac_exeext conftest.$ac_ext
9949 CFLAGS=$ac_wine_try_cflags_saved
9950 CC=$ac_wine_try_cflags_saved_cc
9951 ac_exeext=$ac_wine_try_cflags_saved_exeext
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9954 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9955 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9956 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9959 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9960 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9961 $as_echo_n "(cached) " >&6
9962 else
9963 ac_wine_try_cflags_saved=$CFLAGS
9964 ac_wine_try_cflags_saved_cc=$CC
9965 ac_wine_try_cflags_saved_exeext=$ac_exeext
9966 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9967 CC="$CROSSCC"
9968 ac_exeext=".exe"
9969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9970 /* end confdefs.h. */
9971 int __cdecl mainCRTStartup(void) { return 0; }
9972 _ACEOF
9973 if ac_fn_c_try_link "$LINENO"; then :
9974 ac_cv_crosscflags__Wignored_qualifiers=yes
9975 else
9976 ac_cv_crosscflags__Wignored_qualifiers=no
9978 rm -f core conftest.err conftest.$ac_objext \
9979 conftest$ac_exeext conftest.$ac_ext
9980 CFLAGS=$ac_wine_try_cflags_saved
9981 CC=$ac_wine_try_cflags_saved_cc
9982 ac_exeext=$ac_wine_try_cflags_saved_exeext
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9985 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9986 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9987 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
9990 $as_echo_n "checking whether the cross-compiler supports -Winit-self... " >&6; }
9991 if ${ac_cv_crosscflags__Winit_self+:} false; then :
9992 $as_echo_n "(cached) " >&6
9993 else
9994 ac_wine_try_cflags_saved=$CFLAGS
9995 ac_wine_try_cflags_saved_cc=$CC
9996 ac_wine_try_cflags_saved_exeext=$ac_exeext
9997 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
9998 CC="$CROSSCC"
9999 ac_exeext=".exe"
10000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10001 /* end confdefs.h. */
10002 int __cdecl mainCRTStartup(void) { return 0; }
10003 _ACEOF
10004 if ac_fn_c_try_link "$LINENO"; then :
10005 ac_cv_crosscflags__Winit_self=yes
10006 else
10007 ac_cv_crosscflags__Winit_self=no
10009 rm -f core conftest.err conftest.$ac_objext \
10010 conftest$ac_exeext conftest.$ac_ext
10011 CFLAGS=$ac_wine_try_cflags_saved
10012 CC=$ac_wine_try_cflags_saved_cc
10013 ac_exeext=$ac_wine_try_cflags_saved_exeext
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
10016 $as_echo "$ac_cv_crosscflags__Winit_self" >&6; }
10017 if test "x$ac_cv_crosscflags__Winit_self" = xyes; then :
10018 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10021 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10022 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10023 $as_echo_n "(cached) " >&6
10024 else
10025 ac_wine_try_cflags_saved=$CFLAGS
10026 ac_wine_try_cflags_saved_cc=$CC
10027 ac_wine_try_cflags_saved_exeext=$ac_exeext
10028 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10029 CC="$CROSSCC"
10030 ac_exeext=".exe"
10031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10032 /* end confdefs.h. */
10033 int __cdecl mainCRTStartup(void) { return 0; }
10034 _ACEOF
10035 if ac_fn_c_try_link "$LINENO"; then :
10036 ac_cv_crosscflags__Wpacked_not_aligned=yes
10037 else
10038 ac_cv_crosscflags__Wpacked_not_aligned=no
10040 rm -f core conftest.err conftest.$ac_objext \
10041 conftest$ac_exeext conftest.$ac_ext
10042 CFLAGS=$ac_wine_try_cflags_saved
10043 CC=$ac_wine_try_cflags_saved_cc
10044 ac_exeext=$ac_wine_try_cflags_saved_exeext
10046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10047 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10048 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10049 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10052 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10053 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10054 $as_echo_n "(cached) " >&6
10055 else
10056 ac_wine_try_cflags_saved=$CFLAGS
10057 ac_wine_try_cflags_saved_cc=$CC
10058 ac_wine_try_cflags_saved_exeext=$ac_exeext
10059 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10060 CC="$CROSSCC"
10061 ac_exeext=".exe"
10062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10063 /* end confdefs.h. */
10064 int __cdecl mainCRTStartup(void) { return 0; }
10065 _ACEOF
10066 if ac_fn_c_try_link "$LINENO"; then :
10067 ac_cv_crosscflags__Wpragma_pack=yes
10068 else
10069 ac_cv_crosscflags__Wpragma_pack=no
10071 rm -f core conftest.err conftest.$ac_objext \
10072 conftest$ac_exeext conftest.$ac_ext
10073 CFLAGS=$ac_wine_try_cflags_saved
10074 CC=$ac_wine_try_cflags_saved_cc
10075 ac_exeext=$ac_wine_try_cflags_saved_exeext
10077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10078 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10079 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10080 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10083 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10084 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10085 $as_echo_n "(cached) " >&6
10086 else
10087 ac_wine_try_cflags_saved=$CFLAGS
10088 ac_wine_try_cflags_saved_cc=$CC
10089 ac_wine_try_cflags_saved_exeext=$ac_exeext
10090 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10091 CC="$CROSSCC"
10092 ac_exeext=".exe"
10093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10094 /* end confdefs.h. */
10095 int __cdecl mainCRTStartup(void) { return 0; }
10096 _ACEOF
10097 if ac_fn_c_try_link "$LINENO"; then :
10098 ac_cv_crosscflags__Wshift_overflow_2=yes
10099 else
10100 ac_cv_crosscflags__Wshift_overflow_2=no
10102 rm -f core conftest.err conftest.$ac_objext \
10103 conftest$ac_exeext conftest.$ac_ext
10104 CFLAGS=$ac_wine_try_cflags_saved
10105 CC=$ac_wine_try_cflags_saved_cc
10106 ac_exeext=$ac_wine_try_cflags_saved_exeext
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10109 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10110 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10111 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10114 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10115 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10116 $as_echo_n "(cached) " >&6
10117 else
10118 ac_wine_try_cflags_saved=$CFLAGS
10119 ac_wine_try_cflags_saved_cc=$CC
10120 ac_wine_try_cflags_saved_exeext=$ac_exeext
10121 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10122 CC="$CROSSCC"
10123 ac_exeext=".exe"
10124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10125 /* end confdefs.h. */
10126 int __cdecl mainCRTStartup(void) { return 0; }
10127 _ACEOF
10128 if ac_fn_c_try_link "$LINENO"; then :
10129 ac_cv_crosscflags__Wstrict_prototypes=yes
10130 else
10131 ac_cv_crosscflags__Wstrict_prototypes=no
10133 rm -f core conftest.err conftest.$ac_objext \
10134 conftest$ac_exeext conftest.$ac_ext
10135 CFLAGS=$ac_wine_try_cflags_saved
10136 CC=$ac_wine_try_cflags_saved_cc
10137 ac_exeext=$ac_wine_try_cflags_saved_exeext
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10140 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10141 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10142 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10145 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10146 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10147 $as_echo_n "(cached) " >&6
10148 else
10149 ac_wine_try_cflags_saved=$CFLAGS
10150 ac_wine_try_cflags_saved_cc=$CC
10151 ac_wine_try_cflags_saved_exeext=$ac_exeext
10152 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10153 CC="$CROSSCC"
10154 ac_exeext=".exe"
10155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10156 /* end confdefs.h. */
10157 int __cdecl mainCRTStartup(void) { return 0; }
10158 _ACEOF
10159 if ac_fn_c_try_link "$LINENO"; then :
10160 ac_cv_crosscflags__Wtype_limits=yes
10161 else
10162 ac_cv_crosscflags__Wtype_limits=no
10164 rm -f core conftest.err conftest.$ac_objext \
10165 conftest$ac_exeext conftest.$ac_ext
10166 CFLAGS=$ac_wine_try_cflags_saved
10167 CC=$ac_wine_try_cflags_saved_cc
10168 ac_exeext=$ac_wine_try_cflags_saved_exeext
10170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10171 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10172 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10173 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10176 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10177 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10178 $as_echo_n "(cached) " >&6
10179 else
10180 ac_wine_try_cflags_saved=$CFLAGS
10181 ac_wine_try_cflags_saved_cc=$CC
10182 ac_wine_try_cflags_saved_exeext=$ac_exeext
10183 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10184 CC="$CROSSCC"
10185 ac_exeext=".exe"
10186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10187 /* end confdefs.h. */
10188 int __cdecl mainCRTStartup(void) { return 0; }
10189 _ACEOF
10190 if ac_fn_c_try_link "$LINENO"; then :
10191 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10192 else
10193 ac_cv_crosscflags__Wunused_but_set_parameter=no
10195 rm -f core conftest.err conftest.$ac_objext \
10196 conftest$ac_exeext conftest.$ac_ext
10197 CFLAGS=$ac_wine_try_cflags_saved
10198 CC=$ac_wine_try_cflags_saved_cc
10199 ac_exeext=$ac_wine_try_cflags_saved_exeext
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10202 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10203 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10204 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10207 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10208 if ${ac_cv_crosscflags__Wvla+:} false; then :
10209 $as_echo_n "(cached) " >&6
10210 else
10211 ac_wine_try_cflags_saved=$CFLAGS
10212 ac_wine_try_cflags_saved_cc=$CC
10213 ac_wine_try_cflags_saved_exeext=$ac_exeext
10214 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10215 CC="$CROSSCC"
10216 ac_exeext=".exe"
10217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10218 /* end confdefs.h. */
10219 int __cdecl mainCRTStartup(void) { return 0; }
10220 _ACEOF
10221 if ac_fn_c_try_link "$LINENO"; then :
10222 ac_cv_crosscflags__Wvla=yes
10223 else
10224 ac_cv_crosscflags__Wvla=no
10226 rm -f core conftest.err conftest.$ac_objext \
10227 conftest$ac_exeext conftest.$ac_ext
10228 CFLAGS=$ac_wine_try_cflags_saved
10229 CC=$ac_wine_try_cflags_saved_cc
10230 ac_exeext=$ac_wine_try_cflags_saved_exeext
10232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10233 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10234 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10235 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10238 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10239 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10240 $as_echo_n "(cached) " >&6
10241 else
10242 ac_wine_try_cflags_saved=$CFLAGS
10243 ac_wine_try_cflags_saved_cc=$CC
10244 ac_wine_try_cflags_saved_exeext=$ac_exeext
10245 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10246 CC="$CROSSCC"
10247 ac_exeext=".exe"
10248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10249 /* end confdefs.h. */
10250 int __cdecl mainCRTStartup(void) { return 0; }
10251 _ACEOF
10252 if ac_fn_c_try_link "$LINENO"; then :
10253 ac_cv_crosscflags__Wwrite_strings=yes
10254 else
10255 ac_cv_crosscflags__Wwrite_strings=no
10257 rm -f core conftest.err conftest.$ac_objext \
10258 conftest$ac_exeext conftest.$ac_ext
10259 CFLAGS=$ac_wine_try_cflags_saved
10260 CC=$ac_wine_try_cflags_saved_cc
10261 ac_exeext=$ac_wine_try_cflags_saved_exeext
10263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10264 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10265 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10266 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10269 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10270 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10271 $as_echo_n "(cached) " >&6
10272 else
10273 ac_wine_try_cflags_saved=$CFLAGS
10274 ac_wine_try_cflags_saved_cc=$CC
10275 ac_wine_try_cflags_saved_exeext=$ac_exeext
10276 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10277 CC="$CROSSCC"
10278 ac_exeext=".exe"
10279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10280 /* end confdefs.h. */
10281 int __cdecl mainCRTStartup(void) { return 0; }
10282 _ACEOF
10283 if ac_fn_c_try_link "$LINENO"; then :
10284 ac_cv_crosscflags__Wpointer_arith=yes
10285 else
10286 ac_cv_crosscflags__Wpointer_arith=no
10288 rm -f core conftest.err conftest.$ac_objext \
10289 conftest$ac_exeext conftest.$ac_ext
10290 CFLAGS=$ac_wine_try_cflags_saved
10291 CC=$ac_wine_try_cflags_saved_cc
10292 ac_exeext=$ac_wine_try_cflags_saved_exeext
10294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10295 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10296 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10297 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10300 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10301 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10302 $as_echo_n "(cached) " >&6
10303 else
10304 ac_wine_try_cflags_saved=$CFLAGS
10305 ac_wine_try_cflags_saved_cc=$CC
10306 ac_wine_try_cflags_saved_exeext=$ac_exeext
10307 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10308 CC="$CROSSCC"
10309 ac_exeext=".exe"
10310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10311 /* end confdefs.h. */
10312 int __cdecl mainCRTStartup(void) { return 0; }
10313 _ACEOF
10314 if ac_fn_c_try_link "$LINENO"; then :
10315 ac_cv_crosscflags__Wlogical_op=yes
10316 else
10317 ac_cv_crosscflags__Wlogical_op=no
10319 rm -f core conftest.err conftest.$ac_objext \
10320 conftest$ac_exeext conftest.$ac_ext
10321 CFLAGS=$ac_wine_try_cflags_saved
10322 CC=$ac_wine_try_cflags_saved_cc
10323 ac_exeext=$ac_wine_try_cflags_saved_exeext
10325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10326 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10327 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10328 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10331 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10332 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10333 $as_echo_n "(cached) " >&6
10334 else
10335 ac_wine_try_cflags_saved=$CFLAGS
10336 ac_wine_try_cflags_saved_cc=$CC
10337 ac_wine_try_cflags_saved_exeext=$ac_exeext
10338 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10339 CC="$CROSSCC"
10340 ac_exeext=".exe"
10341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10342 /* end confdefs.h. */
10343 int __cdecl mainCRTStartup(void) { return 0; }
10344 _ACEOF
10345 if ac_fn_c_try_link "$LINENO"; then :
10346 ac_cv_crosscflags__Wabsolute_value=yes
10347 else
10348 ac_cv_crosscflags__Wabsolute_value=no
10350 rm -f core conftest.err conftest.$ac_objext \
10351 conftest$ac_exeext conftest.$ac_ext
10352 CFLAGS=$ac_wine_try_cflags_saved
10353 CC=$ac_wine_try_cflags_saved_cc
10354 ac_exeext=$ac_wine_try_cflags_saved_exeext
10356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10357 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10358 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10359 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10362 case $host_cpu in
10363 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10364 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10365 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10366 $as_echo_n "(cached) " >&6
10367 else
10368 ac_wine_try_cflags_saved=$CFLAGS
10369 ac_wine_try_cflags_saved_cc=$CC
10370 ac_wine_try_cflags_saved_exeext=$ac_exeext
10371 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10372 CC="$CROSSCC"
10373 ac_exeext=".exe"
10374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10375 /* end confdefs.h. */
10376 int __cdecl mainCRTStartup(void) { return 0; }
10377 _ACEOF
10378 if ac_fn_c_try_link "$LINENO"; then :
10379 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10380 else
10381 ac_cv_crosscflags__fno_omit_frame_pointer=no
10383 rm -f core conftest.err conftest.$ac_objext \
10384 conftest$ac_exeext conftest.$ac_ext
10385 CFLAGS=$ac_wine_try_cflags_saved
10386 CC=$ac_wine_try_cflags_saved_cc
10387 ac_exeext=$ac_wine_try_cflags_saved_exeext
10389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10390 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10391 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10392 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10393 fi ;;
10394 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10395 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10396 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10397 $as_echo_n "(cached) " >&6
10398 else
10399 ac_wine_try_cflags_saved=$CFLAGS
10400 ac_wine_try_cflags_saved_cc=$CC
10401 ac_wine_try_cflags_saved_exeext=$ac_exeext
10402 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10403 CC="$CROSSCC"
10404 ac_exeext=".exe"
10405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10406 /* end confdefs.h. */
10407 int __cdecl mainCRTStartup(void) { return 0; }
10408 _ACEOF
10409 if ac_fn_c_try_link "$LINENO"; then :
10410 ac_cv_crosscflags__Wno_format=yes
10411 else
10412 ac_cv_crosscflags__Wno_format=no
10414 rm -f core conftest.err conftest.$ac_objext \
10415 conftest$ac_exeext conftest.$ac_ext
10416 CFLAGS=$ac_wine_try_cflags_saved
10417 CC=$ac_wine_try_cflags_saved_cc
10418 ac_exeext=$ac_wine_try_cflags_saved_exeext
10420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10421 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10422 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10423 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10426 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10427 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10428 $as_echo_n "(cached) " >&6
10429 else
10430 ac_wine_try_cflags_saved=$CFLAGS
10431 ac_wine_try_cflags_saved_cc=$CC
10432 ac_wine_try_cflags_saved_exeext=$ac_exeext
10433 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10434 CC="$CROSSCC"
10435 ac_exeext=".exe"
10436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10437 /* end confdefs.h. */
10438 int __cdecl mainCRTStartup(void) { return 0; }
10439 _ACEOF
10440 if ac_fn_c_try_link "$LINENO"; then :
10441 ac_cv_crosscflags__Wformat_overflow=yes
10442 else
10443 ac_cv_crosscflags__Wformat_overflow=no
10445 rm -f core conftest.err conftest.$ac_objext \
10446 conftest$ac_exeext conftest.$ac_ext
10447 CFLAGS=$ac_wine_try_cflags_saved
10448 CC=$ac_wine_try_cflags_saved_cc
10449 ac_exeext=$ac_wine_try_cflags_saved_exeext
10451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10452 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10453 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10454 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10457 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10458 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10459 $as_echo_n "(cached) " >&6
10460 else
10461 ac_wine_try_cflags_saved=$CFLAGS
10462 ac_wine_try_cflags_saved_cc=$CC
10463 ac_wine_try_cflags_saved_exeext=$ac_exeext
10464 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10465 CC="$CROSSCC"
10466 ac_exeext=".exe"
10467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10468 /* end confdefs.h. */
10469 int __cdecl mainCRTStartup(void) { return 0; }
10470 _ACEOF
10471 if ac_fn_c_try_link "$LINENO"; then :
10472 ac_cv_crosscflags__Wnonnull=yes
10473 else
10474 ac_cv_crosscflags__Wnonnull=no
10476 rm -f core conftest.err conftest.$ac_objext \
10477 conftest$ac_exeext conftest.$ac_ext
10478 CFLAGS=$ac_wine_try_cflags_saved
10479 CC=$ac_wine_try_cflags_saved_cc
10480 ac_exeext=$ac_wine_try_cflags_saved_exeext
10482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10483 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10484 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10485 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10488 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10489 if ${ac_cv_crosscflags__mcx16+:} false; then :
10490 $as_echo_n "(cached) " >&6
10491 else
10492 ac_wine_try_cflags_saved=$CFLAGS
10493 ac_wine_try_cflags_saved_cc=$CC
10494 ac_wine_try_cflags_saved_exeext=$ac_exeext
10495 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10496 CC="$CROSSCC"
10497 ac_exeext=".exe"
10498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10499 /* end confdefs.h. */
10500 int __cdecl mainCRTStartup(void) { return 0; }
10501 _ACEOF
10502 if ac_fn_c_try_link "$LINENO"; then :
10503 ac_cv_crosscflags__mcx16=yes
10504 else
10505 ac_cv_crosscflags__mcx16=no
10507 rm -f core conftest.err conftest.$ac_objext \
10508 conftest$ac_exeext conftest.$ac_ext
10509 CFLAGS=$ac_wine_try_cflags_saved
10510 CC=$ac_wine_try_cflags_saved_cc
10511 ac_exeext=$ac_wine_try_cflags_saved_exeext
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10514 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10515 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10516 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10517 fi ;;
10518 aarch64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10519 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10520 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10521 $as_echo_n "(cached) " >&6
10522 else
10523 ac_wine_try_cflags_saved=$CFLAGS
10524 ac_wine_try_cflags_saved_cc=$CC
10525 ac_wine_try_cflags_saved_exeext=$ac_exeext
10526 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10527 CC="$CROSSCC"
10528 ac_exeext=".exe"
10529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10530 /* end confdefs.h. */
10531 int __cdecl mainCRTStartup(void) { return 0; }
10532 _ACEOF
10533 if ac_fn_c_try_link "$LINENO"; then :
10534 ac_cv_crosscflags__Wno_format=yes
10535 else
10536 ac_cv_crosscflags__Wno_format=no
10538 rm -f core conftest.err conftest.$ac_objext \
10539 conftest$ac_exeext conftest.$ac_ext
10540 CFLAGS=$ac_wine_try_cflags_saved
10541 CC=$ac_wine_try_cflags_saved_cc
10542 ac_exeext=$ac_wine_try_cflags_saved_exeext
10544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10545 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10546 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10547 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10548 fi ;;
10549 esac
10552 if test -z "$CROSSDEBUG"
10553 then
10554 for ac_flag in $CROSSCFLAGS; do
10555 case $ac_flag in
10556 -gdwarf*) CROSSDEBUG=dwarf ;;
10557 -gcodeview) CROSSDEBUG=pdb ;;
10558 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10559 esac
10560 done
10562 case $CROSSDEBUG in
10563 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10564 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10565 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10566 $as_echo_n "(cached) " >&6
10567 else
10568 ac_wine_try_cflags_saved=$CFLAGS
10569 ac_wine_try_cflags_saved_cc=$CC
10570 ac_wine_try_cflags_saved_exeext=$ac_exeext
10571 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10572 CC="$CROSSCC"
10573 ac_exeext=".exe"
10574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10575 /* end confdefs.h. */
10576 int __cdecl mainCRTStartup(void) { return 0; }
10577 _ACEOF
10578 if ac_fn_c_try_link "$LINENO"; then :
10579 ac_cv_crosscflags__gdwarf_2=yes
10580 else
10581 ac_cv_crosscflags__gdwarf_2=no
10583 rm -f core conftest.err conftest.$ac_objext \
10584 conftest$ac_exeext conftest.$ac_ext
10585 CFLAGS=$ac_wine_try_cflags_saved
10586 CC=$ac_wine_try_cflags_saved_cc
10587 ac_exeext=$ac_wine_try_cflags_saved_exeext
10589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10590 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10591 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10592 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10595 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10596 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10597 $as_echo_n "(cached) " >&6
10598 else
10599 ac_wine_try_cflags_saved=$CFLAGS
10600 ac_wine_try_cflags_saved_cc=$CC
10601 ac_wine_try_cflags_saved_exeext=$ac_exeext
10602 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10603 CC="$CROSSCC"
10604 ac_exeext=".exe"
10605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10606 /* end confdefs.h. */
10607 int __cdecl mainCRTStartup(void) { return 0; }
10608 _ACEOF
10609 if ac_fn_c_try_link "$LINENO"; then :
10610 ac_cv_crosscflags__gstrict_dwarf=yes
10611 else
10612 ac_cv_crosscflags__gstrict_dwarf=no
10614 rm -f core conftest.err conftest.$ac_objext \
10615 conftest$ac_exeext conftest.$ac_ext
10616 CFLAGS=$ac_wine_try_cflags_saved
10617 CC=$ac_wine_try_cflags_saved_cc
10618 ac_exeext=$ac_wine_try_cflags_saved_exeext
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10621 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10622 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10623 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10624 fi ;;
10625 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10626 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10627 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10628 $as_echo_n "(cached) " >&6
10629 else
10630 ac_wine_try_cflags_saved=$CFLAGS
10631 ac_wine_try_cflags_saved_cc=$CC
10632 ac_wine_try_cflags_saved_exeext=$ac_exeext
10633 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10634 CC="$CROSSCC"
10635 ac_exeext=".exe"
10636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10637 /* end confdefs.h. */
10638 int __cdecl mainCRTStartup(void) { return 0; }
10639 _ACEOF
10640 if ac_fn_c_try_link "$LINENO"; then :
10641 ac_cv_crosscflags__gcodeview=yes
10642 else
10643 ac_cv_crosscflags__gcodeview=no
10645 rm -f core conftest.err conftest.$ac_objext \
10646 conftest$ac_exeext conftest.$ac_ext
10647 CFLAGS=$ac_wine_try_cflags_saved
10648 CC=$ac_wine_try_cflags_saved_cc
10649 ac_exeext=$ac_wine_try_cflags_saved_exeext
10651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10652 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10653 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10654 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10655 fi ;;
10656 esac
10658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10659 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10660 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10661 $as_echo_n "(cached) " >&6
10662 else
10663 ac_wine_try_cflags_saved=$CFLAGS
10664 ac_wine_try_cflags_saved_cc=$CC
10665 ac_wine_try_cflags_saved_exeext=$ac_exeext
10666 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10667 CC="$CROSSCC"
10668 ac_exeext=".exe"
10669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10670 /* end confdefs.h. */
10671 int __cdecl mainCRTStartup(void) { return 0; }
10672 _ACEOF
10673 if ac_fn_c_try_link "$LINENO"; then :
10674 ac_cv_crosscflags__fexcess_precision_standard=yes
10675 else
10676 ac_cv_crosscflags__fexcess_precision_standard=no
10678 rm -f core conftest.err conftest.$ac_objext \
10679 conftest$ac_exeext conftest.$ac_ext
10680 CFLAGS=$ac_wine_try_cflags_saved
10681 CC=$ac_wine_try_cflags_saved_cc
10682 ac_exeext=$ac_wine_try_cflags_saved_exeext
10684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10685 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10686 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10687 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10691 if test "x$enable_werror" = "xyes"
10692 then
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10694 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10695 if ${ac_cv_crosscflags__Werror+:} false; then :
10696 $as_echo_n "(cached) " >&6
10697 else
10698 ac_wine_try_cflags_saved=$CFLAGS
10699 ac_wine_try_cflags_saved_cc=$CC
10700 ac_wine_try_cflags_saved_exeext=$ac_exeext
10701 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10702 CC="$CROSSCC"
10703 ac_exeext=".exe"
10704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10705 /* end confdefs.h. */
10706 int __cdecl mainCRTStartup(void) { return 0; }
10707 _ACEOF
10708 if ac_fn_c_try_link "$LINENO"; then :
10709 ac_cv_crosscflags__Werror=yes
10710 else
10711 ac_cv_crosscflags__Werror=no
10713 rm -f core conftest.err conftest.$ac_objext \
10714 conftest$ac_exeext conftest.$ac_ext
10715 CFLAGS=$ac_wine_try_cflags_saved
10716 CC=$ac_wine_try_cflags_saved_cc
10717 ac_exeext=$ac_wine_try_cflags_saved_exeext
10719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10720 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10721 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10722 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10725 if test "x$enable_build_id" = "xyes"
10726 then
10727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
10728 $as_echo_n "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
10729 if ${ac_cv_crosscflags__Wl___build_id+:} false; then :
10730 $as_echo_n "(cached) " >&6
10731 else
10732 ac_wine_try_cflags_saved=$CFLAGS
10733 ac_wine_try_cflags_saved_cc=$CC
10734 ac_wine_try_cflags_saved_exeext=$ac_exeext
10735 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
10736 CC="$CROSSCC"
10737 ac_exeext=".exe"
10738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10739 /* end confdefs.h. */
10740 int __cdecl mainCRTStartup(void) { return 0; }
10741 _ACEOF
10742 if ac_fn_c_try_link "$LINENO"; then :
10743 ac_cv_crosscflags__Wl___build_id=yes
10744 else
10745 ac_cv_crosscflags__Wl___build_id=no
10747 rm -f core conftest.err conftest.$ac_objext \
10748 conftest$ac_exeext conftest.$ac_ext
10749 CFLAGS=$ac_wine_try_cflags_saved
10750 CC=$ac_wine_try_cflags_saved_cc
10751 ac_exeext=$ac_wine_try_cflags_saved_exeext
10753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
10754 $as_echo "$ac_cv_crosscflags__Wl___build_id" >&6; }
10755 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes; then :
10756 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
10757 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
10761 CFLAGS=$saved_CFLAGS
10762 CC="$ac_save_CC"
10765 if test "x$CROSSTARGET" = "x"; then :
10766 case "x$with_mingw" in
10767 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10768 xno) ;;
10769 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10770 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10771 esac
10776 if test "$ac_cv_header_pthread_h" = "yes"
10777 then
10778 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10779 if test "x$ac_cv_func_pthread_create" = xyes; then :
10781 else
10782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10783 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10784 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10785 $as_echo_n "(cached) " >&6
10786 else
10787 ac_check_lib_save_LIBS=$LIBS
10788 LIBS="-lpthread $LIBS"
10789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10790 /* end confdefs.h. */
10792 /* Override any GCC internal prototype to avoid an error.
10793 Use char because int might match the return type of a GCC
10794 builtin and then its argument prototype would still apply. */
10795 #ifdef __cplusplus
10796 extern "C"
10797 #endif
10798 char pthread_create ();
10800 main ()
10802 return pthread_create ();
10804 return 0;
10806 _ACEOF
10807 if ac_fn_c_try_link "$LINENO"; then :
10808 ac_cv_lib_pthread_pthread_create=yes
10809 else
10810 ac_cv_lib_pthread_pthread_create=no
10812 rm -f core conftest.err conftest.$ac_objext \
10813 conftest$ac_exeext conftest.$ac_ext
10814 LIBS=$ac_check_lib_save_LIBS
10816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10817 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10818 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10819 PTHREAD_LIBS="-lpthread"
10826 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10827 case "x$with_pthread" in
10828 xno) ;;
10829 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10830 Wine cannot support threads without libpthread.
10831 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10832 esac
10837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10838 $as_echo_n "checking for X... " >&6; }
10841 # Check whether --with-x was given.
10842 if test "${with_x+set}" = set; then :
10843 withval=$with_x;
10846 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10847 if test "x$with_x" = xno; then
10848 # The user explicitly disabled X.
10849 have_x=disabled
10850 else
10851 case $x_includes,$x_libraries in #(
10852 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10853 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10854 $as_echo_n "(cached) " >&6
10855 else
10856 # One or both of the vars are not set, and there is no cached value.
10857 ac_x_includes=no ac_x_libraries=no
10858 rm -f -r conftest.dir
10859 if mkdir conftest.dir; then
10860 cd conftest.dir
10861 cat >Imakefile <<'_ACEOF'
10862 incroot:
10863 @echo incroot='${INCROOT}'
10864 usrlibdir:
10865 @echo usrlibdir='${USRLIBDIR}'
10866 libdir:
10867 @echo libdir='${LIBDIR}'
10868 _ACEOF
10869 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10870 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10871 for ac_var in incroot usrlibdir libdir; do
10872 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10873 done
10874 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10875 for ac_extension in a so sl dylib la dll; do
10876 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10877 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10878 ac_im_usrlibdir=$ac_im_libdir; break
10880 done
10881 # Screen out bogus values from the imake configuration. They are
10882 # bogus both because they are the default anyway, and because
10883 # using them would break gcc on systems where it needs fixed includes.
10884 case $ac_im_incroot in
10885 /usr/include) ac_x_includes= ;;
10886 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10887 esac
10888 case $ac_im_usrlibdir in
10889 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10890 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10891 esac
10893 cd ..
10894 rm -f -r conftest.dir
10897 # Standard set of common directories for X headers.
10898 # Check X11 before X11Rn because it is often a symlink to the current release.
10899 ac_x_header_dirs='
10900 /usr/X11/include
10901 /usr/X11R7/include
10902 /usr/X11R6/include
10903 /usr/X11R5/include
10904 /usr/X11R4/include
10906 /usr/include/X11
10907 /usr/include/X11R7
10908 /usr/include/X11R6
10909 /usr/include/X11R5
10910 /usr/include/X11R4
10912 /usr/local/X11/include
10913 /usr/local/X11R7/include
10914 /usr/local/X11R6/include
10915 /usr/local/X11R5/include
10916 /usr/local/X11R4/include
10918 /usr/local/include/X11
10919 /usr/local/include/X11R7
10920 /usr/local/include/X11R6
10921 /usr/local/include/X11R5
10922 /usr/local/include/X11R4
10924 /usr/X386/include
10925 /usr/x386/include
10926 /usr/XFree86/include/X11
10928 /usr/include
10929 /usr/local/include
10930 /usr/unsupported/include
10931 /usr/athena/include
10932 /usr/local/x11r5/include
10933 /usr/lpp/Xamples/include
10935 /usr/openwin/include
10936 /usr/openwin/share/include'
10938 if test "$ac_x_includes" = no; then
10939 # Guess where to find include files, by looking for Xlib.h.
10940 # First, try using that file with no special directory specified.
10941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10942 /* end confdefs.h. */
10943 #include <X11/Xlib.h>
10944 _ACEOF
10945 if ac_fn_c_try_cpp "$LINENO"; then :
10946 # We can compile using X headers with no special include directory.
10947 ac_x_includes=
10948 else
10949 for ac_dir in $ac_x_header_dirs; do
10950 if test -r "$ac_dir/X11/Xlib.h"; then
10951 ac_x_includes=$ac_dir
10952 break
10954 done
10956 rm -f conftest.err conftest.i conftest.$ac_ext
10957 fi # $ac_x_includes = no
10959 if test "$ac_x_libraries" = no; then
10960 # Check for the libraries.
10961 # See if we find them without any special options.
10962 # Don't add to $LIBS permanently.
10963 ac_save_LIBS=$LIBS
10964 LIBS="-lX11 $LIBS"
10965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10966 /* end confdefs.h. */
10967 #include <X11/Xlib.h>
10969 main ()
10971 XrmInitialize ()
10973 return 0;
10975 _ACEOF
10976 if ac_fn_c_try_link "$LINENO"; then :
10977 LIBS=$ac_save_LIBS
10978 # We can link X programs with no special library path.
10979 ac_x_libraries=
10980 else
10981 LIBS=$ac_save_LIBS
10982 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10984 # Don't even attempt the hair of trying to link an X program!
10985 for ac_extension in a so sl dylib la dll; do
10986 if test -r "$ac_dir/libX11.$ac_extension"; then
10987 ac_x_libraries=$ac_dir
10988 break 2
10990 done
10991 done
10993 rm -f core conftest.err conftest.$ac_objext \
10994 conftest$ac_exeext conftest.$ac_ext
10995 fi # $ac_x_libraries = no
10997 case $ac_x_includes,$ac_x_libraries in #(
10998 no,* | *,no | *\'*)
10999 # Didn't find X, or a directory has "'" in its name.
11000 ac_cv_have_x="have_x=no";; #(
11002 # Record where we found X for the cache.
11003 ac_cv_have_x="have_x=yes\
11004 ac_x_includes='$ac_x_includes'\
11005 ac_x_libraries='$ac_x_libraries'"
11006 esac
11008 ;; #(
11009 *) have_x=yes;;
11010 esac
11011 eval "$ac_cv_have_x"
11012 fi # $with_x != no
11014 if test "$have_x" != yes; then
11015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
11016 $as_echo "$have_x" >&6; }
11017 no_x=yes
11018 else
11019 # If each of the values was on the command line, it overrides each guess.
11020 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11021 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11022 # Update the cache value to reflect the command line values.
11023 ac_cv_have_x="have_x=yes\
11024 ac_x_includes='$x_includes'\
11025 ac_x_libraries='$x_libraries'"
11026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
11027 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11030 if test "$no_x" = yes; then
11031 # Not all programs may use this symbol, but it does not hurt to define it.
11033 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
11035 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11036 else
11037 if test -n "$x_includes"; then
11038 X_CFLAGS="$X_CFLAGS -I$x_includes"
11041 # It would also be nice to do this for all -L options, not just this one.
11042 if test -n "$x_libraries"; then
11043 X_LIBS="$X_LIBS -L$x_libraries"
11044 # For Solaris; some versions of Sun CC require a space after -R and
11045 # others require no space. Words are not sufficient . . . .
11046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
11047 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
11048 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11049 ac_xsave_c_werror_flag=$ac_c_werror_flag
11050 ac_c_werror_flag=yes
11051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11052 /* end confdefs.h. */
11055 main ()
11059 return 0;
11061 _ACEOF
11062 if ac_fn_c_try_link "$LINENO"; then :
11063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11064 $as_echo "no" >&6; }
11065 X_LIBS="$X_LIBS -R$x_libraries"
11066 else
11067 LIBS="$ac_xsave_LIBS -R $x_libraries"
11068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11069 /* end confdefs.h. */
11072 main ()
11076 return 0;
11078 _ACEOF
11079 if ac_fn_c_try_link "$LINENO"; then :
11080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11081 $as_echo "yes" >&6; }
11082 X_LIBS="$X_LIBS -R $x_libraries"
11083 else
11084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11085 $as_echo "neither works" >&6; }
11087 rm -f core conftest.err conftest.$ac_objext \
11088 conftest$ac_exeext conftest.$ac_ext
11090 rm -f core conftest.err conftest.$ac_objext \
11091 conftest$ac_exeext conftest.$ac_ext
11092 ac_c_werror_flag=$ac_xsave_c_werror_flag
11093 LIBS=$ac_xsave_LIBS
11096 # Check for system-dependent libraries X programs must link with.
11097 # Do this before checking for the system-independent R6 libraries
11098 # (-lICE), since we may need -lsocket or whatever for X linking.
11100 if test "$ISC" = yes; then
11101 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11102 else
11103 # Martyn Johnson says this is needed for Ultrix, if the X
11104 # libraries were built with DECnet support. And Karl Berry says
11105 # the Alpha needs dnet_stub (dnet does not exist).
11106 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11108 /* end confdefs.h. */
11110 /* Override any GCC internal prototype to avoid an error.
11111 Use char because int might match the return type of a GCC
11112 builtin and then its argument prototype would still apply. */
11113 #ifdef __cplusplus
11114 extern "C"
11115 #endif
11116 char XOpenDisplay ();
11118 main ()
11120 return XOpenDisplay ();
11122 return 0;
11124 _ACEOF
11125 if ac_fn_c_try_link "$LINENO"; then :
11127 else
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11129 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11130 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11131 $as_echo_n "(cached) " >&6
11132 else
11133 ac_check_lib_save_LIBS=$LIBS
11134 LIBS="-ldnet $LIBS"
11135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11136 /* end confdefs.h. */
11138 /* Override any GCC internal prototype to avoid an error.
11139 Use char because int might match the return type of a GCC
11140 builtin and then its argument prototype would still apply. */
11141 #ifdef __cplusplus
11142 extern "C"
11143 #endif
11144 char dnet_ntoa ();
11146 main ()
11148 return dnet_ntoa ();
11150 return 0;
11152 _ACEOF
11153 if ac_fn_c_try_link "$LINENO"; then :
11154 ac_cv_lib_dnet_dnet_ntoa=yes
11155 else
11156 ac_cv_lib_dnet_dnet_ntoa=no
11158 rm -f core conftest.err conftest.$ac_objext \
11159 conftest$ac_exeext conftest.$ac_ext
11160 LIBS=$ac_check_lib_save_LIBS
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11163 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11164 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11165 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11168 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11170 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11171 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11172 $as_echo_n "(cached) " >&6
11173 else
11174 ac_check_lib_save_LIBS=$LIBS
11175 LIBS="-ldnet_stub $LIBS"
11176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11177 /* end confdefs.h. */
11179 /* Override any GCC internal prototype to avoid an error.
11180 Use char because int might match the return type of a GCC
11181 builtin and then its argument prototype would still apply. */
11182 #ifdef __cplusplus
11183 extern "C"
11184 #endif
11185 char dnet_ntoa ();
11187 main ()
11189 return dnet_ntoa ();
11191 return 0;
11193 _ACEOF
11194 if ac_fn_c_try_link "$LINENO"; then :
11195 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11196 else
11197 ac_cv_lib_dnet_stub_dnet_ntoa=no
11199 rm -f core conftest.err conftest.$ac_objext \
11200 conftest$ac_exeext conftest.$ac_ext
11201 LIBS=$ac_check_lib_save_LIBS
11203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11204 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11205 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11206 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11211 rm -f core conftest.err conftest.$ac_objext \
11212 conftest$ac_exeext conftest.$ac_ext
11213 LIBS="$ac_xsave_LIBS"
11215 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11216 # to get the SysV transport functions.
11217 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11218 # needs -lnsl.
11219 # The nsl library prevents programs from opening the X display
11220 # on Irix 5.2, according to T.E. Dickey.
11221 # The functions gethostbyname, getservbyname, and inet_addr are
11222 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11223 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11224 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11228 if test $ac_cv_func_gethostbyname = no; then
11229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11230 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11231 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11232 $as_echo_n "(cached) " >&6
11233 else
11234 ac_check_lib_save_LIBS=$LIBS
11235 LIBS="-lnsl $LIBS"
11236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11237 /* end confdefs.h. */
11239 /* Override any GCC internal prototype to avoid an error.
11240 Use char because int might match the return type of a GCC
11241 builtin and then its argument prototype would still apply. */
11242 #ifdef __cplusplus
11243 extern "C"
11244 #endif
11245 char gethostbyname ();
11247 main ()
11249 return gethostbyname ();
11251 return 0;
11253 _ACEOF
11254 if ac_fn_c_try_link "$LINENO"; then :
11255 ac_cv_lib_nsl_gethostbyname=yes
11256 else
11257 ac_cv_lib_nsl_gethostbyname=no
11259 rm -f core conftest.err conftest.$ac_objext \
11260 conftest$ac_exeext conftest.$ac_ext
11261 LIBS=$ac_check_lib_save_LIBS
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11264 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11265 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11266 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11269 if test $ac_cv_lib_nsl_gethostbyname = no; then
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11271 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11272 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11273 $as_echo_n "(cached) " >&6
11274 else
11275 ac_check_lib_save_LIBS=$LIBS
11276 LIBS="-lbsd $LIBS"
11277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11278 /* end confdefs.h. */
11280 /* Override any GCC internal prototype to avoid an error.
11281 Use char because int might match the return type of a GCC
11282 builtin and then its argument prototype would still apply. */
11283 #ifdef __cplusplus
11284 extern "C"
11285 #endif
11286 char gethostbyname ();
11288 main ()
11290 return gethostbyname ();
11292 return 0;
11294 _ACEOF
11295 if ac_fn_c_try_link "$LINENO"; then :
11296 ac_cv_lib_bsd_gethostbyname=yes
11297 else
11298 ac_cv_lib_bsd_gethostbyname=no
11300 rm -f core conftest.err conftest.$ac_objext \
11301 conftest$ac_exeext conftest.$ac_ext
11302 LIBS=$ac_check_lib_save_LIBS
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11305 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11306 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11307 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11313 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11314 # socket/setsockopt and other routines are undefined under SCO ODT
11315 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11316 # on later versions), says Simon Leinen: it contains gethostby*
11317 # variants that don't use the name server (or something). -lsocket
11318 # must be given before -lnsl if both are needed. We assume that
11319 # if connect needs -lnsl, so does gethostbyname.
11320 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11321 if test "x$ac_cv_func_connect" = xyes; then :
11325 if test $ac_cv_func_connect = no; then
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11327 $as_echo_n "checking for connect in -lsocket... " >&6; }
11328 if ${ac_cv_lib_socket_connect+:} false; then :
11329 $as_echo_n "(cached) " >&6
11330 else
11331 ac_check_lib_save_LIBS=$LIBS
11332 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11334 /* end confdefs.h. */
11336 /* Override any GCC internal prototype to avoid an error.
11337 Use char because int might match the return type of a GCC
11338 builtin and then its argument prototype would still apply. */
11339 #ifdef __cplusplus
11340 extern "C"
11341 #endif
11342 char connect ();
11344 main ()
11346 return connect ();
11348 return 0;
11350 _ACEOF
11351 if ac_fn_c_try_link "$LINENO"; then :
11352 ac_cv_lib_socket_connect=yes
11353 else
11354 ac_cv_lib_socket_connect=no
11356 rm -f core conftest.err conftest.$ac_objext \
11357 conftest$ac_exeext conftest.$ac_ext
11358 LIBS=$ac_check_lib_save_LIBS
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11361 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11362 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11363 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11368 # Guillermo Gomez says -lposix is necessary on A/UX.
11369 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11370 if test "x$ac_cv_func_remove" = xyes; then :
11374 if test $ac_cv_func_remove = no; then
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11376 $as_echo_n "checking for remove in -lposix... " >&6; }
11377 if ${ac_cv_lib_posix_remove+:} false; then :
11378 $as_echo_n "(cached) " >&6
11379 else
11380 ac_check_lib_save_LIBS=$LIBS
11381 LIBS="-lposix $LIBS"
11382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11383 /* end confdefs.h. */
11385 /* Override any GCC internal prototype to avoid an error.
11386 Use char because int might match the return type of a GCC
11387 builtin and then its argument prototype would still apply. */
11388 #ifdef __cplusplus
11389 extern "C"
11390 #endif
11391 char remove ();
11393 main ()
11395 return remove ();
11397 return 0;
11399 _ACEOF
11400 if ac_fn_c_try_link "$LINENO"; then :
11401 ac_cv_lib_posix_remove=yes
11402 else
11403 ac_cv_lib_posix_remove=no
11405 rm -f core conftest.err conftest.$ac_objext \
11406 conftest$ac_exeext conftest.$ac_ext
11407 LIBS=$ac_check_lib_save_LIBS
11409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11410 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11411 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11412 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11417 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11418 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11419 if test "x$ac_cv_func_shmat" = xyes; then :
11423 if test $ac_cv_func_shmat = no; then
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11425 $as_echo_n "checking for shmat in -lipc... " >&6; }
11426 if ${ac_cv_lib_ipc_shmat+:} false; then :
11427 $as_echo_n "(cached) " >&6
11428 else
11429 ac_check_lib_save_LIBS=$LIBS
11430 LIBS="-lipc $LIBS"
11431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11432 /* end confdefs.h. */
11434 /* Override any GCC internal prototype to avoid an error.
11435 Use char because int might match the return type of a GCC
11436 builtin and then its argument prototype would still apply. */
11437 #ifdef __cplusplus
11438 extern "C"
11439 #endif
11440 char shmat ();
11442 main ()
11444 return shmat ();
11446 return 0;
11448 _ACEOF
11449 if ac_fn_c_try_link "$LINENO"; then :
11450 ac_cv_lib_ipc_shmat=yes
11451 else
11452 ac_cv_lib_ipc_shmat=no
11454 rm -f core conftest.err conftest.$ac_objext \
11455 conftest$ac_exeext conftest.$ac_ext
11456 LIBS=$ac_check_lib_save_LIBS
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11459 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11460 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11461 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11467 # Check for libraries that X11R6 Xt/Xaw programs need.
11468 ac_save_LDFLAGS=$LDFLAGS
11469 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11470 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11471 # check for ICE first), but we must link in the order -lSM -lICE or
11472 # we get undefined symbols. So assume we have SM if we have ICE.
11473 # These have to be linked with before -lX11, unlike the other
11474 # libraries we check for below, so use a different variable.
11475 # John Interrante, Karl Berry
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11477 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11478 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11479 $as_echo_n "(cached) " >&6
11480 else
11481 ac_check_lib_save_LIBS=$LIBS
11482 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11484 /* end confdefs.h. */
11486 /* Override any GCC internal prototype to avoid an error.
11487 Use char because int might match the return type of a GCC
11488 builtin and then its argument prototype would still apply. */
11489 #ifdef __cplusplus
11490 extern "C"
11491 #endif
11492 char IceConnectionNumber ();
11494 main ()
11496 return IceConnectionNumber ();
11498 return 0;
11500 _ACEOF
11501 if ac_fn_c_try_link "$LINENO"; then :
11502 ac_cv_lib_ICE_IceConnectionNumber=yes
11503 else
11504 ac_cv_lib_ICE_IceConnectionNumber=no
11506 rm -f core conftest.err conftest.$ac_objext \
11507 conftest$ac_exeext conftest.$ac_ext
11508 LIBS=$ac_check_lib_save_LIBS
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11511 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11512 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11513 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11516 LDFLAGS=$ac_save_LDFLAGS
11521 if test "$have_x" = "yes"
11522 then
11523 ac_save_CPPFLAGS="$CPPFLAGS"
11524 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11527 $as_echo_n "checking for -lX11... " >&6; }
11528 if ${ac_cv_lib_soname_X11+:} false; then :
11529 $as_echo_n "(cached) " >&6
11530 else
11531 ac_check_soname_save_LIBS=$LIBS
11532 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11534 /* end confdefs.h. */
11536 /* Override any GCC internal prototype to avoid an error.
11537 Use char because int might match the return type of a GCC
11538 builtin and then its argument prototype would still apply. */
11539 #ifdef __cplusplus
11540 extern "C"
11541 #endif
11542 char XCreateWindow ();
11544 main ()
11546 return XCreateWindow ();
11548 return 0;
11550 _ACEOF
11551 if ac_fn_c_try_link "$LINENO"; then :
11552 case "$LIBEXT" in
11553 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11554 dylib) ac_cv_lib_soname_X11=`$OTOOL -L conftest$ac_exeext | grep "libX11\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libX11\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11555 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11556 if ${ac_cv_lib_soname_X11:+false} :; then :
11557 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11558 fi ;;
11559 esac
11560 else
11561 ac_cv_lib_soname_X11=
11563 rm -f core conftest.err conftest.$ac_objext \
11564 conftest$ac_exeext conftest.$ac_ext
11565 LIBS=$ac_check_soname_save_LIBS
11567 if ${ac_cv_lib_soname_X11:+false} :; then :
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11569 $as_echo "not found" >&6; }
11571 else
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11573 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11575 cat >>confdefs.h <<_ACEOF
11576 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11577 _ACEOF
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11582 $as_echo_n "checking for -lXext... " >&6; }
11583 if ${ac_cv_lib_soname_Xext+:} false; then :
11584 $as_echo_n "(cached) " >&6
11585 else
11586 ac_check_soname_save_LIBS=$LIBS
11587 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11589 /* end confdefs.h. */
11591 /* Override any GCC internal prototype to avoid an error.
11592 Use char because int might match the return type of a GCC
11593 builtin and then its argument prototype would still apply. */
11594 #ifdef __cplusplus
11595 extern "C"
11596 #endif
11597 char XextCreateExtension ();
11599 main ()
11601 return XextCreateExtension ();
11603 return 0;
11605 _ACEOF
11606 if ac_fn_c_try_link "$LINENO"; then :
11607 case "$LIBEXT" in
11608 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11609 dylib) ac_cv_lib_soname_Xext=`$OTOOL -L conftest$ac_exeext | grep "libXext\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXext\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11610 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11611 if ${ac_cv_lib_soname_Xext:+false} :; then :
11612 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11613 fi ;;
11614 esac
11615 else
11616 ac_cv_lib_soname_Xext=
11618 rm -f core conftest.err conftest.$ac_objext \
11619 conftest$ac_exeext conftest.$ac_ext
11620 LIBS=$ac_check_soname_save_LIBS
11622 if ${ac_cv_lib_soname_Xext:+false} :; then :
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11624 $as_echo "not found" >&6; }
11626 else
11627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11628 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11630 cat >>confdefs.h <<_ACEOF
11631 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11632 _ACEOF
11634 X_LIBS="$X_LIBS -lXext"
11636 X_LIBS="$X_LIBS -lX11"
11638 for ac_header in X11/Xlib.h \
11639 X11/XKBlib.h \
11640 X11/Xutil.h \
11641 X11/Xcursor/Xcursor.h \
11642 X11/extensions/shape.h \
11643 X11/extensions/XInput.h \
11644 X11/extensions/XInput2.h \
11645 X11/extensions/XShm.h \
11646 X11/extensions/Xcomposite.h \
11647 X11/extensions/Xfixes.h \
11648 X11/extensions/Xinerama.h \
11649 X11/extensions/Xrandr.h \
11650 X11/extensions/Xrender.h \
11651 X11/extensions/xf86vmode.h \
11652 X11/extensions/xf86vmproto.h
11653 do :
11654 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11655 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11656 # include <X11/Xlib.h>
11657 #endif
11658 #ifdef HAVE_X11_XUTIL_H
11659 # include <X11/Xutil.h>
11660 #endif
11662 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11663 cat >>confdefs.h <<_ACEOF
11664 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11665 _ACEOF
11669 done
11672 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11673 then
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11675 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11676 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11677 $as_echo_n "(cached) " >&6
11678 else
11679 ac_check_lib_save_LIBS=$LIBS
11680 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11682 /* end confdefs.h. */
11684 /* Override any GCC internal prototype to avoid an error.
11685 Use char because int might match the return type of a GCC
11686 builtin and then its argument prototype would still apply. */
11687 #ifdef __cplusplus
11688 extern "C"
11689 #endif
11690 char XkbQueryExtension ();
11692 main ()
11694 return XkbQueryExtension ();
11696 return 0;
11698 _ACEOF
11699 if ac_fn_c_try_link "$LINENO"; then :
11700 ac_cv_lib_X11_XkbQueryExtension=yes
11701 else
11702 ac_cv_lib_X11_XkbQueryExtension=no
11704 rm -f core conftest.err conftest.$ac_objext \
11705 conftest$ac_exeext conftest.$ac_ext
11706 LIBS=$ac_check_lib_save_LIBS
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11709 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11710 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11712 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11718 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11719 then
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11721 $as_echo_n "checking for -lXcursor... " >&6; }
11722 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11723 $as_echo_n "(cached) " >&6
11724 else
11725 ac_check_soname_save_LIBS=$LIBS
11726 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11728 /* end confdefs.h. */
11730 /* Override any GCC internal prototype to avoid an error.
11731 Use char because int might match the return type of a GCC
11732 builtin and then its argument prototype would still apply. */
11733 #ifdef __cplusplus
11734 extern "C"
11735 #endif
11736 char XcursorImageLoadCursor ();
11738 main ()
11740 return XcursorImageLoadCursor ();
11742 return 0;
11744 _ACEOF
11745 if ac_fn_c_try_link "$LINENO"; then :
11746 case "$LIBEXT" in
11747 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11748 dylib) ac_cv_lib_soname_Xcursor=`$OTOOL -L conftest$ac_exeext | grep "libXcursor\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXcursor\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11749 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11750 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11751 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11752 fi ;;
11753 esac
11754 else
11755 ac_cv_lib_soname_Xcursor=
11757 rm -f core conftest.err conftest.$ac_objext \
11758 conftest$ac_exeext conftest.$ac_ext
11759 LIBS=$ac_check_soname_save_LIBS
11761 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11763 $as_echo "not found" >&6; }
11765 else
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11767 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11769 cat >>confdefs.h <<_ACEOF
11770 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11771 _ACEOF
11776 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11777 case "x$with_xcursor" in
11778 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11779 xno) ;;
11780 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11781 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11782 esac
11786 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11787 then
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11789 $as_echo_n "checking for -lXi... " >&6; }
11790 if ${ac_cv_lib_soname_Xi+:} false; then :
11791 $as_echo_n "(cached) " >&6
11792 else
11793 ac_check_soname_save_LIBS=$LIBS
11794 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11796 /* end confdefs.h. */
11798 /* Override any GCC internal prototype to avoid an error.
11799 Use char because int might match the return type of a GCC
11800 builtin and then its argument prototype would still apply. */
11801 #ifdef __cplusplus
11802 extern "C"
11803 #endif
11804 char XOpenDevice ();
11806 main ()
11808 return XOpenDevice ();
11810 return 0;
11812 _ACEOF
11813 if ac_fn_c_try_link "$LINENO"; then :
11814 case "$LIBEXT" in
11815 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11816 dylib) ac_cv_lib_soname_Xi=`$OTOOL -L conftest$ac_exeext | grep "libXi\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXi\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11817 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11818 if ${ac_cv_lib_soname_Xi:+false} :; then :
11819 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11820 fi ;;
11821 esac
11822 else
11823 ac_cv_lib_soname_Xi=
11825 rm -f core conftest.err conftest.$ac_objext \
11826 conftest$ac_exeext conftest.$ac_ext
11827 LIBS=$ac_check_soname_save_LIBS
11829 if ${ac_cv_lib_soname_Xi:+false} :; then :
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11831 $as_echo "not found" >&6; }
11833 else
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11835 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11837 cat >>confdefs.h <<_ACEOF
11838 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11839 _ACEOF
11844 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11845 case "x$with_xinput" in
11846 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11847 xno) ;;
11848 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11849 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11850 esac
11854 if test "x$ac_cv_lib_soname_Xi" != x
11855 then
11856 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11857 case "x$with_xinput2" in
11858 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11859 xno) ;;
11860 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11861 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11862 esac
11867 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11868 then
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11870 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11871 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11872 $as_echo_n "(cached) " >&6
11873 else
11874 ac_check_lib_save_LIBS=$LIBS
11875 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11877 /* end confdefs.h. */
11879 /* Override any GCC internal prototype to avoid an error.
11880 Use char because int might match the return type of a GCC
11881 builtin and then its argument prototype would still apply. */
11882 #ifdef __cplusplus
11883 extern "C"
11884 #endif
11885 char XShmQueryExtension ();
11887 main ()
11889 return XShmQueryExtension ();
11891 return 0;
11893 _ACEOF
11894 if ac_fn_c_try_link "$LINENO"; then :
11895 ac_cv_lib_Xext_XShmQueryExtension=yes
11896 else
11897 ac_cv_lib_Xext_XShmQueryExtension=no
11899 rm -f core conftest.err conftest.$ac_objext \
11900 conftest$ac_exeext conftest.$ac_ext
11901 LIBS=$ac_check_lib_save_LIBS
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11904 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11905 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11907 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11912 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11913 case "x$with_xshm" in
11914 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11915 xno) ;;
11916 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11917 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11918 esac
11922 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11923 then
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11925 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11926 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11927 $as_echo_n "(cached) " >&6
11928 else
11929 ac_check_lib_save_LIBS=$LIBS
11930 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11932 /* end confdefs.h. */
11934 /* Override any GCC internal prototype to avoid an error.
11935 Use char because int might match the return type of a GCC
11936 builtin and then its argument prototype would still apply. */
11937 #ifdef __cplusplus
11938 extern "C"
11939 #endif
11940 char XShapeQueryExtension ();
11942 main ()
11944 return XShapeQueryExtension ();
11946 return 0;
11948 _ACEOF
11949 if ac_fn_c_try_link "$LINENO"; then :
11950 ac_cv_lib_Xext_XShapeQueryExtension=yes
11951 else
11952 ac_cv_lib_Xext_XShapeQueryExtension=no
11954 rm -f core conftest.err conftest.$ac_objext \
11955 conftest$ac_exeext conftest.$ac_ext
11956 LIBS=$ac_check_lib_save_LIBS
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11959 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11960 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11962 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11967 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11968 case "x$with_xshape" in
11969 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11970 xno) ;;
11971 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11972 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11973 esac
11977 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11978 then
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11980 $as_echo_n "checking for -lXxf86vm... " >&6; }
11981 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11982 $as_echo_n "(cached) " >&6
11983 else
11984 ac_check_soname_save_LIBS=$LIBS
11985 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11987 /* end confdefs.h. */
11989 /* Override any GCC internal prototype to avoid an error.
11990 Use char because int might match the return type of a GCC
11991 builtin and then its argument prototype would still apply. */
11992 #ifdef __cplusplus
11993 extern "C"
11994 #endif
11995 char XF86VidModeQueryExtension ();
11997 main ()
11999 return XF86VidModeQueryExtension ();
12001 return 0;
12003 _ACEOF
12004 if ac_fn_c_try_link "$LINENO"; then :
12005 case "$LIBEXT" in
12006 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12007 dylib) ac_cv_lib_soname_Xxf86vm=`$OTOOL -L conftest$ac_exeext | grep "libXxf86vm\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXxf86vm\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12008 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12009 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12010 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12011 fi ;;
12012 esac
12013 else
12014 ac_cv_lib_soname_Xxf86vm=
12016 rm -f core conftest.err conftest.$ac_objext \
12017 conftest$ac_exeext conftest.$ac_ext
12018 LIBS=$ac_check_soname_save_LIBS
12020 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12022 $as_echo "not found" >&6; }
12024 else
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
12026 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
12028 cat >>confdefs.h <<_ACEOF
12029 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
12030 _ACEOF
12035 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
12036 case "x$with_xxf86vm" in
12037 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
12038 xno) ;;
12039 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
12040 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
12041 esac
12045 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
12046 then
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
12048 $as_echo_n "checking for -lXrender... " >&6; }
12049 if ${ac_cv_lib_soname_Xrender+:} false; then :
12050 $as_echo_n "(cached) " >&6
12051 else
12052 ac_check_soname_save_LIBS=$LIBS
12053 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12055 /* end confdefs.h. */
12057 /* Override any GCC internal prototype to avoid an error.
12058 Use char because int might match the return type of a GCC
12059 builtin and then its argument prototype would still apply. */
12060 #ifdef __cplusplus
12061 extern "C"
12062 #endif
12063 char XRenderQueryExtension ();
12065 main ()
12067 return XRenderQueryExtension ();
12069 return 0;
12071 _ACEOF
12072 if ac_fn_c_try_link "$LINENO"; then :
12073 case "$LIBEXT" in
12074 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12075 dylib) ac_cv_lib_soname_Xrender=`$OTOOL -L conftest$ac_exeext | grep "libXrender\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXrender\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12076 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12077 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12078 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12079 fi ;;
12080 esac
12081 else
12082 ac_cv_lib_soname_Xrender=
12084 rm -f core conftest.err conftest.$ac_objext \
12085 conftest$ac_exeext conftest.$ac_ext
12086 LIBS=$ac_check_soname_save_LIBS
12088 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12090 $as_echo "not found" >&6; }
12092 else
12093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12094 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12096 cat >>confdefs.h <<_ACEOF
12097 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12098 _ACEOF
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12101 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12102 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12103 $as_echo_n "(cached) " >&6
12104 else
12105 ac_check_lib_save_LIBS=$LIBS
12106 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12108 /* end confdefs.h. */
12110 /* Override any GCC internal prototype to avoid an error.
12111 Use char because int might match the return type of a GCC
12112 builtin and then its argument prototype would still apply. */
12113 #ifdef __cplusplus
12114 extern "C"
12115 #endif
12116 char XRenderSetPictureTransform ();
12118 main ()
12120 return XRenderSetPictureTransform ();
12122 return 0;
12124 _ACEOF
12125 if ac_fn_c_try_link "$LINENO"; then :
12126 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12127 else
12128 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12130 rm -f core conftest.err conftest.$ac_objext \
12131 conftest$ac_exeext conftest.$ac_ext
12132 LIBS=$ac_check_lib_save_LIBS
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12135 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12136 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12138 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12143 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12144 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12145 $as_echo_n "(cached) " >&6
12146 else
12147 ac_check_lib_save_LIBS=$LIBS
12148 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12150 /* end confdefs.h. */
12152 /* Override any GCC internal prototype to avoid an error.
12153 Use char because int might match the return type of a GCC
12154 builtin and then its argument prototype would still apply. */
12155 #ifdef __cplusplus
12156 extern "C"
12157 #endif
12158 char XRenderCreateLinearGradient ();
12160 main ()
12162 return XRenderCreateLinearGradient ();
12164 return 0;
12166 _ACEOF
12167 if ac_fn_c_try_link "$LINENO"; then :
12168 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12169 else
12170 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12172 rm -f core conftest.err conftest.$ac_objext \
12173 conftest$ac_exeext conftest.$ac_ext
12174 LIBS=$ac_check_lib_save_LIBS
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12177 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12178 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12180 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12187 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12188 case "x$with_xrender" in
12189 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12190 xno) ;;
12191 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12192 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12193 esac
12197 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12198 then
12199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12200 /* end confdefs.h. */
12201 #include <X11/Xlib.h>
12202 #include <X11/extensions/Xrandr.h>
12204 main ()
12206 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12208 return 0;
12210 _ACEOF
12211 if ac_fn_c_try_compile "$LINENO"; then :
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12213 $as_echo_n "checking for -lXrandr... " >&6; }
12214 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12215 $as_echo_n "(cached) " >&6
12216 else
12217 ac_check_soname_save_LIBS=$LIBS
12218 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12220 /* end confdefs.h. */
12222 /* Override any GCC internal prototype to avoid an error.
12223 Use char because int might match the return type of a GCC
12224 builtin and then its argument prototype would still apply. */
12225 #ifdef __cplusplus
12226 extern "C"
12227 #endif
12228 char XRRQueryExtension ();
12230 main ()
12232 return XRRQueryExtension ();
12234 return 0;
12236 _ACEOF
12237 if ac_fn_c_try_link "$LINENO"; then :
12238 case "$LIBEXT" in
12239 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12240 dylib) ac_cv_lib_soname_Xrandr=`$OTOOL -L conftest$ac_exeext | grep "libXrandr\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXrandr\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12241 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12242 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12243 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12244 fi ;;
12245 esac
12246 else
12247 ac_cv_lib_soname_Xrandr=
12249 rm -f core conftest.err conftest.$ac_objext \
12250 conftest$ac_exeext conftest.$ac_ext
12251 LIBS=$ac_check_soname_save_LIBS
12253 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12255 $as_echo "not found" >&6; }
12257 else
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12259 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12261 cat >>confdefs.h <<_ACEOF
12262 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12263 _ACEOF
12265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12266 /* end confdefs.h. */
12267 #include <X11/Xlib.h>
12268 #include <X11/extensions/Xrandr.h>
12270 main ()
12272 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12274 return 0;
12276 _ACEOF
12277 if ac_fn_c_try_compile "$LINENO"; then :
12279 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12281 else
12282 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12289 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12290 case "x$with_xrandr" in
12291 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12292 xno) ;;
12293 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12294 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12295 esac
12299 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12300 then
12301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12302 /* end confdefs.h. */
12303 #include <X11/Xlib.h>
12304 #include <X11/extensions/Xfixes.h>
12306 main ()
12308 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12310 return 0;
12312 _ACEOF
12313 if ac_fn_c_try_compile "$LINENO"; then :
12314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12315 $as_echo_n "checking for -lXfixes... " >&6; }
12316 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12317 $as_echo_n "(cached) " >&6
12318 else
12319 ac_check_soname_save_LIBS=$LIBS
12320 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12322 /* end confdefs.h. */
12324 /* Override any GCC internal prototype to avoid an error.
12325 Use char because int might match the return type of a GCC
12326 builtin and then its argument prototype would still apply. */
12327 #ifdef __cplusplus
12328 extern "C"
12329 #endif
12330 char XFixesQueryVersion ();
12332 main ()
12334 return XFixesQueryVersion ();
12336 return 0;
12338 _ACEOF
12339 if ac_fn_c_try_link "$LINENO"; then :
12340 case "$LIBEXT" in
12341 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12342 dylib) ac_cv_lib_soname_Xfixes=`$OTOOL -L conftest$ac_exeext | grep "libXfixes\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXfixes\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12343 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12344 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12345 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12346 fi ;;
12347 esac
12348 else
12349 ac_cv_lib_soname_Xfixes=
12351 rm -f core conftest.err conftest.$ac_objext \
12352 conftest$ac_exeext conftest.$ac_ext
12353 LIBS=$ac_check_soname_save_LIBS
12355 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12357 $as_echo "not found" >&6; }
12359 else
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12361 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12363 cat >>confdefs.h <<_ACEOF
12364 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12365 _ACEOF
12370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12372 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12373 case "x$with_xfixes" in
12374 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12375 xno) ;;
12376 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12377 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12378 esac
12382 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12383 then
12384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12385 /* end confdefs.h. */
12386 #include <X11/Xlib.h>
12387 #include <X11/extensions/Xinerama.h>
12389 main ()
12391 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12393 return 0;
12395 _ACEOF
12396 if ac_fn_c_try_compile "$LINENO"; then :
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12398 $as_echo_n "checking for -lXinerama... " >&6; }
12399 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12400 $as_echo_n "(cached) " >&6
12401 else
12402 ac_check_soname_save_LIBS=$LIBS
12403 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12405 /* end confdefs.h. */
12407 /* Override any GCC internal prototype to avoid an error.
12408 Use char because int might match the return type of a GCC
12409 builtin and then its argument prototype would still apply. */
12410 #ifdef __cplusplus
12411 extern "C"
12412 #endif
12413 char XineramaQueryScreens ();
12415 main ()
12417 return XineramaQueryScreens ();
12419 return 0;
12421 _ACEOF
12422 if ac_fn_c_try_link "$LINENO"; then :
12423 case "$LIBEXT" in
12424 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12425 dylib) ac_cv_lib_soname_Xinerama=`$OTOOL -L conftest$ac_exeext | grep "libXinerama\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXinerama\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12426 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12427 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12428 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12429 fi ;;
12430 esac
12431 else
12432 ac_cv_lib_soname_Xinerama=
12434 rm -f core conftest.err conftest.$ac_objext \
12435 conftest$ac_exeext conftest.$ac_ext
12436 LIBS=$ac_check_soname_save_LIBS
12438 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12440 $as_echo "not found" >&6; }
12442 else
12443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12444 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12446 cat >>confdefs.h <<_ACEOF
12447 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12448 _ACEOF
12453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12455 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12456 case "x$with_xinerama" in
12457 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12458 xno) ;;
12459 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12460 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12461 esac
12465 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12466 then
12467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12468 $as_echo_n "checking for -lXcomposite... " >&6; }
12469 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12470 $as_echo_n "(cached) " >&6
12471 else
12472 ac_check_soname_save_LIBS=$LIBS
12473 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12475 /* end confdefs.h. */
12477 /* Override any GCC internal prototype to avoid an error.
12478 Use char because int might match the return type of a GCC
12479 builtin and then its argument prototype would still apply. */
12480 #ifdef __cplusplus
12481 extern "C"
12482 #endif
12483 char XCompositeRedirectWindow ();
12485 main ()
12487 return XCompositeRedirectWindow ();
12489 return 0;
12491 _ACEOF
12492 if ac_fn_c_try_link "$LINENO"; then :
12493 case "$LIBEXT" in
12494 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12495 dylib) ac_cv_lib_soname_Xcomposite=`$OTOOL -L conftest$ac_exeext | grep "libXcomposite\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXcomposite\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12496 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12497 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12498 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12499 fi ;;
12500 esac
12501 else
12502 ac_cv_lib_soname_Xcomposite=
12504 rm -f core conftest.err conftest.$ac_objext \
12505 conftest$ac_exeext conftest.$ac_ext
12506 LIBS=$ac_check_soname_save_LIBS
12508 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12510 $as_echo "not found" >&6; }
12512 else
12513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12514 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12516 cat >>confdefs.h <<_ACEOF
12517 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12518 _ACEOF
12523 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12524 case "x$with_xcomposite" in
12525 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12526 xno) ;;
12527 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12528 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12529 esac
12533 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12534 #include <X11/Xlib.h>
12535 #endif
12537 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12539 cat >>confdefs.h <<_ACEOF
12540 #define HAVE_XICCALLBACK_CALLBACK 1
12541 _ACEOF
12545 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12546 #include <X11/Xlib.h>
12547 #endif
12549 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12551 cat >>confdefs.h <<_ACEOF
12552 #define HAVE_XEVENT_XCOOKIE 1
12553 _ACEOF
12560 opengl_msg=""
12561 if test "x$with_opengl" != "xno"
12562 then
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12564 $as_echo_n "checking for -lGL... " >&6; }
12565 if ${ac_cv_lib_soname_GL+:} false; then :
12566 $as_echo_n "(cached) " >&6
12567 else
12568 ac_check_soname_save_LIBS=$LIBS
12569 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12571 /* end confdefs.h. */
12573 /* Override any GCC internal prototype to avoid an error.
12574 Use char because int might match the return type of a GCC
12575 builtin and then its argument prototype would still apply. */
12576 #ifdef __cplusplus
12577 extern "C"
12578 #endif
12579 char glXCreateContext ();
12581 main ()
12583 return glXCreateContext ();
12585 return 0;
12587 _ACEOF
12588 if ac_fn_c_try_link "$LINENO"; then :
12589 case "$LIBEXT" in
12590 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12591 dylib) ac_cv_lib_soname_GL=`$OTOOL -L conftest$ac_exeext | grep "libGL\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12592 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12593 if ${ac_cv_lib_soname_GL:+false} :; then :
12594 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12595 fi ;;
12596 esac
12597 else
12598 ac_cv_lib_soname_GL=
12600 rm -f core conftest.err conftest.$ac_objext \
12601 conftest$ac_exeext conftest.$ac_ext
12602 LIBS=$ac_check_soname_save_LIBS
12604 if ${ac_cv_lib_soname_GL:+false} :; then :
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12606 $as_echo "not found" >&6; }
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12608 $as_echo_n "checking for -lGL... " >&6; }
12609 if ${ac_cv_lib_soname_GL+:} false; then :
12610 $as_echo_n "(cached) " >&6
12611 else
12612 ac_check_soname_save_LIBS=$LIBS
12613 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib $LIBS"
12614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12615 /* end confdefs.h. */
12617 /* Override any GCC internal prototype to avoid an error.
12618 Use char because int might match the return type of a GCC
12619 builtin and then its argument prototype would still apply. */
12620 #ifdef __cplusplus
12621 extern "C"
12622 #endif
12623 char glXCreateContext ();
12625 main ()
12627 return glXCreateContext ();
12629 return 0;
12631 _ACEOF
12632 if ac_fn_c_try_link "$LINENO"; then :
12633 case "$LIBEXT" in
12634 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12635 dylib) ac_cv_lib_soname_GL=`$OTOOL -L conftest$ac_exeext | grep "libGL\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12636 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12637 if ${ac_cv_lib_soname_GL:+false} :; then :
12638 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12639 fi ;;
12640 esac
12641 else
12642 ac_cv_lib_soname_GL=
12644 rm -f core conftest.err conftest.$ac_objext \
12645 conftest$ac_exeext conftest.$ac_ext
12646 LIBS=$ac_check_soname_save_LIBS
12648 if ${ac_cv_lib_soname_GL:+false} :; then :
12649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12650 $as_echo "not found" >&6; }
12651 if test -f /usr/X11R6/lib/libGL.a
12652 then
12653 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12654 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12655 else
12656 opengl_msg="No OpenGL library found on this system."
12658 else
12659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12660 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12662 cat >>confdefs.h <<_ACEOF
12663 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12664 _ACEOF
12666 OPENGL_LIBS="-Xlinker -dylib_file -Xlinker /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -lGL"
12668 else
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12670 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12672 cat >>confdefs.h <<_ACEOF
12673 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12674 _ACEOF
12676 OPENGL_LIBS="-lGL"
12678 if test "x$with_osmesa" != "xno"
12679 then
12680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12681 $as_echo_n "checking for -lOSMesa... " >&6; }
12682 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12683 $as_echo_n "(cached) " >&6
12684 else
12685 ac_check_soname_save_LIBS=$LIBS
12686 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12688 /* end confdefs.h. */
12690 /* Override any GCC internal prototype to avoid an error.
12691 Use char because int might match the return type of a GCC
12692 builtin and then its argument prototype would still apply. */
12693 #ifdef __cplusplus
12694 extern "C"
12695 #endif
12696 char OSMesaGetProcAddress ();
12698 main ()
12700 return OSMesaGetProcAddress ();
12702 return 0;
12704 _ACEOF
12705 if ac_fn_c_try_link "$LINENO"; then :
12706 case "$LIBEXT" in
12707 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12708 dylib) ac_cv_lib_soname_OSMesa=`$OTOOL -L conftest$ac_exeext | grep "libOSMesa\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libOSMesa\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12709 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12710 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12711 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12712 fi ;;
12713 esac
12714 else
12715 ac_cv_lib_soname_OSMesa=
12717 rm -f core conftest.err conftest.$ac_objext \
12718 conftest$ac_exeext conftest.$ac_ext
12719 LIBS=$ac_check_soname_save_LIBS
12721 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12723 $as_echo "not found" >&6; }
12725 else
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12727 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12729 cat >>confdefs.h <<_ACEOF
12730 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12731 _ACEOF
12735 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12736 case "x$with_osmesa" in
12737 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12738 xno) ;;
12739 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12740 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12741 esac
12746 if test -n "$opengl_msg"; then :
12747 case "x$with_opengl" in
12748 x) as_fn_append wine_warnings "|$opengl_msg
12749 OpenGL and Direct3D won't be supported." ;;
12750 xno) ;;
12751 *) as_fn_error $? "$opengl_msg
12752 OpenGL and Direct3D won't be supported.
12753 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12754 esac
12758 CPPFLAGS="$ac_save_CPPFLAGS"
12759 else
12760 X_CFLAGS=""
12761 X_LIBS=""
12764 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12765 then
12766 if test "x$X_LIBS" = "x"; then :
12767 case "x$with_x" in
12768 xno) ;;
12769 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12770 without X support, which probably isn't what you want. You will need
12771 to install ${notice_platform}development packages of Xlib at the very least.
12772 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12773 esac
12774 enable_winex11_drv=${enable_winex11_drv:-no}
12776 else
12777 if test "x$X_LIBS" = "x"; then :
12778 case "x$with_x" in
12779 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12780 xno) ;;
12781 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12782 This is an error since --with-x was requested." "$LINENO" 5 ;;
12783 esac
12784 enable_winex11_drv=${enable_winex11_drv:-no}
12788 if test "$ac_cv_header_CL_cl_h" = "yes"
12789 then
12790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12791 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12792 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12793 $as_echo_n "(cached) " >&6
12794 else
12795 ac_check_lib_save_LIBS=$LIBS
12796 LIBS="-lOpenCL $LIBS"
12797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12798 /* end confdefs.h. */
12800 /* Override any GCC internal prototype to avoid an error.
12801 Use char because int might match the return type of a GCC
12802 builtin and then its argument prototype would still apply. */
12803 #ifdef __cplusplus
12804 extern "C"
12805 #endif
12806 char clGetPlatformInfo ();
12808 main ()
12810 return clGetPlatformInfo ();
12812 return 0;
12814 _ACEOF
12815 if ac_fn_c_try_link "$LINENO"; then :
12816 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12817 else
12818 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12820 rm -f core conftest.err conftest.$ac_objext \
12821 conftest$ac_exeext conftest.$ac_ext
12822 LIBS=$ac_check_lib_save_LIBS
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12825 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12826 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12827 OPENCL_LIBS="-lOpenCL"
12832 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12833 case "x$with_opencl" in
12834 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12835 xno) ;;
12836 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12837 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12838 esac
12839 enable_opencl=${enable_opencl:-no}
12842 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12843 then
12844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12845 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12846 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12847 $as_echo_n "(cached) " >&6
12848 else
12849 ac_check_lib_save_LIBS=$LIBS
12850 LIBS="-lpcap $LIBS"
12851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12852 /* end confdefs.h. */
12854 /* Override any GCC internal prototype to avoid an error.
12855 Use char because int might match the return type of a GCC
12856 builtin and then its argument prototype would still apply. */
12857 #ifdef __cplusplus
12858 extern "C"
12859 #endif
12860 char pcap_create ();
12862 main ()
12864 return pcap_create ();
12866 return 0;
12868 _ACEOF
12869 if ac_fn_c_try_link "$LINENO"; then :
12870 ac_cv_lib_pcap_pcap_create=yes
12871 else
12872 ac_cv_lib_pcap_pcap_create=no
12874 rm -f core conftest.err conftest.$ac_objext \
12875 conftest$ac_exeext conftest.$ac_ext
12876 LIBS=$ac_check_lib_save_LIBS
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12879 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12880 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12881 PCAP_LIBS="-lpcap"
12886 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12887 case "x$with_pcap" in
12888 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12889 xno) ;;
12890 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12891 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12892 esac
12893 enable_wpcap=${enable_wpcap:-no}
12897 if test "x$with_xml" != "xno"
12898 then
12899 if ${XML2_CFLAGS:+false} :; then :
12900 if ${PKG_CONFIG+:} false; then :
12901 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12904 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12905 if ${XML2_LIBS:+false} :; then :
12906 if ${PKG_CONFIG+:} false; then :
12907 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12910 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12911 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12912 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12913 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12914 ac_save_CPPFLAGS=$CPPFLAGS
12915 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12916 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12917 do :
12918 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12919 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12920 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12921 cat >>confdefs.h <<_ACEOF
12922 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12923 _ACEOF
12927 done
12929 if test "$ac_cv_header_libxml_parser_h" = "yes" -a "$ac_cv_header_libxml_xmlsave_h" = "yes" -a "$ac_cv_header_libxml_SAX2_h" = "yes"
12930 then
12931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12932 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12933 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12934 $as_echo_n "(cached) " >&6
12935 else
12936 ac_check_lib_save_LIBS=$LIBS
12937 LIBS="-lxml2 $XML2_LIBS $LIBS"
12938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12939 /* end confdefs.h. */
12941 /* Override any GCC internal prototype to avoid an error.
12942 Use char because int might match the return type of a GCC
12943 builtin and then its argument prototype would still apply. */
12944 #ifdef __cplusplus
12945 extern "C"
12946 #endif
12947 char xmlParseMemory ();
12949 main ()
12951 return xmlParseMemory ();
12953 return 0;
12955 _ACEOF
12956 if ac_fn_c_try_link "$LINENO"; then :
12957 ac_cv_lib_xml2_xmlParseMemory=yes
12958 else
12959 ac_cv_lib_xml2_xmlParseMemory=no
12961 rm -f core conftest.err conftest.$ac_objext \
12962 conftest$ac_exeext conftest.$ac_ext
12963 LIBS=$ac_check_lib_save_LIBS
12965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12966 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12967 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12969 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12971 else
12972 XML2_LIBS=""
12975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12976 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12977 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12978 $as_echo_n "(cached) " >&6
12979 else
12980 ac_check_lib_save_LIBS=$LIBS
12981 LIBS="-lxml2 $XML2_LIBS $LIBS"
12982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12983 /* end confdefs.h. */
12985 /* Override any GCC internal prototype to avoid an error.
12986 Use char because int might match the return type of a GCC
12987 builtin and then its argument prototype would still apply. */
12988 #ifdef __cplusplus
12989 extern "C"
12990 #endif
12991 char xmlReadMemory ();
12993 main ()
12995 return xmlReadMemory ();
12997 return 0;
12999 _ACEOF
13000 if ac_fn_c_try_link "$LINENO"; then :
13001 ac_cv_lib_xml2_xmlReadMemory=yes
13002 else
13003 ac_cv_lib_xml2_xmlReadMemory=no
13005 rm -f core conftest.err conftest.$ac_objext \
13006 conftest$ac_exeext conftest.$ac_ext
13007 LIBS=$ac_check_lib_save_LIBS
13009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
13010 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
13011 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
13013 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
13017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
13018 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
13019 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
13020 $as_echo_n "(cached) " >&6
13021 else
13022 ac_check_lib_save_LIBS=$LIBS
13023 LIBS="-lxml2 $XML2_LIBS $LIBS"
13024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13025 /* end confdefs.h. */
13027 /* Override any GCC internal prototype to avoid an error.
13028 Use char because int might match the return type of a GCC
13029 builtin and then its argument prototype would still apply. */
13030 #ifdef __cplusplus
13031 extern "C"
13032 #endif
13033 char xmlNewDocPI ();
13035 main ()
13037 return xmlNewDocPI ();
13039 return 0;
13041 _ACEOF
13042 if ac_fn_c_try_link "$LINENO"; then :
13043 ac_cv_lib_xml2_xmlNewDocPI=yes
13044 else
13045 ac_cv_lib_xml2_xmlNewDocPI=no
13047 rm -f core conftest.err conftest.$ac_objext \
13048 conftest$ac_exeext conftest.$ac_ext
13049 LIBS=$ac_check_lib_save_LIBS
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13052 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13053 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13055 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13060 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13061 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13062 $as_echo_n "(cached) " >&6
13063 else
13064 ac_check_lib_save_LIBS=$LIBS
13065 LIBS="-lxml2 $XML2_LIBS $LIBS"
13066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13067 /* end confdefs.h. */
13069 /* Override any GCC internal prototype to avoid an error.
13070 Use char because int might match the return type of a GCC
13071 builtin and then its argument prototype would still apply. */
13072 #ifdef __cplusplus
13073 extern "C"
13074 #endif
13075 char xmlSchemaSetParserStructuredErrors ();
13077 main ()
13079 return xmlSchemaSetParserStructuredErrors ();
13081 return 0;
13083 _ACEOF
13084 if ac_fn_c_try_link "$LINENO"; then :
13085 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13086 else
13087 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13089 rm -f core conftest.err conftest.$ac_objext \
13090 conftest$ac_exeext conftest.$ac_ext
13091 LIBS=$ac_check_lib_save_LIBS
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13094 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13095 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13097 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13102 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13103 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13104 $as_echo_n "(cached) " >&6
13105 else
13106 ac_check_lib_save_LIBS=$LIBS
13107 LIBS="-lxml2 $XML2_LIBS $LIBS"
13108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13109 /* end confdefs.h. */
13111 /* Override any GCC internal prototype to avoid an error.
13112 Use char because int might match the return type of a GCC
13113 builtin and then its argument prototype would still apply. */
13114 #ifdef __cplusplus
13115 extern "C"
13116 #endif
13117 char xmlSchemaSetValidStructuredErrors ();
13119 main ()
13121 return xmlSchemaSetValidStructuredErrors ();
13123 return 0;
13125 _ACEOF
13126 if ac_fn_c_try_link "$LINENO"; then :
13127 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13128 else
13129 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13131 rm -f core conftest.err conftest.$ac_objext \
13132 conftest$ac_exeext conftest.$ac_ext
13133 LIBS=$ac_check_lib_save_LIBS
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13136 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13137 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13139 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13144 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13145 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13146 $as_echo_n "(cached) " >&6
13147 else
13148 ac_check_lib_save_LIBS=$LIBS
13149 LIBS="-lxml2 $XML2_LIBS $LIBS"
13150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13151 /* end confdefs.h. */
13153 /* Override any GCC internal prototype to avoid an error.
13154 Use char because int might match the return type of a GCC
13155 builtin and then its argument prototype would still apply. */
13156 #ifdef __cplusplus
13157 extern "C"
13158 #endif
13159 char xmlFirstElementChild ();
13161 main ()
13163 return xmlFirstElementChild ();
13165 return 0;
13167 _ACEOF
13168 if ac_fn_c_try_link "$LINENO"; then :
13169 ac_cv_lib_xml2_xmlFirstElementChild=yes
13170 else
13171 ac_cv_lib_xml2_xmlFirstElementChild=no
13173 rm -f core conftest.err conftest.$ac_objext \
13174 conftest$ac_exeext conftest.$ac_ext
13175 LIBS=$ac_check_lib_save_LIBS
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13178 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13179 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13181 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13185 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13187 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13189 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13193 else
13194 XML2_CFLAGS=""
13195 XML2_LIBS=""
13197 CPPFLAGS=$ac_save_CPPFLAGS
13200 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13201 case "x$with_xml" in
13202 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13203 xno) ;;
13204 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13205 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13206 esac
13210 if test "x$with_xslt" != "xno"
13211 then
13212 if ${XSLT_CFLAGS:+false} :; then :
13213 if ${PKG_CONFIG+:} false; then :
13214 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13217 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13218 if ${XSLT_LIBS:+false} :; then :
13219 if ${PKG_CONFIG+:} false; then :
13220 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13223 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13224 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13225 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13226 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13227 ac_save_CPPFLAGS=$CPPFLAGS
13228 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13229 for ac_header in libxslt/pattern.h libxslt/transform.h
13230 do :
13231 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13232 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13233 # include <libxslt/pattern.h>
13234 #endif
13236 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13237 cat >>confdefs.h <<_ACEOF
13238 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13239 _ACEOF
13243 done
13245 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13246 then
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13248 $as_echo_n "checking for -lxslt... " >&6; }
13249 if ${ac_cv_lib_soname_xslt+:} false; then :
13250 $as_echo_n "(cached) " >&6
13251 else
13252 ac_check_soname_save_LIBS=$LIBS
13253 LIBS="-lxslt $XSLT_LIBS $LIBS"
13254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13255 /* end confdefs.h. */
13257 /* Override any GCC internal prototype to avoid an error.
13258 Use char because int might match the return type of a GCC
13259 builtin and then its argument prototype would still apply. */
13260 #ifdef __cplusplus
13261 extern "C"
13262 #endif
13263 char xsltCompilePattern ();
13265 main ()
13267 return xsltCompilePattern ();
13269 return 0;
13271 _ACEOF
13272 if ac_fn_c_try_link "$LINENO"; then :
13273 case "$LIBEXT" in
13274 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13275 dylib) ac_cv_lib_soname_xslt=`$OTOOL -L conftest$ac_exeext | grep "libxslt\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libxslt\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13276 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13277 if ${ac_cv_lib_soname_xslt:+false} :; then :
13278 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13279 fi ;;
13280 esac
13281 else
13282 ac_cv_lib_soname_xslt=
13284 rm -f core conftest.err conftest.$ac_objext \
13285 conftest$ac_exeext conftest.$ac_ext
13286 LIBS=$ac_check_soname_save_LIBS
13288 if ${ac_cv_lib_soname_xslt:+false} :; then :
13289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13290 $as_echo "not found" >&6; }
13292 else
13293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13294 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13296 cat >>confdefs.h <<_ACEOF
13297 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13298 _ACEOF
13302 else
13303 XSLT_CFLAGS=""
13305 CPPFLAGS=$ac_save_CPPFLAGS
13308 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13309 case "x$with_xslt" in
13310 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13311 xno) ;;
13312 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13313 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13314 esac
13318 if test "x$with_inotify" != "xno"
13319 then
13320 if ${INOTIFY_CFLAGS:+false} :; then :
13321 if ${PKG_CONFIG+:} false; then :
13322 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13326 if ${INOTIFY_LIBS:+false} :; then :
13327 if ${PKG_CONFIG+:} false; then :
13328 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13333 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13334 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13335 ac_save_CPPFLAGS=$CPPFLAGS
13336 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13337 for ac_header in sys/inotify.h
13338 do :
13339 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13340 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13341 cat >>confdefs.h <<_ACEOF
13342 #define HAVE_SYS_INOTIFY_H 1
13343 _ACEOF
13347 done
13349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13350 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13351 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13352 $as_echo_n "(cached) " >&6
13353 else
13354 ac_check_lib_save_LIBS=$LIBS
13355 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13357 /* end confdefs.h. */
13359 /* Override any GCC internal prototype to avoid an error.
13360 Use char because int might match the return type of a GCC
13361 builtin and then its argument prototype would still apply. */
13362 #ifdef __cplusplus
13363 extern "C"
13364 #endif
13365 char inotify_add_watch ();
13367 main ()
13369 return inotify_add_watch ();
13371 return 0;
13373 _ACEOF
13374 if ac_fn_c_try_link "$LINENO"; then :
13375 ac_cv_lib_inotify_inotify_add_watch=yes
13376 else
13377 ac_cv_lib_inotify_inotify_add_watch=no
13379 rm -f core conftest.err conftest.$ac_objext \
13380 conftest$ac_exeext conftest.$ac_ext
13381 LIBS=$ac_check_lib_save_LIBS
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13384 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13385 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13387 else
13388 INOTIFY_LIBS=""
13391 CPPFLAGS=$ac_save_CPPFLAGS
13394 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13395 case "x$with_inotify" in
13396 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13397 xno) ;;
13398 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13399 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13400 esac
13404 if test "x$with_dbus" != "xno"
13405 then
13406 if ${DBUS_CFLAGS:+false} :; then :
13407 if ${PKG_CONFIG+:} false; then :
13408 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13412 if ${DBUS_LIBS:+false} :; then :
13413 if ${PKG_CONFIG+:} false; then :
13414 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13419 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13420 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13421 ac_save_CPPFLAGS=$CPPFLAGS
13422 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13423 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13424 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13426 $as_echo_n "checking for -ldbus-1... " >&6; }
13427 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13428 $as_echo_n "(cached) " >&6
13429 else
13430 ac_check_soname_save_LIBS=$LIBS
13431 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13433 /* end confdefs.h. */
13435 /* Override any GCC internal prototype to avoid an error.
13436 Use char because int might match the return type of a GCC
13437 builtin and then its argument prototype would still apply. */
13438 #ifdef __cplusplus
13439 extern "C"
13440 #endif
13441 char dbus_connection_close ();
13443 main ()
13445 return dbus_connection_close ();
13447 return 0;
13449 _ACEOF
13450 if ac_fn_c_try_link "$LINENO"; then :
13451 case "$LIBEXT" in
13452 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13453 dylib) ac_cv_lib_soname_dbus_1=`$OTOOL -L conftest$ac_exeext | grep "libdbus-1\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libdbus-1\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13454 *) ac_cv_lib_soname_dbus_1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libdbus-1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libdbus-1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13455 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13456 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13457 fi ;;
13458 esac
13459 else
13460 ac_cv_lib_soname_dbus_1=
13462 rm -f core conftest.err conftest.$ac_objext \
13463 conftest$ac_exeext conftest.$ac_ext
13464 LIBS=$ac_check_soname_save_LIBS
13466 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13468 $as_echo "not found" >&6; }
13469 DBUS_CFLAGS=""
13470 else
13471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13472 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13474 cat >>confdefs.h <<_ACEOF
13475 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13476 _ACEOF
13480 else
13481 DBUS_CFLAGS=""
13485 CPPFLAGS=$ac_save_CPPFLAGS
13488 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13489 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13490 case "x$with_dbus" in
13491 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13492 xno) ;;
13493 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13494 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13495 esac
13499 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13500 then
13501 if ${HAL_CFLAGS:+false} :; then :
13502 if ${PKG_CONFIG+:} false; then :
13503 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13507 if ${HAL_LIBS:+false} :; then :
13508 if ${PKG_CONFIG+:} false; then :
13509 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13513 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13514 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13515 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13516 ac_save_CPPFLAGS=$CPPFLAGS
13517 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13518 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13519 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13521 $as_echo_n "checking for -lhal... " >&6; }
13522 if ${ac_cv_lib_soname_hal+:} false; then :
13523 $as_echo_n "(cached) " >&6
13524 else
13525 ac_check_soname_save_LIBS=$LIBS
13526 LIBS="-lhal $HAL_LIBS $LIBS"
13527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13528 /* end confdefs.h. */
13530 /* Override any GCC internal prototype to avoid an error.
13531 Use char because int might match the return type of a GCC
13532 builtin and then its argument prototype would still apply. */
13533 #ifdef __cplusplus
13534 extern "C"
13535 #endif
13536 char libhal_ctx_new ();
13538 main ()
13540 return libhal_ctx_new ();
13542 return 0;
13544 _ACEOF
13545 if ac_fn_c_try_link "$LINENO"; then :
13546 case "$LIBEXT" in
13547 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13548 dylib) ac_cv_lib_soname_hal=`$OTOOL -L conftest$ac_exeext | grep "libhal\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libhal\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13549 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13550 if ${ac_cv_lib_soname_hal:+false} :; then :
13551 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13552 fi ;;
13553 esac
13554 else
13555 ac_cv_lib_soname_hal=
13557 rm -f core conftest.err conftest.$ac_objext \
13558 conftest$ac_exeext conftest.$ac_ext
13559 LIBS=$ac_check_soname_save_LIBS
13561 if ${ac_cv_lib_soname_hal:+false} :; then :
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13563 $as_echo "not found" >&6; }
13564 HAL_CFLAGS=""
13565 else
13566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13567 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13569 cat >>confdefs.h <<_ACEOF
13570 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13571 _ACEOF
13575 else
13576 HAL_CFLAGS=""
13580 CPPFLAGS=$ac_save_CPPFLAGS
13582 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13583 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13584 case "x$with_hal" in
13585 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13586 xno) ;;
13587 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13588 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13589 esac
13594 if test "x$with_gnutls" != "xno"
13595 then
13596 if ${GNUTLS_CFLAGS:+false} :; then :
13597 if ${PKG_CONFIG+:} false; then :
13598 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13602 if ${GNUTLS_LIBS:+false} :; then :
13603 if ${PKG_CONFIG+:} false; then :
13604 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13608 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13609 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13610 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13611 ac_save_CPPFLAGS=$CPPFLAGS
13612 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13613 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13614 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13616 /* end confdefs.h. */
13617 #include <gnutls/gnutls.h>
13618 #include <gnutls/crypto.h>
13620 main ()
13622 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13624 return 0;
13626 _ACEOF
13627 if ac_fn_c_try_compile "$LINENO"; then :
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13629 $as_echo_n "checking for -lgnutls... " >&6; }
13630 if ${ac_cv_lib_soname_gnutls+:} false; then :
13631 $as_echo_n "(cached) " >&6
13632 else
13633 ac_check_soname_save_LIBS=$LIBS
13634 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13636 /* end confdefs.h. */
13638 /* Override any GCC internal prototype to avoid an error.
13639 Use char because int might match the return type of a GCC
13640 builtin and then its argument prototype would still apply. */
13641 #ifdef __cplusplus
13642 extern "C"
13643 #endif
13644 char gnutls_global_init ();
13646 main ()
13648 return gnutls_global_init ();
13650 return 0;
13652 _ACEOF
13653 if ac_fn_c_try_link "$LINENO"; then :
13654 case "$LIBEXT" in
13655 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13656 dylib) ac_cv_lib_soname_gnutls=`$OTOOL -L conftest$ac_exeext | grep "libgnutls\\(-deb0\\)\\{0,1\\}\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgnutls\\(-deb0\\)\\{0,1\\}\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13657 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13658 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13659 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\\(-deb0\\)\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13660 fi ;;
13661 esac
13662 else
13663 ac_cv_lib_soname_gnutls=
13665 rm -f core conftest.err conftest.$ac_objext \
13666 conftest$ac_exeext conftest.$ac_ext
13667 LIBS=$ac_check_soname_save_LIBS
13669 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13671 $as_echo "not found" >&6; }
13672 GNUTLS_CFLAGS=""
13673 else
13674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13675 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13677 cat >>confdefs.h <<_ACEOF
13678 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13679 _ACEOF
13683 ac_wine_check_funcs_save_LIBS="$LIBS"
13684 LIBS="$LIBS $GNUTLS_LIBS"
13685 for ac_func in gnutls_cipher_init
13686 do :
13687 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13688 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13689 cat >>confdefs.h <<_ACEOF
13690 #define HAVE_GNUTLS_CIPHER_INIT 1
13691 _ACEOF
13693 else
13694 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13696 done
13698 LIBS="$ac_wine_check_funcs_save_LIBS"
13700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13701 else
13702 GNUTLS_CFLAGS=""
13706 CPPFLAGS=$ac_save_CPPFLAGS
13709 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13710 case "x$with_gnutls" in
13711 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13712 xno) ;;
13713 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13714 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13715 esac
13719 if test "x$with_sane" != "xno"
13720 then
13721 if ${SANE_CFLAGS:+false} :; then :
13722 if ${PKG_CONFIG+:} false; then :
13723 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
13726 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13727 if ${SANE_LIBS:+false} :; then :
13728 if ${PKG_CONFIG+:} false; then :
13729 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
13732 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13734 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
13735 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
13736 ac_save_CPPFLAGS=$CPPFLAGS
13737 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13738 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13739 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13741 $as_echo_n "checking for -lsane... " >&6; }
13742 if ${ac_cv_lib_soname_sane+:} false; then :
13743 $as_echo_n "(cached) " >&6
13744 else
13745 ac_check_soname_save_LIBS=$LIBS
13746 LIBS="-lsane $SANE_LIBS $LIBS"
13747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13748 /* end confdefs.h. */
13750 /* Override any GCC internal prototype to avoid an error.
13751 Use char because int might match the return type of a GCC
13752 builtin and then its argument prototype would still apply. */
13753 #ifdef __cplusplus
13754 extern "C"
13755 #endif
13756 char sane_init ();
13758 main ()
13760 return sane_init ();
13762 return 0;
13764 _ACEOF
13765 if ac_fn_c_try_link "$LINENO"; then :
13766 case "$LIBEXT" in
13767 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13768 dylib) ac_cv_lib_soname_sane=`$OTOOL -L conftest$ac_exeext | grep "libsane\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libsane\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13769 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13770 if ${ac_cv_lib_soname_sane:+false} :; then :
13771 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13772 fi ;;
13773 esac
13774 else
13775 ac_cv_lib_soname_sane=
13777 rm -f core conftest.err conftest.$ac_objext \
13778 conftest$ac_exeext conftest.$ac_ext
13779 LIBS=$ac_check_soname_save_LIBS
13781 if ${ac_cv_lib_soname_sane:+false} :; then :
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13783 $as_echo "not found" >&6; }
13784 SANE_CFLAGS=""
13785 else
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13787 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13789 cat >>confdefs.h <<_ACEOF
13790 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13791 _ACEOF
13795 else
13796 SANE_CFLAGS=""
13800 CPPFLAGS=$ac_save_CPPFLAGS
13803 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13804 case "x$with_sane" in
13805 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13806 xno) ;;
13807 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13808 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13809 esac
13813 if test "x$with_usb" != "xno"
13814 then
13815 if ${USB_CFLAGS:+false} :; then :
13816 if ${PKG_CONFIG+:} false; then :
13817 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13821 if ${USB_LIBS:+false} :; then :
13822 if ${PKG_CONFIG+:} false; then :
13823 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13827 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13828 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13829 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13830 ac_save_CPPFLAGS=$CPPFLAGS
13831 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13832 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13833 if test "x$ac_cv_header_libusb_h" = xyes; then :
13834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13835 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13836 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13837 $as_echo_n "(cached) " >&6
13838 else
13839 ac_check_lib_save_LIBS=$LIBS
13840 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13842 /* end confdefs.h. */
13844 /* Override any GCC internal prototype to avoid an error.
13845 Use char because int might match the return type of a GCC
13846 builtin and then its argument prototype would still apply. */
13847 #ifdef __cplusplus
13848 extern "C"
13849 #endif
13850 char libusb_interrupt_event_handler ();
13852 main ()
13854 return libusb_interrupt_event_handler ();
13856 return 0;
13858 _ACEOF
13859 if ac_fn_c_try_link "$LINENO"; then :
13860 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13861 else
13862 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13864 rm -f core conftest.err conftest.$ac_objext \
13865 conftest$ac_exeext conftest.$ac_ext
13866 LIBS=$ac_check_lib_save_LIBS
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13869 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13870 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13872 else
13873 USB_LIBS=""
13876 else
13877 USB_LIBS=""
13881 CPPFLAGS=$ac_save_CPPFLAGS
13884 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13885 case "x$with_usb" in
13886 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13887 xno) ;;
13888 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13889 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13890 esac
13891 enable_wineusb_sys=${enable_wineusb_sys:-no}
13894 if test "x$with_v4l2" != "xno"
13895 then
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13897 $as_echo_n "checking for -lv4l2... " >&6; }
13898 if ${ac_cv_lib_soname_v4l2+:} false; then :
13899 $as_echo_n "(cached) " >&6
13900 else
13901 ac_check_soname_save_LIBS=$LIBS
13902 LIBS="-lv4l2 $LIBS"
13903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13904 /* end confdefs.h. */
13906 /* Override any GCC internal prototype to avoid an error.
13907 Use char because int might match the return type of a GCC
13908 builtin and then its argument prototype would still apply. */
13909 #ifdef __cplusplus
13910 extern "C"
13911 #endif
13912 char v4l2_open ();
13914 main ()
13916 return v4l2_open ();
13918 return 0;
13920 _ACEOF
13921 if ac_fn_c_try_link "$LINENO"; then :
13922 case "$LIBEXT" in
13923 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13924 dylib) ac_cv_lib_soname_v4l2=`$OTOOL -L conftest$ac_exeext | grep "libv4l2\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libv4l2\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13925 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13926 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13927 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13928 fi ;;
13929 esac
13930 else
13931 ac_cv_lib_soname_v4l2=
13933 rm -f core conftest.err conftest.$ac_objext \
13934 conftest$ac_exeext conftest.$ac_ext
13935 LIBS=$ac_check_soname_save_LIBS
13937 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13939 $as_echo "not found" >&6; }
13941 else
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13943 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13945 cat >>confdefs.h <<_ACEOF
13946 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13947 _ACEOF
13952 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13953 case "x$with_v4l2" in
13954 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13955 xno) ;;
13956 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13957 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13958 esac
13962 if test "x$with_gphoto" != "xno"
13963 then
13964 if ${GPHOTO2_CFLAGS:+false} :; then :
13965 if ${PKG_CONFIG+:} false; then :
13966 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13969 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13970 if ${GPHOTO2_LIBS:+false} :; then :
13971 if ${PKG_CONFIG+:} false; then :
13972 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13975 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13976 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13977 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13978 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13979 ac_save_CPPFLAGS=$CPPFLAGS
13980 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13981 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13982 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13984 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13985 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13986 $as_echo_n "(cached) " >&6
13987 else
13988 ac_check_lib_save_LIBS=$LIBS
13989 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13991 /* end confdefs.h. */
13993 /* Override any GCC internal prototype to avoid an error.
13994 Use char because int might match the return type of a GCC
13995 builtin and then its argument prototype would still apply. */
13996 #ifdef __cplusplus
13997 extern "C"
13998 #endif
13999 char gp_camera_new ();
14001 main ()
14003 return gp_camera_new ();
14005 return 0;
14007 _ACEOF
14008 if ac_fn_c_try_link "$LINENO"; then :
14009 ac_cv_lib_gphoto2_gp_camera_new=yes
14010 else
14011 ac_cv_lib_gphoto2_gp_camera_new=no
14013 rm -f core conftest.err conftest.$ac_objext \
14014 conftest$ac_exeext conftest.$ac_ext
14015 LIBS=$ac_check_lib_save_LIBS
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14018 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14019 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14021 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14023 else
14024 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14027 else
14028 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14032 CPPFLAGS=$ac_save_CPPFLAGS
14034 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14035 if ${PKG_CONFIG+:} false; then :
14036 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14039 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14040 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14041 if ${PKG_CONFIG+:} false; then :
14042 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14045 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14046 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14047 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14048 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14049 ac_save_CPPFLAGS=$CPPFLAGS
14050 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14051 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14052 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14054 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14055 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14056 $as_echo_n "(cached) " >&6
14057 else
14058 ac_check_lib_save_LIBS=$LIBS
14059 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14061 /* end confdefs.h. */
14063 /* Override any GCC internal prototype to avoid an error.
14064 Use char because int might match the return type of a GCC
14065 builtin and then its argument prototype would still apply. */
14066 #ifdef __cplusplus
14067 extern "C"
14068 #endif
14069 char gp_port_info_list_new ();
14071 main ()
14073 return gp_port_info_list_new ();
14075 return 0;
14077 _ACEOF
14078 if ac_fn_c_try_link "$LINENO"; then :
14079 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14080 else
14081 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14083 rm -f core conftest.err conftest.$ac_objext \
14084 conftest$ac_exeext conftest.$ac_ext
14085 LIBS=$ac_check_lib_save_LIBS
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14088 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14089 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14091 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14093 else
14094 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14097 else
14098 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14102 CPPFLAGS=$ac_save_CPPFLAGS
14105 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14106 case "x$with_gphoto" in
14107 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14108 xno) ;;
14109 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14110 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14111 esac
14114 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14115 case "x$with_gphoto" in
14116 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14117 xno) ;;
14118 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14119 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14120 esac
14125 if test "$ac_cv_header_resolv_h" = "yes"
14126 then
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14128 $as_echo_n "checking for resolver library... " >&6; }
14129 if ${ac_cv_have_resolv+:} false; then :
14130 $as_echo_n "(cached) " >&6
14131 else
14132 ac_save_LIBS="$LIBS"
14133 for lib in '' -lresolv
14135 LIBS="$lib $ac_save_LIBS"
14136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14137 /* end confdefs.h. */
14138 #ifdef HAVE_NETINET_IN_H
14139 #include <netinet/in.h>
14140 #endif
14141 #include <resolv.h>
14143 main ()
14145 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14147 return 0;
14149 _ACEOF
14150 if ac_fn_c_try_link "$LINENO"; then :
14151 ac_cv_have_resolv=${lib:-"none required"}
14152 else
14153 ac_cv_have_resolv="not found"
14155 rm -f core conftest.err conftest.$ac_objext \
14156 conftest$ac_exeext conftest.$ac_ext
14157 test "x$ac_cv_have_resolv" = "xnot found" || break
14158 done
14159 LIBS="$ac_save_LIBS"
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14162 $as_echo "$ac_cv_have_resolv" >&6; }
14164 case "$ac_cv_have_resolv" in
14165 "not found") ;;
14166 "none required")
14168 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14171 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14173 RESOLV_LIBS=$ac_cv_have_resolv
14175 esac
14177 if test "x$ac_cv_have_resolv" != "xnot found"
14178 then
14179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14180 $as_echo_n "checking for res_getservers... " >&6; }
14181 if ${ac_cv_have_res_getservers+:} false; then :
14182 $as_echo_n "(cached) " >&6
14183 else
14184 ac_save_LIBS="$LIBS"
14185 LIBS="$RESOLV_LIBS $LIBS"
14186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14187 /* end confdefs.h. */
14188 #include <resolv.h>
14190 main ()
14192 res_getservers(NULL, NULL, 0);
14194 return 0;
14196 _ACEOF
14197 if ac_fn_c_try_link "$LINENO"; then :
14198 ac_cv_have_res_getservers=yes
14199 else
14200 ac_cv_have_res_getservers=no
14202 rm -f core conftest.err conftest.$ac_objext \
14203 conftest$ac_exeext conftest.$ac_ext
14204 LIBS="$ac_save_LIBS"
14206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14207 $as_echo "$ac_cv_have_res_getservers" >&6; }
14208 if test "$ac_cv_have_res_getservers" = "yes"
14209 then
14211 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14217 if test "x$with_cms" != "xno"
14218 then
14219 if ${LCMS2_CFLAGS:+false} :; then :
14220 if ${PKG_CONFIG+:} false; then :
14221 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14225 if ${LCMS2_LIBS:+false} :; then :
14226 if ${PKG_CONFIG+:} false; then :
14227 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14231 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14232 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14233 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14234 ac_save_CPPFLAGS=$CPPFLAGS
14235 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14236 for ac_header in lcms2.h
14237 do :
14238 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14239 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14240 cat >>confdefs.h <<_ACEOF
14241 #define HAVE_LCMS2_H 1
14242 _ACEOF
14246 done
14248 if test "$ac_cv_header_lcms2_h" = "yes"
14249 then
14250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14251 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14252 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14253 $as_echo_n "(cached) " >&6
14254 else
14255 ac_check_lib_save_LIBS=$LIBS
14256 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14258 /* end confdefs.h. */
14260 /* Override any GCC internal prototype to avoid an error.
14261 Use char because int might match the return type of a GCC
14262 builtin and then its argument prototype would still apply. */
14263 #ifdef __cplusplus
14264 extern "C"
14265 #endif
14266 char cmsOpenProfileFromFile ();
14268 main ()
14270 return cmsOpenProfileFromFile ();
14272 return 0;
14274 _ACEOF
14275 if ac_fn_c_try_link "$LINENO"; then :
14276 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14277 else
14278 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14280 rm -f core conftest.err conftest.$ac_objext \
14281 conftest$ac_exeext conftest.$ac_ext
14282 LIBS=$ac_check_lib_save_LIBS
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14285 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14286 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14288 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14290 else
14291 LCMS2_LIBS=""
14294 else
14295 LCMS2_CFLAGS=""
14296 LCMS2_LIBS=""
14298 CPPFLAGS=$ac_save_CPPFLAGS
14301 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14302 case "x$with_cms" in
14303 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14304 xno) ;;
14305 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14306 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14307 esac
14311 if test "x$with_freetype" != "xno"
14312 then
14313 if ${FREETYPE_CFLAGS:+false} :; then :
14314 if ${PKG_CONFIG+:} false; then :
14315 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14318 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14319 if ${FREETYPE_LIBS:+false} :; then :
14320 if ${PKG_CONFIG+:} false; then :
14321 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14324 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14325 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14326 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14327 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14328 ac_save_CPPFLAGS=$CPPFLAGS
14329 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14330 for ac_header in ft2build.h
14331 do :
14332 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14333 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14334 cat >>confdefs.h <<_ACEOF
14335 #define HAVE_FT2BUILD_H 1
14336 _ACEOF
14340 done
14342 if test "$ac_cv_header_ft2build_h" = "yes"
14343 then
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14345 $as_echo_n "checking for -lfreetype... " >&6; }
14346 if ${ac_cv_lib_soname_freetype+:} false; then :
14347 $as_echo_n "(cached) " >&6
14348 else
14349 ac_check_soname_save_LIBS=$LIBS
14350 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14352 /* end confdefs.h. */
14354 /* Override any GCC internal prototype to avoid an error.
14355 Use char because int might match the return type of a GCC
14356 builtin and then its argument prototype would still apply. */
14357 #ifdef __cplusplus
14358 extern "C"
14359 #endif
14360 char FT_Init_FreeType ();
14362 main ()
14364 return FT_Init_FreeType ();
14366 return 0;
14368 _ACEOF
14369 if ac_fn_c_try_link "$LINENO"; then :
14370 case "$LIBEXT" in
14371 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14372 dylib) ac_cv_lib_soname_freetype=`$OTOOL -L conftest$ac_exeext | grep "libfreetype\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libfreetype\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14373 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14374 if ${ac_cv_lib_soname_freetype:+false} :; then :
14375 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14376 fi ;;
14377 esac
14378 else
14379 ac_cv_lib_soname_freetype=
14381 rm -f core conftest.err conftest.$ac_objext \
14382 conftest$ac_exeext conftest.$ac_ext
14383 LIBS=$ac_check_soname_save_LIBS
14385 if ${ac_cv_lib_soname_freetype:+false} :; then :
14386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14387 $as_echo "not found" >&6; }
14388 FREETYPE_LIBS=""
14389 else
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14391 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14393 cat >>confdefs.h <<_ACEOF
14394 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14395 _ACEOF
14398 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14400 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14401 #include FT_MODULE_H
14403 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14405 cat >>confdefs.h <<_ACEOF
14406 #define HAVE_FT_TRUETYPEENGINETYPE 1
14407 _ACEOF
14413 else
14414 FREETYPE_CFLAGS=""
14415 FREETYPE_LIBS=""
14417 CPPFLAGS=$ac_save_CPPFLAGS
14420 if test "x$ac_cv_lib_soname_freetype" = x; then :
14421 case "x$with_freetype" in
14422 xno) ;;
14423 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14424 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14425 esac
14426 enable_fonts=${enable_fonts:-no}
14429 ac_wine_check_funcs_save_LIBS="$LIBS"
14430 LIBS="$LIBS $PTHREAD_LIBS"
14431 for ac_func in \
14432 pthread_getthreadid_np
14433 do :
14434 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14435 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14436 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14437 cat >>confdefs.h <<_ACEOF
14438 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14439 _ACEOF
14442 done
14444 LIBS="$ac_wine_check_funcs_save_LIBS"
14446 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14447 then
14448 if test "$ac_cv_header_gettext_po_h" = "yes"
14449 then
14450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14451 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14452 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14453 $as_echo_n "(cached) " >&6
14454 else
14455 ac_check_lib_save_LIBS=$LIBS
14456 LIBS="-lgettextpo $LIBS"
14457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14458 /* end confdefs.h. */
14460 /* Override any GCC internal prototype to avoid an error.
14461 Use char because int might match the return type of a GCC
14462 builtin and then its argument prototype would still apply. */
14463 #ifdef __cplusplus
14464 extern "C"
14465 #endif
14466 char po_message_msgctxt ();
14468 main ()
14470 return po_message_msgctxt ();
14472 return 0;
14474 _ACEOF
14475 if ac_fn_c_try_link "$LINENO"; then :
14476 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14477 else
14478 ac_cv_lib_gettextpo_po_message_msgctxt=no
14480 rm -f core conftest.err conftest.$ac_objext \
14481 conftest$ac_exeext conftest.$ac_ext
14482 LIBS=$ac_check_lib_save_LIBS
14484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14485 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14486 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14488 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14490 GETTEXTPO_LIBS="-lgettextpo"
14495 if test "x$GETTEXTPO_LIBS" = "x"; then :
14496 case "x$with_gettextpo" in
14497 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14498 xno) ;;
14499 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14500 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14501 esac
14504 if test "$srcdir" != .; then :
14505 case "x$with_gettextpo" in
14506 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14507 xno) ;;
14508 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14509 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14510 esac
14515 if test "x$with_pulse" != "xno";
14516 then
14517 if ${PULSE_CFLAGS:+false} :; then :
14518 if ${PKG_CONFIG+:} false; then :
14519 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14523 if ${PULSE_LIBS:+false} :; then :
14524 if ${PKG_CONFIG+:} false; then :
14525 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14530 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14531 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14532 ac_save_CPPFLAGS=$CPPFLAGS
14533 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14534 for ac_header in pulse/pulseaudio.h
14535 do :
14536 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14537 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14538 cat >>confdefs.h <<_ACEOF
14539 #define HAVE_PULSE_PULSEAUDIO_H 1
14540 _ACEOF
14541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14542 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14543 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14544 $as_echo_n "(cached) " >&6
14545 else
14546 ac_check_lib_save_LIBS=$LIBS
14547 LIBS="-lpulse $PULSE_LIBS $LIBS"
14548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14549 /* end confdefs.h. */
14551 /* Override any GCC internal prototype to avoid an error.
14552 Use char because int might match the return type of a GCC
14553 builtin and then its argument prototype would still apply. */
14554 #ifdef __cplusplus
14555 extern "C"
14556 #endif
14557 char pa_stream_is_corked ();
14559 main ()
14561 return pa_stream_is_corked ();
14563 return 0;
14565 _ACEOF
14566 if ac_fn_c_try_link "$LINENO"; then :
14567 ac_cv_lib_pulse_pa_stream_is_corked=yes
14568 else
14569 ac_cv_lib_pulse_pa_stream_is_corked=no
14571 rm -f core conftest.err conftest.$ac_objext \
14572 conftest$ac_exeext conftest.$ac_ext
14573 LIBS=$ac_check_lib_save_LIBS
14575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14576 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14577 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14579 else
14580 PULSE_LIBS=""
14583 else
14584 PULSE_LIBS=""
14587 done
14589 CPPFLAGS=$ac_save_CPPFLAGS
14592 if test -z "$PULSE_LIBS"; then :
14593 case "x$with_pulse" in
14594 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14595 xno) ;;
14596 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14597 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14598 esac
14599 enable_winepulse_drv=${enable_winepulse_drv:-no}
14602 if test "x$with_gstreamer" != "xno"
14603 then
14604 if ${GSTREAMER_CFLAGS:+false} :; then :
14605 if ${PKG_CONFIG+:} false; then :
14606 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14610 if ${GSTREAMER_LIBS:+false} :; then :
14611 if ${PKG_CONFIG+:} false; then :
14612 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14617 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14618 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14619 ac_save_CPPFLAGS=$CPPFLAGS
14620 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14621 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14622 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14624 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14626 /* end confdefs.h. */
14627 #include <gst/gst.h>
14629 main ()
14631 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14633 return 0;
14635 _ACEOF
14636 if ac_fn_c_try_compile "$LINENO"; then :
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14638 $as_echo "yes" >&6; }
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14640 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14641 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14642 $as_echo_n "(cached) " >&6
14643 else
14644 ac_check_lib_save_LIBS=$LIBS
14645 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14647 /* end confdefs.h. */
14649 /* Override any GCC internal prototype to avoid an error.
14650 Use char because int might match the return type of a GCC
14651 builtin and then its argument prototype would still apply. */
14652 #ifdef __cplusplus
14653 extern "C"
14654 #endif
14655 char gst_pad_new ();
14657 main ()
14659 return gst_pad_new ();
14661 return 0;
14663 _ACEOF
14664 if ac_fn_c_try_link "$LINENO"; then :
14665 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14666 else
14667 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14669 rm -f core conftest.err conftest.$ac_objext \
14670 conftest$ac_exeext conftest.$ac_ext
14671 LIBS=$ac_check_lib_save_LIBS
14673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14674 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14675 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14679 else
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14681 $as_echo "no" >&6; }
14682 ac_glib2_broken=yes
14683 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14689 CPPFLAGS=$ac_save_CPPFLAGS
14692 if test "x$with_gstreamer" = xyes -o "x$with_quicktime" = xno -o "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
14693 then
14694 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes; then :
14695 case "x$with_gstreamer" in
14696 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14697 xno) ;;
14698 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14699 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14700 esac
14704 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14706 ALSA_LIBS=""
14708 if test "x$with_alsa" != "xno"
14709 then
14710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14711 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14712 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14713 $as_echo_n "(cached) " >&6
14714 else
14715 ac_check_lib_save_LIBS=$LIBS
14716 LIBS="-lasound $LIBS"
14717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14718 /* end confdefs.h. */
14720 /* Override any GCC internal prototype to avoid an error.
14721 Use char because int might match the return type of a GCC
14722 builtin and then its argument prototype would still apply. */
14723 #ifdef __cplusplus
14724 extern "C"
14725 #endif
14726 char snd_pcm_hw_params_get_access_mask ();
14728 main ()
14730 return snd_pcm_hw_params_get_access_mask ();
14732 return 0;
14734 _ACEOF
14735 if ac_fn_c_try_link "$LINENO"; then :
14736 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14737 else
14738 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14740 rm -f core conftest.err conftest.$ac_objext \
14741 conftest$ac_exeext conftest.$ac_ext
14742 LIBS=$ac_check_lib_save_LIBS
14744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14745 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14746 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14748 /* end confdefs.h. */
14749 #include <alsa/asoundlib.h>
14751 main ()
14753 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14755 return 0;
14757 _ACEOF
14758 if ac_fn_c_try_compile "$LINENO"; then :
14759 ALSA_LIBS="-lasound"
14761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14765 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14767 if test "x$with_oss" != xno
14768 then
14769 ac_save_CPPFLAGS="$CPPFLAGS"
14770 if test -f /etc/oss.conf
14771 then
14772 . /etc/oss.conf
14774 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14775 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14776 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14777 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14778 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14780 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14782 cat >>confdefs.h <<_ACEOF
14783 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14784 _ACEOF
14786 OSS4_CFLAGS="$ac_oss_incl"
14788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14789 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14790 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14791 $as_echo_n "(cached) " >&6
14792 else
14793 ac_check_lib_save_LIBS=$LIBS
14794 LIBS="-lossaudio $LIBS"
14795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14796 /* end confdefs.h. */
14798 /* Override any GCC internal prototype to avoid an error.
14799 Use char because int might match the return type of a GCC
14800 builtin and then its argument prototype would still apply. */
14801 #ifdef __cplusplus
14802 extern "C"
14803 #endif
14804 char _oss_ioctl ();
14806 main ()
14808 return _oss_ioctl ();
14810 return 0;
14812 _ACEOF
14813 if ac_fn_c_try_link "$LINENO"; then :
14814 ac_cv_lib_ossaudio__oss_ioctl=yes
14815 else
14816 ac_cv_lib_ossaudio__oss_ioctl=no
14818 rm -f core conftest.err conftest.$ac_objext \
14819 conftest$ac_exeext conftest.$ac_ext
14820 LIBS=$ac_check_lib_save_LIBS
14822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14823 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14824 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14825 OSS4_LIBS="-lossaudio"
14834 CPPFLAGS="$ac_save_CPPFLAGS"
14836 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14837 case "x$with_oss" in
14838 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14839 xno) ;;
14840 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14841 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14842 esac
14843 enable_wineoss_drv=${enable_wineoss_drv:-no}
14846 if test "x$with_udev" != "xno"
14847 then
14848 if ${UDEV_CFLAGS:+false} :; then :
14849 if ${PKG_CONFIG+:} false; then :
14850 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14854 if ${UDEV_LIBS:+false} :; then :
14855 if ${PKG_CONFIG+:} false; then :
14856 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14860 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14861 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14862 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14863 ac_save_CPPFLAGS=$CPPFLAGS
14864 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14865 for ac_header in libudev.h
14866 do :
14867 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14868 if test "x$ac_cv_header_libudev_h" = xyes; then :
14869 cat >>confdefs.h <<_ACEOF
14870 #define HAVE_LIBUDEV_H 1
14871 _ACEOF
14872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14873 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14874 if ${ac_cv_lib_udev_udev_new+:} false; then :
14875 $as_echo_n "(cached) " >&6
14876 else
14877 ac_check_lib_save_LIBS=$LIBS
14878 LIBS="-ludev $UDEV_LIBS $LIBS"
14879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14880 /* end confdefs.h. */
14882 /* Override any GCC internal prototype to avoid an error.
14883 Use char because int might match the return type of a GCC
14884 builtin and then its argument prototype would still apply. */
14885 #ifdef __cplusplus
14886 extern "C"
14887 #endif
14888 char udev_new ();
14890 main ()
14892 return udev_new ();
14894 return 0;
14896 _ACEOF
14897 if ac_fn_c_try_link "$LINENO"; then :
14898 ac_cv_lib_udev_udev_new=yes
14899 else
14900 ac_cv_lib_udev_udev_new=no
14902 rm -f core conftest.err conftest.$ac_objext \
14903 conftest$ac_exeext conftest.$ac_ext
14904 LIBS=$ac_check_lib_save_LIBS
14906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14907 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14908 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14910 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14912 else
14913 UDEV_LIBS=""
14916 else
14917 UDEV_LIBS=""
14920 done
14922 CPPFLAGS=$ac_save_CPPFLAGS
14925 if test "x$UDEV_LIBS" = "x"; then :
14926 case "x$with_udev" in
14927 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14928 xno) ;;
14929 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14930 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14931 esac
14935 if test "x$with_unwind" != xno
14936 then
14937 if ${UNWIND_CFLAGS:+false} :; then :
14938 if ${PKG_CONFIG+:} false; then :
14939 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14943 if ${UNWIND_LIBS:+false} :; then :
14944 if ${PKG_CONFIG+:} false; then :
14945 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14949 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14950 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14951 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14952 ac_save_CPPFLAGS=$CPPFLAGS
14953 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14955 $as_echo_n "checking for unw_step... " >&6; }
14956 if ${wine_cv_have_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_unw_step="yes"
14973 else
14974 wine_cv_have_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_unw_step" >&5
14980 $as_echo "$wine_cv_have_unw_step" >&6; }
14981 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14982 then
14983 save_libs=$LIBS
14984 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
14985 LIBS="$UNWIND_LIBS $LIBS"
14986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14987 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14988 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14989 $as_echo_n "(cached) " >&6
14990 else
14991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14992 /* end confdefs.h. */
14993 #define UNW_LOCAL_ONLY
14994 #include <libunwind.h>
14996 main ()
14998 unw_cursor_t cursor; unw_step( &cursor );
15000 return 0;
15002 _ACEOF
15003 if ac_fn_c_try_link "$LINENO"; then :
15004 wine_cv_have_libunwind_unw_step="yes"
15005 else
15006 wine_cv_have_libunwind_unw_step="no"
15008 rm -f core conftest.err conftest.$ac_objext \
15009 conftest$ac_exeext conftest.$ac_ext
15011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15012 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15013 LIBS=$save_libs
15015 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15016 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15017 then
15019 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15022 CPPFLAGS=$ac_save_CPPFLAGS
15025 case $host in
15026 aarch64*|*-darwin*)
15027 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15028 case "x$with_unwind" in
15029 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15030 xno) ;;
15031 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15032 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15033 esac
15035 fi ;;
15036 esac
15038 if test "x$with_sdl" != "xno"
15039 then
15040 if ${SDL2_CFLAGS:+false} :; then :
15041 if ${PKG_CONFIG+:} false; then :
15042 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15046 if ${SDL2_LIBS:+false} :; then :
15047 if ${PKG_CONFIG+:} false; then :
15048 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15052 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15053 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15054 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15055 ac_save_CPPFLAGS=$CPPFLAGS
15056 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15057 for ac_header in SDL.h
15058 do :
15059 ac_fn_c_check_header_mongrel "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
15060 if test "x$ac_cv_header_SDL_h" = xyes; then :
15061 cat >>confdefs.h <<_ACEOF
15062 #define HAVE_SDL_H 1
15063 _ACEOF
15064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15065 $as_echo_n "checking for -lSDL2... " >&6; }
15066 if ${ac_cv_lib_soname_SDL2+:} false; then :
15067 $as_echo_n "(cached) " >&6
15068 else
15069 ac_check_soname_save_LIBS=$LIBS
15070 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15072 /* end confdefs.h. */
15074 /* Override any GCC internal prototype to avoid an error.
15075 Use char because int might match the return type of a GCC
15076 builtin and then its argument prototype would still apply. */
15077 #ifdef __cplusplus
15078 extern "C"
15079 #endif
15080 char SDL_Init ();
15082 main ()
15084 return SDL_Init ();
15086 return 0;
15088 _ACEOF
15089 if ac_fn_c_try_link "$LINENO"; then :
15090 case "$LIBEXT" in
15091 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15092 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'` ;;
15093 *) 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'`
15094 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15095 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15096 fi ;;
15097 esac
15098 else
15099 ac_cv_lib_soname_SDL2=
15101 rm -f core conftest.err conftest.$ac_objext \
15102 conftest$ac_exeext conftest.$ac_ext
15103 LIBS=$ac_check_soname_save_LIBS
15105 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15107 $as_echo "not found" >&6; }
15109 else
15110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15111 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15113 cat >>confdefs.h <<_ACEOF
15114 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15115 _ACEOF
15121 done
15123 CPPFLAGS=$ac_save_CPPFLAGS
15126 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15127 case "x$with_sdl" in
15128 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15129 xno) ;;
15130 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15131 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15132 esac
15136 if test "x$with_faudio" != "xno"
15137 then
15138 if ${FAUDIO_CFLAGS:+false} :; then :
15139 if ${PKG_CONFIG+:} false; then :
15140 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags FAudio 2>/dev/null`
15144 if ${FAUDIO_LIBS:+false} :; then :
15145 if ${PKG_CONFIG+:} false; then :
15146 FAUDIO_LIBS=`$PKG_CONFIG --libs FAudio 2>/dev/null`
15150 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15151 $as_echo "$as_me:${as_lineno-$LINENO}: FAudio cflags: $FAUDIO_CFLAGS" >&5
15152 $as_echo "$as_me:${as_lineno-$LINENO}: FAudio libs: $FAUDIO_LIBS" >&5
15153 ac_save_CPPFLAGS=$CPPFLAGS
15154 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15155 for ac_header in FAudio.h
15156 do :
15157 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15158 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15159 cat >>confdefs.h <<_ACEOF
15160 #define HAVE_FAUDIO_H 1
15161 _ACEOF
15162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15163 $as_echo_n "checking for -lFAudio... " >&6; }
15164 if ${ac_cv_lib_soname_FAudio+:} false; then :
15165 $as_echo_n "(cached) " >&6
15166 else
15167 ac_check_soname_save_LIBS=$LIBS
15168 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15170 /* end confdefs.h. */
15172 /* Override any GCC internal prototype to avoid an error.
15173 Use char because int might match the return type of a GCC
15174 builtin and then its argument prototype would still apply. */
15175 #ifdef __cplusplus
15176 extern "C"
15177 #endif
15178 char FAudioCreate ();
15180 main ()
15182 return FAudioCreate ();
15184 return 0;
15186 _ACEOF
15187 if ac_fn_c_try_link "$LINENO"; then :
15188 case "$LIBEXT" in
15189 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15190 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'` ;;
15191 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15192 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15193 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15194 fi ;;
15195 esac
15196 else
15197 ac_cv_lib_soname_FAudio=
15199 rm -f core conftest.err conftest.$ac_objext \
15200 conftest$ac_exeext conftest.$ac_ext
15201 LIBS=$ac_check_soname_save_LIBS
15203 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15205 $as_echo "not found" >&6; }
15207 else
15208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15209 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15211 cat >>confdefs.h <<_ACEOF
15212 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15213 _ACEOF
15219 done
15221 ac_wine_check_funcs_save_LIBS="$LIBS"
15222 LIBS="$LIBS $FAUDIO_LIBS"
15223 for ac_func in FAudio_CommitOperationSet \
15224 F3DAudioInitialize8 \
15225 FAudioLinkedVersion \
15226 FAudioCreateReverb9WithCustomAllocatorEXT
15227 do :
15228 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15229 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15230 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15231 cat >>confdefs.h <<_ACEOF
15232 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15233 _ACEOF
15236 done
15238 LIBS="$ac_wine_check_funcs_save_LIBS"
15240 CPPFLAGS=$ac_save_CPPFLAGS
15243 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15244 case "x$with_faudio" in
15245 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15246 xno) ;;
15247 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15248 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15249 esac
15253 if test "x$with_capi" != "xno"
15254 then
15255 if ${CAPI20_CFLAGS:+false} :; then :
15256 if ${PKG_CONFIG+:} false; then :
15257 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15261 if ${CAPI20_LIBS:+false} :; then :
15262 if ${PKG_CONFIG+:} false; then :
15263 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15268 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15269 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15270 ac_save_CPPFLAGS=$CPPFLAGS
15271 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15272 for ac_header in capi20.h linux/capi.h
15273 do :
15274 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15275 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15277 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15278 cat >>confdefs.h <<_ACEOF
15279 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15280 _ACEOF
15284 done
15286 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15287 then
15288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15289 $as_echo_n "checking for -lcapi20... " >&6; }
15290 if ${ac_cv_lib_soname_capi20+:} false; then :
15291 $as_echo_n "(cached) " >&6
15292 else
15293 ac_check_soname_save_LIBS=$LIBS
15294 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15296 /* end confdefs.h. */
15298 /* Override any GCC internal prototype to avoid an error.
15299 Use char because int might match the return type of a GCC
15300 builtin and then its argument prototype would still apply. */
15301 #ifdef __cplusplus
15302 extern "C"
15303 #endif
15304 char capi20_register ();
15306 main ()
15308 return capi20_register ();
15310 return 0;
15312 _ACEOF
15313 if ac_fn_c_try_link "$LINENO"; then :
15314 case "$LIBEXT" in
15315 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15316 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'` ;;
15317 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15318 if ${ac_cv_lib_soname_capi20:+false} :; then :
15319 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15320 fi ;;
15321 esac
15322 else
15323 ac_cv_lib_soname_capi20=
15325 rm -f core conftest.err conftest.$ac_objext \
15326 conftest$ac_exeext conftest.$ac_ext
15327 LIBS=$ac_check_soname_save_LIBS
15329 if ${ac_cv_lib_soname_capi20:+false} :; then :
15330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15331 $as_echo "not found" >&6; }
15333 else
15334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15335 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15337 cat >>confdefs.h <<_ACEOF
15338 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15339 _ACEOF
15344 CPPFLAGS=$ac_save_CPPFLAGS
15347 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15348 case "x$with_capi" in
15349 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15350 xno) ;;
15351 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15352 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15353 esac
15357 if test "x$with_cups" != "xno"
15358 then
15359 if ${CUPS_CFLAGS:+false} :; then :
15360 if ${PKG_CONFIG+:} false; then :
15361 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15364 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15365 if ${CUPS_LIBS:+false} :; then :
15366 if ${PKG_CONFIG+:} false; then :
15367 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15370 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15371 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15372 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15373 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15374 ac_save_CPPFLAGS=$CPPFLAGS
15375 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15376 for ac_header in cups/cups.h cups/ppd.h
15377 do :
15378 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15379 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15380 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15381 cat >>confdefs.h <<_ACEOF
15382 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15383 _ACEOF
15387 done
15389 if test "$ac_cv_header_cups_cups_h" = "yes"
15390 then
15391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15392 $as_echo_n "checking for -lcups... " >&6; }
15393 if ${ac_cv_lib_soname_cups+:} false; then :
15394 $as_echo_n "(cached) " >&6
15395 else
15396 ac_check_soname_save_LIBS=$LIBS
15397 LIBS="-lcups $CUPS_LIBS $LIBS"
15398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15399 /* end confdefs.h. */
15401 /* Override any GCC internal prototype to avoid an error.
15402 Use char because int might match the return type of a GCC
15403 builtin and then its argument prototype would still apply. */
15404 #ifdef __cplusplus
15405 extern "C"
15406 #endif
15407 char cupsGetDefault ();
15409 main ()
15411 return cupsGetDefault ();
15413 return 0;
15415 _ACEOF
15416 if ac_fn_c_try_link "$LINENO"; then :
15417 case "$LIBEXT" in
15418 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15419 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'` ;;
15420 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15421 if ${ac_cv_lib_soname_cups:+false} :; then :
15422 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15423 fi ;;
15424 esac
15425 else
15426 ac_cv_lib_soname_cups=
15428 rm -f core conftest.err conftest.$ac_objext \
15429 conftest$ac_exeext conftest.$ac_ext
15430 LIBS=$ac_check_soname_save_LIBS
15432 if ${ac_cv_lib_soname_cups:+false} :; then :
15433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15434 $as_echo "not found" >&6; }
15435 CUPS_LIBS=""
15436 else
15437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15438 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15440 cat >>confdefs.h <<_ACEOF
15441 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15442 _ACEOF
15446 else
15447 CUPS_CFLAGS=""
15448 CUPS_LIBS=""
15450 CPPFLAGS=$ac_save_CPPFLAGS
15453 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15454 case "x$with_cups" in
15455 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15456 xno) ;;
15457 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15458 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15459 esac
15463 if test "x$with_fontconfig" != "xno"
15464 then
15465 if ${FONTCONFIG_CFLAGS:+false} :; then :
15466 if ${PKG_CONFIG+:} false; then :
15467 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15470 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15471 if ${FONTCONFIG_LIBS:+false} :; then :
15472 if ${PKG_CONFIG+:} false; then :
15473 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15476 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15478 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15479 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15480 ac_save_CPPFLAGS=$CPPFLAGS
15481 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15482 for ac_header in fontconfig/fontconfig.h
15483 do :
15484 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15485 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15486 cat >>confdefs.h <<_ACEOF
15487 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15488 _ACEOF
15492 done
15494 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15495 then
15496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15497 $as_echo_n "checking for -lfontconfig... " >&6; }
15498 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15499 $as_echo_n "(cached) " >&6
15500 else
15501 ac_check_soname_save_LIBS=$LIBS
15502 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15504 /* end confdefs.h. */
15506 /* Override any GCC internal prototype to avoid an error.
15507 Use char because int might match the return type of a GCC
15508 builtin and then its argument prototype would still apply. */
15509 #ifdef __cplusplus
15510 extern "C"
15511 #endif
15512 char FcInit ();
15514 main ()
15516 return FcInit ();
15518 return 0;
15520 _ACEOF
15521 if ac_fn_c_try_link "$LINENO"; then :
15522 case "$LIBEXT" in
15523 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15524 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'` ;;
15525 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15526 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15527 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15528 fi ;;
15529 esac
15530 else
15531 ac_cv_lib_soname_fontconfig=
15533 rm -f core conftest.err conftest.$ac_objext \
15534 conftest$ac_exeext conftest.$ac_ext
15535 LIBS=$ac_check_soname_save_LIBS
15537 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15539 $as_echo "not found" >&6; }
15540 FONTCONFIG_CFLAGS=""
15541 else
15542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15543 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15545 cat >>confdefs.h <<_ACEOF
15546 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15547 _ACEOF
15551 else
15552 FONTCONFIG_CFLAGS=""
15554 CPPFLAGS=$ac_save_CPPFLAGS
15557 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15558 case "x$with_fontconfig" in
15559 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15560 xno) ;;
15561 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15562 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15563 esac
15567 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15568 then
15569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15570 $as_echo_n "checking for -lgsm... " >&6; }
15571 if ${ac_cv_lib_soname_gsm+:} false; then :
15572 $as_echo_n "(cached) " >&6
15573 else
15574 ac_check_soname_save_LIBS=$LIBS
15575 LIBS="-lgsm $LIBS"
15576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15577 /* end confdefs.h. */
15579 /* Override any GCC internal prototype to avoid an error.
15580 Use char because int might match the return type of a GCC
15581 builtin and then its argument prototype would still apply. */
15582 #ifdef __cplusplus
15583 extern "C"
15584 #endif
15585 char gsm_create ();
15587 main ()
15589 return gsm_create ();
15591 return 0;
15593 _ACEOF
15594 if ac_fn_c_try_link "$LINENO"; then :
15595 case "$LIBEXT" in
15596 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15597 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'` ;;
15598 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15599 if ${ac_cv_lib_soname_gsm:+false} :; then :
15600 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15601 fi ;;
15602 esac
15603 else
15604 ac_cv_lib_soname_gsm=
15606 rm -f core conftest.err conftest.$ac_objext \
15607 conftest$ac_exeext conftest.$ac_ext
15608 LIBS=$ac_check_soname_save_LIBS
15610 if ${ac_cv_lib_soname_gsm:+false} :; then :
15611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15612 $as_echo "not found" >&6; }
15614 else
15615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15616 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15618 cat >>confdefs.h <<_ACEOF
15619 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15620 _ACEOF
15625 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15626 case "x$with_gsm" in
15627 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15628 xno) ;;
15629 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15630 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15631 esac
15635 if test "x$with_krb5" != "xno"
15636 then
15637 if ${KRB5_CFLAGS:+false} :; then :
15638 if ${PKG_CONFIG+:} false; then :
15639 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15642 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15643 if ${KRB5_LIBS:+false} :; then :
15644 if ${PKG_CONFIG+:} false; then :
15645 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15648 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15650 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15651 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15652 ac_save_CPPFLAGS=$CPPFLAGS
15653 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15654 for ac_header in krb5/krb5.h
15655 do :
15656 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15657 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15658 cat >>confdefs.h <<_ACEOF
15659 #define HAVE_KRB5_KRB5_H 1
15660 _ACEOF
15664 done
15666 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15667 then
15668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15669 $as_echo_n "checking for -lkrb5... " >&6; }
15670 if ${ac_cv_lib_soname_krb5+:} false; then :
15671 $as_echo_n "(cached) " >&6
15672 else
15673 ac_check_soname_save_LIBS=$LIBS
15674 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15676 /* end confdefs.h. */
15678 /* Override any GCC internal prototype to avoid an error.
15679 Use char because int might match the return type of a GCC
15680 builtin and then its argument prototype would still apply. */
15681 #ifdef __cplusplus
15682 extern "C"
15683 #endif
15684 char krb5_is_config_principal ();
15686 main ()
15688 return krb5_is_config_principal ();
15690 return 0;
15692 _ACEOF
15693 if ac_fn_c_try_link "$LINENO"; then :
15694 case "$LIBEXT" in
15695 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15696 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'` ;;
15697 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15698 if ${ac_cv_lib_soname_krb5:+false} :; then :
15699 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15700 fi ;;
15701 esac
15702 else
15703 ac_cv_lib_soname_krb5=
15705 rm -f core conftest.err conftest.$ac_objext \
15706 conftest$ac_exeext conftest.$ac_ext
15707 LIBS=$ac_check_soname_save_LIBS
15709 if ${ac_cv_lib_soname_krb5:+false} :; then :
15710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15711 $as_echo "not found" >&6; }
15712 KRB5_CFLAGS=""
15713 else
15714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15715 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15717 cat >>confdefs.h <<_ACEOF
15718 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15719 _ACEOF
15723 else
15724 KRB5_CFLAGS=""
15726 CPPFLAGS=$ac_save_CPPFLAGS
15729 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15730 case "x$with_krb5" in
15731 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15732 xno) ;;
15733 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15734 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15735 esac
15738 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15740 if test "x$with_gssapi" != "xno"
15741 then
15742 if ${GSSAPI_CFLAGS:+false} :; then :
15743 if ${PKG_CONFIG+:} false; then :
15744 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15747 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15748 if ${GSSAPI_LIBS:+false} :; then :
15749 if ${PKG_CONFIG+:} false; then :
15750 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15753 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15755 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15756 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15757 ac_save_CPPFLAGS=$CPPFLAGS
15758 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15759 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15760 do :
15761 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15762 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15763 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15764 cat >>confdefs.h <<_ACEOF
15765 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15766 _ACEOF
15770 done
15772 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15773 then
15774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15775 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15776 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15777 $as_echo_n "(cached) " >&6
15778 else
15779 ac_check_soname_save_LIBS=$LIBS
15780 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15782 /* end confdefs.h. */
15784 /* Override any GCC internal prototype to avoid an error.
15785 Use char because int might match the return type of a GCC
15786 builtin and then its argument prototype would still apply. */
15787 #ifdef __cplusplus
15788 extern "C"
15789 #endif
15790 char gss_init_sec_context ();
15792 main ()
15794 return gss_init_sec_context ();
15796 return 0;
15798 _ACEOF
15799 if ac_fn_c_try_link "$LINENO"; then :
15800 case "$LIBEXT" in
15801 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15802 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'` ;;
15803 *) 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'`
15804 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15805 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15806 fi ;;
15807 esac
15808 else
15809 ac_cv_lib_soname_gssapi_krb5=
15811 rm -f core conftest.err conftest.$ac_objext \
15812 conftest$ac_exeext conftest.$ac_ext
15813 LIBS=$ac_check_soname_save_LIBS
15815 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15817 $as_echo "not found" >&6; }
15818 GSSAPI_CFLAGS=""
15819 else
15820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15821 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15823 cat >>confdefs.h <<_ACEOF
15824 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15825 _ACEOF
15829 else
15830 GSSAPI_CFLAGS=""
15832 CPPFLAGS=$ac_save_CPPFLAGS
15835 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15836 case "x$with_gssapi" in
15837 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15838 xno) ;;
15839 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15840 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15841 esac
15845 if test "x$with_jpeg" != "xno"
15846 then
15847 if ${JPEG_CFLAGS:+false} :; then :
15848 if ${PKG_CONFIG+:} false; then :
15849 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15853 if ${JPEG_LIBS:+false} :; then :
15854 if ${PKG_CONFIG+:} false; then :
15855 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15860 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15861 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15862 ac_save_CPPFLAGS=$CPPFLAGS
15863 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15864 for ac_header in jpeglib.h
15865 do :
15866 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15867 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15868 cat >>confdefs.h <<_ACEOF
15869 #define HAVE_JPEGLIB_H 1
15870 _ACEOF
15874 done
15876 if test "$ac_cv_header_jpeglib_h" = "yes"
15877 then
15878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15879 $as_echo_n "checking for -ljpeg... " >&6; }
15880 if ${ac_cv_lib_soname_jpeg+:} false; then :
15881 $as_echo_n "(cached) " >&6
15882 else
15883 ac_check_soname_save_LIBS=$LIBS
15884 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15886 /* end confdefs.h. */
15888 /* Override any GCC internal prototype to avoid an error.
15889 Use char because int might match the return type of a GCC
15890 builtin and then its argument prototype would still apply. */
15891 #ifdef __cplusplus
15892 extern "C"
15893 #endif
15894 char jpeg_start_decompress ();
15896 main ()
15898 return jpeg_start_decompress ();
15900 return 0;
15902 _ACEOF
15903 if ac_fn_c_try_link "$LINENO"; then :
15904 case "$LIBEXT" in
15905 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15906 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'` ;;
15907 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15908 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15909 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15910 fi ;;
15911 esac
15912 else
15913 ac_cv_lib_soname_jpeg=
15915 rm -f core conftest.err conftest.$ac_objext \
15916 conftest$ac_exeext conftest.$ac_ext
15917 LIBS=$ac_check_soname_save_LIBS
15919 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15921 $as_echo "not found" >&6; }
15922 JPEG_CFLAGS=""
15923 else
15924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15925 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15927 cat >>confdefs.h <<_ACEOF
15928 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15929 _ACEOF
15933 else
15934 JPEG_CFLAGS=""
15936 CPPFLAGS=$ac_save_CPPFLAGS
15939 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15940 case "x$with_jpeg" in
15941 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15942 xno) ;;
15943 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15944 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15945 esac
15949 if test "x$with_jxrlib" != "xno"
15950 then
15951 if ${JXRLIB_CFLAGS:+false} :; then :
15952 if ${PKG_CONFIG+:} false; then :
15953 JXRLIB_CFLAGS=`$PKG_CONFIG --cflags jxrlib 2>/dev/null`
15956 test "$cross_compiling" = yes || JXRLIB_CFLAGS=${JXRLIB_CFLAGS:-${JXRLIB_CFLAGS:--I/usr/include/jxrlib}}
15957 if ${JXRLIB_LIBS:+false} :; then :
15958 if ${PKG_CONFIG+:} false; then :
15959 JXRLIB_LIBS=`$PKG_CONFIG --libs jxrlib 2>/dev/null`
15964 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib cflags: $JXRLIB_CFLAGS" >&5
15965 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib libs: $JXRLIB_LIBS" >&5
15966 ac_save_CPPFLAGS=$CPPFLAGS
15967 CPPFLAGS="$CPPFLAGS $JXRLIB_CFLAGS"
15968 for ac_header in JXRGlue.h
15969 do :
15970 ac_fn_c_check_header_compile "$LINENO" "JXRGlue.h" "ac_cv_header_JXRGlue_h" "#define FAR
15972 if test "x$ac_cv_header_JXRGlue_h" = xyes; then :
15973 cat >>confdefs.h <<_ACEOF
15974 #define HAVE_JXRGLUE_H 1
15975 _ACEOF
15979 done
15981 if test "$ac_cv_header_JXRGlue_h" = "yes"
15982 then
15983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljxrglue" >&5
15984 $as_echo_n "checking for -ljxrglue... " >&6; }
15985 if ${ac_cv_lib_soname_jxrglue+:} false; then :
15986 $as_echo_n "(cached) " >&6
15987 else
15988 ac_check_soname_save_LIBS=$LIBS
15989 LIBS="-ljxrglue $JXRLIB_LIBS $LIBS"
15990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15991 /* end confdefs.h. */
15993 /* Override any GCC internal prototype to avoid an error.
15994 Use char because int might match the return type of a GCC
15995 builtin and then its argument prototype would still apply. */
15996 #ifdef __cplusplus
15997 extern "C"
15998 #endif
15999 char PKImageDecode_Create_WMP ();
16001 main ()
16003 return PKImageDecode_Create_WMP ();
16005 return 0;
16007 _ACEOF
16008 if ac_fn_c_try_link "$LINENO"; then :
16009 case "$LIBEXT" in
16010 dll) ac_cv_lib_soname_jxrglue=`$ac_cv_path_LDD conftest.exe | grep "jxrglue" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16011 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'` ;;
16012 *) ac_cv_lib_soname_jxrglue=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjxrglue\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjxrglue\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16013 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16014 ac_cv_lib_soname_jxrglue=`$LDD conftest$ac_exeext | grep "libjxrglue\\.$LIBEXT" | sed -e "s/^.*\(libjxrglue\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16015 fi ;;
16016 esac
16017 else
16018 ac_cv_lib_soname_jxrglue=
16020 rm -f core conftest.err conftest.$ac_objext \
16021 conftest$ac_exeext conftest.$ac_ext
16022 LIBS=$ac_check_soname_save_LIBS
16024 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16026 $as_echo "not found" >&6; }
16027 JXRLIB_CFLAGS=""
16028 else
16029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jxrglue" >&5
16030 $as_echo "$ac_cv_lib_soname_jxrglue" >&6; }
16032 cat >>confdefs.h <<_ACEOF
16033 #define SONAME_LIBJXRGLUE "$ac_cv_lib_soname_jxrglue"
16034 _ACEOF
16038 else
16039 JXRLIB_CFLAGS=""
16041 CPPFLAGS=$ac_save_CPPFLAGS
16044 if test "x$ac_cv_lib_soname_jxrglue" = "x"; then :
16045 case "x$with_jxrlib" in
16046 x) as_fn_append wine_notices "|jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported." ;;
16047 xno) ;;
16048 *) as_fn_error $? "jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported.
16049 This is an error since --with-jxrlib was requested." "$LINENO" 5 ;;
16050 esac
16054 if test "x$with_png" != "xno"
16055 then
16056 if ${PNG_CFLAGS:+false} :; then :
16057 if ${PKG_CONFIG+:} false; then :
16058 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16061 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16062 if ${PNG_LIBS:+false} :; then :
16063 if ${PKG_CONFIG+:} false; then :
16064 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16067 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16069 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16070 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16071 ac_save_CPPFLAGS=$CPPFLAGS
16072 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16073 for ac_header in png.h
16074 do :
16075 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16076 if test "x$ac_cv_header_png_h" = xyes; then :
16077 cat >>confdefs.h <<_ACEOF
16078 #define HAVE_PNG_H 1
16079 _ACEOF
16083 done
16085 if test "$ac_cv_header_png_h" = "yes"
16086 then
16087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16088 $as_echo_n "checking for -lpng... " >&6; }
16089 if ${ac_cv_lib_soname_png+:} false; then :
16090 $as_echo_n "(cached) " >&6
16091 else
16092 ac_check_soname_save_LIBS=$LIBS
16093 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16095 /* end confdefs.h. */
16097 /* Override any GCC internal prototype to avoid an error.
16098 Use char because int might match the return type of a GCC
16099 builtin and then its argument prototype would still apply. */
16100 #ifdef __cplusplus
16101 extern "C"
16102 #endif
16103 char png_create_read_struct ();
16105 main ()
16107 return png_create_read_struct ();
16109 return 0;
16111 _ACEOF
16112 if ac_fn_c_try_link "$LINENO"; then :
16113 case "$LIBEXT" in
16114 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16115 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'` ;;
16116 *) 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'`
16117 if ${ac_cv_lib_soname_png:+false} :; then :
16118 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16119 fi ;;
16120 esac
16121 else
16122 ac_cv_lib_soname_png=
16124 rm -f core conftest.err conftest.$ac_objext \
16125 conftest$ac_exeext conftest.$ac_ext
16126 LIBS=$ac_check_soname_save_LIBS
16128 if ${ac_cv_lib_soname_png:+false} :; then :
16129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16130 $as_echo "not found" >&6; }
16131 PNG_CFLAGS=""
16132 else
16133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16134 $as_echo "$ac_cv_lib_soname_png" >&6; }
16136 cat >>confdefs.h <<_ACEOF
16137 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16138 _ACEOF
16142 else
16143 PNG_CFLAGS=""
16145 CPPFLAGS=$ac_save_CPPFLAGS
16148 if test "x$ac_cv_lib_soname_png" = "x"; then :
16149 case "x$with_png" in
16150 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16151 xno) ;;
16152 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16153 This is an error since --with-png was requested." "$LINENO" 5 ;;
16154 esac
16158 if test "x$with_tiff" != "xno"
16159 then
16160 if ${TIFF_CFLAGS:+false} :; then :
16161 if ${PKG_CONFIG+:} false; then :
16162 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16166 if ${TIFF_LIBS:+false} :; then :
16167 if ${PKG_CONFIG+:} false; then :
16168 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16173 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16174 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16175 ac_save_CPPFLAGS=$CPPFLAGS
16176 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16177 for ac_header in tiffio.h
16178 do :
16179 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16180 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16181 cat >>confdefs.h <<_ACEOF
16182 #define HAVE_TIFFIO_H 1
16183 _ACEOF
16187 done
16189 if test "$ac_cv_header_tiffio_h" = "yes"
16190 then
16191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16192 $as_echo_n "checking for -ltiff... " >&6; }
16193 if ${ac_cv_lib_soname_tiff+:} false; then :
16194 $as_echo_n "(cached) " >&6
16195 else
16196 ac_check_soname_save_LIBS=$LIBS
16197 LIBS="-ltiff $TIFF_LIBS $LIBS"
16198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16199 /* end confdefs.h. */
16201 /* Override any GCC internal prototype to avoid an error.
16202 Use char because int might match the return type of a GCC
16203 builtin and then its argument prototype would still apply. */
16204 #ifdef __cplusplus
16205 extern "C"
16206 #endif
16207 char TIFFClientOpen ();
16209 main ()
16211 return TIFFClientOpen ();
16213 return 0;
16215 _ACEOF
16216 if ac_fn_c_try_link "$LINENO"; then :
16217 case "$LIBEXT" in
16218 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16219 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'` ;;
16220 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16221 if ${ac_cv_lib_soname_tiff:+false} :; then :
16222 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16223 fi ;;
16224 esac
16225 else
16226 ac_cv_lib_soname_tiff=
16228 rm -f core conftest.err conftest.$ac_objext \
16229 conftest$ac_exeext conftest.$ac_ext
16230 LIBS=$ac_check_soname_save_LIBS
16232 if ${ac_cv_lib_soname_tiff:+false} :; then :
16233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16234 $as_echo "not found" >&6; }
16236 else
16237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16238 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16240 cat >>confdefs.h <<_ACEOF
16241 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16242 _ACEOF
16247 CPPFLAGS=$ac_save_CPPFLAGS
16250 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16251 case "x$with_tiff" in
16252 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16253 xno) ;;
16254 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16255 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16256 esac
16260 if test "x$with_mpg123" != "xno"
16261 then
16262 if ${MPG123_CFLAGS:+false} :; then :
16263 if ${PKG_CONFIG+:} false; then :
16264 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16268 if ${MPG123_LIBS:+false} :; then :
16269 if ${PKG_CONFIG+:} false; then :
16270 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16274 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16275 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16276 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16277 ac_save_CPPFLAGS=$CPPFLAGS
16278 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16279 for ac_header in mpg123.h
16280 do :
16281 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16282 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16283 cat >>confdefs.h <<_ACEOF
16284 #define HAVE_MPG123_H 1
16285 _ACEOF
16289 done
16291 if test "$ac_cv_header_mpg123_h" = "yes"
16292 then
16293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16294 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16295 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16296 $as_echo_n "(cached) " >&6
16297 else
16298 ac_check_lib_save_LIBS=$LIBS
16299 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16301 /* end confdefs.h. */
16303 /* Override any GCC internal prototype to avoid an error.
16304 Use char because int might match the return type of a GCC
16305 builtin and then its argument prototype would still apply. */
16306 #ifdef __cplusplus
16307 extern "C"
16308 #endif
16309 char mpg123_feed ();
16311 main ()
16313 return mpg123_feed ();
16315 return 0;
16317 _ACEOF
16318 if ac_fn_c_try_link "$LINENO"; then :
16319 ac_cv_lib_mpg123_mpg123_feed=yes
16320 else
16321 ac_cv_lib_mpg123_mpg123_feed=no
16323 rm -f core conftest.err conftest.$ac_objext \
16324 conftest$ac_exeext conftest.$ac_ext
16325 LIBS=$ac_check_lib_save_LIBS
16327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16328 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16329 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16331 else
16332 MPG123_LIBS=""
16335 else
16336 MPG123_CFLAGS=""
16337 MPG123_LIBS=""
16339 CPPFLAGS=$ac_save_CPPFLAGS
16342 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes; then :
16343 case "x$with_mpg123" in
16344 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16345 xno) ;;
16346 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16347 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16348 esac
16349 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16351 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16353 if test "$ac_cv_header_AL_al_h" = "yes"
16354 then
16355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16356 $as_echo_n "checking for -lopenal... " >&6; }
16357 if ${ac_cv_lib_soname_openal+:} false; then :
16358 $as_echo_n "(cached) " >&6
16359 else
16360 ac_check_soname_save_LIBS=$LIBS
16361 LIBS="-lopenal $LIBS"
16362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16363 /* end confdefs.h. */
16365 /* Override any GCC internal prototype to avoid an error.
16366 Use char because int might match the return type of a GCC
16367 builtin and then its argument prototype would still apply. */
16368 #ifdef __cplusplus
16369 extern "C"
16370 #endif
16371 char alGetSource3i ();
16373 main ()
16375 return alGetSource3i ();
16377 return 0;
16379 _ACEOF
16380 if ac_fn_c_try_link "$LINENO"; then :
16381 case "$LIBEXT" in
16382 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16383 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'` ;;
16384 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16385 if ${ac_cv_lib_soname_openal:+false} :; then :
16386 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16387 fi ;;
16388 esac
16389 else
16390 ac_cv_lib_soname_openal=
16392 rm -f core conftest.err conftest.$ac_objext \
16393 conftest$ac_exeext conftest.$ac_ext
16394 LIBS=$ac_check_soname_save_LIBS
16396 if ${ac_cv_lib_soname_openal:+false} :; then :
16397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16398 $as_echo "not found" >&6; }
16400 else
16401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16402 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16404 cat >>confdefs.h <<_ACEOF
16405 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16406 _ACEOF
16408 OPENAL_LIBS="-lopenal"
16410 ac_cv_lib_openal=yes
16412 cat >>confdefs.h <<_ACEOF
16413 #define HAVE_OPENAL 1
16414 _ACEOF
16418 if test "x$ac_cv_lib_openal" != xyes; then :
16419 case "x$with_openal" in
16420 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16421 xno) ;;
16422 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16423 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16424 esac
16425 enable_openal32=${enable_openal32:-no}
16428 if test "x$ac_cv_lib_soname_FAudio" = "x"
16429 then
16430 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16431 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16432 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16433 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16434 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16435 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16436 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16437 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16438 enable_xactengine2_0=${enable_xactengine2_0:-no}
16439 enable_xactengine2_4=${enable_xactengine2_4:-no}
16440 enable_xactengine2_7=${enable_xactengine2_7:-no}
16441 enable_xactengine2_9=${enable_xactengine2_9:-no}
16442 enable_xactengine3_0=${enable_xactengine3_0:-no}
16443 enable_xactengine3_1=${enable_xactengine3_1:-no}
16444 enable_xactengine3_2=${enable_xactengine3_2:-no}
16445 enable_xactengine3_3=${enable_xactengine3_3:-no}
16446 enable_xactengine3_4=${enable_xactengine3_4:-no}
16447 enable_xactengine3_5=${enable_xactengine3_5:-no}
16448 enable_xactengine3_6=${enable_xactengine3_6:-no}
16449 enable_xactengine3_7=${enable_xactengine3_7:-no}
16450 enable_xapofx1_1=${enable_xapofx1_1:-no}
16451 enable_xapofx1_2=${enable_xapofx1_2:-no}
16452 enable_xapofx1_3=${enable_xapofx1_3:-no}
16453 enable_xapofx1_4=${enable_xapofx1_4:-no}
16454 enable_xapofx1_5=${enable_xapofx1_5:-no}
16455 enable_xaudio2_0=${enable_xaudio2_0:-no}
16456 enable_xaudio2_1=${enable_xaudio2_1:-no}
16457 enable_xaudio2_2=${enable_xaudio2_2:-no}
16458 enable_xaudio2_3=${enable_xaudio2_3:-no}
16459 enable_xaudio2_4=${enable_xaudio2_4:-no}
16460 enable_xaudio2_5=${enable_xaudio2_5:-no}
16461 enable_xaudio2_6=${enable_xaudio2_6:-no}
16462 enable_xaudio2_7=${enable_xaudio2_7:-no}
16463 enable_xaudio2_8=${enable_xaudio2_8:-no}
16464 enable_xaudio2_9=${enable_xaudio2_9:-no}
16467 if test "$ac_cv_header_kstat_h" = "yes"
16468 then
16469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16470 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16471 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16472 $as_echo_n "(cached) " >&6
16473 else
16474 ac_check_lib_save_LIBS=$LIBS
16475 LIBS="-lkstat $LIBS"
16476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16477 /* end confdefs.h. */
16479 /* Override any GCC internal prototype to avoid an error.
16480 Use char because int might match the return type of a GCC
16481 builtin and then its argument prototype would still apply. */
16482 #ifdef __cplusplus
16483 extern "C"
16484 #endif
16485 char kstat_open ();
16487 main ()
16489 return kstat_open ();
16491 return 0;
16493 _ACEOF
16494 if ac_fn_c_try_link "$LINENO"; then :
16495 ac_cv_lib_kstat_kstat_open=yes
16496 else
16497 ac_cv_lib_kstat_kstat_open=no
16499 rm -f core conftest.err conftest.$ac_objext \
16500 conftest$ac_exeext conftest.$ac_ext
16501 LIBS=$ac_check_lib_save_LIBS
16503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16504 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16505 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16507 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16509 KSTAT_LIBS="-lkstat"
16515 if test "$ac_cv_header_libprocstat_h" = "yes"
16516 then
16517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16518 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16519 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16520 $as_echo_n "(cached) " >&6
16521 else
16522 ac_check_lib_save_LIBS=$LIBS
16523 LIBS="-lprocstat $LIBS"
16524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16525 /* end confdefs.h. */
16527 /* Override any GCC internal prototype to avoid an error.
16528 Use char because int might match the return type of a GCC
16529 builtin and then its argument prototype would still apply. */
16530 #ifdef __cplusplus
16531 extern "C"
16532 #endif
16533 char procstat_open_sysctl ();
16535 main ()
16537 return procstat_open_sysctl ();
16539 return 0;
16541 _ACEOF
16542 if ac_fn_c_try_link "$LINENO"; then :
16543 ac_cv_lib_procstat_procstat_open_sysctl=yes
16544 else
16545 ac_cv_lib_procstat_procstat_open_sysctl=no
16547 rm -f core conftest.err conftest.$ac_objext \
16548 conftest$ac_exeext conftest.$ac_ext
16549 LIBS=$ac_check_lib_save_LIBS
16551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16552 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16553 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16555 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16557 PROCSTAT_LIBS="-lprocstat"
16563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16564 $as_echo_n "checking for -lodbc... " >&6; }
16565 if ${ac_cv_lib_soname_odbc+:} false; then :
16566 $as_echo_n "(cached) " >&6
16567 else
16568 ac_check_soname_save_LIBS=$LIBS
16569 LIBS="-lodbc $LIBS"
16570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16571 /* end confdefs.h. */
16573 /* Override any GCC internal prototype to avoid an error.
16574 Use char because int might match the return type of a GCC
16575 builtin and then its argument prototype would still apply. */
16576 #ifdef __cplusplus
16577 extern "C"
16578 #endif
16579 char SQLConnect ();
16581 main ()
16583 return SQLConnect ();
16585 return 0;
16587 _ACEOF
16588 if ac_fn_c_try_link "$LINENO"; then :
16589 case "$LIBEXT" in
16590 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16591 dylib) ac_cv_lib_soname_odbc=`$OTOOL -L conftest$ac_exeext | grep "libodbc\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libodbc\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16592 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16593 if ${ac_cv_lib_soname_odbc:+false} :; then :
16594 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16595 fi ;;
16596 esac
16597 else
16598 ac_cv_lib_soname_odbc=
16600 rm -f core conftest.err conftest.$ac_objext \
16601 conftest$ac_exeext conftest.$ac_ext
16602 LIBS=$ac_check_soname_save_LIBS
16604 if ${ac_cv_lib_soname_odbc:+false} :; then :
16605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16606 $as_echo "not found" >&6; }
16607 cat >>confdefs.h <<_ACEOF
16608 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16609 _ACEOF
16611 else
16612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16613 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16615 cat >>confdefs.h <<_ACEOF
16616 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16617 _ACEOF
16622 if test "x$with_netapi" != "xno"
16623 then
16624 if ${NETAPI_CFLAGS:+false} :; then :
16625 if ${PKG_CONFIG+:} false; then :
16626 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16630 if ${NETAPI_LIBS:+false} :; then :
16631 if ${PKG_CONFIG+:} false; then :
16632 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16637 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16638 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16639 ac_save_CPPFLAGS=$CPPFLAGS
16640 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16642 $as_echo_n "checking for -lnetapi... " >&6; }
16643 if ${ac_cv_lib_soname_netapi+:} false; then :
16644 $as_echo_n "(cached) " >&6
16645 else
16646 ac_check_soname_save_LIBS=$LIBS
16647 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16649 /* end confdefs.h. */
16651 /* Override any GCC internal prototype to avoid an error.
16652 Use char because int might match the return type of a GCC
16653 builtin and then its argument prototype would still apply. */
16654 #ifdef __cplusplus
16655 extern "C"
16656 #endif
16657 char libnetapi_init ();
16659 main ()
16661 return libnetapi_init ();
16663 return 0;
16665 _ACEOF
16666 if ac_fn_c_try_link "$LINENO"; then :
16667 case "$LIBEXT" in
16668 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16669 dylib) ac_cv_lib_soname_netapi=`$OTOOL -L conftest$ac_exeext | grep "libnetapi\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libnetapi\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16670 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16671 if ${ac_cv_lib_soname_netapi:+false} :; then :
16672 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16673 fi ;;
16674 esac
16675 else
16676 ac_cv_lib_soname_netapi=
16678 rm -f core conftest.err conftest.$ac_objext \
16679 conftest$ac_exeext conftest.$ac_ext
16680 LIBS=$ac_check_soname_save_LIBS
16682 if ${ac_cv_lib_soname_netapi:+false} :; then :
16683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16684 $as_echo "not found" >&6; }
16685 cat >>confdefs.h <<_ACEOF
16686 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16687 _ACEOF
16689 else
16690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16691 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16693 cat >>confdefs.h <<_ACEOF
16694 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16695 _ACEOF
16699 CPPFLAGS=$ac_save_CPPFLAGS
16703 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16704 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16705 then
16706 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16709 if test "x$with_vulkan" != "xno"
16710 then
16711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16712 $as_echo_n "checking for -lvulkan... " >&6; }
16713 if ${ac_cv_lib_soname_vulkan+:} false; then :
16714 $as_echo_n "(cached) " >&6
16715 else
16716 ac_check_soname_save_LIBS=$LIBS
16717 LIBS="-lvulkan $LIBS"
16718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16719 /* end confdefs.h. */
16721 /* Override any GCC internal prototype to avoid an error.
16722 Use char because int might match the return type of a GCC
16723 builtin and then its argument prototype would still apply. */
16724 #ifdef __cplusplus
16725 extern "C"
16726 #endif
16727 char vkGetInstanceProcAddr ();
16729 main ()
16731 return vkGetInstanceProcAddr ();
16733 return 0;
16735 _ACEOF
16736 if ac_fn_c_try_link "$LINENO"; then :
16737 case "$LIBEXT" in
16738 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16739 dylib) ac_cv_lib_soname_vulkan=`$OTOOL -L conftest$ac_exeext | grep "libvulkan\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libvulkan\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16740 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16741 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16742 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16743 fi ;;
16744 esac
16745 else
16746 ac_cv_lib_soname_vulkan=
16748 rm -f core conftest.err conftest.$ac_objext \
16749 conftest$ac_exeext conftest.$ac_ext
16750 LIBS=$ac_check_soname_save_LIBS
16752 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16754 $as_echo "not found" >&6; }
16756 else
16757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16758 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16760 cat >>confdefs.h <<_ACEOF
16761 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16762 _ACEOF
16766 if test "x$ac_cv_lib_soname_vulkan" = "x"
16767 then
16768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16769 $as_echo_n "checking for -lMoltenVK... " >&6; }
16770 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16771 $as_echo_n "(cached) " >&6
16772 else
16773 ac_check_soname_save_LIBS=$LIBS
16774 LIBS="-lMoltenVK $LIBS"
16775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16776 /* end confdefs.h. */
16778 /* Override any GCC internal prototype to avoid an error.
16779 Use char because int might match the return type of a GCC
16780 builtin and then its argument prototype would still apply. */
16781 #ifdef __cplusplus
16782 extern "C"
16783 #endif
16784 char vkGetInstanceProcAddr ();
16786 main ()
16788 return vkGetInstanceProcAddr ();
16790 return 0;
16792 _ACEOF
16793 if ac_fn_c_try_link "$LINENO"; then :
16794 case "$LIBEXT" in
16795 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16796 dylib) ac_cv_lib_soname_MoltenVK=`$OTOOL -L conftest$ac_exeext | grep "libMoltenVK\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libMoltenVK\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16797 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16798 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16799 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16800 fi ;;
16801 esac
16802 else
16803 ac_cv_lib_soname_MoltenVK=
16805 rm -f core conftest.err conftest.$ac_objext \
16806 conftest$ac_exeext conftest.$ac_ext
16807 LIBS=$ac_check_soname_save_LIBS
16809 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16811 $as_echo "not found" >&6; }
16813 else
16814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16815 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16817 cat >>confdefs.h <<_ACEOF
16818 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16819 _ACEOF
16825 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16826 case "x$with_vulkan" in
16827 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16828 xno) ;;
16829 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16830 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16831 esac
16835 if test "x$with_vkd3d" != "xno"
16836 then
16837 if ${VKD3D_CFLAGS:+false} :; then :
16838 if ${PKG_CONFIG+:} false; then :
16839 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16843 if ${VKD3D_LIBS:+false} :; then :
16844 if ${PKG_CONFIG+:} false; then :
16845 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16850 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16851 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16852 ac_save_CPPFLAGS=$CPPFLAGS
16853 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16855 $as_echo_n "checking for -lvkd3d... " >&6; }
16856 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16857 $as_echo_n "(cached) " >&6
16858 else
16859 ac_check_soname_save_LIBS=$LIBS
16860 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16862 /* end confdefs.h. */
16864 /* Override any GCC internal prototype to avoid an error.
16865 Use char because int might match the return type of a GCC
16866 builtin and then its argument prototype would still apply. */
16867 #ifdef __cplusplus
16868 extern "C"
16869 #endif
16870 char vkd3d_serialize_versioned_root_signature ();
16872 main ()
16874 return vkd3d_serialize_versioned_root_signature ();
16876 return 0;
16878 _ACEOF
16879 if ac_fn_c_try_link "$LINENO"; then :
16880 case "$LIBEXT" in
16881 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16882 dylib) ac_cv_lib_soname_vkd3d=`$OTOOL -L conftest$ac_exeext | grep "libvkd3d\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libvkd3d\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16883 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16884 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16885 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16886 fi ;;
16887 esac
16888 else
16889 ac_cv_lib_soname_vkd3d=
16891 rm -f core conftest.err conftest.$ac_objext \
16892 conftest$ac_exeext conftest.$ac_ext
16893 LIBS=$ac_check_soname_save_LIBS
16895 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16897 $as_echo "not found" >&6; }
16899 else
16900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16901 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16903 cat >>confdefs.h <<_ACEOF
16904 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16905 _ACEOF
16909 CPPFLAGS=$ac_save_CPPFLAGS
16911 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
16912 if ${PKG_CONFIG+:} false; then :
16913 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
16917 if ${VKD3D_SHADER_LIBS:+false} :; then :
16918 if ${PKG_CONFIG+:} false; then :
16919 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
16924 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
16925 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
16926 ac_save_CPPFLAGS=$CPPFLAGS
16927 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
16928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
16929 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
16930 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
16931 $as_echo_n "(cached) " >&6
16932 else
16933 ac_check_soname_save_LIBS=$LIBS
16934 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
16935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16936 /* end confdefs.h. */
16938 /* Override any GCC internal prototype to avoid an error.
16939 Use char because int might match the return type of a GCC
16940 builtin and then its argument prototype would still apply. */
16941 #ifdef __cplusplus
16942 extern "C"
16943 #endif
16944 char vkd3d_shader_compile ();
16946 main ()
16948 return vkd3d_shader_compile ();
16950 return 0;
16952 _ACEOF
16953 if ac_fn_c_try_link "$LINENO"; then :
16954 case "$LIBEXT" in
16955 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16956 dylib) ac_cv_lib_soname_vkd3d_shader=`$OTOOL -L conftest$ac_exeext | grep "libvkd3d-shader\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libvkd3d-shader\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16957 *) ac_cv_lib_soname_vkd3d_shader=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d-shader\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16958 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16959 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16960 fi ;;
16961 esac
16962 else
16963 ac_cv_lib_soname_vkd3d_shader=
16965 rm -f core conftest.err conftest.$ac_objext \
16966 conftest$ac_exeext conftest.$ac_ext
16967 LIBS=$ac_check_soname_save_LIBS
16969 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16971 $as_echo "not found" >&6; }
16973 else
16974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
16975 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
16977 cat >>confdefs.h <<_ACEOF
16978 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
16979 _ACEOF
16983 CPPFLAGS=$ac_save_CPPFLAGS
16986 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16987 case "x$with_vkd3d" in
16988 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16989 xno) ;;
16990 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16991 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16992 esac
16995 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16998 EXTRACFLAGS=""
17000 if test "x${GCC}" = "xyes"
17001 then
17002 EXTRACFLAGS="-Wall -pipe"
17004 saved_CFLAGS=$CFLAGS
17005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17006 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17007 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
17008 $as_echo_n "(cached) " >&6
17009 else
17010 ac_wine_try_cflags_saved=$CFLAGS
17011 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17013 /* end confdefs.h. */
17014 int main(int argc, char **argv) { return 0; }
17015 _ACEOF
17016 if ac_fn_c_try_link "$LINENO"; then :
17017 ac_cv_cflags__Werror_unknown_warning_option=yes
17018 else
17019 ac_cv_cflags__Werror_unknown_warning_option=no
17021 rm -f core conftest.err conftest.$ac_objext \
17022 conftest$ac_exeext conftest.$ac_ext
17023 CFLAGS=$ac_wine_try_cflags_saved
17025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17026 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17027 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17028 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17031 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17032 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17033 $as_echo_n "(cached) " >&6
17034 else
17035 ac_wine_try_cflags_saved=$CFLAGS
17036 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17038 /* end confdefs.h. */
17039 int main(int argc, char **argv) { return 0; }
17040 _ACEOF
17041 if ac_fn_c_try_link "$LINENO"; then :
17042 ac_cv_cflags__Werror_unused_command_line_argument=yes
17043 else
17044 ac_cv_cflags__Werror_unused_command_line_argument=no
17046 rm -f core conftest.err conftest.$ac_objext \
17047 conftest$ac_exeext conftest.$ac_ext
17048 CFLAGS=$ac_wine_try_cflags_saved
17050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17051 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17052 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17053 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17056 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17057 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
17058 $as_echo_n "(cached) " >&6
17059 else
17060 ac_wine_try_cflags_saved=$CFLAGS
17061 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17063 /* end confdefs.h. */
17064 int main(int argc, char **argv) { return 0; }
17065 _ACEOF
17066 if ac_fn_c_try_link "$LINENO"; then :
17067 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17068 else
17069 ac_cv_cflags__Werror_ignored_optimization_argument=no
17071 rm -f core conftest.err conftest.$ac_objext \
17072 conftest$ac_exeext conftest.$ac_ext
17073 CFLAGS=$ac_wine_try_cflags_saved
17075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17076 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17077 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17078 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17081 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17082 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17083 $as_echo_n "(cached) " >&6
17084 else
17085 ac_wine_try_cflags_saved=$CFLAGS
17086 CFLAGS="$CFLAGS -fcf-protection=none"
17087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17088 /* end confdefs.h. */
17089 int main(int argc, char **argv) { return 0; }
17090 _ACEOF
17091 if ac_fn_c_try_link "$LINENO"; then :
17092 ac_cv_cflags__fcf_protection_none=yes
17093 else
17094 ac_cv_cflags__fcf_protection_none=no
17096 rm -f core conftest.err conftest.$ac_objext \
17097 conftest$ac_exeext conftest.$ac_ext
17098 CFLAGS=$ac_wine_try_cflags_saved
17100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17101 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17102 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17103 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17106 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17107 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17108 $as_echo_n "(cached) " >&6
17109 else
17110 ac_wine_try_cflags_saved=$CFLAGS
17111 CFLAGS="$CFLAGS -fno-stack-protector"
17112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17113 /* end confdefs.h. */
17114 int main(int argc, char **argv) { return 0; }
17115 _ACEOF
17116 if ac_fn_c_try_link "$LINENO"; then :
17117 ac_cv_cflags__fno_stack_protector=yes
17118 else
17119 ac_cv_cflags__fno_stack_protector=no
17121 rm -f core conftest.err conftest.$ac_objext \
17122 conftest$ac_exeext conftest.$ac_ext
17123 CFLAGS=$ac_wine_try_cflags_saved
17125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17126 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17127 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17128 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17131 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17132 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17133 $as_echo_n "(cached) " >&6
17134 else
17135 ac_wine_try_cflags_saved=$CFLAGS
17136 CFLAGS="$CFLAGS -fno-strict-aliasing"
17137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17138 /* end confdefs.h. */
17139 int main(int argc, char **argv) { return 0; }
17140 _ACEOF
17141 if ac_fn_c_try_link "$LINENO"; then :
17142 ac_cv_cflags__fno_strict_aliasing=yes
17143 else
17144 ac_cv_cflags__fno_strict_aliasing=no
17146 rm -f core conftest.err conftest.$ac_objext \
17147 conftest$ac_exeext conftest.$ac_ext
17148 CFLAGS=$ac_wine_try_cflags_saved
17150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17151 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17152 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17153 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17156 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17157 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17158 $as_echo_n "(cached) " >&6
17159 else
17160 ac_wine_try_cflags_saved=$CFLAGS
17161 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17163 /* end confdefs.h. */
17164 int main(int argc, char **argv) { return 0; }
17165 _ACEOF
17166 if ac_fn_c_try_link "$LINENO"; then :
17167 ac_cv_cflags__Wdeclaration_after_statement=yes
17168 else
17169 ac_cv_cflags__Wdeclaration_after_statement=no
17171 rm -f core conftest.err conftest.$ac_objext \
17172 conftest$ac_exeext conftest.$ac_ext
17173 CFLAGS=$ac_wine_try_cflags_saved
17175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17176 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17177 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17178 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17181 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17182 if ${ac_cv_cflags__Wempty_body+:} false; then :
17183 $as_echo_n "(cached) " >&6
17184 else
17185 ac_wine_try_cflags_saved=$CFLAGS
17186 CFLAGS="$CFLAGS -Wempty-body"
17187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17188 /* end confdefs.h. */
17189 int main(int argc, char **argv) { return 0; }
17190 _ACEOF
17191 if ac_fn_c_try_link "$LINENO"; then :
17192 ac_cv_cflags__Wempty_body=yes
17193 else
17194 ac_cv_cflags__Wempty_body=no
17196 rm -f core conftest.err conftest.$ac_objext \
17197 conftest$ac_exeext conftest.$ac_ext
17198 CFLAGS=$ac_wine_try_cflags_saved
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17201 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17202 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17203 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17206 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17207 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17208 $as_echo_n "(cached) " >&6
17209 else
17210 ac_wine_try_cflags_saved=$CFLAGS
17211 CFLAGS="$CFLAGS -Wignored-qualifiers"
17212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17213 /* end confdefs.h. */
17214 int main(int argc, char **argv) { return 0; }
17215 _ACEOF
17216 if ac_fn_c_try_link "$LINENO"; then :
17217 ac_cv_cflags__Wignored_qualifiers=yes
17218 else
17219 ac_cv_cflags__Wignored_qualifiers=no
17221 rm -f core conftest.err conftest.$ac_objext \
17222 conftest$ac_exeext conftest.$ac_ext
17223 CFLAGS=$ac_wine_try_cflags_saved
17225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17226 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17227 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17228 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
17231 $as_echo_n "checking whether the compiler supports -Winit-self... " >&6; }
17232 if ${ac_cv_cflags__Winit_self+:} false; then :
17233 $as_echo_n "(cached) " >&6
17234 else
17235 ac_wine_try_cflags_saved=$CFLAGS
17236 CFLAGS="$CFLAGS -Winit-self"
17237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17238 /* end confdefs.h. */
17239 int main(int argc, char **argv) { return 0; }
17240 _ACEOF
17241 if ac_fn_c_try_link "$LINENO"; then :
17242 ac_cv_cflags__Winit_self=yes
17243 else
17244 ac_cv_cflags__Winit_self=no
17246 rm -f core conftest.err conftest.$ac_objext \
17247 conftest$ac_exeext conftest.$ac_ext
17248 CFLAGS=$ac_wine_try_cflags_saved
17250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
17251 $as_echo "$ac_cv_cflags__Winit_self" >&6; }
17252 if test "x$ac_cv_cflags__Winit_self" = xyes; then :
17253 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
17255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17256 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17257 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17258 $as_echo_n "(cached) " >&6
17259 else
17260 ac_wine_try_cflags_saved=$CFLAGS
17261 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17263 /* end confdefs.h. */
17264 int main(int argc, char **argv) { return 0; }
17265 _ACEOF
17266 if ac_fn_c_try_link "$LINENO"; then :
17267 ac_cv_cflags__Wpacked_not_aligned=yes
17268 else
17269 ac_cv_cflags__Wpacked_not_aligned=no
17271 rm -f core conftest.err conftest.$ac_objext \
17272 conftest$ac_exeext conftest.$ac_ext
17273 CFLAGS=$ac_wine_try_cflags_saved
17275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17276 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17277 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17278 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17281 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17282 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17283 $as_echo_n "(cached) " >&6
17284 else
17285 ac_wine_try_cflags_saved=$CFLAGS
17286 CFLAGS="$CFLAGS -Wpragma-pack"
17287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17288 /* end confdefs.h. */
17289 int main(int argc, char **argv) { return 0; }
17290 _ACEOF
17291 if ac_fn_c_try_link "$LINENO"; then :
17292 ac_cv_cflags__Wpragma_pack=yes
17293 else
17294 ac_cv_cflags__Wpragma_pack=no
17296 rm -f core conftest.err conftest.$ac_objext \
17297 conftest$ac_exeext conftest.$ac_ext
17298 CFLAGS=$ac_wine_try_cflags_saved
17300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17301 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17302 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17303 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17306 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17307 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17308 $as_echo_n "(cached) " >&6
17309 else
17310 ac_wine_try_cflags_saved=$CFLAGS
17311 CFLAGS="$CFLAGS -Wshift-overflow=2"
17312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17313 /* end confdefs.h. */
17314 int main(int argc, char **argv) { return 0; }
17315 _ACEOF
17316 if ac_fn_c_try_link "$LINENO"; then :
17317 ac_cv_cflags__Wshift_overflow_2=yes
17318 else
17319 ac_cv_cflags__Wshift_overflow_2=no
17321 rm -f core conftest.err conftest.$ac_objext \
17322 conftest$ac_exeext conftest.$ac_ext
17323 CFLAGS=$ac_wine_try_cflags_saved
17325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17326 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17327 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17328 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17331 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17332 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17333 $as_echo_n "(cached) " >&6
17334 else
17335 ac_wine_try_cflags_saved=$CFLAGS
17336 CFLAGS="$CFLAGS -Wstrict-prototypes"
17337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17338 /* end confdefs.h. */
17339 int main(int argc, char **argv) { return 0; }
17340 _ACEOF
17341 if ac_fn_c_try_link "$LINENO"; then :
17342 ac_cv_cflags__Wstrict_prototypes=yes
17343 else
17344 ac_cv_cflags__Wstrict_prototypes=no
17346 rm -f core conftest.err conftest.$ac_objext \
17347 conftest$ac_exeext conftest.$ac_ext
17348 CFLAGS=$ac_wine_try_cflags_saved
17350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17351 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17352 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17353 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17356 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17357 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17358 $as_echo_n "(cached) " >&6
17359 else
17360 ac_wine_try_cflags_saved=$CFLAGS
17361 CFLAGS="$CFLAGS -Wtype-limits"
17362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17363 /* end confdefs.h. */
17364 int main(int argc, char **argv) { return 0; }
17365 _ACEOF
17366 if ac_fn_c_try_link "$LINENO"; then :
17367 ac_cv_cflags__Wtype_limits=yes
17368 else
17369 ac_cv_cflags__Wtype_limits=no
17371 rm -f core conftest.err conftest.$ac_objext \
17372 conftest$ac_exeext conftest.$ac_ext
17373 CFLAGS=$ac_wine_try_cflags_saved
17375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17376 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17377 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17378 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17381 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17382 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17383 $as_echo_n "(cached) " >&6
17384 else
17385 ac_wine_try_cflags_saved=$CFLAGS
17386 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17388 /* end confdefs.h. */
17389 int main(int argc, char **argv) { return 0; }
17390 _ACEOF
17391 if ac_fn_c_try_link "$LINENO"; then :
17392 ac_cv_cflags__Wunused_but_set_parameter=yes
17393 else
17394 ac_cv_cflags__Wunused_but_set_parameter=no
17396 rm -f core conftest.err conftest.$ac_objext \
17397 conftest$ac_exeext conftest.$ac_ext
17398 CFLAGS=$ac_wine_try_cflags_saved
17400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17401 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17402 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17403 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17406 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17407 if ${ac_cv_cflags__Wvla+:} false; then :
17408 $as_echo_n "(cached) " >&6
17409 else
17410 ac_wine_try_cflags_saved=$CFLAGS
17411 CFLAGS="$CFLAGS -Wvla"
17412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17413 /* end confdefs.h. */
17414 int main(int argc, char **argv) { return 0; }
17415 _ACEOF
17416 if ac_fn_c_try_link "$LINENO"; then :
17417 ac_cv_cflags__Wvla=yes
17418 else
17419 ac_cv_cflags__Wvla=no
17421 rm -f core conftest.err conftest.$ac_objext \
17422 conftest$ac_exeext conftest.$ac_ext
17423 CFLAGS=$ac_wine_try_cflags_saved
17425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17426 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17427 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17428 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17431 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17432 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17433 $as_echo_n "(cached) " >&6
17434 else
17435 ac_wine_try_cflags_saved=$CFLAGS
17436 CFLAGS="$CFLAGS -Wwrite-strings"
17437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17438 /* end confdefs.h. */
17439 int main(int argc, char **argv) { return 0; }
17440 _ACEOF
17441 if ac_fn_c_try_link "$LINENO"; then :
17442 ac_cv_cflags__Wwrite_strings=yes
17443 else
17444 ac_cv_cflags__Wwrite_strings=no
17446 rm -f core conftest.err conftest.$ac_objext \
17447 conftest$ac_exeext conftest.$ac_ext
17448 CFLAGS=$ac_wine_try_cflags_saved
17450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17451 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17452 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17453 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17456 if test -z "$CROSSTARGET"
17457 then
17458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17459 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17460 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17461 $as_echo_n "(cached) " >&6
17462 else
17463 ac_wine_try_cflags_saved=$CFLAGS
17464 CFLAGS="$CFLAGS -fexcess-precision=standard"
17465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17466 /* end confdefs.h. */
17467 int main(int argc, char **argv) { return 0; }
17468 _ACEOF
17469 if ac_fn_c_try_link "$LINENO"; then :
17470 ac_cv_cflags__fexcess_precision_standard=yes
17471 else
17472 ac_cv_cflags__fexcess_precision_standard=no
17474 rm -f core conftest.err conftest.$ac_objext \
17475 conftest$ac_exeext conftest.$ac_ext
17476 CFLAGS=$ac_wine_try_cflags_saved
17478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17479 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17480 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17481 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17487 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17488 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17489 $as_echo_n "(cached) " >&6
17490 else
17491 ac_wine_try_cflags_saved=$CFLAGS
17492 CFLAGS="$CFLAGS -Wpointer-arith"
17493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17494 /* end confdefs.h. */
17495 int main(int argc, char **argv) { return 0; }
17496 _ACEOF
17497 if ac_fn_c_try_link "$LINENO"; then :
17498 ac_cv_cflags__Wpointer_arith=yes
17499 else
17500 ac_cv_cflags__Wpointer_arith=no
17502 rm -f core conftest.err conftest.$ac_objext \
17503 conftest$ac_exeext conftest.$ac_ext
17504 CFLAGS=$ac_wine_try_cflags_saved
17506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17507 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17508 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17509 saved_string_h_CFLAGS=$CFLAGS
17510 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17512 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17513 if ${ac_cv_c_string_h_warnings+:} false; then :
17514 $as_echo_n "(cached) " >&6
17515 else
17516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17517 /* end confdefs.h. */
17518 #include <string.h>
17520 main ()
17524 return 0;
17526 _ACEOF
17527 if ac_fn_c_try_compile "$LINENO"; then :
17528 ac_cv_c_string_h_warnings=no
17529 else
17530 ac_cv_c_string_h_warnings=yes
17532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17535 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17536 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17537 CFLAGS=$saved_string_h_CFLAGS
17540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17541 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17542 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17543 $as_echo_n "(cached) " >&6
17544 else
17545 ac_wine_try_cflags_saved=$CFLAGS
17546 CFLAGS="$CFLAGS -Wlogical-op"
17547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17548 /* end confdefs.h. */
17549 int main(int argc, char **argv) { return 0; }
17550 _ACEOF
17551 if ac_fn_c_try_link "$LINENO"; then :
17552 ac_cv_cflags__Wlogical_op=yes
17553 else
17554 ac_cv_cflags__Wlogical_op=no
17556 rm -f core conftest.err conftest.$ac_objext \
17557 conftest$ac_exeext conftest.$ac_ext
17558 CFLAGS=$ac_wine_try_cflags_saved
17560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17561 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17562 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17563 saved_string_h_CFLAGS=$CFLAGS
17564 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17566 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17567 if ${ac_cv_c_logicalop_noisy+:} false; then :
17568 $as_echo_n "(cached) " >&6
17569 else
17570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17571 /* end confdefs.h. */
17572 #include <string.h>
17573 char*f(const char *h,char n) {return strchr(h,n);}
17575 main ()
17579 return 0;
17581 _ACEOF
17582 if ac_fn_c_try_compile "$LINENO"; then :
17583 ac_cv_c_logicalop_noisy=no
17584 else
17585 ac_cv_c_logicalop_noisy=yes
17587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17590 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17591 CFLAGS=$saved_string_h_CFLAGS
17592 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
17596 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
17597 if ${wine_cv_64bit_compare_swap+:} false; then :
17598 $as_echo_n "(cached) " >&6
17599 else
17600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17601 /* end confdefs.h. */
17602 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17603 #error no
17604 #endif
17606 main ()
17610 return 0;
17612 _ACEOF
17613 if ac_fn_c_try_compile "$LINENO"; then :
17614 wine_cv_64bit_compare_swap="none needed"
17615 else
17616 case $host_cpu in
17617 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
17618 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
17619 *) wine_cv_64bit_compare_swap="unknown" ;;
17620 esac
17621 if test "x$wine_cv_64bit_compare_swap" != xunknown
17622 then
17623 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
17624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17625 /* end confdefs.h. */
17626 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17627 #error no
17628 #endif
17630 main ()
17634 return 0;
17636 _ACEOF
17637 if ac_fn_c_try_compile "$LINENO"; then :
17639 else
17640 wine_cv_64bit_compare_swap="unknown"
17642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17643 CFLAGS=$saved_CFLAGS
17646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
17649 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
17650 case "$wine_cv_64bit_compare_swap" in
17651 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
17652 "none needed") ;;
17653 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
17654 esac
17656 for ac_flag in $CFLAGS; do
17657 case $ac_flag in
17658 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17659 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17660 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17661 $as_echo_n "(cached) " >&6
17662 else
17663 ac_wine_try_cflags_saved=$CFLAGS
17664 CFLAGS="$CFLAGS -gdwarf-2"
17665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17666 /* end confdefs.h. */
17667 int main(int argc, char **argv) { return 0; }
17668 _ACEOF
17669 if ac_fn_c_try_link "$LINENO"; then :
17670 ac_cv_cflags__gdwarf_2=yes
17671 else
17672 ac_cv_cflags__gdwarf_2=no
17674 rm -f core conftest.err conftest.$ac_objext \
17675 conftest$ac_exeext conftest.$ac_ext
17676 CFLAGS=$ac_wine_try_cflags_saved
17678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17679 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17680 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17681 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17684 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17685 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17686 $as_echo_n "(cached) " >&6
17687 else
17688 ac_wine_try_cflags_saved=$CFLAGS
17689 CFLAGS="$CFLAGS -gstrict-dwarf"
17690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17691 /* end confdefs.h. */
17692 int main(int argc, char **argv) { return 0; }
17693 _ACEOF
17694 if ac_fn_c_try_link "$LINENO"; then :
17695 ac_cv_cflags__gstrict_dwarf=yes
17696 else
17697 ac_cv_cflags__gstrict_dwarf=no
17699 rm -f core conftest.err conftest.$ac_objext \
17700 conftest$ac_exeext conftest.$ac_ext
17701 CFLAGS=$ac_wine_try_cflags_saved
17703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17704 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17705 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17706 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17707 fi ;;
17708 esac
17709 done
17711 MSVCRTFLAGS=""
17713 case $host_os in
17714 mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
17715 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
17716 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
17717 $as_echo_n "(cached) " >&6
17718 else
17719 ac_wine_try_cflags_saved=$CFLAGS
17720 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
17721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17722 /* end confdefs.h. */
17723 int main(int argc, char **argv) { return 0; }
17724 _ACEOF
17725 if ac_fn_c_try_link "$LINENO"; then :
17726 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
17727 else
17728 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
17730 rm -f core conftest.err conftest.$ac_objext \
17731 conftest$ac_exeext conftest.$ac_ext
17732 CFLAGS=$ac_wine_try_cflags_saved
17734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
17735 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
17736 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
17737 DELAYLOADFLAG="-Wl,-delayload,"
17739 fi ;;
17740 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17741 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17742 if ${ac_cv_cflags__fno_builtin+:} false; then :
17743 $as_echo_n "(cached) " >&6
17744 else
17745 ac_wine_try_cflags_saved=$CFLAGS
17746 CFLAGS="$CFLAGS -fno-builtin"
17747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17748 /* end confdefs.h. */
17749 int main(int argc, char **argv) { return 0; }
17750 _ACEOF
17751 if ac_fn_c_try_link "$LINENO"; then :
17752 ac_cv_cflags__fno_builtin=yes
17753 else
17754 ac_cv_cflags__fno_builtin=no
17756 rm -f core conftest.err conftest.$ac_objext \
17757 conftest$ac_exeext conftest.$ac_ext
17758 CFLAGS=$ac_wine_try_cflags_saved
17760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17761 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17762 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17763 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17766 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17767 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17768 $as_echo_n "(cached) " >&6
17769 else
17770 ac_wine_try_cflags_saved=$CFLAGS
17771 CFLAGS="$CFLAGS -fshort-wchar"
17772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17773 /* end confdefs.h. */
17774 int main(int argc, char **argv) { return 0; }
17775 _ACEOF
17776 if ac_fn_c_try_link "$LINENO"; then :
17777 ac_cv_cflags__fshort_wchar=yes
17778 else
17779 ac_cv_cflags__fshort_wchar=no
17781 rm -f core conftest.err conftest.$ac_objext \
17782 conftest$ac_exeext conftest.$ac_ext
17783 CFLAGS=$ac_wine_try_cflags_saved
17785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17786 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17787 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17788 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17789 fi ;;
17790 esac
17792 case $host_cpu in
17793 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17794 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17795 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17796 $as_echo_n "(cached) " >&6
17797 else
17798 ac_wine_try_cflags_saved=$CFLAGS
17799 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17801 /* end confdefs.h. */
17802 int main(int argc, char **argv) { return 0; }
17803 _ACEOF
17804 if ac_fn_c_try_link "$LINENO"; then :
17805 ac_cv_cflags__fno_omit_frame_pointer=yes
17806 else
17807 ac_cv_cflags__fno_omit_frame_pointer=no
17809 rm -f core conftest.err conftest.$ac_objext \
17810 conftest$ac_exeext conftest.$ac_ext
17811 CFLAGS=$ac_wine_try_cflags_saved
17813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17814 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17815 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17816 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17817 fi ;;
17818 *x86_64*)
17819 case $host_os in
17820 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17821 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17822 if ${ac_cv_cflags__Wno_format+:} false; then :
17823 $as_echo_n "(cached) " >&6
17824 else
17825 ac_wine_try_cflags_saved=$CFLAGS
17826 CFLAGS="$CFLAGS -Wno-format"
17827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17828 /* end confdefs.h. */
17829 int main(int argc, char **argv) { return 0; }
17830 _ACEOF
17831 if ac_fn_c_try_link "$LINENO"; then :
17832 ac_cv_cflags__Wno_format=yes
17833 else
17834 ac_cv_cflags__Wno_format=no
17836 rm -f core conftest.err conftest.$ac_objext \
17837 conftest$ac_exeext conftest.$ac_ext
17838 CFLAGS=$ac_wine_try_cflags_saved
17840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17841 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17842 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17843 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17844 fi ;;
17845 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17846 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17847 if ${ac_cv_cflags__mabi_ms+:} false; then :
17848 $as_echo_n "(cached) " >&6
17849 else
17850 ac_wine_try_cflags_saved=$CFLAGS
17851 CFLAGS="$CFLAGS -mabi=ms"
17852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17853 /* end confdefs.h. */
17854 int main(int argc, char **argv) { return 0; }
17855 _ACEOF
17856 if ac_fn_c_try_link "$LINENO"; then :
17857 ac_cv_cflags__mabi_ms=yes
17858 else
17859 ac_cv_cflags__mabi_ms=no
17861 rm -f core conftest.err conftest.$ac_objext \
17862 conftest$ac_exeext conftest.$ac_ext
17863 CFLAGS=$ac_wine_try_cflags_saved
17865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17866 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17867 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17868 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17869 fi ;;
17870 esac ;;
17871 esac
17873 CFLAGS=$saved_CFLAGS
17875 if test "x$enable_werror" = "xyes"
17876 then
17877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17878 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17879 if ${ac_cv_cflags__Werror+:} false; then :
17880 $as_echo_n "(cached) " >&6
17881 else
17882 ac_wine_try_cflags_saved=$CFLAGS
17883 CFLAGS="$CFLAGS -Werror"
17884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17885 /* end confdefs.h. */
17886 int main(int argc, char **argv) { return 0; }
17887 _ACEOF
17888 if ac_fn_c_try_link "$LINENO"; then :
17889 ac_cv_cflags__Werror=yes
17890 else
17891 ac_cv_cflags__Werror=no
17893 rm -f core conftest.err conftest.$ac_objext \
17894 conftest$ac_exeext conftest.$ac_ext
17895 CFLAGS=$ac_wine_try_cflags_saved
17897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17898 $as_echo "$ac_cv_cflags__Werror" >&6; }
17899 if test "x$ac_cv_cflags__Werror" = xyes; then :
17900 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17903 if test "x$enable_build_id" = "xyes"
17904 then
17905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
17906 $as_echo_n "checking whether the compiler supports -Wl,--build-id... " >&6; }
17907 if ${ac_cv_cflags__Wl___build_id+:} false; then :
17908 $as_echo_n "(cached) " >&6
17909 else
17910 ac_wine_try_cflags_saved=$CFLAGS
17911 CFLAGS="$CFLAGS -Wl,--build-id"
17912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17913 /* end confdefs.h. */
17914 int main(int argc, char **argv) { return 0; }
17915 _ACEOF
17916 if ac_fn_c_try_link "$LINENO"; then :
17917 ac_cv_cflags__Wl___build_id=yes
17918 else
17919 ac_cv_cflags__Wl___build_id=no
17921 rm -f core conftest.err conftest.$ac_objext \
17922 conftest$ac_exeext conftest.$ac_ext
17923 CFLAGS=$ac_wine_try_cflags_saved
17925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
17926 $as_echo "$ac_cv_cflags__Wl___build_id" >&6; }
17927 if test "x$ac_cv_cflags__Wl___build_id" = xyes; then :
17928 CFLAGS="$CFLAGS -Wl,--build-id"
17929 LDFLAGS="$LDFLAGS -Wl,--build-id"
17935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17936 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17937 if ${ac_cv_c_fortify_enabled+:} false; then :
17938 $as_echo_n "(cached) " >&6
17939 else
17940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17941 /* end confdefs.h. */
17942 #include <string.h>
17944 main ()
17946 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17947 #error Fortify enabled
17948 #endif
17950 return 0;
17952 _ACEOF
17953 if ac_fn_c_try_compile "$LINENO"; then :
17954 ac_cv_c_fortify_enabled=no
17955 else
17956 ac_cv_c_fortify_enabled=yes
17958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17961 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17962 if test "$ac_cv_c_fortify_enabled" = yes
17963 then
17964 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17969 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17970 if ${ac_cv_c_cfi_support+:} false; then :
17971 $as_echo_n "(cached) " >&6
17972 else
17973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17974 /* end confdefs.h. */
17975 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17977 main ()
17981 return 0;
17983 _ACEOF
17984 if ac_fn_c_try_compile "$LINENO"; then :
17985 ac_cv_c_cfi_support="yes"
17986 else
17987 ac_cv_c_cfi_support="no"
17989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17992 $as_echo "$ac_cv_c_cfi_support" >&6; }
17993 if test "$ac_cv_c_cfi_support" = "yes"
17994 then
17995 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
17996 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17997 else
17998 if test "x$enable_win64" = "xyes"
17999 then
18000 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
18005 case $build_os in
18006 cygwin*|mingw32*) TOOLSEXT=".exe"
18008 esac
18010 case $host_os in
18011 linux*)
18012 case $host_cpu in
18013 *i[3456789]86*|x86_64*|*aarch64*)
18014 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
18015 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
18017 esac
18019 esac
18022 ac_save_CFLAGS="$CFLAGS"
18023 CFLAGS="$CFLAGS $BUILTINFLAG"
18024 for ac_func in \
18025 __res_get_state \
18026 __res_getservers \
18027 _spawnvp \
18028 epoll_create \
18029 fnmatch \
18030 fork \
18031 fstatfs \
18032 futimens \
18033 futimes \
18034 futimesat \
18035 getattrlist \
18036 getauxval \
18037 getifaddrs \
18038 getopt_long_only \
18039 getrandom \
18040 kqueue \
18041 lstat \
18042 mach_continuous_time \
18043 pipe2 \
18044 poll \
18045 port_create \
18046 prctl \
18047 pread \
18048 proc_pidinfo \
18049 pwrite \
18050 readlink \
18051 sched_yield \
18052 setproctitle \
18053 setprogname \
18054 sigprocmask \
18055 symlink \
18056 tcdrain \
18057 thr_kill2
18059 do :
18060 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18061 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18062 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18063 cat >>confdefs.h <<_ACEOF
18064 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18065 _ACEOF
18068 done
18070 CFLAGS="$ac_save_CFLAGS"
18072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18073 $as_echo_n "checking for library containing dlopen... " >&6; }
18074 if ${ac_cv_search_dlopen+:} false; then :
18075 $as_echo_n "(cached) " >&6
18076 else
18077 ac_func_search_save_LIBS=$LIBS
18078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18079 /* end confdefs.h. */
18081 /* Override any GCC internal prototype to avoid an error.
18082 Use char because int might match the return type of a GCC
18083 builtin and then its argument prototype would still apply. */
18084 #ifdef __cplusplus
18085 extern "C"
18086 #endif
18087 char dlopen ();
18089 main ()
18091 return dlopen ();
18093 return 0;
18095 _ACEOF
18096 for ac_lib in '' dl; do
18097 if test -z "$ac_lib"; then
18098 ac_res="none required"
18099 else
18100 ac_res=-l$ac_lib
18101 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18103 if ac_fn_c_try_link "$LINENO"; then :
18104 ac_cv_search_dlopen=$ac_res
18106 rm -f core conftest.err conftest.$ac_objext \
18107 conftest$ac_exeext
18108 if ${ac_cv_search_dlopen+:} false; then :
18109 break
18111 done
18112 if ${ac_cv_search_dlopen+:} false; then :
18114 else
18115 ac_cv_search_dlopen=no
18117 rm conftest.$ac_ext
18118 LIBS=$ac_func_search_save_LIBS
18120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18121 $as_echo "$ac_cv_search_dlopen" >&6; }
18122 ac_res=$ac_cv_search_dlopen
18123 if test "$ac_res" != no; then :
18124 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18128 ac_wine_check_funcs_save_LIBS="$LIBS"
18129 LIBS="$LIBS $DL_LIBS"
18130 for ac_func in dladdr dlinfo
18131 do :
18132 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18133 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18134 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18135 cat >>confdefs.h <<_ACEOF
18136 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18137 _ACEOF
18140 done
18142 LIBS="$ac_wine_check_funcs_save_LIBS"
18144 if test "$ac_cv_func_poll" = no
18145 then
18146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18147 $as_echo_n "checking for poll in -lpoll... " >&6; }
18148 if ${ac_cv_lib_poll_poll+:} false; then :
18149 $as_echo_n "(cached) " >&6
18150 else
18151 ac_check_lib_save_LIBS=$LIBS
18152 LIBS="-lpoll $LIBS"
18153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18154 /* end confdefs.h. */
18156 /* Override any GCC internal prototype to avoid an error.
18157 Use char because int might match the return type of a GCC
18158 builtin and then its argument prototype would still apply. */
18159 #ifdef __cplusplus
18160 extern "C"
18161 #endif
18162 char poll ();
18164 main ()
18166 return poll ();
18168 return 0;
18170 _ACEOF
18171 if ac_fn_c_try_link "$LINENO"; then :
18172 ac_cv_lib_poll_poll=yes
18173 else
18174 ac_cv_lib_poll_poll=no
18176 rm -f core conftest.err conftest.$ac_objext \
18177 conftest$ac_exeext conftest.$ac_ext
18178 LIBS=$ac_check_lib_save_LIBS
18180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18181 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18182 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18183 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18184 POLL_LIBS="-lpoll"
18190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18191 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18192 if ${ac_cv_search_gethostbyname+:} false; then :
18193 $as_echo_n "(cached) " >&6
18194 else
18195 ac_func_search_save_LIBS=$LIBS
18196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18197 /* end confdefs.h. */
18199 /* Override any GCC internal prototype to avoid an error.
18200 Use char because int might match the return type of a GCC
18201 builtin and then its argument prototype would still apply. */
18202 #ifdef __cplusplus
18203 extern "C"
18204 #endif
18205 char gethostbyname ();
18207 main ()
18209 return gethostbyname ();
18211 return 0;
18213 _ACEOF
18214 for ac_lib in '' nsl; do
18215 if test -z "$ac_lib"; then
18216 ac_res="none required"
18217 else
18218 ac_res=-l$ac_lib
18219 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18221 if ac_fn_c_try_link "$LINENO"; then :
18222 ac_cv_search_gethostbyname=$ac_res
18224 rm -f core conftest.err conftest.$ac_objext \
18225 conftest$ac_exeext
18226 if ${ac_cv_search_gethostbyname+:} false; then :
18227 break
18229 done
18230 if ${ac_cv_search_gethostbyname+:} false; then :
18232 else
18233 ac_cv_search_gethostbyname=no
18235 rm conftest.$ac_ext
18236 LIBS=$ac_func_search_save_LIBS
18238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18239 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18240 ac_res=$ac_cv_search_gethostbyname
18241 if test "$ac_res" != no; then :
18242 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18248 $as_echo_n "checking for library containing connect... " >&6; }
18249 if ${ac_cv_search_connect+:} false; then :
18250 $as_echo_n "(cached) " >&6
18251 else
18252 ac_func_search_save_LIBS=$LIBS
18253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18254 /* end confdefs.h. */
18256 /* Override any GCC internal prototype to avoid an error.
18257 Use char because int might match the return type of a GCC
18258 builtin and then its argument prototype would still apply. */
18259 #ifdef __cplusplus
18260 extern "C"
18261 #endif
18262 char connect ();
18264 main ()
18266 return connect ();
18268 return 0;
18270 _ACEOF
18271 for ac_lib in '' socket; do
18272 if test -z "$ac_lib"; then
18273 ac_res="none required"
18274 else
18275 ac_res=-l$ac_lib
18276 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18278 if ac_fn_c_try_link "$LINENO"; then :
18279 ac_cv_search_connect=$ac_res
18281 rm -f core conftest.err conftest.$ac_objext \
18282 conftest$ac_exeext
18283 if ${ac_cv_search_connect+:} false; then :
18284 break
18286 done
18287 if ${ac_cv_search_connect+:} false; then :
18289 else
18290 ac_cv_search_connect=no
18292 rm conftest.$ac_ext
18293 LIBS=$ac_func_search_save_LIBS
18295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18296 $as_echo "$ac_cv_search_connect" >&6; }
18297 ac_res=$ac_cv_search_connect
18298 if test "$ac_res" != no; then :
18299 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18305 $as_echo_n "checking for library containing inet_aton... " >&6; }
18306 if ${ac_cv_search_inet_aton+:} false; then :
18307 $as_echo_n "(cached) " >&6
18308 else
18309 ac_func_search_save_LIBS=$LIBS
18310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18311 /* end confdefs.h. */
18313 /* Override any GCC internal prototype to avoid an error.
18314 Use char because int might match the return type of a GCC
18315 builtin and then its argument prototype would still apply. */
18316 #ifdef __cplusplus
18317 extern "C"
18318 #endif
18319 char inet_aton ();
18321 main ()
18323 return inet_aton ();
18325 return 0;
18327 _ACEOF
18328 for ac_lib in '' resolv; do
18329 if test -z "$ac_lib"; then
18330 ac_res="none required"
18331 else
18332 ac_res=-l$ac_lib
18333 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18335 if ac_fn_c_try_link "$LINENO"; then :
18336 ac_cv_search_inet_aton=$ac_res
18338 rm -f core conftest.err conftest.$ac_objext \
18339 conftest$ac_exeext
18340 if ${ac_cv_search_inet_aton+:} false; then :
18341 break
18343 done
18344 if ${ac_cv_search_inet_aton+:} false; then :
18346 else
18347 ac_cv_search_inet_aton=no
18349 rm conftest.$ac_ext
18350 LIBS=$ac_func_search_save_LIBS
18352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18353 $as_echo "$ac_cv_search_inet_aton" >&6; }
18354 ac_res=$ac_cv_search_inet_aton
18355 if test "$ac_res" != no; then :
18356 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18361 for ac_func in \
18362 getaddrinfo \
18363 getnameinfo \
18364 getservbyport \
18366 do :
18367 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18368 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18369 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18370 cat >>confdefs.h <<_ACEOF
18371 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18372 _ACEOF
18375 done
18378 case $host_os in
18379 darwin*|macosx*) ;;
18380 *) ac_save_LIBS=$LIBS
18381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18382 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18383 if ${ac_cv_search_clock_gettime+:} false; then :
18384 $as_echo_n "(cached) " >&6
18385 else
18386 ac_func_search_save_LIBS=$LIBS
18387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18388 /* end confdefs.h. */
18390 /* Override any GCC internal prototype to avoid an error.
18391 Use char because int might match the return type of a GCC
18392 builtin and then its argument prototype would still apply. */
18393 #ifdef __cplusplus
18394 extern "C"
18395 #endif
18396 char clock_gettime ();
18398 main ()
18400 return clock_gettime ();
18402 return 0;
18404 _ACEOF
18405 for ac_lib in '' rt; do
18406 if test -z "$ac_lib"; then
18407 ac_res="none required"
18408 else
18409 ac_res=-l$ac_lib
18410 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18412 if ac_fn_c_try_link "$LINENO"; then :
18413 ac_cv_search_clock_gettime=$ac_res
18415 rm -f core conftest.err conftest.$ac_objext \
18416 conftest$ac_exeext
18417 if ${ac_cv_search_clock_gettime+:} false; then :
18418 break
18420 done
18421 if ${ac_cv_search_clock_gettime+:} false; then :
18423 else
18424 ac_cv_search_clock_gettime=no
18426 rm conftest.$ac_ext
18427 LIBS=$ac_func_search_save_LIBS
18429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18430 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18431 ac_res=$ac_cv_search_clock_gettime
18432 if test "$ac_res" != no; then :
18433 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18435 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18437 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18441 LIBS=$ac_save_LIBS
18443 esac
18445 if test "x$with_ldap" != "xno"
18446 then
18447 if ${LDAP_CFLAGS:+false} :; then :
18448 if ${PKG_CONFIG+:} false; then :
18449 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18453 if ${LDAP_LIBS:+false} :; then :
18454 if ${PKG_CONFIG+:} false; then :
18455 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18459 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18460 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18461 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18462 ac_save_CPPFLAGS=$CPPFLAGS
18463 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18464 for ac_header in ldap.h lber.h
18465 do :
18466 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18467 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18468 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18469 cat >>confdefs.h <<_ACEOF
18470 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18471 _ACEOF
18475 done
18477 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18478 then
18479 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18481 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18483 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18484 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18485 $as_echo_n "(cached) " >&6
18486 else
18487 ac_check_lib_save_LIBS=$LIBS
18488 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18490 /* end confdefs.h. */
18492 /* Override any GCC internal prototype to avoid an error.
18493 Use char because int might match the return type of a GCC
18494 builtin and then its argument prototype would still apply. */
18495 #ifdef __cplusplus
18496 extern "C"
18497 #endif
18498 char ldap_initialize ();
18500 main ()
18502 return ldap_initialize ();
18504 return 0;
18506 _ACEOF
18507 if ac_fn_c_try_link "$LINENO"; then :
18508 ac_cv_lib_ldap_r_ldap_initialize=yes
18509 else
18510 ac_cv_lib_ldap_r_ldap_initialize=no
18512 rm -f core conftest.err conftest.$ac_objext \
18513 conftest$ac_exeext conftest.$ac_ext
18514 LIBS=$ac_check_lib_save_LIBS
18516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18517 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18518 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18520 $as_echo_n "checking for ber_init in -llber... " >&6; }
18521 if ${ac_cv_lib_lber_ber_init+:} false; then :
18522 $as_echo_n "(cached) " >&6
18523 else
18524 ac_check_lib_save_LIBS=$LIBS
18525 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18527 /* end confdefs.h. */
18529 /* Override any GCC internal prototype to avoid an error.
18530 Use char because int might match the return type of a GCC
18531 builtin and then its argument prototype would still apply. */
18532 #ifdef __cplusplus
18533 extern "C"
18534 #endif
18535 char ber_init ();
18537 main ()
18539 return ber_init ();
18541 return 0;
18543 _ACEOF
18544 if ac_fn_c_try_link "$LINENO"; then :
18545 ac_cv_lib_lber_ber_init=yes
18546 else
18547 ac_cv_lib_lber_ber_init=no
18549 rm -f core conftest.err conftest.$ac_objext \
18550 conftest$ac_exeext conftest.$ac_ext
18551 LIBS=$ac_check_lib_save_LIBS
18553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18554 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18555 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18557 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18559 else
18560 LDAP_LIBS=""
18563 else
18564 LDAP_LIBS=""
18567 else
18568 LDAP_LIBS=""
18571 ac_wine_check_funcs_save_LIBS="$LIBS"
18572 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18573 for ac_func in \
18574 ldap_count_references \
18575 ldap_first_reference \
18576 ldap_next_reference \
18577 ldap_parse_reference \
18578 ldap_parse_sort_control \
18579 ldap_parse_sortresponse_control \
18580 ldap_parse_vlv_control \
18581 ldap_parse_vlvresponse_control
18582 do :
18583 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18584 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18585 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18586 cat >>confdefs.h <<_ACEOF
18587 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18588 _ACEOF
18591 done
18593 LIBS="$ac_wine_check_funcs_save_LIBS"
18594 else
18595 LDAP_LIBS=""
18597 CPPFLAGS=$ac_save_CPPFLAGS
18600 if test "x$LDAP_LIBS" = "x"; then :
18601 case "x$with_ldap" in
18602 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18603 xno) ;;
18604 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18605 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18606 esac
18610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18611 $as_echo_n "checking for sched_setaffinity... " >&6; }
18612 if ${wine_cv_have_sched_setaffinity+:} false; then :
18613 $as_echo_n "(cached) " >&6
18614 else
18615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18616 /* end confdefs.h. */
18617 #define _GNU_SOURCE
18618 #include <sched.h>
18620 main ()
18622 sched_setaffinity(0, 0, 0);
18624 return 0;
18626 _ACEOF
18627 if ac_fn_c_try_link "$LINENO"; then :
18628 wine_cv_have_sched_setaffinity=yes
18629 else
18630 wine_cv_have_sched_setaffinity=no
18632 rm -f core conftest.err conftest.$ac_objext \
18633 conftest$ac_exeext conftest.$ac_ext
18635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18636 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18637 if test "$wine_cv_have_sched_setaffinity" = "yes"
18638 then
18640 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18645 $as_echo_n "checking for fallocate... " >&6; }
18646 if ${wine_cv_have_fallocate+:} false; then :
18647 $as_echo_n "(cached) " >&6
18648 else
18649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18650 /* end confdefs.h. */
18651 #define _GNU_SOURCE
18652 #include <fcntl.h>
18654 main ()
18656 fallocate(-1, 0, 0, 0);
18658 return 0;
18660 _ACEOF
18661 if ac_fn_c_try_link "$LINENO"; then :
18662 wine_cv_have_fallocate=yes
18663 else
18664 wine_cv_have_fallocate=no
18666 rm -f core conftest.err conftest.$ac_objext \
18667 conftest$ac_exeext conftest.$ac_ext
18669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18670 $as_echo "$wine_cv_have_fallocate" >&6; }
18671 if test "$wine_cv_have_fallocate" = "yes"
18672 then
18674 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18680 $as_echo_n "checking for inline... " >&6; }
18681 if ${ac_cv_c_inline+:} false; then :
18682 $as_echo_n "(cached) " >&6
18683 else
18684 ac_cv_c_inline=no
18685 for ac_kw in inline __inline__ __inline; do
18686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18687 /* end confdefs.h. */
18688 #ifndef __cplusplus
18689 typedef int foo_t;
18690 static $ac_kw foo_t static_foo () {return 0; }
18691 $ac_kw foo_t foo () {return 0; }
18692 #endif
18694 _ACEOF
18695 if ac_fn_c_try_compile "$LINENO"; then :
18696 ac_cv_c_inline=$ac_kw
18698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18699 test "$ac_cv_c_inline" != no && break
18700 done
18703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18704 $as_echo "$ac_cv_c_inline" >&6; }
18706 case $ac_cv_c_inline in
18707 inline | yes) ;;
18709 case $ac_cv_c_inline in
18710 no) ac_val=;;
18711 *) ac_val=$ac_cv_c_inline;;
18712 esac
18713 cat >>confdefs.h <<_ACEOF
18714 #ifndef __cplusplus
18715 #define inline $ac_val
18716 #endif
18717 _ACEOF
18719 esac
18721 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18722 #include <signal.h>
18724 if test "x$ac_cv_type_sigset_t" = xyes; then :
18726 cat >>confdefs.h <<_ACEOF
18727 #define HAVE_SIGSET_T 1
18728 _ACEOF
18733 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18735 if test "x$ac_cv_type_request_sense" = xyes; then :
18737 cat >>confdefs.h <<_ACEOF
18738 #define HAVE_REQUEST_SENSE 1
18739 _ACEOF
18745 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18746 #ifdef HAVE_SYS_SOCKET_H
18747 #include <sys/socket.h>
18748 #endif
18749 #ifdef HAVE_SYS_SOCKETVAR_H
18750 #include <sys/socketvar.h>
18751 #endif
18752 #ifdef HAVE_NET_ROUTE_H
18753 #include <net/route.h>
18754 #endif
18755 #ifdef HAVE_NETINET_IN_H
18756 #include <netinet/in.h>
18757 #endif
18758 #ifdef HAVE_NETINET_IN_SYSTM_H
18759 #include <netinet/in_systm.h>
18760 #endif
18761 #ifdef HAVE_NETINET_IP_H
18762 #include <netinet/ip.h>
18763 #endif
18764 #ifdef HAVE_NETINET_IN_PCB_H
18765 #include <netinet/in_pcb.h>
18766 #endif
18768 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18770 cat >>confdefs.h <<_ACEOF
18771 #define HAVE_STRUCT_XINPGEN 1
18772 _ACEOF
18778 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18779 #include <linux/input.h>
18780 #endif
18782 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18784 cat >>confdefs.h <<_ACEOF
18785 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18786 _ACEOF
18792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18793 $as_echo_n "checking for if_nameindex... " >&6; }
18794 if ${wine_cv_have_if_nameindex+:} false; then :
18795 $as_echo_n "(cached) " >&6
18796 else
18797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18798 /* end confdefs.h. */
18799 #ifdef HAVE_SYS_TYPES_H
18800 #include <sys/types.h>
18801 #endif
18802 #ifdef HAVE_SYS_SOCKET_H
18803 #include <sys/socket.h>
18804 #endif
18805 #ifdef HAVE_NET_IF_H
18806 # include <net/if.h>
18807 #endif
18809 main ()
18811 struct if_nameindex *p = if_nameindex(); return p->if_index;
18813 return 0;
18815 _ACEOF
18816 if ac_fn_c_try_link "$LINENO"; then :
18817 wine_cv_have_if_nameindex=yes
18818 else
18819 wine_cv_have_if_nameindex=no
18821 rm -f core conftest.err conftest.$ac_objext \
18822 conftest$ac_exeext conftest.$ac_ext
18824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18825 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18826 if test "$wine_cv_have_if_nameindex" = "yes"
18827 then
18829 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18834 $as_echo_n "checking for sigaddset... " >&6; }
18835 if ${wine_cv_have_sigaddset+:} false; then :
18836 $as_echo_n "(cached) " >&6
18837 else
18838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18839 /* end confdefs.h. */
18840 #include <signal.h>
18842 main ()
18844 sigset_t set; sigaddset(&set,SIGTERM);
18846 return 0;
18848 _ACEOF
18849 if ac_fn_c_try_link "$LINENO"; then :
18850 wine_cv_have_sigaddset=yes
18851 else
18852 wine_cv_have_sigaddset=no
18854 rm -f core conftest.err conftest.$ac_objext \
18855 conftest$ac_exeext conftest.$ac_ext
18857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18858 $as_echo "$wine_cv_have_sigaddset" >&6; }
18859 if test "$wine_cv_have_sigaddset" = "yes"
18860 then
18862 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18868 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18869 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18870 $as_echo_n "(cached) " >&6
18871 else
18872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18873 /* end confdefs.h. */
18874 #include <netdb.h>
18876 main ()
18879 char *name=0;
18880 struct hostent he;
18881 struct hostent *result;
18882 char *buf=0;
18883 int bufsize=0;
18884 int errnr;
18885 char *addr=0;
18886 int addrlen=0;
18887 int addrtype=0;
18888 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18889 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18892 return 0;
18894 _ACEOF
18895 if ac_fn_c_try_link "$LINENO"; then :
18896 wine_cv_linux_gethostbyname_r_6=yes
18897 else
18898 wine_cv_linux_gethostbyname_r_6=no
18901 rm -f core conftest.err conftest.$ac_objext \
18902 conftest$ac_exeext conftest.$ac_ext
18905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18906 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18907 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18908 then
18910 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18914 if test "$ac_cv_header_linux_joystick_h" = "yes"
18915 then
18916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18917 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18918 if ${wine_cv_linux_joystick_22_api+:} false; then :
18919 $as_echo_n "(cached) " >&6
18920 else
18921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18922 /* end confdefs.h. */
18924 #include <sys/ioctl.h>
18925 #include <sys/types.h>
18926 #include <linux/joystick.h>
18928 struct js_event blub;
18929 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18930 #error "no 2.2 header"
18931 #endif
18934 main ()
18936 /*empty*/
18938 return 0;
18940 _ACEOF
18941 if ac_fn_c_try_compile "$LINENO"; then :
18942 wine_cv_linux_joystick_22_api=yes
18943 else
18944 wine_cv_linux_joystick_22_api=no
18946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18950 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18951 if test "$wine_cv_linux_joystick_22_api" = "yes"
18952 then
18954 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18959 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18960 #ifdef HAVE_SYS_SOCKET_H
18961 # include <sys/socket.h>
18962 #endif
18963 #ifdef HAVE_SYS_UN_H
18964 # include <sys/un.h>
18965 #endif
18967 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18969 cat >>confdefs.h <<_ACEOF
18970 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18971 _ACEOF
18975 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18976 #ifdef HAVE_SYS_SOCKET_H
18977 # include <sys/socket.h>
18978 #endif
18979 #ifdef HAVE_SYS_UN_H
18980 # include <sys/un.h>
18981 #endif
18983 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18985 cat >>confdefs.h <<_ACEOF
18986 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18987 _ACEOF
18991 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18992 #ifdef HAVE_SYS_SOCKET_H
18993 # include <sys/socket.h>
18994 #endif
18995 #ifdef HAVE_SYS_UN_H
18996 # include <sys/un.h>
18997 #endif
18999 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
19001 cat >>confdefs.h <<_ACEOF
19002 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19003 _ACEOF
19009 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19010 #ifdef HAVE_SCSI_SG_H
19011 #include <scsi/sg.h>
19012 #endif
19014 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
19016 cat >>confdefs.h <<_ACEOF
19017 #define HAVE_SCSIREQ_T_CMD 1
19018 _ACEOF
19022 ac_fn_c_check_member "$LINENO" "sg_io_hdr_t" "interface_id" "ac_cv_member_sg_io_hdr_t_interface_id" "#include <sys/types.h>
19023 #ifdef HAVE_SCSI_SG_H
19024 #include <scsi/sg.h>
19025 #endif
19027 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
19029 cat >>confdefs.h <<_ACEOF
19030 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19031 _ACEOF
19037 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19039 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19041 cat >>confdefs.h <<_ACEOF
19042 #define HAVE_SIGINFO_T_SI_FD 1
19043 _ACEOF
19049 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19050 #ifdef HAVE_SYS_MTIO_H
19051 #include <sys/mtio.h>
19052 #endif
19054 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19056 cat >>confdefs.h <<_ACEOF
19057 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19058 _ACEOF
19062 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19063 #ifdef HAVE_SYS_MTIO_H
19064 #include <sys/mtio.h>
19065 #endif
19067 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19069 cat >>confdefs.h <<_ACEOF
19070 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19071 _ACEOF
19075 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19076 #ifdef HAVE_SYS_MTIO_H
19077 #include <sys/mtio.h>
19078 #endif
19080 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19082 cat >>confdefs.h <<_ACEOF
19083 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19084 _ACEOF
19090 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19091 #include <getopt.h>
19092 #endif
19094 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19096 cat >>confdefs.h <<_ACEOF
19097 #define HAVE_STRUCT_OPTION_NAME 1
19098 _ACEOF
19104 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19105 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19107 cat >>confdefs.h <<_ACEOF
19108 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19109 _ACEOF
19113 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19114 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19116 cat >>confdefs.h <<_ACEOF
19117 #define HAVE_STRUCT_STAT_ST_MTIM 1
19118 _ACEOF
19122 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19123 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19125 cat >>confdefs.h <<_ACEOF
19126 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19127 _ACEOF
19131 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19132 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19134 cat >>confdefs.h <<_ACEOF
19135 #define HAVE_STRUCT_STAT_ST_CTIM 1
19136 _ACEOF
19140 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19141 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19143 cat >>confdefs.h <<_ACEOF
19144 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19145 _ACEOF
19149 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19150 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19152 cat >>confdefs.h <<_ACEOF
19153 #define HAVE_STRUCT_STAT_ST_ATIM 1
19154 _ACEOF
19158 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19159 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19161 cat >>confdefs.h <<_ACEOF
19162 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19163 _ACEOF
19167 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19168 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19170 cat >>confdefs.h <<_ACEOF
19171 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19172 _ACEOF
19176 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19177 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19179 cat >>confdefs.h <<_ACEOF
19180 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19181 _ACEOF
19185 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19186 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19188 cat >>confdefs.h <<_ACEOF
19189 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19190 _ACEOF
19194 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19195 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19197 cat >>confdefs.h <<_ACEOF
19198 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19199 _ACEOF
19203 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19204 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19206 cat >>confdefs.h <<_ACEOF
19207 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19208 _ACEOF
19214 ac_fn_c_check_member "$LINENO" "struct sockaddr_in6" "sin6_scope_id" "ac_cv_member_struct_sockaddr_in6_sin6_scope_id" "#ifdef HAVE_SYS_TYPES_H
19215 #include <sys/types.h>
19216 #endif
19217 #ifdef HAVE_NETINET_IN_H
19218 #include <netinet/in.h>
19219 #endif
19221 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19223 cat >>confdefs.h <<_ACEOF
19224 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19225 _ACEOF
19231 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19232 #include <sys/types.h>
19233 #endif
19234 #ifdef HAVE_NETINET_IN_H
19235 #include <netinet/in.h>
19236 #endif
19237 #ifdef HAVE_RESOLV_H
19238 #include <resolv.h>
19239 #endif
19241 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19243 cat >>confdefs.h <<_ACEOF
19244 #define HAVE_STRUCT___RES_STATE 1
19245 _ACEOF
19251 ac_fn_c_check_member "$LINENO" "struct __res_state" "_u._ext.nscount6" "ac_cv_member_struct___res_state__u__ext_nscount6" "#ifdef HAVE_RESOLV_H
19252 #include <resolv.h>
19253 #endif
19255 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19257 cat >>confdefs.h <<_ACEOF
19258 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19259 _ACEOF
19265 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19266 #include <sys/types.h>
19267 #endif
19268 #ifdef HAVE_NETINET_IN_H
19269 # include <netinet/in.h>
19270 #endif
19271 #ifdef HAVE_ARPA_NAMESER_H
19272 # include <arpa/nameser.h>
19273 #endif
19275 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19277 cat >>confdefs.h <<_ACEOF
19278 #define HAVE_NS_MSG__MSG_PTR 1
19279 _ACEOF
19285 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19286 #include <sys/types.h>
19287 #endif
19288 #ifdef HAVE_NETINET_IN_H
19289 #include <netinet/in.h>
19290 #endif
19291 #ifdef HAVE_NETINET_IP_H
19292 #include <netinet/ip.h>
19293 #endif
19294 #ifdef HAVE_NETINET_IP_ICMP_H
19295 #include <netinet/ip_icmp.h>
19296 #endif
19297 #ifdef HAVE_NETINET_ICMP_VAR_H
19298 #include <netinet/icmp_var.h>
19299 #endif
19301 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19303 cat >>confdefs.h <<_ACEOF
19304 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19305 _ACEOF
19311 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19312 #include <sys/types.h>
19313 #endif
19314 #ifdef HAVE_ALIAS_H
19315 #include <alias.h>
19316 #endif
19317 #ifdef HAVE_SYS_SOCKET_H
19318 #include <sys/socket.h>
19319 #endif
19320 #ifdef HAVE_SYS_SOCKETVAR_H
19321 #include <sys/socketvar.h>
19322 #endif
19323 #ifdef HAVE_SYS_TIMEOUT_H
19324 #include <sys/timeout.h>
19325 #endif
19326 #ifdef HAVE_NETINET_IN_H
19327 #include <netinet/in.h>
19328 #endif
19329 #ifdef HAVE_NETINET_IN_SYSTM_H
19330 #include <netinet/in_systm.h>
19331 #endif
19332 #ifdef HAVE_NETINET_IP_H
19333 #include <netinet/ip.h>
19334 #endif
19335 #ifdef HAVE_NETINET_IP_VAR_H
19336 #include <netinet/ip_var.h>
19337 #endif
19338 #ifdef HAVE_NETINET_IP_ICMP_H
19339 #include <netinet/ip_icmp.h>
19340 #endif
19341 #ifdef HAVE_NETINET_ICMP_VAR_H
19342 #include <netinet/icmp_var.h>
19343 #endif
19345 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19347 cat >>confdefs.h <<_ACEOF
19348 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19349 _ACEOF
19355 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19356 #include <sys/types.h>
19357 #endif
19358 #ifdef HAVE_SYS_SOCKETVAR_H
19359 #include <sys/socketvar.h>
19360 #endif
19361 #ifdef HAVE_NETINET_IN_H
19362 #include <netinet/in.h>
19363 #endif
19364 #ifdef HAVE_NETINET_IP_VAR_H
19365 #include <netinet/ip_var.h>
19366 #endif
19368 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19370 cat >>confdefs.h <<_ACEOF
19371 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19372 _ACEOF
19378 ac_fn_c_check_member "$LINENO" "struct ip_stats" "ips_total" "ac_cv_member_struct_ip_stats_ips_total" "#ifdef HAVE_NETINET_IP_VAR_H
19379 #include <netinet/ip_var.h>
19380 #endif
19382 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19384 cat >>confdefs.h <<_ACEOF
19385 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19386 _ACEOF
19392 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19393 #include <sys/types.h>
19394 #endif
19395 #ifdef HAVE_SYS_SOCKETVAR_H
19396 #include <sys/socketvar.h>
19397 #endif
19398 #ifdef HAVE_NETINET_IN_H
19399 #include <netinet/in.h>
19400 #endif
19401 #ifdef HAVE_NETINET_TCP_H
19402 #include <netinet/tcp.h>
19403 #endif
19404 #ifdef HAVE_NETINET_TCP_VAR_H
19405 #include <netinet/tcp_var.h>
19406 #endif
19408 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19410 cat >>confdefs.h <<_ACEOF
19411 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19412 _ACEOF
19418 ac_fn_c_check_member "$LINENO" "struct tcp_stats" "tcps_connattempt" "ac_cv_member_struct_tcp_stats_tcps_connattempt" "#ifdef HAVE_NETINET_TCP_VAR_H
19419 #include <netinet/tcp_var.h>
19420 #endif
19422 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19424 cat >>confdefs.h <<_ACEOF
19425 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19426 _ACEOF
19432 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19433 #include <sys/types.h>
19434 #endif
19435 #ifdef HAVE_NETINET_IN_H
19436 #include <netinet/in.h>
19437 #endif
19438 #ifdef HAVE_NETINET_IP_VAR_H
19439 #include <netinet/ip_var.h>
19440 #endif
19441 #ifdef HAVE_NETINET_UDP_H
19442 #include <netinet/udp.h>
19443 #endif
19444 #ifdef HAVE_NETINET_UDP_VAR_H
19445 #include <netinet/udp_var.h>
19446 #endif
19448 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19450 cat >>confdefs.h <<_ACEOF
19451 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19452 _ACEOF
19458 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19459 #include <sys/types.h>
19460 #endif
19461 #ifdef HAVE_NET_IF_H
19462 # include <net/if.h>
19463 #endif
19465 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19467 cat >>confdefs.h <<_ACEOF
19468 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19469 _ACEOF
19475 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19476 # include <sys/sysinfo.h>
19477 #endif
19479 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19481 cat >>confdefs.h <<_ACEOF
19482 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19483 _ACEOF
19487 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19488 # include <sys/sysinfo.h>
19489 #endif
19491 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19493 cat >>confdefs.h <<_ACEOF
19494 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19495 _ACEOF
19501 ac_save_LIBS="$LIBS"
19502 LIBS="$LIBS -lm"
19503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19504 $as_echo_n "checking for isfinite... " >&6; }
19505 if ${ac_cv_have_isfinite+:} false; then :
19506 $as_echo_n "(cached) " >&6
19507 else
19508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19509 /* end confdefs.h. */
19510 #define _GNU_SOURCE
19511 #include <math.h>
19513 main ()
19515 float f = 0.0; return isfinite(f)
19517 return 0;
19519 _ACEOF
19520 if ac_fn_c_try_link "$LINENO"; then :
19521 ac_cv_have_isfinite="yes"
19522 else
19523 ac_cv_have_isfinite="no"
19525 rm -f core conftest.err conftest.$ac_objext \
19526 conftest$ac_exeext conftest.$ac_ext
19528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19529 $as_echo "$ac_cv_have_isfinite" >&6; }
19530 if test "$ac_cv_have_isfinite" = "yes"
19531 then
19533 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19538 $as_echo_n "checking for isinf... " >&6; }
19539 if ${ac_cv_have_isinf+:} false; then :
19540 $as_echo_n "(cached) " >&6
19541 else
19542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19543 /* end confdefs.h. */
19544 #include <math.h>
19546 main ()
19548 float f = 0.0; return isinf(f)
19550 return 0;
19552 _ACEOF
19553 if ac_fn_c_try_link "$LINENO"; then :
19554 ac_cv_have_isinf="yes"
19555 else
19556 ac_cv_have_isinf="no"
19558 rm -f core conftest.err conftest.$ac_objext \
19559 conftest$ac_exeext conftest.$ac_ext
19561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19562 $as_echo "$ac_cv_have_isinf" >&6; }
19563 if test "$ac_cv_have_isinf" = "yes"
19564 then
19566 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19571 $as_echo_n "checking for isnan... " >&6; }
19572 if ${ac_cv_have_isnan+:} false; then :
19573 $as_echo_n "(cached) " >&6
19574 else
19575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19576 /* end confdefs.h. */
19577 #include <math.h>
19579 main ()
19581 float f = 0.0; return isnan(f)
19583 return 0;
19585 _ACEOF
19586 if ac_fn_c_try_link "$LINENO"; then :
19587 ac_cv_have_isnan="yes"
19588 else
19589 ac_cv_have_isnan="no"
19591 rm -f core conftest.err conftest.$ac_objext \
19592 conftest$ac_exeext conftest.$ac_ext
19594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19595 $as_echo "$ac_cv_have_isnan" >&6; }
19596 if test "$ac_cv_have_isnan" = "yes"
19597 then
19599 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19603 LIBS="$ac_save_LIBS"
19605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19606 $as_echo_n "checking for __builtin_popcount... " >&6; }
19607 if ${ac_cv_have___builtin_popcount+:} false; then :
19608 $as_echo_n "(cached) " >&6
19609 else
19610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19611 /* end confdefs.h. */
19614 main ()
19616 return __builtin_popcount(1)
19618 return 0;
19620 _ACEOF
19621 if ac_fn_c_try_link "$LINENO"; then :
19622 ac_cv_have___builtin_popcount="yes"
19623 else
19624 ac_cv_have___builtin_popcount="no"
19626 rm -f core conftest.err conftest.$ac_objext \
19627 conftest$ac_exeext conftest.$ac_ext
19629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19630 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19631 if test "$ac_cv_have___builtin_popcount" = "yes"
19632 then
19634 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19639 $as_echo_n "checking for __clear_cache... " >&6; }
19640 if ${ac_cv_have___clear_cache+:} false; then :
19641 $as_echo_n "(cached) " >&6
19642 else
19643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19644 /* end confdefs.h. */
19647 main ()
19649 __clear_cache((void*)0, (void*)0); return 0;
19651 return 0;
19653 _ACEOF
19654 if ac_fn_c_try_link "$LINENO"; then :
19655 ac_cv_have___clear_cache="yes"
19656 else
19657 ac_cv_have___clear_cache="no"
19659 rm -f core conftest.err conftest.$ac_objext \
19660 conftest$ac_exeext conftest.$ac_ext
19662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19663 $as_echo "$ac_cv_have___clear_cache" >&6; }
19664 if test "$ac_cv_have___clear_cache" = "yes"
19665 then
19667 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19672 case $host_cpu in
19673 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19674 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19675 if ${ac_cv_cpp_def___i386__+:} false; then :
19676 $as_echo_n "(cached) " >&6
19677 else
19678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19679 /* end confdefs.h. */
19680 #ifndef __i386__
19682 #endif
19683 _ACEOF
19684 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19685 $EGREP "yes" >/dev/null 2>&1; then :
19686 ac_cv_cpp_def___i386__=yes
19687 else
19688 ac_cv_cpp_def___i386__=no
19690 rm -f conftest*
19693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19694 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19695 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19696 CFLAGS="$CFLAGS -D__i386__"
19697 LINTFLAGS="$LINTFLAGS -D__i386__"
19698 fi ;;
19699 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19700 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19701 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19702 $as_echo_n "(cached) " >&6
19703 else
19704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19705 /* end confdefs.h. */
19706 #ifndef __x86_64__
19708 #endif
19709 _ACEOF
19710 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19711 $EGREP "yes" >/dev/null 2>&1; then :
19712 ac_cv_cpp_def___x86_64__=yes
19713 else
19714 ac_cv_cpp_def___x86_64__=no
19716 rm -f conftest*
19719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19720 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19721 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19722 CFLAGS="$CFLAGS -D__x86_64__"
19723 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19724 fi ;;
19725 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19726 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19727 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19728 $as_echo_n "(cached) " >&6
19729 else
19730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19731 /* end confdefs.h. */
19732 #ifndef __sparc64__
19734 #endif
19735 _ACEOF
19736 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19737 $EGREP "yes" >/dev/null 2>&1; then :
19738 ac_cv_cpp_def___sparc64__=yes
19739 else
19740 ac_cv_cpp_def___sparc64__=no
19742 rm -f conftest*
19745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19746 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19747 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19748 CFLAGS="$CFLAGS -D__sparc64__"
19749 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19750 fi ;;
19751 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19752 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19753 if ${ac_cv_cpp_def___sparc__+:} false; then :
19754 $as_echo_n "(cached) " >&6
19755 else
19756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19757 /* end confdefs.h. */
19758 #ifndef __sparc__
19760 #endif
19761 _ACEOF
19762 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19763 $EGREP "yes" >/dev/null 2>&1; then :
19764 ac_cv_cpp_def___sparc__=yes
19765 else
19766 ac_cv_cpp_def___sparc__=no
19768 rm -f conftest*
19771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19772 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19773 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19774 CFLAGS="$CFLAGS -D__sparc__"
19775 LINTFLAGS="$LINTFLAGS -D__sparc__"
19776 fi ;;
19777 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19778 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19779 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19780 $as_echo_n "(cached) " >&6
19781 else
19782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19783 /* end confdefs.h. */
19784 #ifndef __powerpc64__
19786 #endif
19787 _ACEOF
19788 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19789 $EGREP "yes" >/dev/null 2>&1; then :
19790 ac_cv_cpp_def___powerpc64__=yes
19791 else
19792 ac_cv_cpp_def___powerpc64__=no
19794 rm -f conftest*
19797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19798 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19799 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19800 CFLAGS="$CFLAGS -D__powerpc64__"
19801 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19802 fi ;;
19803 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19804 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19805 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19806 $as_echo_n "(cached) " >&6
19807 else
19808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19809 /* end confdefs.h. */
19810 #ifndef __powerpc__
19812 #endif
19813 _ACEOF
19814 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19815 $EGREP "yes" >/dev/null 2>&1; then :
19816 ac_cv_cpp_def___powerpc__=yes
19817 else
19818 ac_cv_cpp_def___powerpc__=no
19820 rm -f conftest*
19823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19824 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19825 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19826 CFLAGS="$CFLAGS -D__powerpc__"
19827 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19828 fi ;;
19829 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19830 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19831 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19832 $as_echo_n "(cached) " >&6
19833 else
19834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19835 /* end confdefs.h. */
19836 #ifndef __aarch64__
19838 #endif
19839 _ACEOF
19840 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19841 $EGREP "yes" >/dev/null 2>&1; then :
19842 ac_cv_cpp_def___aarch64__=yes
19843 else
19844 ac_cv_cpp_def___aarch64__=no
19846 rm -f conftest*
19849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19850 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19851 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19852 CFLAGS="$CFLAGS -D__aarch64__"
19853 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19854 fi ;;
19855 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19856 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19857 if ${ac_cv_cpp_def___arm__+:} false; then :
19858 $as_echo_n "(cached) " >&6
19859 else
19860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19861 /* end confdefs.h. */
19862 #ifndef __arm__
19864 #endif
19865 _ACEOF
19866 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19867 $EGREP "yes" >/dev/null 2>&1; then :
19868 ac_cv_cpp_def___arm__=yes
19869 else
19870 ac_cv_cpp_def___arm__=no
19872 rm -f conftest*
19875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19876 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19877 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19878 CFLAGS="$CFLAGS -D__arm__"
19879 LINTFLAGS="$LINTFLAGS -D__arm__"
19880 fi ;;
19881 esac
19883 case $host_vendor in
19884 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19885 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19886 if ${ac_cv_cpp_def___sun__+:} false; then :
19887 $as_echo_n "(cached) " >&6
19888 else
19889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19890 /* end confdefs.h. */
19891 #ifndef __sun__
19893 #endif
19894 _ACEOF
19895 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19896 $EGREP "yes" >/dev/null 2>&1; then :
19897 ac_cv_cpp_def___sun__=yes
19898 else
19899 ac_cv_cpp_def___sun__=no
19901 rm -f conftest*
19904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19905 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19906 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19907 CFLAGS="$CFLAGS -D__sun__"
19908 LINTFLAGS="$LINTFLAGS -D__sun__"
19909 fi ;;
19910 esac
19916 ac_config_commands="$ac_config_commands include/stamp-h"
19918 $as_echo_n "creating Makefile rules..." >&6
19920 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19921 OPENGL_LIBS = $OPENGL_LIBS
19922 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19923 IOKIT_LIBS = $IOKIT_LIBS
19924 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19925 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19926 CORESERVICES_LIBS = $CORESERVICES_LIBS
19927 APPKIT_LIBS = $APPKIT_LIBS
19928 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19929 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19930 SECURITY_LIBS = $SECURITY_LIBS
19931 COREAUDIO_LIBS = $COREAUDIO_LIBS
19932 OPENAL_LIBS = $OPENAL_LIBS
19933 OPENCL_LIBS = $OPENCL_LIBS
19934 QUICKTIME_LIBS = $QUICKTIME_LIBS
19935 CARBON_LIBS = $CARBON_LIBS
19936 METAL_LIBS = $METAL_LIBS
19937 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19938 PTHREAD_LIBS = $PTHREAD_LIBS
19939 X_CFLAGS = $X_CFLAGS
19940 X_PRE_LIBS = $X_PRE_LIBS
19941 X_LIBS = $X_LIBS
19942 X_EXTRA_LIBS = $X_EXTRA_LIBS
19943 PCAP_LIBS = $PCAP_LIBS
19944 XML2_CFLAGS = $XML2_CFLAGS
19945 XML2_LIBS = $XML2_LIBS
19946 XSLT_CFLAGS = $XSLT_CFLAGS
19947 XSLT_LIBS = $XSLT_LIBS
19948 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19949 INOTIFY_LIBS = $INOTIFY_LIBS
19950 DBUS_CFLAGS = $DBUS_CFLAGS
19951 DBUS_LIBS = $DBUS_LIBS
19952 HAL_CFLAGS = $HAL_CFLAGS
19953 HAL_LIBS = $HAL_LIBS
19954 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19955 GNUTLS_LIBS = $GNUTLS_LIBS
19956 SANE_CFLAGS = $SANE_CFLAGS
19957 SANE_LIBS = $SANE_LIBS
19958 USB_CFLAGS = $USB_CFLAGS
19959 USB_LIBS = $USB_LIBS
19960 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19961 GPHOTO2_LIBS = $GPHOTO2_LIBS
19962 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19963 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19964 RESOLV_LIBS = $RESOLV_LIBS
19965 LCMS2_CFLAGS = $LCMS2_CFLAGS
19966 LCMS2_LIBS = $LCMS2_LIBS
19967 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19968 FREETYPE_LIBS = $FREETYPE_LIBS
19969 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19970 PULSE_CFLAGS = $PULSE_CFLAGS
19971 PULSE_LIBS = $PULSE_LIBS
19972 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19973 GSTREAMER_LIBS = $GSTREAMER_LIBS
19974 ALSA_LIBS = $ALSA_LIBS
19975 OSS4_CFLAGS = $OSS4_CFLAGS
19976 OSS4_LIBS = $OSS4_LIBS
19977 UDEV_CFLAGS = $UDEV_CFLAGS
19978 UDEV_LIBS = $UDEV_LIBS
19979 UNWIND_CFLAGS = $UNWIND_CFLAGS
19980 UNWIND_LIBS = $UNWIND_LIBS
19981 SDL2_CFLAGS = $SDL2_CFLAGS
19982 SDL2_LIBS = $SDL2_LIBS
19983 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19984 FAUDIO_LIBS = $FAUDIO_LIBS
19985 CAPI20_CFLAGS = $CAPI20_CFLAGS
19986 CAPI20_LIBS = $CAPI20_LIBS
19987 CUPS_CFLAGS = $CUPS_CFLAGS
19988 CUPS_LIBS = $CUPS_LIBS
19989 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19990 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19991 KRB5_CFLAGS = $KRB5_CFLAGS
19992 KRB5_LIBS = $KRB5_LIBS
19993 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19994 GSSAPI_LIBS = $GSSAPI_LIBS
19995 JPEG_CFLAGS = $JPEG_CFLAGS
19996 JPEG_LIBS = $JPEG_LIBS
19997 JXRLIB_CFLAGS = $JXRLIB_CFLAGS
19998 JXRLIB_LIBS = $JXRLIB_LIBS
19999 PNG_CFLAGS = $PNG_CFLAGS
20000 PNG_LIBS = $PNG_LIBS
20001 TIFF_CFLAGS = $TIFF_CFLAGS
20002 TIFF_LIBS = $TIFF_LIBS
20003 MPG123_CFLAGS = $MPG123_CFLAGS
20004 MPG123_LIBS = $MPG123_LIBS
20005 KSTAT_LIBS = $KSTAT_LIBS
20006 PROCSTAT_LIBS = $PROCSTAT_LIBS
20007 NETAPI_CFLAGS = $NETAPI_CFLAGS
20008 NETAPI_LIBS = $NETAPI_LIBS
20009 VKD3D_CFLAGS = $VKD3D_CFLAGS
20010 VKD3D_LIBS = $VKD3D_LIBS
20011 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
20012 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
20013 POLL_LIBS = $POLL_LIBS
20014 RT_LIBS = $RT_LIBS
20015 LDAP_CFLAGS = $LDAP_CFLAGS
20016 LDAP_LIBS = $LDAP_LIBS
20020 makedep_flags=""
20021 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20024 wine_fn_append_rule "
20025 # Rules automatically generated by configure
20027 .INIT: Makefile
20028 .MAKEFILEDEPS:
20029 all: Makefile
20030 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20031 @./config.status Make.tmp Makefile
20032 depend: \$(MAKEDEP)
20033 \$(MAKEDEP)$makedep_flags
20034 dummy:
20035 .PHONY: depend dummy"
20037 ac_config_links="$ac_config_links wine:tools/winewrapper"
20038 wine_fn_config_symlink wine
20039 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20040 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20041 wine_fn_config_symlink wine64
20044 wine_fn_config_makefile dlls/acledit enable_acledit
20045 wine_fn_config_makefile dlls/aclui enable_aclui
20046 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20047 wine_fn_config_makefile dlls/activeds enable_activeds
20048 wine_fn_config_makefile dlls/activeds/tests enable_tests
20049 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20050 wine_fn_config_makefile dlls/adsiid enable_adsiid
20051 wine_fn_config_makefile dlls/adsldp enable_adsldp
20052 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20053 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20054 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20055 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20056 wine_fn_config_makefile dlls/advpack enable_advpack
20057 wine_fn_config_makefile dlls/advpack/tests enable_tests
20058 wine_fn_config_makefile dlls/amsi enable_amsi
20059 wine_fn_config_makefile dlls/amstream enable_amstream
20060 wine_fn_config_makefile dlls/amstream/tests enable_tests
20061 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20062 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20063 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20064 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20065 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20066 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20067 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20068 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20069 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20070 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20071 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20072 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20073 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20074 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-2-0 enable_api_ms_win_core_console_l1_2_0
20075 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20076 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20077 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20078 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20079 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20080 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20081 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20082 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20083 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20084 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20085 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20086 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20087 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20088 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20089 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20090 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
20091 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
20092 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20093 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20094 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20095 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20096 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20097 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20098 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20099 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20100 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20101 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20102 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20103 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20104 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20105 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20106 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20107 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20108 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20109 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20110 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20111 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20112 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
20113 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20114 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20115 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20116 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20117 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20118 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20119 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20120 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20121 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20122 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20123 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20124 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20125 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20126 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20127 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20128 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20129 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20130 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20131 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20132 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20133 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20134 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20135 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20136 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20139 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20140 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20141 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20144 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20145 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20146 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20147 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20148 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20149 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20150 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20151 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20152 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20154 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20156 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20157 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20160 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20161 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20162 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20163 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20164 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20165 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20166 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20167 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20168 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20170 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20173 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20174 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20175 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20176 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20177 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20178 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20179 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20180 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20181 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20182 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20183 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20184 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20185 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20186 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20187 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20188 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20189 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20190 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20191 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20193 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20194 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20195 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20196 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20197 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20198 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20199 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20200 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20201 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20202 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20203 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20204 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20205 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20206 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20208 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20209 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20210 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20211 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20212 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20213 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20214 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20215 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20216 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20217 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20218 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20219 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20221 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20222 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20223 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20224 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20225 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20226 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20227 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20228 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20229 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20230 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20231 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20232 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20233 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20234 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20235 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20236 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20237 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20238 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20239 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20240 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20241 wine_fn_config_makefile dlls/api-ms-win-gaming-tcui-l1-1-0 enable_api_ms_win_gaming_tcui_l1_1_0
20242 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20243 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20244 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20245 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20246 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20247 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20248 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20249 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20250 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20252 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20254 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20256 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20258 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20259 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20260 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20261 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20262 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20263 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20264 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20265 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20266 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20267 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20268 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20269 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20270 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20271 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20272 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20273 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20274 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20275 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20276 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20277 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20278 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20279 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20280 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20281 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20282 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20283 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20284 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-0 enable_api_ms_win_shcore_scaling_l1_1_0
20285 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20286 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20287 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-winrt-l1-1-0 enable_api_ms_win_shcore_stream_winrt_l1_1_0
20288 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20289 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20290 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20291 wine_fn_config_makefile dlls/apphelp enable_apphelp
20292 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20293 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20294 wine_fn_config_makefile dlls/atl enable_atl
20295 wine_fn_config_makefile dlls/atl/tests enable_tests
20296 wine_fn_config_makefile dlls/atl100 enable_atl100
20297 wine_fn_config_makefile dlls/atl100/tests enable_tests
20298 wine_fn_config_makefile dlls/atl110 enable_atl110
20299 wine_fn_config_makefile dlls/atl80 enable_atl80
20300 wine_fn_config_makefile dlls/atl80/tests enable_tests
20301 wine_fn_config_makefile dlls/atl90 enable_atl90
20302 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20303 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20304 wine_fn_config_makefile dlls/atmlib enable_atmlib
20305 wine_fn_config_makefile dlls/authz enable_authz
20306 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20307 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20308 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20309 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20310 wine_fn_config_makefile dlls/avrt enable_avrt
20311 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20312 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20313 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20314 wine_fn_config_makefile dlls/browseui enable_browseui
20315 wine_fn_config_makefile dlls/browseui/tests enable_tests
20316 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20317 wine_fn_config_makefile dlls/cabinet enable_cabinet
20318 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20319 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20320 wine_fn_config_makefile dlls/cards enable_cards
20321 wine_fn_config_makefile dlls/cdosys enable_cdosys
20322 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20323 wine_fn_config_makefile dlls/clusapi enable_clusapi
20324 wine_fn_config_makefile dlls/combase enable_combase
20325 wine_fn_config_makefile dlls/combase/tests enable_tests
20326 wine_fn_config_makefile dlls/comcat enable_comcat
20327 wine_fn_config_makefile dlls/comcat/tests enable_tests
20328 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20329 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20330 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20331 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20332 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20333 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20334 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20335 wine_fn_config_makefile dlls/compstui enable_compstui
20336 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20337 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20338 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20339 wine_fn_config_makefile dlls/concrt140/tests enable_tests
20340 wine_fn_config_makefile dlls/connect enable_connect
20341 wine_fn_config_makefile dlls/credui enable_credui
20342 wine_fn_config_makefile dlls/credui/tests enable_tests
20343 wine_fn_config_makefile dlls/crtdll enable_crtdll
20344 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20345 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20346 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20347 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20348 wine_fn_config_makefile dlls/cryptext enable_cryptext
20349 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20350 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20351 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
20352 wine_fn_config_makefile dlls/cryptui enable_cryptui
20353 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20354 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20355 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20356 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20357 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20358 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20359 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20360 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20361 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20362 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20363 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20364 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20365 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20366 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20367 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20368 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20369 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20370 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20371 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20372 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
20373 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20374 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20375 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20376 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20377 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20378 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20379 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20380 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20381 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20382 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20383 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20384 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20385 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20386 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20387 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20388 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20389 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20390 wine_fn_config_makefile dlls/d3dim enable_d3dim
20391 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
20392 wine_fn_config_makefile dlls/d3drm enable_d3drm
20393 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20394 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20395 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20396 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20397 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20398 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20399 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20400 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20401 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20402 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20403 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20404 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20405 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20406 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20407 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20408 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20409 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20410 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20411 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20412 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20413 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20414 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20415 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20416 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20417 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20418 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20419 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20420 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20421 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20422 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20423 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20424 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20425 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20426 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20427 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20428 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20429 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20430 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20431 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20432 wine_fn_config_makefile dlls/davclnt enable_davclnt
20433 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20434 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20435 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20436 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20437 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20438 wine_fn_config_makefile dlls/dcomp enable_dcomp
20439 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20440 wine_fn_config_makefile dlls/ddraw enable_ddraw
20441 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20442 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20443 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20444 wine_fn_config_makefile dlls/devenum enable_devenum
20445 wine_fn_config_makefile dlls/devenum/tests enable_tests
20446 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20447 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20448 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20449 wine_fn_config_makefile dlls/difxapi enable_difxapi
20450 wine_fn_config_makefile dlls/dinput enable_dinput
20451 wine_fn_config_makefile dlls/dinput/tests enable_tests
20452 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20453 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20454 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20455 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20456 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20457 wine_fn_config_makefile dlls/dispex enable_dispex
20458 wine_fn_config_makefile dlls/dispex/tests enable_tests
20459 wine_fn_config_makefile dlls/display.drv16 enable_win16
20460 wine_fn_config_makefile dlls/dmband enable_dmband
20461 wine_fn_config_makefile dlls/dmband/tests enable_tests
20462 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20463 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20464 wine_fn_config_makefile dlls/dmime enable_dmime
20465 wine_fn_config_makefile dlls/dmime/tests enable_tests
20466 wine_fn_config_makefile dlls/dmloader enable_dmloader
20467 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20468 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20469 wine_fn_config_makefile dlls/dmscript enable_dmscript
20470 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20471 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20472 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20473 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20474 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20475 wine_fn_config_makefile dlls/dmusic enable_dmusic
20476 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20477 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20478 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20479 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20480 wine_fn_config_makefile dlls/dplay enable_dplay
20481 wine_fn_config_makefile dlls/dplayx enable_dplayx
20482 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20483 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20484 wine_fn_config_makefile dlls/dpnet enable_dpnet
20485 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20486 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20487 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
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/gamingtcui enable_gamingtcui
20587 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20588 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20589 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20590 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20591 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20592 wine_fn_config_makefile dlls/glu32 enable_glu32
20593 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20594 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20595 wine_fn_config_makefile dlls/hal enable_hal
20596 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20597 wine_fn_config_makefile dlls/hid enable_hid
20598 wine_fn_config_makefile dlls/hid/tests enable_tests
20599 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20600 wine_fn_config_makefile dlls/hlink enable_hlink
20601 wine_fn_config_makefile dlls/hlink/tests enable_tests
20602 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20603 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20604 wine_fn_config_makefile dlls/http.sys enable_http_sys
20605 wine_fn_config_makefile dlls/httpapi enable_httpapi
20606 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20607 wine_fn_config_makefile dlls/iccvid enable_iccvid
20608 wine_fn_config_makefile dlls/icmp enable_icmp
20609 wine_fn_config_makefile dlls/ieframe enable_ieframe
20610 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20611 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20612 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20613 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20614 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20615 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20616 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20617 wine_fn_config_makefile dlls/imm32 enable_imm32
20618 wine_fn_config_makefile dlls/imm32/tests enable_tests
20619 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20620 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20621 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20622 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20623 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20624 wine_fn_config_makefile dlls/infosoft enable_infosoft
20625 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20626 wine_fn_config_makefile dlls/initpki enable_initpki
20627 wine_fn_config_makefile dlls/inkobj enable_inkobj
20628 wine_fn_config_makefile dlls/inseng enable_inseng
20629 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20630 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20631 wine_fn_config_makefile dlls/iprop enable_iprop
20632 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20633 wine_fn_config_makefile dlls/itircl enable_itircl
20634 wine_fn_config_makefile dlls/itss enable_itss
20635 wine_fn_config_makefile dlls/itss/tests enable_tests
20636 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20637 wine_fn_config_makefile dlls/jscript enable_jscript
20638 wine_fn_config_makefile dlls/jscript/tests enable_tests
20639 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20640 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20641 wine_fn_config_makefile dlls/kerberos enable_kerberos
20642 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20643 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20644 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20645 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20646 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20647 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20648 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20649 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20650 wine_fn_config_makefile dlls/ksuser enable_ksuser
20651 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20652 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20653 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
20654 wine_fn_config_makefile dlls/loadperf enable_loadperf
20655 wine_fn_config_makefile dlls/localspl enable_localspl
20656 wine_fn_config_makefile dlls/localspl/tests enable_tests
20657 wine_fn_config_makefile dlls/localui enable_localui
20658 wine_fn_config_makefile dlls/localui/tests enable_tests
20659 wine_fn_config_makefile dlls/lz32 enable_lz32
20660 wine_fn_config_makefile dlls/lz32/tests enable_tests
20661 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20662 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20663 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20664 wine_fn_config_makefile dlls/mapistub enable_mapistub
20665 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20666 wine_fn_config_makefile dlls/mcicda enable_mcicda
20667 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20668 wine_fn_config_makefile dlls/mciseq enable_mciseq
20669 wine_fn_config_makefile dlls/mciwave enable_mciwave
20670 wine_fn_config_makefile dlls/mf enable_mf
20671 wine_fn_config_makefile dlls/mf/tests enable_tests
20672 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20673 wine_fn_config_makefile dlls/mferror enable_mferror
20674 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20675 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20676 wine_fn_config_makefile dlls/mfplat enable_mfplat
20677 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20678 wine_fn_config_makefile dlls/mfplay enable_mfplay
20679 wine_fn_config_makefile dlls/mfplay/tests enable_tests
20680 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20681 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20682 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20683 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20684 wine_fn_config_makefile dlls/midimap enable_midimap
20685 wine_fn_config_makefile dlls/mlang enable_mlang
20686 wine_fn_config_makefile dlls/mlang/tests enable_tests
20687 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20688 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20689 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20690 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20691 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20692 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20693 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20694 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20695 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20696 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20697 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20698 wine_fn_config_makefile dlls/mpr enable_mpr
20699 wine_fn_config_makefile dlls/mpr/tests enable_tests
20700 wine_fn_config_makefile dlls/mprapi enable_mprapi
20701 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20702 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20703 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20704 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20705 wine_fn_config_makefile dlls/msado15 enable_msado15
20706 wine_fn_config_makefile dlls/msado15/tests enable_tests
20707 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20708 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20709 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20710 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20711 wine_fn_config_makefile dlls/mscms enable_mscms
20712 wine_fn_config_makefile dlls/mscms/tests enable_tests
20713 wine_fn_config_makefile dlls/mscoree enable_mscoree
20714 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20715 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20716 wine_fn_config_makefile dlls/msctf enable_msctf
20717 wine_fn_config_makefile dlls/msctf/tests enable_tests
20718 wine_fn_config_makefile dlls/msctfp enable_msctfp
20719 wine_fn_config_makefile dlls/msdaps enable_msdaps
20720 wine_fn_config_makefile dlls/msdelta enable_msdelta
20721 wine_fn_config_makefile dlls/msdmo enable_msdmo
20722 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20723 wine_fn_config_makefile dlls/msdrm enable_msdrm
20724 wine_fn_config_makefile dlls/msftedit enable_msftedit
20725 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20726 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20727 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20728 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20729 wine_fn_config_makefile dlls/mshtml enable_mshtml
20730 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20731 wine_fn_config_makefile dlls/msi enable_msi
20732 wine_fn_config_makefile dlls/msi/tests enable_tests
20733 wine_fn_config_makefile dlls/msident enable_msident
20734 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20735 wine_fn_config_makefile dlls/msimsg enable_msimsg
20736 wine_fn_config_makefile dlls/msimtf enable_msimtf
20737 wine_fn_config_makefile dlls/msisip enable_msisip
20738 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20739 wine_fn_config_makefile dlls/msls31 enable_msls31
20740 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20741 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20742 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20743 wine_fn_config_makefile dlls/msports enable_msports
20744 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20745 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20746 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20747 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20748 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20749 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20750 wine_fn_config_makefile dlls/mstask enable_mstask
20751 wine_fn_config_makefile dlls/mstask/tests enable_tests
20752 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
20753 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20754 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20755 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20756 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20757 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20758 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20759 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20760 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20761 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20762 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20763 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20764 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20765 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20766 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20767 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
20768 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20769 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20770 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20771 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20772 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20773 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20774 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20775 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20776 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20777 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20778 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20779 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20780 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20781 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20782 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20783 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20784 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20785 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20786 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20787 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20788 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20789 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20790 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20791 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20792 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20793 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20794 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20795 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20796 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20797 wine_fn_config_makefile dlls/mswsock enable_mswsock
20798 wine_fn_config_makefile dlls/msxml enable_msxml
20799 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20800 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20801 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20802 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20803 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20804 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20805 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20806 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20807 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20808 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20809 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20810 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20811 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20812 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20813 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20814 wine_fn_config_makefile dlls/netprofm enable_netprofm
20815 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20816 wine_fn_config_makefile dlls/netutils enable_netutils
20817 wine_fn_config_makefile dlls/newdev enable_newdev
20818 wine_fn_config_makefile dlls/ninput enable_ninput
20819 wine_fn_config_makefile dlls/ninput/tests enable_tests
20820 wine_fn_config_makefile dlls/normaliz enable_normaliz
20821 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20822 wine_fn_config_makefile dlls/npptools enable_npptools
20823 wine_fn_config_makefile dlls/nsi enable_nsi
20824 wine_fn_config_makefile dlls/ntdll enable_ntdll
20825 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20826 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20827 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20828 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20829 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20830 wine_fn_config_makefile dlls/ntprint enable_ntprint
20831 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20832 wine_fn_config_makefile dlls/objsel enable_objsel
20833 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20834 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20835 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20836 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20837 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20838 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20839 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20840 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20841 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20842 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20843 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20844 wine_fn_config_makefile dlls/ole32 enable_ole32
20845 wine_fn_config_makefile dlls/ole32/tests enable_tests
20846 wine_fn_config_makefile dlls/oleacc enable_oleacc
20847 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20848 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20849 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20850 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20851 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20852 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20853 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20854 wine_fn_config_makefile dlls/oledlg enable_oledlg
20855 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20856 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20857 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20858 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20859 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20860 wine_fn_config_makefile dlls/opcservices enable_opcservices
20861 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20862 wine_fn_config_makefile dlls/openal32 enable_openal32
20863 wine_fn_config_makefile dlls/opencl enable_opencl
20864 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20865 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20866 wine_fn_config_makefile dlls/packager enable_packager
20867 wine_fn_config_makefile dlls/packager/tests enable_tests
20868 wine_fn_config_makefile dlls/pdh enable_pdh
20869 wine_fn_config_makefile dlls/pdh/tests enable_tests
20870 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20871 wine_fn_config_makefile dlls/pidgen enable_pidgen
20872 wine_fn_config_makefile dlls/powrprof enable_powrprof
20873 wine_fn_config_makefile dlls/printui enable_printui
20874 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20875 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20876 wine_fn_config_makefile dlls/propsys enable_propsys
20877 wine_fn_config_makefile dlls/propsys/tests enable_tests
20878 wine_fn_config_makefile dlls/psapi enable_psapi
20879 wine_fn_config_makefile dlls/psapi/tests enable_tests
20880 wine_fn_config_makefile dlls/pstorec enable_pstorec
20881 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20882 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20883 wine_fn_config_makefile dlls/qasf enable_qasf
20884 wine_fn_config_makefile dlls/qasf/tests enable_tests
20885 wine_fn_config_makefile dlls/qcap enable_qcap
20886 wine_fn_config_makefile dlls/qcap/tests enable_tests
20887 wine_fn_config_makefile dlls/qdvd enable_qdvd
20888 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20889 wine_fn_config_makefile dlls/qedit enable_qedit
20890 wine_fn_config_makefile dlls/qedit/tests enable_tests
20891 wine_fn_config_makefile dlls/qmgr enable_qmgr
20892 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20893 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20894 wine_fn_config_makefile dlls/quartz enable_quartz
20895 wine_fn_config_makefile dlls/quartz/tests enable_tests
20896 wine_fn_config_makefile dlls/query enable_query
20897 wine_fn_config_makefile dlls/qwave enable_qwave
20898 wine_fn_config_makefile dlls/qwave/tests enable_tests
20899 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20900 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20901 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20902 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20903 wine_fn_config_makefile dlls/regapi enable_regapi
20904 wine_fn_config_makefile dlls/resutils enable_resutils
20905 wine_fn_config_makefile dlls/riched20 enable_riched20
20906 wine_fn_config_makefile dlls/riched20/tests enable_tests
20907 wine_fn_config_makefile dlls/riched32 enable_riched32
20908 wine_fn_config_makefile dlls/riched32/tests enable_tests
20909 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20910 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20911 wine_fn_config_makefile dlls/rsabase enable_rsabase
20912 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20913 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20914 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20915 wine_fn_config_makefile dlls/rtutils enable_rtutils
20916 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20917 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20918 wine_fn_config_makefile dlls/samlib enable_samlib
20919 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20920 wine_fn_config_makefile dlls/sapi enable_sapi
20921 wine_fn_config_makefile dlls/sapi/tests enable_tests
20922 wine_fn_config_makefile dlls/sas enable_sas
20923 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20924 wine_fn_config_makefile dlls/sccbase enable_sccbase
20925 wine_fn_config_makefile dlls/schannel enable_schannel
20926 wine_fn_config_makefile dlls/schannel/tests enable_tests
20927 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20928 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20929 wine_fn_config_makefile dlls/scrobj enable_scrobj
20930 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20931 wine_fn_config_makefile dlls/scrrun enable_scrrun
20932 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20933 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20934 wine_fn_config_makefile dlls/sechost enable_sechost
20935 wine_fn_config_makefile dlls/secur32 enable_secur32
20936 wine_fn_config_makefile dlls/secur32/tests enable_tests
20937 wine_fn_config_makefile dlls/security enable_security
20938 wine_fn_config_makefile dlls/sensapi enable_sensapi
20939 wine_fn_config_makefile dlls/serialui enable_serialui
20940 wine_fn_config_makefile dlls/serialui/tests enable_tests
20941 wine_fn_config_makefile dlls/setupapi enable_setupapi
20942 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20943 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20944 wine_fn_config_makefile dlls/sfc enable_sfc
20945 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20946 wine_fn_config_makefile dlls/shcore enable_shcore
20947 wine_fn_config_makefile dlls/shcore/tests enable_tests
20948 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20949 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20950 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20951 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20952 wine_fn_config_makefile dlls/shell32 enable_shell32
20953 wine_fn_config_makefile dlls/shell32/tests enable_tests
20954 wine_fn_config_makefile dlls/shfolder enable_shfolder
20955 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20956 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20957 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20958 wine_fn_config_makefile dlls/slc enable_slc
20959 wine_fn_config_makefile dlls/slc/tests enable_tests
20960 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20961 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20962 wine_fn_config_makefile dlls/softpub enable_softpub
20963 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20964 wine_fn_config_makefile dlls/spoolss enable_spoolss
20965 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20966 wine_fn_config_makefile dlls/sppc enable_sppc
20967 wine_fn_config_makefile dlls/srclient enable_srclient
20968 wine_fn_config_makefile dlls/srvcli enable_srvcli
20969 wine_fn_config_makefile dlls/sspicli enable_sspicli
20970 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20971 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20972 wine_fn_config_makefile dlls/sti enable_sti
20973 wine_fn_config_makefile dlls/sti/tests enable_tests
20974 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20975 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20976 wine_fn_config_makefile dlls/strmbase enable_strmbase
20977 wine_fn_config_makefile dlls/strmdll enable_strmdll
20978 wine_fn_config_makefile dlls/strmiids enable_strmiids
20979 wine_fn_config_makefile dlls/svrapi enable_svrapi
20980 wine_fn_config_makefile dlls/sxs enable_sxs
20981 wine_fn_config_makefile dlls/sxs/tests enable_tests
20982 wine_fn_config_makefile dlls/system.drv16 enable_win16
20983 wine_fn_config_makefile dlls/t2embed enable_t2embed
20984 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20985 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20986 wine_fn_config_makefile dlls/tapi32/tests enable_tests
20987 wine_fn_config_makefile dlls/taskschd enable_taskschd
20988 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20989 wine_fn_config_makefile dlls/tdh enable_tdh
20990 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20991 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20992 wine_fn_config_makefile dlls/traffic enable_traffic
20993 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20994 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20995 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20996 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20997 wine_fn_config_makefile dlls/tzres enable_tzres
20998 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20999 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21000 wine_fn_config_makefile dlls/uianimation enable_uianimation
21001 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21002 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21003 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21004 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21005 wine_fn_config_makefile dlls/unicows enable_unicows
21006 wine_fn_config_makefile dlls/updspapi enable_updspapi
21007 wine_fn_config_makefile dlls/url enable_url
21008 wine_fn_config_makefile dlls/urlmon enable_urlmon
21009 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21010 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21011 wine_fn_config_makefile dlls/user.exe16 enable_win16
21012 wine_fn_config_makefile dlls/user32 enable_user32
21013 wine_fn_config_makefile dlls/user32/tests enable_tests
21014 wine_fn_config_makefile dlls/userenv enable_userenv
21015 wine_fn_config_makefile dlls/userenv/tests enable_tests
21016 wine_fn_config_makefile dlls/usp10 enable_usp10
21017 wine_fn_config_makefile dlls/usp10/tests enable_tests
21018 wine_fn_config_makefile dlls/utildll enable_utildll
21019 wine_fn_config_makefile dlls/uuid enable_uuid
21020 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21021 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21022 wine_fn_config_makefile dlls/vbscript enable_vbscript
21023 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21024 wine_fn_config_makefile dlls/vcomp enable_vcomp
21025 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21026 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21027 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21028 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21029 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21030 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21031 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21032 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21033 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21034 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21035 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21036 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21037 wine_fn_config_makefile dlls/version enable_version
21038 wine_fn_config_makefile dlls/version/tests enable_tests
21039 wine_fn_config_makefile dlls/vga enable_vga
21040 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21041 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21042 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21043 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21044 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21045 wine_fn_config_makefile dlls/vssapi enable_vssapi
21046 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21047 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21048 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21049 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21050 wine_fn_config_makefile dlls/w32skrnl enable_win16
21051 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21052 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21053 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21054 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21055 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21056 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21057 wine_fn_config_makefile dlls/wdscore enable_wdscore
21058 wine_fn_config_makefile dlls/webservices enable_webservices
21059 wine_fn_config_makefile dlls/webservices/tests enable_tests
21060 wine_fn_config_makefile dlls/websocket enable_websocket
21061 wine_fn_config_makefile dlls/wer enable_wer
21062 wine_fn_config_makefile dlls/wer/tests enable_tests
21063 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21064 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21065 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21066 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21067 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21068 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21069 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21070 wine_fn_config_makefile dlls/win32u enable_win32u
21071 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21072 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21073 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21074 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21075 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21076 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21077 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21078 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21079 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21080 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21081 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21082 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21083 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21084 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21085 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21086 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21087 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21088 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21089 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21090 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21091 wine_fn_config_makefile dlls/wined3d enable_wined3d
21092 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21093 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21094 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21095 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21096 wine_fn_config_makefile dlls/winemapi enable_winemapi
21097 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21098 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21099 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21100 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21101 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21102 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21103 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21104 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21105 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21106 wine_fn_config_makefile dlls/wing32 enable_wing32
21107 wine_fn_config_makefile dlls/winhttp enable_winhttp
21108 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21109 wine_fn_config_makefile dlls/wininet enable_wininet
21110 wine_fn_config_makefile dlls/wininet/tests enable_tests
21111 wine_fn_config_makefile dlls/winmm enable_winmm
21112 wine_fn_config_makefile dlls/winmm/tests enable_tests
21113 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21114 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21115 wine_fn_config_makefile dlls/winscard enable_winscard
21116 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21117 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21118 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21119 wine_fn_config_makefile dlls/winsta enable_winsta
21120 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21121 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21122 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21123 wine_fn_config_makefile dlls/wintrust enable_wintrust
21124 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21125 wine_fn_config_makefile dlls/winusb enable_winusb
21126 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21127 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21128 wine_fn_config_makefile dlls/wlanui enable_wlanui
21129 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21130 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21131 wine_fn_config_makefile dlls/wmasf enable_wmasf
21132 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21133 wine_fn_config_makefile dlls/wmi enable_wmi
21134 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21135 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21136 wine_fn_config_makefile dlls/wmp enable_wmp
21137 wine_fn_config_makefile dlls/wmp/tests enable_tests
21138 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21139 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21140 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21141 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21142 wine_fn_config_makefile dlls/wow32 enable_win16
21143 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21144 wine_fn_config_makefile dlls/wpc enable_wpc
21145 wine_fn_config_makefile dlls/wpc/tests enable_tests
21146 wine_fn_config_makefile dlls/wpcap enable_wpcap
21147 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21148 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21149 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21150 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21151 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21152 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21153 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21154 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21155 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21156 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21157 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21158 wine_fn_config_makefile dlls/wuapi enable_wuapi
21159 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21160 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21161 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21162 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21163 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21164 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21165 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21166 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21167 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21168 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21169 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21170 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21171 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21172 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21173 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21174 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21175 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21176 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21177 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21178 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21179 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21180 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21181 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21182 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21183 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21184 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21185 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21186 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21187 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21188 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21189 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21190 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21191 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21192 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21193 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21194 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21195 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21196 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21197 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21198 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21199 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21200 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21201 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21202 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21203 wine_fn_config_makefile dlls/xmllite enable_xmllite
21204 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21205 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21206 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21207 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21208 wine_fn_config_makefile fonts enable_fonts
21209 wine_fn_config_makefile include enable_include
21210 wine_fn_config_makefile libs/port enable_port
21211 wine_fn_config_makefile libs/wine enable_wine
21212 wine_fn_config_makefile libs/wpp enable_wpp
21213 wine_fn_config_makefile loader enable_loader
21214 wine_fn_config_makefile nls enable_nls
21215 wine_fn_config_makefile po enable_po
21216 wine_fn_config_makefile programs/arp enable_arp
21217 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21218 wine_fn_config_makefile programs/attrib enable_attrib
21219 wine_fn_config_makefile programs/cabarc enable_cabarc
21220 wine_fn_config_makefile programs/cacls enable_cacls
21221 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21222 wine_fn_config_makefile programs/clock enable_clock
21223 wine_fn_config_makefile programs/cmd enable_cmd
21224 wine_fn_config_makefile programs/cmd/tests enable_tests
21225 wine_fn_config_makefile programs/conhost enable_conhost
21226 wine_fn_config_makefile programs/conhost/tests enable_tests
21227 wine_fn_config_makefile programs/control enable_control
21228 wine_fn_config_makefile programs/cscript enable_cscript
21229 wine_fn_config_makefile programs/dism enable_dism
21230 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21231 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21232 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21233 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21234 wine_fn_config_makefile programs/eject enable_eject
21235 wine_fn_config_makefile programs/expand enable_expand
21236 wine_fn_config_makefile programs/explorer enable_explorer
21237 wine_fn_config_makefile programs/extrac32 enable_extrac32
21238 wine_fn_config_makefile programs/fc enable_fc
21239 wine_fn_config_makefile programs/find enable_find
21240 wine_fn_config_makefile programs/find/tests enable_tests
21241 wine_fn_config_makefile programs/findstr enable_findstr
21242 wine_fn_config_makefile programs/fsutil enable_fsutil
21243 wine_fn_config_makefile programs/fsutil/tests enable_tests
21244 wine_fn_config_makefile programs/hh enable_hh
21245 wine_fn_config_makefile programs/hostname enable_hostname
21246 wine_fn_config_makefile programs/icacls enable_icacls
21247 wine_fn_config_makefile programs/icinfo enable_icinfo
21248 wine_fn_config_makefile programs/iexplore enable_iexplore
21249 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21250 wine_fn_config_makefile programs/lodctr enable_lodctr
21251 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21252 wine_fn_config_makefile programs/mshta enable_mshta
21253 wine_fn_config_makefile programs/msidb enable_msidb
21254 wine_fn_config_makefile programs/msiexec enable_msiexec
21255 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21256 wine_fn_config_makefile programs/net enable_net
21257 wine_fn_config_makefile programs/netsh enable_netsh
21258 wine_fn_config_makefile programs/netstat enable_netstat
21259 wine_fn_config_makefile programs/ngen enable_ngen
21260 wine_fn_config_makefile programs/notepad enable_notepad
21261 wine_fn_config_makefile programs/oleview enable_oleview
21262 wine_fn_config_makefile programs/ping enable_ping
21263 wine_fn_config_makefile programs/plugplay enable_plugplay
21264 wine_fn_config_makefile programs/powershell enable_powershell
21265 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21266 wine_fn_config_makefile programs/progman enable_progman
21267 wine_fn_config_makefile programs/reg enable_reg
21268 wine_fn_config_makefile programs/reg/tests enable_tests
21269 wine_fn_config_makefile programs/regasm enable_regasm
21270 wine_fn_config_makefile programs/regedit enable_regedit
21271 wine_fn_config_makefile programs/regedit/tests enable_tests
21272 wine_fn_config_makefile programs/regini enable_regini
21273 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21274 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21275 wine_fn_config_makefile programs/rpcss enable_rpcss
21276 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21277 wine_fn_config_makefile programs/rundll32 enable_rundll32
21278 wine_fn_config_makefile programs/sc enable_sc
21279 wine_fn_config_makefile programs/schtasks enable_schtasks
21280 wine_fn_config_makefile programs/schtasks/tests enable_tests
21281 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21282 wine_fn_config_makefile programs/secedit enable_secedit
21283 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21284 wine_fn_config_makefile programs/services enable_services
21285 wine_fn_config_makefile programs/services/tests enable_tests
21286 wine_fn_config_makefile programs/shutdown enable_shutdown
21287 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21288 wine_fn_config_makefile programs/start enable_start
21289 wine_fn_config_makefile programs/subst enable_subst
21290 wine_fn_config_makefile programs/svchost enable_svchost
21291 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21292 wine_fn_config_makefile programs/taskkill enable_taskkill
21293 wine_fn_config_makefile programs/tasklist enable_tasklist
21294 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21295 wine_fn_config_makefile programs/termsv enable_termsv
21296 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21297 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21298 wine_fn_config_makefile programs/view enable_view
21299 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21300 wine_fn_config_makefile programs/where enable_where
21301 wine_fn_config_makefile programs/whoami enable_whoami
21302 wine_fn_config_makefile programs/wineboot enable_wineboot
21303 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21304 wine_fn_config_makefile programs/winecfg enable_winecfg
21305 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21306 wine_fn_config_makefile programs/winedbg enable_winedbg
21307 wine_fn_config_makefile programs/winedevice enable_winedevice
21308 wine_fn_config_makefile programs/winefile enable_winefile
21309 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21310 wine_fn_config_makefile programs/winemine enable_winemine
21311 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21312 wine_fn_config_makefile programs/winepath enable_winepath
21313 wine_fn_config_makefile programs/winetest enable_winetest
21314 wine_fn_config_makefile programs/winevdm enable_win16
21315 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21316 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21317 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21318 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21319 wine_fn_config_makefile programs/winver enable_winver
21320 wine_fn_config_makefile programs/wmic enable_wmic
21321 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21322 wine_fn_config_makefile programs/wordpad enable_wordpad
21323 wine_fn_config_makefile programs/write enable_write
21324 wine_fn_config_makefile programs/wscript enable_wscript
21325 wine_fn_config_makefile programs/wscript/tests enable_tests
21326 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21327 wine_fn_config_makefile programs/wusa enable_wusa
21328 wine_fn_config_makefile programs/xcopy enable_xcopy
21329 wine_fn_config_makefile programs/xcopy/tests enable_tests
21330 wine_fn_config_makefile server enable_server
21331 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21332 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21333 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21334 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21335 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21336 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21337 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21338 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21339 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21342 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21343 wine_fn_append_file CONFIGURE_TARGETS "tags"
21344 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21345 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21346 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21347 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21348 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21349 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21351 if test "x$enable_tools" != xno
21352 then
21353 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21354 ac_config_commands="$ac_config_commands tools/makedep"
21358 ac_config_commands="$ac_config_commands Makefile"
21361 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21365 if test "x$enable_maintainer_mode" = xyes
21366 then
21367 wine_fn_append_rule "configure: configure.ac aclocal.m4
21368 autoconf --warnings=all
21369 include/config.h.in: include/stamp-h.in
21370 include/stamp-h.in: configure.ac aclocal.m4
21371 autoheader --warnings=all
21372 @echo timestamp > \$@"
21375 if test "x$enable_tools" != xno
21376 then
21377 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21378 @./config.status tools/makedep
21379 Makefile: tools/makedep$ac_exeext"
21380 else
21381 wine_fn_append_rule "\$(MAKEDEP):
21382 @echo \"You need to run make in $TOOLSDIR first\" && false"
21385 if test -n "$with_wine64"
21386 then
21387 case "$with_wine64" in
21388 /*) reldir="" ;;
21389 *) reldir="../" ;;
21390 esac
21391 rm -f fonts server 2>/dev/null
21392 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21393 loader/wine64 loader/wine64-preloader:
21394 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21395 $with_wine64/loader/wine:
21396 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21397 $with_wine64/loader/wine-preloader:
21398 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21399 clean::
21400 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21401 else
21402 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21403 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21404 fonts \
21405 loader/wine.inf \
21406 nls \
21407 programs/msidb/msidb \
21408 programs/msiexec/msiexec \
21409 programs/notepad/notepad \
21410 programs/regedit/regedit \
21411 programs/regsvr32/regsvr32 \
21412 programs/wineboot/wineboot \
21413 programs/winecfg/winecfg \
21414 programs/wineconsole/wineconsole \
21415 programs/winedbg/winedbg \
21416 programs/winefile/winefile \
21417 programs/winemine/winemine \
21418 programs/winepath/winepath \
21419 server/wineserver"
21421 case $host_os in
21422 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21423 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21424 esac
21427 $as_echo " done" >&6
21428 cat >confcache <<\_ACEOF
21429 # This file is a shell script that caches the results of configure
21430 # tests run on this system so they can be shared between configure
21431 # scripts and configure runs, see configure's option --config-cache.
21432 # It is not useful on other systems. If it contains results you don't
21433 # want to keep, you may remove or edit it.
21435 # config.status only pays attention to the cache file if you give it
21436 # the --recheck option to rerun configure.
21438 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21439 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21440 # following values.
21442 _ACEOF
21444 # The following way of writing the cache mishandles newlines in values,
21445 # but we know of no workaround that is simple, portable, and efficient.
21446 # So, we kill variables containing newlines.
21447 # Ultrix sh set writes to stderr and can't be redirected directly,
21448 # and sets the high bit in the cache file unless we assign to the vars.
21450 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21451 eval ac_val=\$$ac_var
21452 case $ac_val in #(
21453 *${as_nl}*)
21454 case $ac_var in #(
21455 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21456 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21457 esac
21458 case $ac_var in #(
21459 _ | IFS | as_nl) ;; #(
21460 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21461 *) { eval $ac_var=; unset $ac_var;} ;;
21462 esac ;;
21463 esac
21464 done
21466 (set) 2>&1 |
21467 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21468 *${as_nl}ac_space=\ *)
21469 # `set' does not quote correctly, so add quotes: double-quote
21470 # substitution turns \\\\ into \\, and sed turns \\ into \.
21471 sed -n \
21472 "s/'/'\\\\''/g;
21473 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21474 ;; #(
21476 # `set' quotes correctly as required by POSIX, so do not add quotes.
21477 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21479 esac |
21480 sort
21482 sed '
21483 /^ac_cv_env_/b end
21484 t clear
21485 :clear
21486 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21487 t end
21488 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21489 :end' >>confcache
21490 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21491 if test -w "$cache_file"; then
21492 if test "x$cache_file" != "x/dev/null"; then
21493 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21494 $as_echo "$as_me: updating cache $cache_file" >&6;}
21495 if test ! -f "$cache_file" || test -h "$cache_file"; then
21496 cat confcache >"$cache_file"
21497 else
21498 case $cache_file in #(
21499 */* | ?:*)
21500 mv -f confcache "$cache_file"$$ &&
21501 mv -f "$cache_file"$$ "$cache_file" ;; #(
21503 mv -f confcache "$cache_file" ;;
21504 esac
21507 else
21508 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21509 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21512 rm -f confcache
21514 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21515 # Let make expand exec_prefix.
21516 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21518 DEFS=-DHAVE_CONFIG_H
21520 ac_libobjs=
21521 ac_ltlibobjs=
21523 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21524 # 1. Remove the extension, and $U if already installed.
21525 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21526 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21527 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21528 # will be set to the directory where LIBOBJS objects are built.
21529 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21530 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21531 done
21532 LIBOBJS=$ac_libobjs
21534 LTLIBOBJS=$ac_ltlibobjs
21538 : "${CONFIG_STATUS=./config.status}"
21539 ac_write_fail=0
21540 ac_clean_files_save=$ac_clean_files
21541 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21542 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21543 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21544 as_write_fail=0
21545 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21546 #! $SHELL
21547 # Generated by $as_me.
21548 # Run this file to recreate the current configuration.
21549 # Compiler output produced by configure, useful for debugging
21550 # configure, is in config.log if it exists.
21552 debug=false
21553 ac_cs_recheck=false
21554 ac_cs_silent=false
21556 SHELL=\${CONFIG_SHELL-$SHELL}
21557 export SHELL
21558 _ASEOF
21559 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21560 ## -------------------- ##
21561 ## M4sh Initialization. ##
21562 ## -------------------- ##
21564 # Be more Bourne compatible
21565 DUALCASE=1; export DUALCASE # for MKS sh
21566 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21567 emulate sh
21568 NULLCMD=:
21569 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21570 # is contrary to our usage. Disable this feature.
21571 alias -g '${1+"$@"}'='"$@"'
21572 setopt NO_GLOB_SUBST
21573 else
21574 case `(set -o) 2>/dev/null` in #(
21575 *posix*) :
21576 set -o posix ;; #(
21577 *) :
21579 esac
21583 as_nl='
21585 export as_nl
21586 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21587 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21588 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21589 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21590 # Prefer a ksh shell builtin over an external printf program on Solaris,
21591 # but without wasting forks for bash or zsh.
21592 if test -z "$BASH_VERSION$ZSH_VERSION" \
21593 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21594 as_echo='print -r --'
21595 as_echo_n='print -rn --'
21596 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21597 as_echo='printf %s\n'
21598 as_echo_n='printf %s'
21599 else
21600 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21601 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21602 as_echo_n='/usr/ucb/echo -n'
21603 else
21604 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21605 as_echo_n_body='eval
21606 arg=$1;
21607 case $arg in #(
21608 *"$as_nl"*)
21609 expr "X$arg" : "X\\(.*\\)$as_nl";
21610 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21611 esac;
21612 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21614 export as_echo_n_body
21615 as_echo_n='sh -c $as_echo_n_body as_echo'
21617 export as_echo_body
21618 as_echo='sh -c $as_echo_body as_echo'
21621 # The user is always right.
21622 if test "${PATH_SEPARATOR+set}" != set; then
21623 PATH_SEPARATOR=:
21624 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21625 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21626 PATH_SEPARATOR=';'
21631 # IFS
21632 # We need space, tab and new line, in precisely that order. Quoting is
21633 # there to prevent editors from complaining about space-tab.
21634 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21635 # splitting by setting IFS to empty value.)
21636 IFS=" "" $as_nl"
21638 # Find who we are. Look in the path if we contain no directory separator.
21639 as_myself=
21640 case $0 in #((
21641 *[\\/]* ) as_myself=$0 ;;
21642 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21643 for as_dir in $PATH
21645 IFS=$as_save_IFS
21646 test -z "$as_dir" && as_dir=.
21647 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21648 done
21649 IFS=$as_save_IFS
21652 esac
21653 # We did not find ourselves, most probably we were run as `sh COMMAND'
21654 # in which case we are not to be found in the path.
21655 if test "x$as_myself" = x; then
21656 as_myself=$0
21658 if test ! -f "$as_myself"; then
21659 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21660 exit 1
21663 # Unset variables that we do not need and which cause bugs (e.g. in
21664 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21665 # suppresses any "Segmentation fault" message there. '((' could
21666 # trigger a bug in pdksh 5.2.14.
21667 for as_var in BASH_ENV ENV MAIL MAILPATH
21668 do eval test x\${$as_var+set} = xset \
21669 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21670 done
21671 PS1='$ '
21672 PS2='> '
21673 PS4='+ '
21675 # NLS nuisances.
21676 LC_ALL=C
21677 export LC_ALL
21678 LANGUAGE=C
21679 export LANGUAGE
21681 # CDPATH.
21682 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21685 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21686 # ----------------------------------------
21687 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21688 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21689 # script with STATUS, using 1 if that was 0.
21690 as_fn_error ()
21692 as_status=$1; test $as_status -eq 0 && as_status=1
21693 if test "$4"; then
21694 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21695 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21697 $as_echo "$as_me: error: $2" >&2
21698 as_fn_exit $as_status
21699 } # as_fn_error
21702 # as_fn_set_status STATUS
21703 # -----------------------
21704 # Set $? to STATUS, without forking.
21705 as_fn_set_status ()
21707 return $1
21708 } # as_fn_set_status
21710 # as_fn_exit STATUS
21711 # -----------------
21712 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21713 as_fn_exit ()
21715 set +e
21716 as_fn_set_status $1
21717 exit $1
21718 } # as_fn_exit
21720 # as_fn_unset VAR
21721 # ---------------
21722 # Portably unset VAR.
21723 as_fn_unset ()
21725 { eval $1=; unset $1;}
21727 as_unset=as_fn_unset
21728 # as_fn_append VAR VALUE
21729 # ----------------------
21730 # Append the text in VALUE to the end of the definition contained in VAR. Take
21731 # advantage of any shell optimizations that allow amortized linear growth over
21732 # repeated appends, instead of the typical quadratic growth present in naive
21733 # implementations.
21734 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21735 eval 'as_fn_append ()
21737 eval $1+=\$2
21739 else
21740 as_fn_append ()
21742 eval $1=\$$1\$2
21744 fi # as_fn_append
21746 # as_fn_arith ARG...
21747 # ------------------
21748 # Perform arithmetic evaluation on the ARGs, and store the result in the
21749 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21750 # must be portable across $(()) and expr.
21751 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21752 eval 'as_fn_arith ()
21754 as_val=$(( $* ))
21756 else
21757 as_fn_arith ()
21759 as_val=`expr "$@" || test $? -eq 1`
21761 fi # as_fn_arith
21764 if expr a : '\(a\)' >/dev/null 2>&1 &&
21765 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21766 as_expr=expr
21767 else
21768 as_expr=false
21771 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21772 as_basename=basename
21773 else
21774 as_basename=false
21777 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21778 as_dirname=dirname
21779 else
21780 as_dirname=false
21783 as_me=`$as_basename -- "$0" ||
21784 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21785 X"$0" : 'X\(//\)$' \| \
21786 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21787 $as_echo X/"$0" |
21788 sed '/^.*\/\([^/][^/]*\)\/*$/{
21789 s//\1/
21792 /^X\/\(\/\/\)$/{
21793 s//\1/
21796 /^X\/\(\/\).*/{
21797 s//\1/
21800 s/.*/./; q'`
21802 # Avoid depending upon Character Ranges.
21803 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21804 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21805 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21806 as_cr_digits='0123456789'
21807 as_cr_alnum=$as_cr_Letters$as_cr_digits
21809 ECHO_C= ECHO_N= ECHO_T=
21810 case `echo -n x` in #(((((
21811 -n*)
21812 case `echo 'xy\c'` in
21813 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21814 xy) ECHO_C='\c';;
21815 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21816 ECHO_T=' ';;
21817 esac;;
21819 ECHO_N='-n';;
21820 esac
21822 rm -f conf$$ conf$$.exe conf$$.file
21823 if test -d conf$$.dir; then
21824 rm -f conf$$.dir/conf$$.file
21825 else
21826 rm -f conf$$.dir
21827 mkdir conf$$.dir 2>/dev/null
21829 if (echo >conf$$.file) 2>/dev/null; then
21830 if ln -s conf$$.file conf$$ 2>/dev/null; then
21831 as_ln_s='ln -s'
21832 # ... but there are two gotchas:
21833 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21834 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21835 # In both cases, we have to default to `cp -pR'.
21836 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21837 as_ln_s='cp -pR'
21838 elif ln conf$$.file conf$$ 2>/dev/null; then
21839 as_ln_s=ln
21840 else
21841 as_ln_s='cp -pR'
21843 else
21844 as_ln_s='cp -pR'
21846 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21847 rmdir conf$$.dir 2>/dev/null
21850 # as_fn_mkdir_p
21851 # -------------
21852 # Create "$as_dir" as a directory, including parents if necessary.
21853 as_fn_mkdir_p ()
21856 case $as_dir in #(
21857 -*) as_dir=./$as_dir;;
21858 esac
21859 test -d "$as_dir" || eval $as_mkdir_p || {
21860 as_dirs=
21861 while :; do
21862 case $as_dir in #(
21863 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21864 *) as_qdir=$as_dir;;
21865 esac
21866 as_dirs="'$as_qdir' $as_dirs"
21867 as_dir=`$as_dirname -- "$as_dir" ||
21868 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21869 X"$as_dir" : 'X\(//\)[^/]' \| \
21870 X"$as_dir" : 'X\(//\)$' \| \
21871 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21872 $as_echo X"$as_dir" |
21873 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21874 s//\1/
21877 /^X\(\/\/\)[^/].*/{
21878 s//\1/
21881 /^X\(\/\/\)$/{
21882 s//\1/
21885 /^X\(\/\).*/{
21886 s//\1/
21889 s/.*/./; q'`
21890 test -d "$as_dir" && break
21891 done
21892 test -z "$as_dirs" || eval "mkdir $as_dirs"
21893 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21896 } # as_fn_mkdir_p
21897 if mkdir -p . 2>/dev/null; then
21898 as_mkdir_p='mkdir -p "$as_dir"'
21899 else
21900 test -d ./-p && rmdir ./-p
21901 as_mkdir_p=false
21905 # as_fn_executable_p FILE
21906 # -----------------------
21907 # Test if FILE is an executable regular file.
21908 as_fn_executable_p ()
21910 test -f "$1" && test -x "$1"
21911 } # as_fn_executable_p
21912 as_test_x='test -x'
21913 as_executable_p=as_fn_executable_p
21915 # Sed expression to map a string onto a valid CPP name.
21916 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21918 # Sed expression to map a string onto a valid variable name.
21919 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21922 exec 6>&1
21923 ## ----------------------------------- ##
21924 ## Main body of $CONFIG_STATUS script. ##
21925 ## ----------------------------------- ##
21926 _ASEOF
21927 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21929 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21930 # Save the log message, to keep $0 and so on meaningful, and to
21931 # report actual input values of CONFIG_FILES etc. instead of their
21932 # values after options handling.
21933 ac_log="
21934 This file was extended by Wine $as_me 6.11, which was
21935 generated by GNU Autoconf 2.69. Invocation command line was
21937 CONFIG_FILES = $CONFIG_FILES
21938 CONFIG_HEADERS = $CONFIG_HEADERS
21939 CONFIG_LINKS = $CONFIG_LINKS
21940 CONFIG_COMMANDS = $CONFIG_COMMANDS
21941 $ $0 $@
21943 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21946 _ACEOF
21948 case $ac_config_files in *"
21949 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21950 esac
21952 case $ac_config_headers in *"
21953 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21954 esac
21957 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21958 # Files that config.status was made for.
21959 config_files="$ac_config_files"
21960 config_headers="$ac_config_headers"
21961 config_links="$ac_config_links"
21962 config_commands="$ac_config_commands"
21964 _ACEOF
21966 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21967 ac_cs_usage="\
21968 \`$as_me' instantiates files and other configuration actions
21969 from templates according to the current configuration. Unless the files
21970 and actions are specified as TAGs, all are instantiated by default.
21972 Usage: $0 [OPTION]... [TAG]...
21974 -h, --help print this help, then exit
21975 -V, --version print version number and configuration settings, then exit
21976 --config print configuration, then exit
21977 -q, --quiet, --silent
21978 do not print progress messages
21979 -d, --debug don't remove temporary files
21980 --recheck update $as_me by reconfiguring in the same conditions
21981 --file=FILE[:TEMPLATE]
21982 instantiate the configuration file FILE
21983 --header=FILE[:TEMPLATE]
21984 instantiate the configuration header FILE
21986 Configuration files:
21987 $config_files
21989 Configuration headers:
21990 $config_headers
21992 Configuration links:
21993 $config_links
21995 Configuration commands:
21996 $config_commands
21998 Report bugs to <wine-devel@winehq.org>.
21999 Wine home page: <https://www.winehq.org>."
22001 _ACEOF
22002 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22003 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22004 ac_cs_version="\\
22005 Wine config.status 6.11
22006 configured by $0, generated by GNU Autoconf 2.69,
22007 with options \\"\$ac_cs_config\\"
22009 Copyright (C) 2012 Free Software Foundation, Inc.
22010 This config.status script is free software; the Free Software Foundation
22011 gives unlimited permission to copy, distribute and modify it."
22013 ac_pwd='$ac_pwd'
22014 srcdir='$srcdir'
22015 test -n "\$AWK" || AWK=awk
22016 _ACEOF
22018 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22019 # The default lists apply if the user does not specify any file.
22020 ac_need_defaults=:
22021 while test $# != 0
22023 case $1 in
22024 --*=?*)
22025 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22026 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22027 ac_shift=:
22029 --*=)
22030 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22031 ac_optarg=
22032 ac_shift=:
22035 ac_option=$1
22036 ac_optarg=$2
22037 ac_shift=shift
22039 esac
22041 case $ac_option in
22042 # Handling of the options.
22043 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22044 ac_cs_recheck=: ;;
22045 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22046 $as_echo "$ac_cs_version"; exit ;;
22047 --config | --confi | --conf | --con | --co | --c )
22048 $as_echo "$ac_cs_config"; exit ;;
22049 --debug | --debu | --deb | --de | --d | -d )
22050 debug=: ;;
22051 --file | --fil | --fi | --f )
22052 $ac_shift
22053 case $ac_optarg in
22054 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22055 '') as_fn_error $? "missing file argument" ;;
22056 esac
22057 as_fn_append CONFIG_FILES " '$ac_optarg'"
22058 ac_need_defaults=false;;
22059 --header | --heade | --head | --hea )
22060 $ac_shift
22061 case $ac_optarg in
22062 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22063 esac
22064 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22065 ac_need_defaults=false;;
22066 --he | --h)
22067 # Conflict between --help and --header
22068 as_fn_error $? "ambiguous option: \`$1'
22069 Try \`$0 --help' for more information.";;
22070 --help | --hel | -h )
22071 $as_echo "$ac_cs_usage"; exit ;;
22072 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22073 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22074 ac_cs_silent=: ;;
22076 # This is an error.
22077 -*) as_fn_error $? "unrecognized option: \`$1'
22078 Try \`$0 --help' for more information." ;;
22080 *) as_fn_append ac_config_targets " $1"
22081 ac_need_defaults=false ;;
22083 esac
22084 shift
22085 done
22087 ac_configure_extra_args=
22089 if $ac_cs_silent; then
22090 exec 6>/dev/null
22091 ac_configure_extra_args="$ac_configure_extra_args --silent"
22094 _ACEOF
22095 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22096 if \$ac_cs_recheck; then
22097 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22098 shift
22099 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22100 CONFIG_SHELL='$SHELL'
22101 export CONFIG_SHELL
22102 exec "\$@"
22105 _ACEOF
22106 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22107 exec 5>>config.log
22109 echo
22110 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22111 ## Running $as_me. ##
22112 _ASBOX
22113 $as_echo "$ac_log"
22114 } >&5
22116 _ACEOF
22117 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22119 # INIT-COMMANDS
22121 wine_fn_output_makedep ()
22123 as_dir=tools; as_fn_mkdir_p
22124 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22126 wine_fn_output_makefile ()
22128 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep"$makedep_flags && return
22129 `cat $wine_rules_file`
22130 _WINE_EOF
22131 as_fn_error $? "could not create Makefile" "$LINENO" 5
22134 _ACEOF
22136 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22138 # Handling of arguments.
22139 for ac_config_target in $ac_config_targets
22141 case $ac_config_target in
22142 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22143 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22144 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22145 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22146 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22147 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22148 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22150 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22151 esac
22152 done
22155 # If the user did not use the arguments to specify the items to instantiate,
22156 # then the envvar interface is used. Set only those that are not.
22157 # We use the long form for the default assignment because of an extremely
22158 # bizarre bug on SunOS 4.1.3.
22159 if $ac_need_defaults; then
22160 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22161 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22162 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22163 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22166 # Have a temporary directory for convenience. Make it in the build tree
22167 # simply because there is no reason against having it here, and in addition,
22168 # creating and moving files from /tmp can sometimes cause problems.
22169 # Hook for its removal unless debugging.
22170 # Note that there is a small window in which the directory will not be cleaned:
22171 # after its creation but before its name has been assigned to `$tmp'.
22172 $debug ||
22174 tmp= ac_tmp=
22175 trap 'exit_status=$?
22176 : "${ac_tmp:=$tmp}"
22177 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22179 trap 'as_fn_exit 1' 1 2 13 15
22181 # Create a (secure) tmp directory for tmp files.
22184 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22185 test -d "$tmp"
22186 } ||
22188 tmp=./conf$$-$RANDOM
22189 (umask 077 && mkdir "$tmp")
22190 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22191 ac_tmp=$tmp
22193 # Set up the scripts for CONFIG_FILES section.
22194 # No need to generate them if there are no CONFIG_FILES.
22195 # This happens for instance with `./config.status config.h'.
22196 if test -n "$CONFIG_FILES"; then
22199 ac_cr=`echo X | tr X '\015'`
22200 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22201 # But we know of no other shell where ac_cr would be empty at this
22202 # point, so we can use a bashism as a fallback.
22203 if test "x$ac_cr" = x; then
22204 eval ac_cr=\$\'\\r\'
22206 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22207 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22208 ac_cs_awk_cr='\\r'
22209 else
22210 ac_cs_awk_cr=$ac_cr
22213 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22214 _ACEOF
22218 echo "cat >conf$$subs.awk <<_ACEOF" &&
22219 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22220 echo "_ACEOF"
22221 } >conf$$subs.sh ||
22222 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22223 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22224 ac_delim='%!_!# '
22225 for ac_last_try in false false false false false :; do
22226 . ./conf$$subs.sh ||
22227 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22229 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22230 if test $ac_delim_n = $ac_delim_num; then
22231 break
22232 elif $ac_last_try; then
22233 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22234 else
22235 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22237 done
22238 rm -f conf$$subs.sh
22240 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22241 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22242 _ACEOF
22243 sed -n '
22245 s/^/S["/; s/!.*/"]=/
22248 s/^[^!]*!//
22249 :repl
22250 t repl
22251 s/'"$ac_delim"'$//
22252 t delim
22255 s/\(.\{148\}\)..*/\1/
22256 t more1
22257 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22260 b repl
22261 :more1
22262 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22265 s/.\{148\}//
22266 t nl
22267 :delim
22269 s/\(.\{148\}\)..*/\1/
22270 t more2
22271 s/["\\]/\\&/g; s/^/"/; s/$/"/
22274 :more2
22275 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22278 s/.\{148\}//
22279 t delim
22280 ' <conf$$subs.awk | sed '
22281 /^[^""]/{
22283 s/\n//
22285 ' >>$CONFIG_STATUS || ac_write_fail=1
22286 rm -f conf$$subs.awk
22287 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22288 _ACAWK
22289 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22290 for (key in S) S_is_set[key] = 1
22291 FS = "\a"
22295 line = $ 0
22296 nfields = split(line, field, "@")
22297 substed = 0
22298 len = length(field[1])
22299 for (i = 2; i < nfields; i++) {
22300 key = field[i]
22301 keylen = length(key)
22302 if (S_is_set[key]) {
22303 value = S[key]
22304 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22305 len += length(value) + length(field[++i])
22306 substed = 1
22307 } else
22308 len += 1 + keylen
22311 print line
22314 _ACAWK
22315 _ACEOF
22316 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22317 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22318 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22319 else
22321 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22322 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22323 _ACEOF
22325 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22326 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22327 # trailing colons and then remove the whole line if VPATH becomes empty
22328 # (actually we leave an empty line to preserve line numbers).
22329 if test "x$srcdir" = x.; then
22330 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22332 s///
22333 s/^/:/
22334 s/[ ]*$/:/
22335 s/:\$(srcdir):/:/g
22336 s/:\${srcdir}:/:/g
22337 s/:@srcdir@:/:/g
22338 s/^:*//
22339 s/:*$//
22341 s/\(=[ ]*\).*/\1/
22343 s/\n//
22344 s/^[^=]*=[ ]*$//
22348 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22349 fi # test -n "$CONFIG_FILES"
22351 # Set up the scripts for CONFIG_HEADERS section.
22352 # No need to generate them if there are no CONFIG_HEADERS.
22353 # This happens for instance with `./config.status Makefile'.
22354 if test -n "$CONFIG_HEADERS"; then
22355 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22356 BEGIN {
22357 _ACEOF
22359 # Transform confdefs.h into an awk script `defines.awk', embedded as
22360 # here-document in config.status, that substitutes the proper values into
22361 # config.h.in to produce config.h.
22363 # Create a delimiter string that does not exist in confdefs.h, to ease
22364 # handling of long lines.
22365 ac_delim='%!_!# '
22366 for ac_last_try in false false :; do
22367 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22368 if test -z "$ac_tt"; then
22369 break
22370 elif $ac_last_try; then
22371 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22372 else
22373 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22375 done
22377 # For the awk script, D is an array of macro values keyed by name,
22378 # likewise P contains macro parameters if any. Preserve backslash
22379 # newline sequences.
22381 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22382 sed -n '
22383 s/.\{148\}/&'"$ac_delim"'/g
22384 t rset
22385 :rset
22386 s/^[ ]*#[ ]*define[ ][ ]*/ /
22387 t def
22389 :def
22390 s/\\$//
22391 t bsnl
22392 s/["\\]/\\&/g
22393 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22394 D["\1"]=" \3"/p
22395 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22397 :bsnl
22398 s/["\\]/\\&/g
22399 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22400 D["\1"]=" \3\\\\\\n"\\/p
22401 t cont
22402 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22403 t cont
22405 :cont
22407 s/.\{148\}/&'"$ac_delim"'/g
22408 t clear
22409 :clear
22410 s/\\$//
22411 t bsnlc
22412 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22414 :bsnlc
22415 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22416 b cont
22417 ' <confdefs.h | sed '
22418 s/'"$ac_delim"'/"\\\
22419 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22421 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22422 for (key in D) D_is_set[key] = 1
22423 FS = "\a"
22425 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22426 line = \$ 0
22427 split(line, arg, " ")
22428 if (arg[1] == "#") {
22429 defundef = arg[2]
22430 mac1 = arg[3]
22431 } else {
22432 defundef = substr(arg[1], 2)
22433 mac1 = arg[2]
22435 split(mac1, mac2, "(") #)
22436 macro = mac2[1]
22437 prefix = substr(line, 1, index(line, defundef) - 1)
22438 if (D_is_set[macro]) {
22439 # Preserve the white space surrounding the "#".
22440 print prefix "define", macro P[macro] D[macro]
22441 next
22442 } else {
22443 # Replace #undef with comments. This is necessary, for example,
22444 # in the case of _POSIX_SOURCE, which is predefined and required
22445 # on some systems where configure will not decide to define it.
22446 if (defundef == "undef") {
22447 print "/*", prefix defundef, macro, "*/"
22448 next
22452 { print }
22453 _ACAWK
22454 _ACEOF
22455 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22456 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22457 fi # test -n "$CONFIG_HEADERS"
22460 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22461 shift
22462 for ac_tag
22464 case $ac_tag in
22465 :[FHLC]) ac_mode=$ac_tag; continue;;
22466 esac
22467 case $ac_mode$ac_tag in
22468 :[FHL]*:*);;
22469 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22470 :[FH]-) ac_tag=-:-;;
22471 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22472 esac
22473 ac_save_IFS=$IFS
22474 IFS=:
22475 set x $ac_tag
22476 IFS=$ac_save_IFS
22477 shift
22478 ac_file=$1
22479 shift
22481 case $ac_mode in
22482 :L) ac_source=$1;;
22483 :[FH])
22484 ac_file_inputs=
22485 for ac_f
22487 case $ac_f in
22488 -) ac_f="$ac_tmp/stdin";;
22489 *) # Look for the file first in the build tree, then in the source tree
22490 # (if the path is not absolute). The absolute path cannot be DOS-style,
22491 # because $ac_f cannot contain `:'.
22492 test -f "$ac_f" ||
22493 case $ac_f in
22494 [\\/$]*) false;;
22495 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22496 esac ||
22497 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22498 esac
22499 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22500 as_fn_append ac_file_inputs " '$ac_f'"
22501 done
22503 # Let's still pretend it is `configure' which instantiates (i.e., don't
22504 # use $as_me), people would be surprised to read:
22505 # /* config.h. Generated by config.status. */
22506 configure_input='Generated from '`
22507 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22508 `' by configure.'
22509 if test x"$ac_file" != x-; then
22510 configure_input="$ac_file. $configure_input"
22511 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22512 $as_echo "$as_me: creating $ac_file" >&6;}
22514 # Neutralize special characters interpreted by sed in replacement strings.
22515 case $configure_input in #(
22516 *\&* | *\|* | *\\* )
22517 ac_sed_conf_input=`$as_echo "$configure_input" |
22518 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22519 *) ac_sed_conf_input=$configure_input;;
22520 esac
22522 case $ac_tag in
22523 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22524 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22525 esac
22527 esac
22529 ac_dir=`$as_dirname -- "$ac_file" ||
22530 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22531 X"$ac_file" : 'X\(//\)[^/]' \| \
22532 X"$ac_file" : 'X\(//\)$' \| \
22533 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22534 $as_echo X"$ac_file" |
22535 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22536 s//\1/
22539 /^X\(\/\/\)[^/].*/{
22540 s//\1/
22543 /^X\(\/\/\)$/{
22544 s//\1/
22547 /^X\(\/\).*/{
22548 s//\1/
22551 s/.*/./; q'`
22552 as_dir="$ac_dir"; as_fn_mkdir_p
22553 ac_builddir=.
22555 case "$ac_dir" in
22556 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22558 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22559 # A ".." for each directory in $ac_dir_suffix.
22560 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22561 case $ac_top_builddir_sub in
22562 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22563 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22564 esac ;;
22565 esac
22566 ac_abs_top_builddir=$ac_pwd
22567 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22568 # for backward compatibility:
22569 ac_top_builddir=$ac_top_build_prefix
22571 case $srcdir in
22572 .) # We are building in place.
22573 ac_srcdir=.
22574 ac_top_srcdir=$ac_top_builddir_sub
22575 ac_abs_top_srcdir=$ac_pwd ;;
22576 [\\/]* | ?:[\\/]* ) # Absolute name.
22577 ac_srcdir=$srcdir$ac_dir_suffix;
22578 ac_top_srcdir=$srcdir
22579 ac_abs_top_srcdir=$srcdir ;;
22580 *) # Relative name.
22581 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22582 ac_top_srcdir=$ac_top_build_prefix$srcdir
22583 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22584 esac
22585 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22588 case $ac_mode in
22591 # CONFIG_FILE
22594 _ACEOF
22596 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22597 # If the template does not know about datarootdir, expand it.
22598 # FIXME: This hack should be removed a few years after 2.60.
22599 ac_datarootdir_hack=; ac_datarootdir_seen=
22600 ac_sed_dataroot='
22601 /datarootdir/ {
22605 /@datadir@/p
22606 /@docdir@/p
22607 /@infodir@/p
22608 /@localedir@/p
22609 /@mandir@/p'
22610 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22611 *datarootdir*) ac_datarootdir_seen=yes;;
22612 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22614 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22615 _ACEOF
22616 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22617 ac_datarootdir_hack='
22618 s&@datadir@&$datadir&g
22619 s&@docdir@&$docdir&g
22620 s&@infodir@&$infodir&g
22621 s&@localedir@&$localedir&g
22622 s&@mandir@&$mandir&g
22623 s&\\\${datarootdir}&$datarootdir&g' ;;
22624 esac
22625 _ACEOF
22627 # Neutralize VPATH when `$srcdir' = `.'.
22628 # Shell code in configure.ac might set extrasub.
22629 # FIXME: do we really want to maintain this feature?
22630 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22631 ac_sed_extra="$ac_vpsub
22632 $extrasub
22633 _ACEOF
22634 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22636 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22637 s|@configure_input@|$ac_sed_conf_input|;t t
22638 s&@top_builddir@&$ac_top_builddir_sub&;t t
22639 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22640 s&@srcdir@&$ac_srcdir&;t t
22641 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22642 s&@top_srcdir@&$ac_top_srcdir&;t t
22643 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22644 s&@builddir@&$ac_builddir&;t t
22645 s&@abs_builddir@&$ac_abs_builddir&;t t
22646 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22647 $ac_datarootdir_hack
22649 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22650 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22652 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22653 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22654 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22655 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22657 which seems to be undefined. Please make sure it is defined" >&5
22658 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22659 which seems to be undefined. Please make sure it is defined" >&2;}
22661 rm -f "$ac_tmp/stdin"
22662 case $ac_file in
22663 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22664 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22665 esac \
22666 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22670 # CONFIG_HEADER
22672 if test x"$ac_file" != x-; then
22674 $as_echo "/* $configure_input */" \
22675 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22676 } >"$ac_tmp/config.h" \
22677 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22678 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22679 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22680 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22681 else
22682 rm -f "$ac_file"
22683 mv "$ac_tmp/config.h" "$ac_file" \
22684 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22686 else
22687 $as_echo "/* $configure_input */" \
22688 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22689 || as_fn_error $? "could not create -" "$LINENO" 5
22694 # CONFIG_LINK
22697 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22699 else
22700 # Prefer the file from the source tree if names are identical.
22701 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22702 ac_source=$srcdir/$ac_source
22705 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22706 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22708 if test ! -r "$ac_source"; then
22709 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22711 rm -f "$ac_file"
22713 # Try a relative symlink, then a hard link, then a copy.
22714 case $ac_source in
22715 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22716 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22717 esac
22718 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22719 ln "$ac_source" "$ac_file" 2>/dev/null ||
22720 cp -p "$ac_source" "$ac_file" ||
22721 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22724 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22725 $as_echo "$as_me: executing $ac_file commands" >&6;}
22727 esac
22730 case $ac_file$ac_mode in
22731 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22732 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22733 "Makefile":C) wine_fn_output_makefile Makefile ;;
22735 esac
22736 done # for ac_tag
22739 as_fn_exit 0
22740 _ACEOF
22741 ac_clean_files=$ac_clean_files_save
22743 test $ac_write_fail = 0 ||
22744 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22747 # configure is writing to config.log, and then calls config.status.
22748 # config.status does its own redirection, appending to config.log.
22749 # Unfortunately, on DOS this fails, as config.log is still kept open
22750 # by configure, so config.status won't be able to write to it; its
22751 # output is simply discarded. So we exec the FD to /dev/null,
22752 # effectively closing config.log, so it can be properly (re)opened and
22753 # appended to by config.status. When coming back to configure, we
22754 # need to make the FD available again.
22755 if test "$no_create" != yes; then
22756 ac_cs_success=:
22757 ac_config_status_args=
22758 test "$silent" = yes &&
22759 ac_config_status_args="$ac_config_status_args --quiet"
22760 exec 5>/dev/null
22761 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22762 exec 5>>config.log
22763 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22764 # would make configure fail if this is the last instruction.
22765 $ac_cs_success || as_fn_exit 1
22767 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22769 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22773 if test "$no_create" = "yes"
22774 then
22775 exit 0
22778 ac_save_IFS="$IFS"
22779 if test "x$wine_notices" != x; then
22780 echo >&6
22781 IFS="|"
22782 for msg in $wine_notices; do
22783 IFS="$ac_save_IFS"
22784 if ${msg:+false} :; then :
22786 else
22787 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22788 $as_echo "$as_me: $msg" >&6;}
22790 done
22792 IFS="|"
22793 for msg in $wine_warnings; do
22794 IFS="$ac_save_IFS"
22795 if ${msg:+false} :; then :
22797 else
22798 echo >&2
22799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22800 $as_echo "$as_me: WARNING: $msg" >&2;}
22802 done
22803 IFS="$ac_save_IFS"
22805 $as_echo "
22806 $as_me: Finished. Do '${ac_make}' to compile Wine.
22807 " >&6