mfmediaengine: Keep "preload" property.
[wine.git] / configure
blobac6a7985cc792b034e17311a8ddcb7c6473024c5
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 5.20.
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='5.20'
584 PACKAGE_STRING='Wine 5.20'
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 JPEG_LIBS
650 JPEG_CFLAGS
651 GSSAPI_LIBS
652 GSSAPI_CFLAGS
653 KRB5_LIBS
654 KRB5_CFLAGS
655 FONTCONFIG_LIBS
656 FONTCONFIG_CFLAGS
657 CUPS_LIBS
658 CUPS_CFLAGS
659 CAPI20_LIBS
660 CAPI20_CFLAGS
661 FAUDIO_LIBS
662 FAUDIO_CFLAGS
663 SDL2_LIBS
664 SDL2_CFLAGS
665 UNWIND_LIBS
666 UNWIND_CFLAGS
667 UDEV_LIBS
668 UDEV_CFLAGS
669 OSS4_LIBS
670 OSS4_CFLAGS
671 ALSA_LIBS
672 GSTREAMER_LIBS
673 GSTREAMER_CFLAGS
674 PULSE_LIBS
675 PULSE_CFLAGS
676 GETTEXTPO_LIBS
677 FREETYPE_LIBS
678 FREETYPE_CFLAGS
679 LCMS2_LIBS
680 LCMS2_CFLAGS
681 RESOLV_LIBS
682 GPHOTO2_PORT_LIBS
683 GPHOTO2_PORT_CFLAGS
684 GPHOTO2_LIBS
685 GPHOTO2_CFLAGS
686 USB_LIBS
687 USB_CFLAGS
688 SANE_LIBS
689 SANE_CFLAGS
690 GNUTLS_LIBS
691 GNUTLS_CFLAGS
692 HAL_LIBS
693 HAL_CFLAGS
694 DBUS_LIBS
695 DBUS_CFLAGS
696 INOTIFY_LIBS
697 INOTIFY_CFLAGS
698 XSLT_LIBS
699 XSLT_CFLAGS
700 XML2_LIBS
701 XML2_CFLAGS
702 PCAP_LIBS
703 X_EXTRA_LIBS
704 X_LIBS
705 X_PRE_LIBS
706 X_CFLAGS
707 XMKMF
708 PTHREAD_LIBS
709 EXCESS_PRECISION_CFLAGS
710 CROSSDEBUG
711 DELAYLOADFLAG
712 CROSSLDFLAGS
713 EXTRACROSSCFLAGS
714 CROSSCFLAGS
715 CROSSCC
716 CROSSTARGET
717 LIBWINE_DEPENDS
718 PRELINK
719 WINELOADER_DEPENDS
720 LIBWINE_LDFLAGS
721 LIBWINE_SHAREDLIB
722 METAL_LIBS
723 CARBON_LIBS
724 QUICKTIME_LIBS
725 OPENCL_LIBS
726 OPENAL_LIBS
727 COREAUDIO_LIBS
728 SECURITY_LIBS
729 DISKARBITRATION_LIBS
730 SYSTEMCONFIGURATION_LIBS
731 APPKIT_LIBS
732 CORESERVICES_LIBS
733 APPLICATIONSERVICES_LIBS
734 FORCEFEEDBACK_LIBS
735 IOKIT_LIBS
736 COREFOUNDATION_LIBS
737 OBJCPP
738 ac_ct_OBJC
739 OBJCFLAGS
740 OBJC
741 DLLTOOL
742 WINELOADER_PROGRAMS
743 CONFIGURE_TARGETS
744 DISABLED_SUBDIRS
745 SUBDIRS
746 READELF
747 OTOOL
749 WINEPRELOADER_LDFLAGS
750 WINELOADER_LDFLAGS
751 TOP_INSTALL_DEV
752 TOP_INSTALL_LIB
753 LDEXECFLAGS
754 LDDLLFLAGS
755 DLLFLAGS
757 OPENGL_LIBS
758 I386_LIBS
759 ICOTOOL
760 CONVERT
761 RSVG
762 FONTFORGE
763 PKG_CONFIG
764 MSGFMT
765 LDCONFIG
766 EGREP
767 GREP
768 LN_S
769 RANLIB
770 STRIP
771 ac_ct_AR
773 BISON
774 FLEX
775 TOOLSDIR
776 TARGETFLAGS
778 CPPBIN
779 ac_ct_CXX
780 CXXFLAGS
782 OBJEXT
783 EXEEXT
784 ac_ct_CC
785 CPPFLAGS
786 LDFLAGS
787 CFLAGS
789 SET_MAKE
790 host_os
791 host_vendor
792 host_cpu
793 host
794 build_os
795 build_vendor
796 build_cpu
797 build
798 target_alias
799 host_alias
800 build_alias
801 LIBS
802 ECHO_T
803 ECHO_N
804 ECHO_C
805 DEFS
806 mandir
807 localedir
808 libdir
809 psdir
810 pdfdir
811 dvidir
812 htmldir
813 infodir
814 docdir
815 oldincludedir
816 includedir
817 runstatedir
818 localstatedir
819 sharedstatedir
820 sysconfdir
821 datadir
822 datarootdir
823 libexecdir
824 sbindir
825 bindir
826 program_transform_name
827 prefix
828 exec_prefix
829 PACKAGE_URL
830 PACKAGE_BUGREPORT
831 PACKAGE_STRING
832 PACKAGE_VERSION
833 PACKAGE_TARNAME
834 PACKAGE_NAME
835 PATH_SEPARATOR
836 SHELL'
837 ac_subst_files=''
838 ac_user_opts='
839 enable_option_checking
840 enable_win16
841 enable_win64
842 enable_tests
843 enable_maintainer_mode
844 enable_werror
845 with_alsa
846 with_capi
847 with_cms
848 with_coreaudio
849 with_cups
850 with_dbus
851 with_faudio
852 with_float_abi
853 with_fontconfig
854 with_freetype
855 with_gettext
856 with_gettextpo
857 with_gphoto
858 with_glu
859 with_gnutls
860 with_gsm
861 with_gssapi
862 with_gstreamer
863 with_hal
864 with_inotify
865 with_jpeg
866 with_krb5
867 with_ldap
868 with_mingw
869 with_mpg123
870 with_netapi
871 with_openal
872 with_opencl
873 with_opengl
874 with_osmesa
875 with_oss
876 with_pcap
877 with_png
878 with_pthread
879 with_pulse
880 with_quicktime
881 with_sane
882 with_sdl
883 with_tiff
884 with_udev
885 with_unwind
886 with_usb
887 with_v4l2
888 with_vkd3d
889 with_vulkan
890 with_xcomposite
891 with_xcursor
892 with_xfixes
893 with_xinerama
894 with_xinput
895 with_xinput2
896 with_xml
897 with_xrandr
898 with_xrender
899 with_xshape
900 with_xshm
901 with_xslt
902 with_xxf86vm
903 with_wine_tools
904 with_wine64
905 enable_largefile
906 with_x
907 enable_acledit
908 enable_aclui
909 enable_activeds_tlb
910 enable_activeds
911 enable_actxprxy
912 enable_adsiid
913 enable_adsldp
914 enable_adsldpc
915 enable_advapi32
916 enable_advpack
917 enable_amsi
918 enable_amstream
919 enable_api_ms_win_appmodel_identity_l1_1_0
920 enable_api_ms_win_appmodel_runtime_l1_1_1
921 enable_api_ms_win_appmodel_runtime_l1_1_2
922 enable_api_ms_win_core_apiquery_l1_1_0
923 enable_api_ms_win_core_appcompat_l1_1_1
924 enable_api_ms_win_core_appinit_l1_1_0
925 enable_api_ms_win_core_atoms_l1_1_0
926 enable_api_ms_win_core_bem_l1_1_0
927 enable_api_ms_win_core_com_l1_1_0
928 enable_api_ms_win_core_com_l1_1_1
929 enable_api_ms_win_core_com_private_l1_1_0
930 enable_api_ms_win_core_comm_l1_1_0
931 enable_api_ms_win_core_console_l1_1_0
932 enable_api_ms_win_core_console_l2_1_0
933 enable_api_ms_win_core_crt_l1_1_0
934 enable_api_ms_win_core_crt_l2_1_0
935 enable_api_ms_win_core_datetime_l1_1_0
936 enable_api_ms_win_core_datetime_l1_1_1
937 enable_api_ms_win_core_debug_l1_1_0
938 enable_api_ms_win_core_debug_l1_1_1
939 enable_api_ms_win_core_delayload_l1_1_0
940 enable_api_ms_win_core_delayload_l1_1_1
941 enable_api_ms_win_core_errorhandling_l1_1_0
942 enable_api_ms_win_core_errorhandling_l1_1_1
943 enable_api_ms_win_core_errorhandling_l1_1_2
944 enable_api_ms_win_core_errorhandling_l1_1_3
945 enable_api_ms_win_core_fibers_l1_1_0
946 enable_api_ms_win_core_fibers_l1_1_1
947 enable_api_ms_win_core_file_ansi_l2_1_0
948 enable_api_ms_win_core_file_fromapp_l1_1_0
949 enable_api_ms_win_core_file_l1_1_0
950 enable_api_ms_win_core_file_l1_2_0
951 enable_api_ms_win_core_file_l1_2_1
952 enable_api_ms_win_core_file_l1_2_2
953 enable_api_ms_win_core_file_l2_1_0
954 enable_api_ms_win_core_file_l2_1_1
955 enable_api_ms_win_core_file_l2_1_2
956 enable_api_ms_win_core_handle_l1_1_0
957 enable_api_ms_win_core_heap_l1_1_0
958 enable_api_ms_win_core_heap_l1_2_0
959 enable_api_ms_win_core_heap_l2_1_0
960 enable_api_ms_win_core_heap_obsolete_l1_1_0
961 enable_api_ms_win_core_interlocked_l1_1_0
962 enable_api_ms_win_core_interlocked_l1_2_0
963 enable_api_ms_win_core_io_l1_1_0
964 enable_api_ms_win_core_io_l1_1_1
965 enable_api_ms_win_core_job_l1_1_0
966 enable_api_ms_win_core_job_l2_1_0
967 enable_api_ms_win_core_kernel32_legacy_l1_1_0
968 enable_api_ms_win_core_kernel32_legacy_l1_1_1
969 enable_api_ms_win_core_kernel32_private_l1_1_1
970 enable_api_ms_win_core_largeinteger_l1_1_0
971 enable_api_ms_win_core_libraryloader_l1_1_0
972 enable_api_ms_win_core_libraryloader_l1_1_1
973 enable_api_ms_win_core_libraryloader_l1_2_0
974 enable_api_ms_win_core_libraryloader_l1_2_1
975 enable_api_ms_win_core_libraryloader_l1_2_2
976 enable_api_ms_win_core_libraryloader_l2_1_0
977 enable_api_ms_win_core_localization_l1_1_0
978 enable_api_ms_win_core_localization_l1_2_0
979 enable_api_ms_win_core_localization_l1_2_1
980 enable_api_ms_win_core_localization_l1_2_2
981 enable_api_ms_win_core_localization_l2_1_0
982 enable_api_ms_win_core_localization_obsolete_l1_1_0
983 enable_api_ms_win_core_localization_obsolete_l1_2_0
984 enable_api_ms_win_core_localization_obsolete_l1_3_0
985 enable_api_ms_win_core_localization_private_l1_1_0
986 enable_api_ms_win_core_localregistry_l1_1_0
987 enable_api_ms_win_core_memory_l1_1_0
988 enable_api_ms_win_core_memory_l1_1_1
989 enable_api_ms_win_core_memory_l1_1_2
990 enable_api_ms_win_core_memory_l1_1_3
991 enable_api_ms_win_core_memory_l1_1_4
992 enable_api_ms_win_core_misc_l1_1_0
993 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
994 enable_api_ms_win_core_namedpipe_l1_1_0
995 enable_api_ms_win_core_namedpipe_l1_2_0
996 enable_api_ms_win_core_namespace_l1_1_0
997 enable_api_ms_win_core_normalization_l1_1_0
998 enable_api_ms_win_core_path_l1_1_0
999 enable_api_ms_win_core_privateprofile_l1_1_1
1000 enable_api_ms_win_core_processenvironment_l1_1_0
1001 enable_api_ms_win_core_processenvironment_l1_2_0
1002 enable_api_ms_win_core_processthreads_l1_1_0
1003 enable_api_ms_win_core_processthreads_l1_1_1
1004 enable_api_ms_win_core_processthreads_l1_1_2
1005 enable_api_ms_win_core_processthreads_l1_1_3
1006 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1007 enable_api_ms_win_core_profile_l1_1_0
1008 enable_api_ms_win_core_psapi_ansi_l1_1_0
1009 enable_api_ms_win_core_psapi_l1_1_0
1010 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1011 enable_api_ms_win_core_quirks_l1_1_0
1012 enable_api_ms_win_core_realtime_l1_1_0
1013 enable_api_ms_win_core_registry_l1_1_0
1014 enable_api_ms_win_core_registry_l2_1_0
1015 enable_api_ms_win_core_registry_l2_2_0
1016 enable_api_ms_win_core_registryuserspecific_l1_1_0
1017 enable_api_ms_win_core_rtlsupport_l1_1_0
1018 enable_api_ms_win_core_rtlsupport_l1_2_0
1019 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1020 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1021 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1022 enable_api_ms_win_core_shutdown_l1_1_0
1023 enable_api_ms_win_core_sidebyside_l1_1_0
1024 enable_api_ms_win_core_string_l1_1_0
1025 enable_api_ms_win_core_string_l2_1_0
1026 enable_api_ms_win_core_string_obsolete_l1_1_0
1027 enable_api_ms_win_core_stringansi_l1_1_0
1028 enable_api_ms_win_core_stringloader_l1_1_1
1029 enable_api_ms_win_core_synch_ansi_l1_1_0
1030 enable_api_ms_win_core_synch_l1_1_0
1031 enable_api_ms_win_core_synch_l1_2_0
1032 enable_api_ms_win_core_synch_l1_2_1
1033 enable_api_ms_win_core_sysinfo_l1_1_0
1034 enable_api_ms_win_core_sysinfo_l1_2_0
1035 enable_api_ms_win_core_sysinfo_l1_2_1
1036 enable_api_ms_win_core_systemtopology_l1_1_0
1037 enable_api_ms_win_core_threadpool_l1_1_0
1038 enable_api_ms_win_core_threadpool_l1_2_0
1039 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1040 enable_api_ms_win_core_threadpool_private_l1_1_0
1041 enable_api_ms_win_core_timezone_l1_1_0
1042 enable_api_ms_win_core_toolhelp_l1_1_0
1043 enable_api_ms_win_core_url_l1_1_0
1044 enable_api_ms_win_core_util_l1_1_0
1045 enable_api_ms_win_core_version_l1_1_0
1046 enable_api_ms_win_core_version_l1_1_1
1047 enable_api_ms_win_core_version_private_l1_1_0
1048 enable_api_ms_win_core_versionansi_l1_1_0
1049 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1050 enable_api_ms_win_core_winrt_error_l1_1_0
1051 enable_api_ms_win_core_winrt_error_l1_1_1
1052 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1053 enable_api_ms_win_core_winrt_l1_1_0
1054 enable_api_ms_win_core_winrt_registration_l1_1_0
1055 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1056 enable_api_ms_win_core_winrt_string_l1_1_0
1057 enable_api_ms_win_core_winrt_string_l1_1_1
1058 enable_api_ms_win_core_wow64_l1_1_0
1059 enable_api_ms_win_core_wow64_l1_1_1
1060 enable_api_ms_win_core_xstate_l1_1_0
1061 enable_api_ms_win_core_xstate_l2_1_0
1062 enable_api_ms_win_crt_conio_l1_1_0
1063 enable_api_ms_win_crt_convert_l1_1_0
1064 enable_api_ms_win_crt_environment_l1_1_0
1065 enable_api_ms_win_crt_filesystem_l1_1_0
1066 enable_api_ms_win_crt_heap_l1_1_0
1067 enable_api_ms_win_crt_locale_l1_1_0
1068 enable_api_ms_win_crt_math_l1_1_0
1069 enable_api_ms_win_crt_multibyte_l1_1_0
1070 enable_api_ms_win_crt_private_l1_1_0
1071 enable_api_ms_win_crt_process_l1_1_0
1072 enable_api_ms_win_crt_runtime_l1_1_0
1073 enable_api_ms_win_crt_stdio_l1_1_0
1074 enable_api_ms_win_crt_string_l1_1_0
1075 enable_api_ms_win_crt_time_l1_1_0
1076 enable_api_ms_win_crt_utility_l1_1_0
1077 enable_api_ms_win_devices_config_l1_1_0
1078 enable_api_ms_win_devices_config_l1_1_1
1079 enable_api_ms_win_devices_query_l1_1_1
1080 enable_api_ms_win_downlevel_advapi32_l1_1_0
1081 enable_api_ms_win_downlevel_advapi32_l2_1_0
1082 enable_api_ms_win_downlevel_kernel32_l2_1_0
1083 enable_api_ms_win_downlevel_normaliz_l1_1_0
1084 enable_api_ms_win_downlevel_ole32_l1_1_0
1085 enable_api_ms_win_downlevel_shell32_l1_1_0
1086 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1087 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1088 enable_api_ms_win_downlevel_user32_l1_1_0
1089 enable_api_ms_win_downlevel_version_l1_1_0
1090 enable_api_ms_win_dx_d3dkmt_l1_1_0
1091 enable_api_ms_win_eventing_classicprovider_l1_1_0
1092 enable_api_ms_win_eventing_consumer_l1_1_0
1093 enable_api_ms_win_eventing_controller_l1_1_0
1094 enable_api_ms_win_eventing_legacy_l1_1_0
1095 enable_api_ms_win_eventing_provider_l1_1_0
1096 enable_api_ms_win_eventlog_legacy_l1_1_0
1097 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1098 enable_api_ms_win_mm_joystick_l1_1_0
1099 enable_api_ms_win_mm_misc_l1_1_1
1100 enable_api_ms_win_mm_mme_l1_1_0
1101 enable_api_ms_win_mm_time_l1_1_0
1102 enable_api_ms_win_ntuser_dc_access_l1_1_0
1103 enable_api_ms_win_ntuser_rectangle_l1_1_0
1104 enable_api_ms_win_ntuser_sysparams_l1_1_0
1105 enable_api_ms_win_perf_legacy_l1_1_0
1106 enable_api_ms_win_power_base_l1_1_0
1107 enable_api_ms_win_power_setting_l1_1_0
1108 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1109 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1110 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1111 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1112 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1113 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1114 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1115 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1116 enable_api_ms_win_security_audit_l1_1_1
1117 enable_api_ms_win_security_base_l1_1_0
1118 enable_api_ms_win_security_base_l1_2_0
1119 enable_api_ms_win_security_base_private_l1_1_1
1120 enable_api_ms_win_security_credentials_l1_1_0
1121 enable_api_ms_win_security_cryptoapi_l1_1_0
1122 enable_api_ms_win_security_grouppolicy_l1_1_0
1123 enable_api_ms_win_security_lsalookup_l1_1_0
1124 enable_api_ms_win_security_lsalookup_l1_1_1
1125 enable_api_ms_win_security_lsalookup_l2_1_0
1126 enable_api_ms_win_security_lsalookup_l2_1_1
1127 enable_api_ms_win_security_lsapolicy_l1_1_0
1128 enable_api_ms_win_security_provider_l1_1_0
1129 enable_api_ms_win_security_sddl_l1_1_0
1130 enable_api_ms_win_security_systemfunctions_l1_1_0
1131 enable_api_ms_win_service_core_l1_1_0
1132 enable_api_ms_win_service_core_l1_1_1
1133 enable_api_ms_win_service_management_l1_1_0
1134 enable_api_ms_win_service_management_l2_1_0
1135 enable_api_ms_win_service_private_l1_1_1
1136 enable_api_ms_win_service_winsvc_l1_1_0
1137 enable_api_ms_win_service_winsvc_l1_2_0
1138 enable_api_ms_win_shcore_obsolete_l1_1_0
1139 enable_api_ms_win_shcore_scaling_l1_1_1
1140 enable_api_ms_win_shcore_stream_l1_1_0
1141 enable_api_ms_win_shcore_thread_l1_1_0
1142 enable_api_ms_win_shell_shellcom_l1_1_0
1143 enable_api_ms_win_shell_shellfolders_l1_1_0
1144 enable_apphelp
1145 enable_appwiz_cpl
1146 enable_atl
1147 enable_atl100
1148 enable_atl110
1149 enable_atl80
1150 enable_atl90
1151 enable_atlthunk
1152 enable_atmlib
1153 enable_authz
1154 enable_avicap32
1155 enable_avifil32
1156 enable_avrt
1157 enable_bcrypt
1158 enable_bluetoothapis
1159 enable_browseui
1160 enable_bthprops_cpl
1161 enable_cabinet
1162 enable_capi2032
1163 enable_cards
1164 enable_cdosys
1165 enable_cfgmgr32
1166 enable_clusapi
1167 enable_combase
1168 enable_comcat
1169 enable_comctl32
1170 enable_comdlg32
1171 enable_compstui
1172 enable_comsvcs
1173 enable_concrt140
1174 enable_connect
1175 enable_credui
1176 enable_crtdll
1177 enable_crypt32
1178 enable_cryptdlg
1179 enable_cryptdll
1180 enable_cryptext
1181 enable_cryptnet
1182 enable_cryptui
1183 enable_ctapi32
1184 enable_ctl3d32
1185 enable_d2d1
1186 enable_d3d10
1187 enable_d3d10_1
1188 enable_d3d10core
1189 enable_d3d11
1190 enable_d3d12
1191 enable_d3d8
1192 enable_d3d8thk
1193 enable_d3d9
1194 enable_d3dcompiler_33
1195 enable_d3dcompiler_34
1196 enable_d3dcompiler_35
1197 enable_d3dcompiler_36
1198 enable_d3dcompiler_37
1199 enable_d3dcompiler_38
1200 enable_d3dcompiler_39
1201 enable_d3dcompiler_40
1202 enable_d3dcompiler_41
1203 enable_d3dcompiler_42
1204 enable_d3dcompiler_43
1205 enable_d3dcompiler_46
1206 enable_d3dcompiler_47
1207 enable_d3dim
1208 enable_d3dim700
1209 enable_d3drm
1210 enable_d3dx10_33
1211 enable_d3dx10_34
1212 enable_d3dx10_35
1213 enable_d3dx10_36
1214 enable_d3dx10_37
1215 enable_d3dx10_38
1216 enable_d3dx10_39
1217 enable_d3dx10_40
1218 enable_d3dx10_41
1219 enable_d3dx10_42
1220 enable_d3dx10_43
1221 enable_d3dx11_42
1222 enable_d3dx11_43
1223 enable_d3dx9_24
1224 enable_d3dx9_25
1225 enable_d3dx9_26
1226 enable_d3dx9_27
1227 enable_d3dx9_28
1228 enable_d3dx9_29
1229 enable_d3dx9_30
1230 enable_d3dx9_31
1231 enable_d3dx9_32
1232 enable_d3dx9_33
1233 enable_d3dx9_34
1234 enable_d3dx9_35
1235 enable_d3dx9_36
1236 enable_d3dx9_37
1237 enable_d3dx9_38
1238 enable_d3dx9_39
1239 enable_d3dx9_40
1240 enable_d3dx9_41
1241 enable_d3dx9_42
1242 enable_d3dx9_43
1243 enable_d3dxof
1244 enable_davclnt
1245 enable_dbgeng
1246 enable_dbghelp
1247 enable_dciman32
1248 enable_ddraw
1249 enable_ddrawex
1250 enable_devenum
1251 enable_dhcpcsvc
1252 enable_dhtmled_ocx
1253 enable_difxapi
1254 enable_dinput
1255 enable_dinput8
1256 enable_directmanipulation
1257 enable_dispex
1258 enable_dmband
1259 enable_dmcompos
1260 enable_dmime
1261 enable_dmloader
1262 enable_dmoguids
1263 enable_dmscript
1264 enable_dmstyle
1265 enable_dmsynth
1266 enable_dmusic
1267 enable_dmusic32
1268 enable_dnsapi
1269 enable_dplay
1270 enable_dplayx
1271 enable_dpnaddr
1272 enable_dpnet
1273 enable_dpnhpast
1274 enable_dpnlobby
1275 enable_dpvoice
1276 enable_dpwsockx
1277 enable_drmclien
1278 enable_dsdmo
1279 enable_dsound
1280 enable_dsquery
1281 enable_dssenh
1282 enable_dsuiext
1283 enable_dswave
1284 enable_dwmapi
1285 enable_dwrite
1286 enable_dx8vb
1287 enable_dxdiagn
1288 enable_dxerr8
1289 enable_dxerr9
1290 enable_dxgi
1291 enable_dxguid
1292 enable_dxva2
1293 enable_esent
1294 enable_evr
1295 enable_explorerframe
1296 enable_ext_ms_win_authz_context_l1_1_0
1297 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1298 enable_ext_ms_win_dwmapi_ext_l1_1_0
1299 enable_ext_ms_win_gdi_dc_create_l1_1_0
1300 enable_ext_ms_win_gdi_dc_create_l1_1_1
1301 enable_ext_ms_win_gdi_dc_l1_2_0
1302 enable_ext_ms_win_gdi_devcaps_l1_1_0
1303 enable_ext_ms_win_gdi_draw_l1_1_0
1304 enable_ext_ms_win_gdi_draw_l1_1_1
1305 enable_ext_ms_win_gdi_font_l1_1_0
1306 enable_ext_ms_win_gdi_font_l1_1_1
1307 enable_ext_ms_win_gdi_render_l1_1_0
1308 enable_ext_ms_win_kernel32_package_current_l1_1_0
1309 enable_ext_ms_win_kernel32_package_l1_1_1
1310 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1311 enable_ext_ms_win_ntuser_draw_l1_1_0
1312 enable_ext_ms_win_ntuser_gui_l1_1_0
1313 enable_ext_ms_win_ntuser_gui_l1_3_0
1314 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1315 enable_ext_ms_win_ntuser_message_l1_1_0
1316 enable_ext_ms_win_ntuser_message_l1_1_1
1317 enable_ext_ms_win_ntuser_misc_l1_1_0
1318 enable_ext_ms_win_ntuser_misc_l1_2_0
1319 enable_ext_ms_win_ntuser_misc_l1_5_1
1320 enable_ext_ms_win_ntuser_mouse_l1_1_0
1321 enable_ext_ms_win_ntuser_private_l1_1_1
1322 enable_ext_ms_win_ntuser_private_l1_3_1
1323 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1324 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1325 enable_ext_ms_win_ntuser_window_l1_1_0
1326 enable_ext_ms_win_ntuser_window_l1_1_1
1327 enable_ext_ms_win_ntuser_window_l1_1_4
1328 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1329 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1330 enable_ext_ms_win_oleacc_l1_1_0
1331 enable_ext_ms_win_ras_rasapi32_l1_1_0
1332 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1333 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1334 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1335 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1336 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1337 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1338 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1339 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1340 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1341 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1342 enable_ext_ms_win_security_credui_l1_1_0
1343 enable_ext_ms_win_security_cryptui_l1_1_0
1344 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1345 enable_ext_ms_win_shell_comdlg32_l1_1_0
1346 enable_ext_ms_win_shell_shell32_l1_2_0
1347 enable_ext_ms_win_uxtheme_themes_l1_1_0
1348 enable_faultrep
1349 enable_feclient
1350 enable_fltlib
1351 enable_fltmgr_sys
1352 enable_fntcache
1353 enable_fontsub
1354 enable_fusion
1355 enable_fwpuclnt
1356 enable_gameux
1357 enable_gdi32
1358 enable_gdiplus
1359 enable_glu32
1360 enable_gphoto2_ds
1361 enable_gpkcsp
1362 enable_hal
1363 enable_hhctrl_ocx
1364 enable_hid
1365 enable_hidclass_sys
1366 enable_hlink
1367 enable_hnetcfg
1368 enable_http_sys
1369 enable_httpapi
1370 enable_iccvid
1371 enable_icmp
1372 enable_ieframe
1373 enable_ieproxy
1374 enable_imaadp32_acm
1375 enable_imagehlp
1376 enable_imm32
1377 enable_inetcomm
1378 enable_inetcpl_cpl
1379 enable_inetmib1
1380 enable_infosoft
1381 enable_initpki
1382 enable_inkobj
1383 enable_inseng
1384 enable_iphlpapi
1385 enable_iprop
1386 enable_irprops_cpl
1387 enable_itircl
1388 enable_itss
1389 enable_joy_cpl
1390 enable_jscript
1391 enable_jsproxy
1392 enable_kerberos
1393 enable_kernel32
1394 enable_kernelbase
1395 enable_ksecdd_sys
1396 enable_ksproxy_ax
1397 enable_ksuser
1398 enable_ktmw32
1399 enable_l3codeca_acm
1400 enable_loadperf
1401 enable_localspl
1402 enable_localui
1403 enable_lz32
1404 enable_mapi32
1405 enable_mapistub
1406 enable_mciavi32
1407 enable_mcicda
1408 enable_mciqtz32
1409 enable_mciseq
1410 enable_mciwave
1411 enable_mf
1412 enable_mf3216
1413 enable_mferror
1414 enable_mfmediaengine
1415 enable_mfplat
1416 enable_mfplay
1417 enable_mfreadwrite
1418 enable_mfuuid
1419 enable_mgmtapi
1420 enable_midimap
1421 enable_mlang
1422 enable_mmcndmgr
1423 enable_mmdevapi
1424 enable_mountmgr_sys
1425 enable_mp3dmod
1426 enable_mpr
1427 enable_mprapi
1428 enable_msacm32_drv
1429 enable_msacm32
1430 enable_msado15
1431 enable_msadp32_acm
1432 enable_msasn1
1433 enable_mscat32
1434 enable_mscms
1435 enable_mscoree
1436 enable_mscorwks
1437 enable_msctf
1438 enable_msctfp
1439 enable_msdaps
1440 enable_msdelta
1441 enable_msdmo
1442 enable_msdrm
1443 enable_msftedit
1444 enable_msg711_acm
1445 enable_msgsm32_acm
1446 enable_mshtml_tlb
1447 enable_mshtml
1448 enable_msi
1449 enable_msident
1450 enable_msimg32
1451 enable_msimsg
1452 enable_msimtf
1453 enable_msisip
1454 enable_msisys_ocx
1455 enable_msls31
1456 enable_msnet32
1457 enable_mspatcha
1458 enable_msports
1459 enable_msrle32
1460 enable_msscript_ocx
1461 enable_mssign32
1462 enable_mssip32
1463 enable_mstask
1464 enable_msvcirt
1465 enable_msvcm80
1466 enable_msvcm90
1467 enable_msvcp100
1468 enable_msvcp110
1469 enable_msvcp120
1470 enable_msvcp120_app
1471 enable_msvcp140
1472 enable_msvcp140_1
1473 enable_msvcp60
1474 enable_msvcp70
1475 enable_msvcp71
1476 enable_msvcp80
1477 enable_msvcp90
1478 enable_msvcr100
1479 enable_msvcr110
1480 enable_msvcr120
1481 enable_msvcr120_app
1482 enable_msvcr70
1483 enable_msvcr71
1484 enable_msvcr80
1485 enable_msvcr90
1486 enable_msvcrt
1487 enable_msvcrt20
1488 enable_msvcrt40
1489 enable_msvcrtd
1490 enable_msvfw32
1491 enable_msvidc32
1492 enable_mswsock
1493 enable_msxml
1494 enable_msxml2
1495 enable_msxml3
1496 enable_msxml4
1497 enable_msxml6
1498 enable_mtxdm
1499 enable_ncrypt
1500 enable_nddeapi
1501 enable_ndis_sys
1502 enable_netapi32
1503 enable_netcfgx
1504 enable_netio_sys
1505 enable_netprofm
1506 enable_newdev
1507 enable_ninput
1508 enable_normaliz
1509 enable_npmshtml
1510 enable_npptools
1511 enable_ntdll
1512 enable_ntdsapi
1513 enable_ntoskrnl_exe
1514 enable_ntprint
1515 enable_objsel
1516 enable_odbc32
1517 enable_odbcbcp
1518 enable_odbccp32
1519 enable_odbccu32
1520 enable_ole32
1521 enable_oleacc
1522 enable_oleaut32
1523 enable_olecli32
1524 enable_oledb32
1525 enable_oledlg
1526 enable_olepro32
1527 enable_olesvr32
1528 enable_olethk32
1529 enable_opcservices
1530 enable_openal32
1531 enable_opencl
1532 enable_opengl32
1533 enable_packager
1534 enable_pdh
1535 enable_photometadatahandler
1536 enable_pidgen
1537 enable_powrprof
1538 enable_printui
1539 enable_prntvpt
1540 enable_propsys
1541 enable_psapi
1542 enable_pstorec
1543 enable_pwrshplugin
1544 enable_qasf
1545 enable_qcap
1546 enable_qdvd
1547 enable_qedit
1548 enable_qmgr
1549 enable_qmgrprxy
1550 enable_quartz
1551 enable_query
1552 enable_qwave
1553 enable_rasapi32
1554 enable_rasdlg
1555 enable_regapi
1556 enable_resutils
1557 enable_riched20
1558 enable_riched32
1559 enable_rpcrt4
1560 enable_rsabase
1561 enable_rsaenh
1562 enable_rstrtmgr
1563 enable_rtutils
1564 enable_rtworkq
1565 enable_samlib
1566 enable_sane_ds
1567 enable_sapi
1568 enable_sas
1569 enable_scarddlg
1570 enable_sccbase
1571 enable_schannel
1572 enable_schedsvc
1573 enable_scrobj
1574 enable_scrrun
1575 enable_scsiport_sys
1576 enable_sechost
1577 enable_secur32
1578 enable_security
1579 enable_sensapi
1580 enable_serialui
1581 enable_setupapi
1582 enable_sfc
1583 enable_sfc_os
1584 enable_shcore
1585 enable_shdoclc
1586 enable_shdocvw
1587 enable_shell32
1588 enable_shfolder
1589 enable_shlwapi
1590 enable_slbcsp
1591 enable_slc
1592 enable_snmpapi
1593 enable_softpub
1594 enable_spoolss
1595 enable_srclient
1596 enable_sspicli
1597 enable_stdole2_tlb
1598 enable_stdole32_tlb
1599 enable_sti
1600 enable_strmbase
1601 enable_strmdll
1602 enable_strmiids
1603 enable_svrapi
1604 enable_sxs
1605 enable_t2embed
1606 enable_tapi32
1607 enable_taskschd
1608 enable_tdh
1609 enable_tdi_sys
1610 enable_traffic
1611 enable_twain_32
1612 enable_tzres
1613 enable_ucrtbase
1614 enable_uianimation
1615 enable_uiautomationcore
1616 enable_uiribbon
1617 enable_unicows
1618 enable_updspapi
1619 enable_url
1620 enable_urlmon
1621 enable_usbd_sys
1622 enable_user32
1623 enable_userenv
1624 enable_usp10
1625 enable_utildll
1626 enable_uuid
1627 enable_uxtheme
1628 enable_vbscript
1629 enable_vcomp
1630 enable_vcomp100
1631 enable_vcomp110
1632 enable_vcomp120
1633 enable_vcomp140
1634 enable_vcomp90
1635 enable_vcruntime140
1636 enable_vcruntime140_1
1637 enable_vdmdbg
1638 enable_version
1639 enable_vga
1640 enable_virtdisk
1641 enable_vssapi
1642 enable_vulkan_1
1643 enable_wbemdisp
1644 enable_wbemprox
1645 enable_wbemuuid
1646 enable_wdscore
1647 enable_webservices
1648 enable_wer
1649 enable_wevtapi
1650 enable_wevtsvc
1651 enable_wiaservc
1652 enable_wimgapi
1653 enable_windowscodecs
1654 enable_windowscodecsext
1655 enable_winealsa_drv
1656 enable_wineandroid_drv
1657 enable_winebus_sys
1658 enable_winecoreaudio_drv
1659 enable_winecrt0
1660 enable_wined3d
1661 enable_winegstreamer
1662 enable_winehid_sys
1663 enable_winejoystick_drv
1664 enable_winemac_drv
1665 enable_winemapi
1666 enable_wineoss_drv
1667 enable_wineps_drv
1668 enable_winepulse_drv
1669 enable_wineqtdecoder
1670 enable_wineusb_sys
1671 enable_winevulkan
1672 enable_winex11_drv
1673 enable_wing32
1674 enable_winhttp
1675 enable_wininet
1676 enable_winmm
1677 enable_winnls32
1678 enable_winscard
1679 enable_winspool_drv
1680 enable_winsta
1681 enable_wintab32
1682 enable_wintrust
1683 enable_winusb
1684 enable_wlanapi
1685 enable_wlanui
1686 enable_wldap32
1687 enable_wmasf
1688 enable_wmcodecdspuuid
1689 enable_wmi
1690 enable_wmiutils
1691 enable_wmp
1692 enable_wmphoto
1693 enable_wmvcore
1694 enable_wnaspi32
1695 enable_wpc
1696 enable_wpcap
1697 enable_ws2_32
1698 enable_wsdapi
1699 enable_wshom_ocx
1700 enable_wsnmp32
1701 enable_wsock32
1702 enable_wtsapi32
1703 enable_wuapi
1704 enable_wuaueng
1705 enable_x3daudio1_0
1706 enable_x3daudio1_1
1707 enable_x3daudio1_2
1708 enable_x3daudio1_3
1709 enable_x3daudio1_4
1710 enable_x3daudio1_5
1711 enable_x3daudio1_6
1712 enable_x3daudio1_7
1713 enable_xactengine3_0
1714 enable_xactengine3_1
1715 enable_xactengine3_2
1716 enable_xactengine3_3
1717 enable_xactengine3_4
1718 enable_xactengine3_5
1719 enable_xactengine3_6
1720 enable_xactengine3_7
1721 enable_xapofx1_1
1722 enable_xapofx1_2
1723 enable_xapofx1_3
1724 enable_xapofx1_4
1725 enable_xapofx1_5
1726 enable_xaudio2_0
1727 enable_xaudio2_1
1728 enable_xaudio2_2
1729 enable_xaudio2_3
1730 enable_xaudio2_4
1731 enable_xaudio2_5
1732 enable_xaudio2_6
1733 enable_xaudio2_7
1734 enable_xaudio2_8
1735 enable_xaudio2_9
1736 enable_xinput1_1
1737 enable_xinput1_2
1738 enable_xinput1_3
1739 enable_xinput1_4
1740 enable_xinput9_1_0
1741 enable_xmllite
1742 enable_xolehlp
1743 enable_xpsprint
1744 enable_xpssvcs
1745 enable_fonts
1746 enable_include
1747 enable_port
1748 enable_wine
1749 enable_wpp
1750 enable_loader
1751 enable_nls
1752 enable_po
1753 enable_arp
1754 enable_aspnet_regiis
1755 enable_attrib
1756 enable_cabarc
1757 enable_cacls
1758 enable_chcp_com
1759 enable_clock
1760 enable_cmd
1761 enable_conhost
1762 enable_control
1763 enable_cscript
1764 enable_dism
1765 enable_dplaysvr
1766 enable_dpnsvr
1767 enable_dpvsetup
1768 enable_dxdiag
1769 enable_eject
1770 enable_expand
1771 enable_explorer
1772 enable_extrac32
1773 enable_fc
1774 enable_find
1775 enable_findstr
1776 enable_fsutil
1777 enable_hh
1778 enable_hostname
1779 enable_icacls
1780 enable_icinfo
1781 enable_iexplore
1782 enable_ipconfig
1783 enable_lodctr
1784 enable_mofcomp
1785 enable_mshta
1786 enable_msidb
1787 enable_msiexec
1788 enable_msinfo32
1789 enable_net
1790 enable_netsh
1791 enable_netstat
1792 enable_ngen
1793 enable_notepad
1794 enable_oleview
1795 enable_ping
1796 enable_plugplay
1797 enable_powershell
1798 enable_presentationfontcache
1799 enable_progman
1800 enable_reg
1801 enable_regasm
1802 enable_regedit
1803 enable_regini
1804 enable_regsvcs
1805 enable_regsvr32
1806 enable_rpcss
1807 enable_rundll32
1808 enable_sc
1809 enable_schtasks
1810 enable_sdbinst
1811 enable_secedit
1812 enable_servicemodelreg
1813 enable_services
1814 enable_shutdown
1815 enable_spoolsv
1816 enable_start
1817 enable_subst
1818 enable_svchost
1819 enable_systeminfo
1820 enable_taskkill
1821 enable_tasklist
1822 enable_taskmgr
1823 enable_termsv
1824 enable_uninstaller
1825 enable_unlodctr
1826 enable_view
1827 enable_wevtutil
1828 enable_where
1829 enable_whoami
1830 enable_wineboot
1831 enable_winebrowser
1832 enable_winecfg
1833 enable_wineconsole
1834 enable_winedbg
1835 enable_winedevice
1836 enable_winefile
1837 enable_winemenubuilder
1838 enable_winemine
1839 enable_winemsibuilder
1840 enable_winepath
1841 enable_winetest
1842 enable_winhlp32
1843 enable_winmgmt
1844 enable_winver
1845 enable_wmic
1846 enable_wmplayer
1847 enable_wordpad
1848 enable_write
1849 enable_wscript
1850 enable_wuauserv
1851 enable_wusa
1852 enable_xcopy
1853 enable_server
1854 enable_tools
1855 enable_sfnt2fon
1856 enable_widl
1857 enable_winebuild
1858 enable_winedump
1859 enable_winegcc
1860 enable_winemaker
1861 enable_wmc
1862 enable_wrc
1864 ac_precious_vars='build_alias
1865 host_alias
1866 target_alias
1868 CFLAGS
1869 LDFLAGS
1870 LIBS
1871 CPPFLAGS
1873 CXXFLAGS
1876 OBJC
1877 OBJCFLAGS
1878 OBJCPP
1879 XMKMF
1880 XML2_CFLAGS
1881 XML2_LIBS
1882 XSLT_CFLAGS
1883 XSLT_LIBS
1884 INOTIFY_CFLAGS
1885 INOTIFY_LIBS
1886 DBUS_CFLAGS
1887 DBUS_LIBS
1888 HAL_CFLAGS
1889 HAL_LIBS
1890 GNUTLS_CFLAGS
1891 GNUTLS_LIBS
1892 SANE_CFLAGS
1893 SANE_LIBS
1894 USB_CFLAGS
1895 USB_LIBS
1896 GPHOTO2_CFLAGS
1897 GPHOTO2_LIBS
1898 GPHOTO2_PORT_CFLAGS
1899 GPHOTO2_PORT_LIBS
1900 LCMS2_CFLAGS
1901 LCMS2_LIBS
1902 FREETYPE_CFLAGS
1903 FREETYPE_LIBS
1904 PULSE_CFLAGS
1905 PULSE_LIBS
1906 GSTREAMER_CFLAGS
1907 GSTREAMER_LIBS
1908 UDEV_CFLAGS
1909 UDEV_LIBS
1910 UNWIND_CFLAGS
1911 UNWIND_LIBS
1912 SDL2_CFLAGS
1913 SDL2_LIBS
1914 FAUDIO_CFLAGS
1915 FAUDIO_LIBS
1916 CAPI20_CFLAGS
1917 CAPI20_LIBS
1918 CUPS_CFLAGS
1919 CUPS_LIBS
1920 FONTCONFIG_CFLAGS
1921 FONTCONFIG_LIBS
1922 KRB5_CFLAGS
1923 KRB5_LIBS
1924 GSSAPI_CFLAGS
1925 GSSAPI_LIBS
1926 JPEG_CFLAGS
1927 JPEG_LIBS
1928 PNG_CFLAGS
1929 PNG_LIBS
1930 TIFF_CFLAGS
1931 TIFF_LIBS
1932 MPG123_CFLAGS
1933 MPG123_LIBS
1934 NETAPI_CFLAGS
1935 NETAPI_LIBS
1936 VKD3D_CFLAGS
1937 VKD3D_LIBS
1938 VKD3D_SHADER_CFLAGS
1939 VKD3D_SHADER_LIBS
1940 LDAP_CFLAGS
1941 LDAP_LIBS'
1944 # Initialize some variables set by options.
1945 ac_init_help=
1946 ac_init_version=false
1947 ac_unrecognized_opts=
1948 ac_unrecognized_sep=
1949 # The variables have the same names as the options, with
1950 # dashes changed to underlines.
1951 cache_file=/dev/null
1952 exec_prefix=NONE
1953 no_create=
1954 no_recursion=
1955 prefix=NONE
1956 program_prefix=NONE
1957 program_suffix=NONE
1958 program_transform_name=s,x,x,
1959 silent=
1960 site=
1961 srcdir=
1962 verbose=
1963 x_includes=NONE
1964 x_libraries=NONE
1966 # Installation directory options.
1967 # These are left unexpanded so users can "make install exec_prefix=/foo"
1968 # and all the variables that are supposed to be based on exec_prefix
1969 # by default will actually change.
1970 # Use braces instead of parens because sh, perl, etc. also accept them.
1971 # (The list follows the same order as the GNU Coding Standards.)
1972 bindir='${exec_prefix}/bin'
1973 sbindir='${exec_prefix}/sbin'
1974 libexecdir='${exec_prefix}/libexec'
1975 datarootdir='${prefix}/share'
1976 datadir='${datarootdir}'
1977 sysconfdir='${prefix}/etc'
1978 sharedstatedir='${prefix}/com'
1979 localstatedir='${prefix}/var'
1980 runstatedir='${localstatedir}/run'
1981 includedir='${prefix}/include'
1982 oldincludedir='/usr/include'
1983 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1984 infodir='${datarootdir}/info'
1985 htmldir='${docdir}'
1986 dvidir='${docdir}'
1987 pdfdir='${docdir}'
1988 psdir='${docdir}'
1989 libdir='${exec_prefix}/lib'
1990 localedir='${datarootdir}/locale'
1991 mandir='${datarootdir}/man'
1993 ac_prev=
1994 ac_dashdash=
1995 for ac_option
1997 # If the previous option needs an argument, assign it.
1998 if test -n "$ac_prev"; then
1999 eval $ac_prev=\$ac_option
2000 ac_prev=
2001 continue
2004 case $ac_option in
2005 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2006 *=) ac_optarg= ;;
2007 *) ac_optarg=yes ;;
2008 esac
2010 # Accept the important Cygnus configure options, so we can diagnose typos.
2012 case $ac_dashdash$ac_option in
2014 ac_dashdash=yes ;;
2016 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2017 ac_prev=bindir ;;
2018 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2019 bindir=$ac_optarg ;;
2021 -build | --build | --buil | --bui | --bu)
2022 ac_prev=build_alias ;;
2023 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2024 build_alias=$ac_optarg ;;
2026 -cache-file | --cache-file | --cache-fil | --cache-fi \
2027 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2028 ac_prev=cache_file ;;
2029 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2030 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2031 cache_file=$ac_optarg ;;
2033 --config-cache | -C)
2034 cache_file=config.cache ;;
2036 -datadir | --datadir | --datadi | --datad)
2037 ac_prev=datadir ;;
2038 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2039 datadir=$ac_optarg ;;
2041 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2042 | --dataroo | --dataro | --datar)
2043 ac_prev=datarootdir ;;
2044 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2045 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2046 datarootdir=$ac_optarg ;;
2048 -disable-* | --disable-*)
2049 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2050 # Reject names that are not valid shell variable names.
2051 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2052 as_fn_error $? "invalid feature name: $ac_useropt"
2053 ac_useropt_orig=$ac_useropt
2054 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2055 case $ac_user_opts in
2057 "enable_$ac_useropt"
2058 "*) ;;
2059 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2060 ac_unrecognized_sep=', ';;
2061 esac
2062 eval enable_$ac_useropt=no ;;
2064 -docdir | --docdir | --docdi | --doc | --do)
2065 ac_prev=docdir ;;
2066 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2067 docdir=$ac_optarg ;;
2069 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2070 ac_prev=dvidir ;;
2071 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2072 dvidir=$ac_optarg ;;
2074 -enable-* | --enable-*)
2075 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2076 # Reject names that are not valid shell variable names.
2077 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2078 as_fn_error $? "invalid feature name: $ac_useropt"
2079 ac_useropt_orig=$ac_useropt
2080 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2081 case $ac_user_opts in
2083 "enable_$ac_useropt"
2084 "*) ;;
2085 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2086 ac_unrecognized_sep=', ';;
2087 esac
2088 eval enable_$ac_useropt=\$ac_optarg ;;
2090 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2091 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2092 | --exec | --exe | --ex)
2093 ac_prev=exec_prefix ;;
2094 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2095 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2096 | --exec=* | --exe=* | --ex=*)
2097 exec_prefix=$ac_optarg ;;
2099 -gas | --gas | --ga | --g)
2100 # Obsolete; use --with-gas.
2101 with_gas=yes ;;
2103 -help | --help | --hel | --he | -h)
2104 ac_init_help=long ;;
2105 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2106 ac_init_help=recursive ;;
2107 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2108 ac_init_help=short ;;
2110 -host | --host | --hos | --ho)
2111 ac_prev=host_alias ;;
2112 -host=* | --host=* | --hos=* | --ho=*)
2113 host_alias=$ac_optarg ;;
2115 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2116 ac_prev=htmldir ;;
2117 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2118 | --ht=*)
2119 htmldir=$ac_optarg ;;
2121 -includedir | --includedir | --includedi | --included | --include \
2122 | --includ | --inclu | --incl | --inc)
2123 ac_prev=includedir ;;
2124 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2125 | --includ=* | --inclu=* | --incl=* | --inc=*)
2126 includedir=$ac_optarg ;;
2128 -infodir | --infodir | --infodi | --infod | --info | --inf)
2129 ac_prev=infodir ;;
2130 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2131 infodir=$ac_optarg ;;
2133 -libdir | --libdir | --libdi | --libd)
2134 ac_prev=libdir ;;
2135 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2136 libdir=$ac_optarg ;;
2138 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2139 | --libexe | --libex | --libe)
2140 ac_prev=libexecdir ;;
2141 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2142 | --libexe=* | --libex=* | --libe=*)
2143 libexecdir=$ac_optarg ;;
2145 -localedir | --localedir | --localedi | --localed | --locale)
2146 ac_prev=localedir ;;
2147 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2148 localedir=$ac_optarg ;;
2150 -localstatedir | --localstatedir | --localstatedi | --localstated \
2151 | --localstate | --localstat | --localsta | --localst | --locals)
2152 ac_prev=localstatedir ;;
2153 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2154 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2155 localstatedir=$ac_optarg ;;
2157 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2158 ac_prev=mandir ;;
2159 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2160 mandir=$ac_optarg ;;
2162 -nfp | --nfp | --nf)
2163 # Obsolete; use --without-fp.
2164 with_fp=no ;;
2166 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2167 | --no-cr | --no-c | -n)
2168 no_create=yes ;;
2170 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2171 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2172 no_recursion=yes ;;
2174 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2175 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2176 | --oldin | --oldi | --old | --ol | --o)
2177 ac_prev=oldincludedir ;;
2178 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2179 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2180 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2181 oldincludedir=$ac_optarg ;;
2183 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2184 ac_prev=prefix ;;
2185 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2186 prefix=$ac_optarg ;;
2188 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2189 | --program-pre | --program-pr | --program-p)
2190 ac_prev=program_prefix ;;
2191 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2192 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2193 program_prefix=$ac_optarg ;;
2195 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2196 | --program-suf | --program-su | --program-s)
2197 ac_prev=program_suffix ;;
2198 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2199 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2200 program_suffix=$ac_optarg ;;
2202 -program-transform-name | --program-transform-name \
2203 | --program-transform-nam | --program-transform-na \
2204 | --program-transform-n | --program-transform- \
2205 | --program-transform | --program-transfor \
2206 | --program-transfo | --program-transf \
2207 | --program-trans | --program-tran \
2208 | --progr-tra | --program-tr | --program-t)
2209 ac_prev=program_transform_name ;;
2210 -program-transform-name=* | --program-transform-name=* \
2211 | --program-transform-nam=* | --program-transform-na=* \
2212 | --program-transform-n=* | --program-transform-=* \
2213 | --program-transform=* | --program-transfor=* \
2214 | --program-transfo=* | --program-transf=* \
2215 | --program-trans=* | --program-tran=* \
2216 | --progr-tra=* | --program-tr=* | --program-t=*)
2217 program_transform_name=$ac_optarg ;;
2219 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2220 ac_prev=pdfdir ;;
2221 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2222 pdfdir=$ac_optarg ;;
2224 -psdir | --psdir | --psdi | --psd | --ps)
2225 ac_prev=psdir ;;
2226 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2227 psdir=$ac_optarg ;;
2229 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2230 | -silent | --silent | --silen | --sile | --sil)
2231 silent=yes ;;
2233 -runstatedir | --runstatedir | --runstatedi | --runstated \
2234 | --runstate | --runstat | --runsta | --runst | --runs \
2235 | --run | --ru | --r)
2236 ac_prev=runstatedir ;;
2237 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2238 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2239 | --run=* | --ru=* | --r=*)
2240 runstatedir=$ac_optarg ;;
2242 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2243 ac_prev=sbindir ;;
2244 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2245 | --sbi=* | --sb=*)
2246 sbindir=$ac_optarg ;;
2248 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2249 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2250 | --sharedst | --shareds | --shared | --share | --shar \
2251 | --sha | --sh)
2252 ac_prev=sharedstatedir ;;
2253 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2254 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2255 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2256 | --sha=* | --sh=*)
2257 sharedstatedir=$ac_optarg ;;
2259 -site | --site | --sit)
2260 ac_prev=site ;;
2261 -site=* | --site=* | --sit=*)
2262 site=$ac_optarg ;;
2264 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2265 ac_prev=srcdir ;;
2266 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2267 srcdir=$ac_optarg ;;
2269 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2270 | --syscon | --sysco | --sysc | --sys | --sy)
2271 ac_prev=sysconfdir ;;
2272 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2273 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2274 sysconfdir=$ac_optarg ;;
2276 -target | --target | --targe | --targ | --tar | --ta | --t)
2277 ac_prev=target_alias ;;
2278 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2279 target_alias=$ac_optarg ;;
2281 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2282 verbose=yes ;;
2284 -version | --version | --versio | --versi | --vers | -V)
2285 ac_init_version=: ;;
2287 -with-* | --with-*)
2288 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2289 # Reject names that are not valid shell variable names.
2290 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2291 as_fn_error $? "invalid package name: $ac_useropt"
2292 ac_useropt_orig=$ac_useropt
2293 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2294 case $ac_user_opts in
2296 "with_$ac_useropt"
2297 "*) ;;
2298 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2299 ac_unrecognized_sep=', ';;
2300 esac
2301 eval with_$ac_useropt=\$ac_optarg ;;
2303 -without-* | --without-*)
2304 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2305 # Reject names that are not valid shell variable names.
2306 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2307 as_fn_error $? "invalid package name: $ac_useropt"
2308 ac_useropt_orig=$ac_useropt
2309 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2310 case $ac_user_opts in
2312 "with_$ac_useropt"
2313 "*) ;;
2314 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2315 ac_unrecognized_sep=', ';;
2316 esac
2317 eval with_$ac_useropt=no ;;
2319 --x)
2320 # Obsolete; use --with-x.
2321 with_x=yes ;;
2323 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2324 | --x-incl | --x-inc | --x-in | --x-i)
2325 ac_prev=x_includes ;;
2326 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2327 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2328 x_includes=$ac_optarg ;;
2330 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2331 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2332 ac_prev=x_libraries ;;
2333 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2334 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2335 x_libraries=$ac_optarg ;;
2337 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2338 Try \`$0 --help' for more information"
2341 *=*)
2342 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2343 # Reject names that are not valid shell variable names.
2344 case $ac_envvar in #(
2345 '' | [0-9]* | *[!_$as_cr_alnum]* )
2346 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2347 esac
2348 eval $ac_envvar=\$ac_optarg
2349 export $ac_envvar ;;
2352 # FIXME: should be removed in autoconf 3.0.
2353 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2354 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2355 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2356 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2359 esac
2360 done
2362 if test -n "$ac_prev"; then
2363 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2364 as_fn_error $? "missing argument to $ac_option"
2367 if test -n "$ac_unrecognized_opts"; then
2368 case $enable_option_checking in
2369 no) ;;
2370 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2371 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2372 esac
2375 # Check all directory arguments for consistency.
2376 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2377 datadir sysconfdir sharedstatedir localstatedir includedir \
2378 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2379 libdir localedir mandir runstatedir
2381 eval ac_val=\$$ac_var
2382 # Remove trailing slashes.
2383 case $ac_val in
2384 */ )
2385 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2386 eval $ac_var=\$ac_val;;
2387 esac
2388 # Be sure to have absolute directory names.
2389 case $ac_val in
2390 [\\/$]* | ?:[\\/]* ) continue;;
2391 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2392 esac
2393 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2394 done
2396 # There might be people who depend on the old broken behavior: `$host'
2397 # used to hold the argument of --host etc.
2398 # FIXME: To remove some day.
2399 build=$build_alias
2400 host=$host_alias
2401 target=$target_alias
2403 # FIXME: To remove some day.
2404 if test "x$host_alias" != x; then
2405 if test "x$build_alias" = x; then
2406 cross_compiling=maybe
2407 elif test "x$build_alias" != "x$host_alias"; then
2408 cross_compiling=yes
2412 ac_tool_prefix=
2413 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2415 test "$silent" = yes && exec 6>/dev/null
2418 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2419 ac_ls_di=`ls -di .` &&
2420 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2421 as_fn_error $? "working directory cannot be determined"
2422 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2423 as_fn_error $? "pwd does not report name of working directory"
2426 # Find the source files, if location was not specified.
2427 if test -z "$srcdir"; then
2428 ac_srcdir_defaulted=yes
2429 # Try the directory containing this script, then the parent directory.
2430 ac_confdir=`$as_dirname -- "$as_myself" ||
2431 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2432 X"$as_myself" : 'X\(//\)[^/]' \| \
2433 X"$as_myself" : 'X\(//\)$' \| \
2434 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2435 $as_echo X"$as_myself" |
2436 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2437 s//\1/
2440 /^X\(\/\/\)[^/].*/{
2441 s//\1/
2444 /^X\(\/\/\)$/{
2445 s//\1/
2448 /^X\(\/\).*/{
2449 s//\1/
2452 s/.*/./; q'`
2453 srcdir=$ac_confdir
2454 if test ! -r "$srcdir/$ac_unique_file"; then
2455 srcdir=..
2457 else
2458 ac_srcdir_defaulted=no
2460 if test ! -r "$srcdir/$ac_unique_file"; then
2461 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2462 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2464 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2465 ac_abs_confdir=`(
2466 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2467 pwd)`
2468 # When building in place, set srcdir=.
2469 if test "$ac_abs_confdir" = "$ac_pwd"; then
2470 srcdir=.
2472 # Remove unnecessary trailing slashes from srcdir.
2473 # Double slashes in file names in object file debugging info
2474 # mess up M-x gdb in Emacs.
2475 case $srcdir in
2476 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2477 esac
2478 for ac_var in $ac_precious_vars; do
2479 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2480 eval ac_env_${ac_var}_value=\$${ac_var}
2481 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2482 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2483 done
2486 # Report the --help message.
2488 if test "$ac_init_help" = "long"; then
2489 # Omit some internal or obsolete options to make the list less imposing.
2490 # This message is too long to be a string in the A/UX 3.1 sh.
2491 cat <<_ACEOF
2492 \`configure' configures Wine 5.20 to adapt to many kinds of systems.
2494 Usage: $0 [OPTION]... [VAR=VALUE]...
2496 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2497 VAR=VALUE. See below for descriptions of some of the useful variables.
2499 Defaults for the options are specified in brackets.
2501 Configuration:
2502 -h, --help display this help and exit
2503 --help=short display options specific to this package
2504 --help=recursive display the short help of all the included packages
2505 -V, --version display version information and exit
2506 -q, --quiet, --silent do not print \`checking ...' messages
2507 --cache-file=FILE cache test results in FILE [disabled]
2508 -C, --config-cache alias for \`--cache-file=config.cache'
2509 -n, --no-create do not create output files
2510 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2512 Installation directories:
2513 --prefix=PREFIX install architecture-independent files in PREFIX
2514 [$ac_default_prefix]
2515 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2516 [PREFIX]
2518 By default, \`make install' will install all the files in
2519 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2520 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2521 for instance \`--prefix=\$HOME'.
2523 For better control, use the options below.
2525 Fine tuning of the installation directories:
2526 --bindir=DIR user executables [EPREFIX/bin]
2527 --sbindir=DIR system admin executables [EPREFIX/sbin]
2528 --libexecdir=DIR program executables [EPREFIX/libexec]
2529 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2530 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2531 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2532 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2533 --libdir=DIR object code libraries [EPREFIX/lib]
2534 --includedir=DIR C header files [PREFIX/include]
2535 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2536 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2537 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2538 --infodir=DIR info documentation [DATAROOTDIR/info]
2539 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2540 --mandir=DIR man documentation [DATAROOTDIR/man]
2541 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2542 --htmldir=DIR html documentation [DOCDIR]
2543 --dvidir=DIR dvi documentation [DOCDIR]
2544 --pdfdir=DIR pdf documentation [DOCDIR]
2545 --psdir=DIR ps documentation [DOCDIR]
2546 _ACEOF
2548 cat <<\_ACEOF
2550 X features:
2551 --x-includes=DIR X include files are in DIR
2552 --x-libraries=DIR X library files are in DIR
2554 System types:
2555 --build=BUILD configure for building on BUILD [guessed]
2556 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2557 _ACEOF
2560 if test -n "$ac_init_help"; then
2561 case $ac_init_help in
2562 short | recursive ) echo "Configuration of Wine 5.20:";;
2563 esac
2564 cat <<\_ACEOF
2566 Optional Features:
2567 --disable-option-checking ignore unrecognized --enable/--with options
2568 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2569 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2570 --disable-win16 do not include Win16 support
2571 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2572 binaries)
2573 --disable-tests do not build the regression tests
2574 --enable-maintainer-mode
2575 enable maintainer-specific build rules
2576 --enable-werror treat compilation warnings as errors
2577 --disable-largefile omit support for large files
2579 Optional Packages:
2580 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2581 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2582 --without-alsa do not use the Alsa sound support
2583 --without-capi do not use CAPI (ISDN support)
2584 --without-cms do not use CMS (color management support)
2585 --without-coreaudio do not use the CoreAudio sound support
2586 --without-cups do not use CUPS
2587 --without-dbus do not use DBus (dynamic device support)
2588 --without-faudio do not use FAudio (XAudio2 support)
2589 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2590 --without-fontconfig do not use fontconfig
2591 --without-freetype do not use the FreeType library
2592 --without-gettext do not use gettext
2593 --with-gettextpo use the GetTextPO library to rebuild po files
2594 --without-gphoto do not use gphoto (Digital Camera support)
2595 --without-glu do not use the GLU library
2596 --without-gnutls do not use GnuTLS (schannel support)
2597 --without-gsm do not use libgsm (GSM 06.10 codec support)
2598 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2599 --without-gstreamer do not use GStreamer (codecs support)
2600 --without-hal do not use HAL (dynamic device support)
2601 --without-inotify do not use inotify (filesystem change notifications)
2602 --without-jpeg do not use JPEG
2603 --without-krb5 do not use krb5 (Kerberos)
2604 --without-ldap do not use LDAP
2605 --without-mingw do not use the MinGW cross-compiler
2606 --without-mpg123 do not use the mpg123 library
2607 --without-netapi do not use the Samba NetAPI library
2608 --without-openal do not use OpenAL
2609 --without-opencl do not use OpenCL
2610 --without-opengl do not use OpenGL
2611 --without-osmesa do not use the OSMesa library
2612 --without-oss do not use the OSS sound support
2613 --without-pcap do not use the Packet Capture library
2614 --without-png do not use PNG
2615 --without-pthread do not use the pthread library
2616 --without-pulse do not use PulseAudio sound support
2617 --without-quicktime do not use QuickTime support
2618 --without-sane do not use SANE (scanner support)
2619 --without-sdl do not use SDL
2620 --without-tiff do not use TIFF
2621 --without-udev do not use udev (plug and play support)
2622 --without-unwind do not use the libunwind library (exception
2623 handling)
2624 --without-usb do not use the libusb library
2625 --without-v4l2 do not use v4l2 (video capture)
2626 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2627 --without-vulkan do not use Vulkan
2628 --without-xcomposite do not use the Xcomposite extension
2629 --without-xcursor do not use the Xcursor extension
2630 --without-xfixes do not use Xfixes for clipboard change notifications
2631 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2632 --without-xinput do not use the Xinput extension
2633 --without-xinput2 do not use the Xinput 2 extension
2634 --without-xml do not use XML
2635 --without-xrandr do not use Xrandr (multi-monitor support)
2636 --without-xrender do not use the Xrender extension
2637 --without-xshape do not use the Xshape extension
2638 --without-xshm do not use XShm (shared memory extension)
2639 --without-xslt do not use XSLT
2640 --without-xxf86vm do not use XFree video mode extension
2641 --with-wine-tools=DIR use Wine tools from directory DIR
2642 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2643 --with-x use the X Window System
2645 Some influential environment variables:
2646 CC C compiler command
2647 CFLAGS C compiler flags
2648 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2649 nonstandard directory <lib dir>
2650 LIBS libraries to pass to the linker, e.g. -l<library>
2651 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2652 you have headers in a nonstandard directory <include dir>
2653 CXX C++ compiler command
2654 CXXFLAGS C++ compiler flags
2655 CPP C preprocessor
2656 OBJC Objective C compiler command
2657 OBJCFLAGS Objective C compiler flags
2658 OBJCPP Objective C preprocessor
2659 XMKMF Path to xmkmf, Makefile generator for X Window System
2660 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2661 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2662 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2663 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2664 INOTIFY_CFLAGS
2665 C compiler flags for libinotify, overriding pkg-config
2666 INOTIFY_LIBS
2667 Linker flags for libinotify, overriding pkg-config
2668 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2669 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2670 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2671 HAL_LIBS Linker flags for hal, overriding pkg-config
2672 GNUTLS_CFLAGS
2673 C compiler flags for gnutls, overriding pkg-config
2674 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2675 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2676 SANE_LIBS Linker flags for libsane, overriding pkg-config
2677 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2678 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2679 GPHOTO2_CFLAGS
2680 C compiler flags for libgphoto2, overriding pkg-config
2681 GPHOTO2_LIBS
2682 Linker flags for libgphoto2, overriding pkg-config
2683 GPHOTO2_PORT_CFLAGS
2684 C compiler flags for libgphoto2_port, overriding pkg-config
2685 GPHOTO2_PORT_LIBS
2686 Linker flags for libgphoto2_port, overriding pkg-config
2687 LCMS2_CFLAGS
2688 C compiler flags for lcms2, overriding pkg-config
2689 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2690 FREETYPE_CFLAGS
2691 C compiler flags for freetype2, overriding pkg-config
2692 FREETYPE_LIBS
2693 Linker flags for freetype2, overriding pkg-config
2694 PULSE_CFLAGS
2695 C compiler flags for libpulse, overriding pkg-config
2696 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2697 GSTREAMER_CFLAGS
2698 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2699 gstreamer-audio-1.0, overriding pkg-config
2700 GSTREAMER_LIBS
2701 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2702 gstreamer-audio-1.0, overriding pkg-config
2703 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2704 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2705 UNWIND_CFLAGS
2706 C compiler flags for libunwind, overriding pkg-config
2707 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2708 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2709 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2710 FAUDIO_CFLAGS
2711 C compiler flags for faudio, overriding pkg-config
2712 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2713 CAPI20_CFLAGS
2714 C compiler flags for capi20, overriding pkg-config
2715 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2716 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2717 CUPS_LIBS Linker flags for cups, overriding pkg-config
2718 FONTCONFIG_CFLAGS
2719 C compiler flags for fontconfig, overriding pkg-config
2720 FONTCONFIG_LIBS
2721 Linker flags for fontconfig, overriding pkg-config
2722 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2723 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2724 GSSAPI_CFLAGS
2725 C compiler flags for krb5-gssapi, overriding pkg-config
2726 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2727 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2728 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2729 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2730 PNG_LIBS Linker flags for libpng, overriding pkg-config
2731 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2732 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2733 MPG123_CFLAGS
2734 C compiler flags for libmpg123, overriding pkg-config
2735 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2736 NETAPI_CFLAGS
2737 C compiler flags for netapi, overriding pkg-config
2738 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2739 VKD3D_CFLAGS
2740 C compiler flags for libvkd3d, overriding pkg-config
2741 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2742 VKD3D_SHADER_CFLAGS
2743 C compiler flags for libvkd3d-shader, overriding pkg-config
2744 VKD3D_SHADER_LIBS
2745 Linker flags for libvkd3d-shader, overriding pkg-config
2746 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2747 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2749 Use these variables to override the choices made by `configure' or to help
2750 it to find libraries and programs with nonstandard names/locations.
2752 Report bugs to <wine-devel@winehq.org>.
2753 Wine home page: <https://www.winehq.org>.
2754 _ACEOF
2755 ac_status=$?
2758 if test "$ac_init_help" = "recursive"; then
2759 # If there are subdirs, report their specific --help.
2760 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2761 test -d "$ac_dir" ||
2762 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2763 continue
2764 ac_builddir=.
2766 case "$ac_dir" in
2767 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2769 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2770 # A ".." for each directory in $ac_dir_suffix.
2771 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2772 case $ac_top_builddir_sub in
2773 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2774 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2775 esac ;;
2776 esac
2777 ac_abs_top_builddir=$ac_pwd
2778 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2779 # for backward compatibility:
2780 ac_top_builddir=$ac_top_build_prefix
2782 case $srcdir in
2783 .) # We are building in place.
2784 ac_srcdir=.
2785 ac_top_srcdir=$ac_top_builddir_sub
2786 ac_abs_top_srcdir=$ac_pwd ;;
2787 [\\/]* | ?:[\\/]* ) # Absolute name.
2788 ac_srcdir=$srcdir$ac_dir_suffix;
2789 ac_top_srcdir=$srcdir
2790 ac_abs_top_srcdir=$srcdir ;;
2791 *) # Relative name.
2792 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2793 ac_top_srcdir=$ac_top_build_prefix$srcdir
2794 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2795 esac
2796 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2798 cd "$ac_dir" || { ac_status=$?; continue; }
2799 # Check for guested configure.
2800 if test -f "$ac_srcdir/configure.gnu"; then
2801 echo &&
2802 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2803 elif test -f "$ac_srcdir/configure"; then
2804 echo &&
2805 $SHELL "$ac_srcdir/configure" --help=recursive
2806 else
2807 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2808 fi || ac_status=$?
2809 cd "$ac_pwd" || { ac_status=$?; break; }
2810 done
2813 test -n "$ac_init_help" && exit $ac_status
2814 if $ac_init_version; then
2815 cat <<\_ACEOF
2816 Wine configure 5.20
2817 generated by GNU Autoconf 2.69
2819 Copyright (C) 2012 Free Software Foundation, Inc.
2820 This configure script is free software; the Free Software Foundation
2821 gives unlimited permission to copy, distribute and modify it.
2822 _ACEOF
2823 exit
2826 ## ------------------------ ##
2827 ## Autoconf initialization. ##
2828 ## ------------------------ ##
2830 # ac_fn_c_try_compile LINENO
2831 # --------------------------
2832 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2833 ac_fn_c_try_compile ()
2835 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2836 rm -f conftest.$ac_objext
2837 if { { ac_try="$ac_compile"
2838 case "(($ac_try" in
2839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2840 *) ac_try_echo=$ac_try;;
2841 esac
2842 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2843 $as_echo "$ac_try_echo"; } >&5
2844 (eval "$ac_compile") 2>conftest.err
2845 ac_status=$?
2846 if test -s conftest.err; then
2847 grep -v '^ *+' conftest.err >conftest.er1
2848 cat conftest.er1 >&5
2849 mv -f conftest.er1 conftest.err
2851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2852 test $ac_status = 0; } && {
2853 test -z "$ac_c_werror_flag" ||
2854 test ! -s conftest.err
2855 } && test -s conftest.$ac_objext; then :
2856 ac_retval=0
2857 else
2858 $as_echo "$as_me: failed program was:" >&5
2859 sed 's/^/| /' conftest.$ac_ext >&5
2861 ac_retval=1
2863 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2864 as_fn_set_status $ac_retval
2866 } # ac_fn_c_try_compile
2868 # ac_fn_cxx_try_compile LINENO
2869 # ----------------------------
2870 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2871 ac_fn_cxx_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_cxx_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_cxx_try_compile
2906 # ac_fn_c_try_link LINENO
2907 # -----------------------
2908 # Try to link conftest.$ac_ext, and return whether this succeeded.
2909 ac_fn_c_try_link ()
2911 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2912 rm -f conftest.$ac_objext conftest$ac_exeext
2913 if { { ac_try="$ac_link"
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_link") 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_c_werror_flag" ||
2930 test ! -s conftest.err
2931 } && test -s conftest$ac_exeext && {
2932 test "$cross_compiling" = yes ||
2933 test -x conftest$ac_exeext
2934 }; then :
2935 ac_retval=0
2936 else
2937 $as_echo "$as_me: failed program was:" >&5
2938 sed 's/^/| /' conftest.$ac_ext >&5
2940 ac_retval=1
2942 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2943 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2944 # interfere with the next link command; also delete a directory that is
2945 # left behind by Apple's compiler. We do this before executing the actions.
2946 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2947 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2948 as_fn_set_status $ac_retval
2950 } # ac_fn_c_try_link
2952 # ac_fn_c_try_cpp LINENO
2953 # ----------------------
2954 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2955 ac_fn_c_try_cpp ()
2957 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2958 if { { ac_try="$ac_cpp conftest.$ac_ext"
2959 case "(($ac_try" in
2960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2961 *) ac_try_echo=$ac_try;;
2962 esac
2963 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2964 $as_echo "$ac_try_echo"; } >&5
2965 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2966 ac_status=$?
2967 if test -s conftest.err; then
2968 grep -v '^ *+' conftest.err >conftest.er1
2969 cat conftest.er1 >&5
2970 mv -f conftest.er1 conftest.err
2972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2973 test $ac_status = 0; } > conftest.i && {
2974 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2975 test ! -s conftest.err
2976 }; then :
2977 ac_retval=0
2978 else
2979 $as_echo "$as_me: failed program was:" >&5
2980 sed 's/^/| /' conftest.$ac_ext >&5
2982 ac_retval=1
2984 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2985 as_fn_set_status $ac_retval
2987 } # ac_fn_c_try_cpp
2989 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2990 # -------------------------------------------------------
2991 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2992 # the include files in INCLUDES and setting the cache variable VAR
2993 # accordingly.
2994 ac_fn_c_check_header_mongrel ()
2996 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2997 if eval \${$3+:} false; then :
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2999 $as_echo_n "checking for $2... " >&6; }
3000 if eval \${$3+:} false; then :
3001 $as_echo_n "(cached) " >&6
3003 eval ac_res=\$$3
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3005 $as_echo "$ac_res" >&6; }
3006 else
3007 # Is the header compilable?
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3009 $as_echo_n "checking $2 usability... " >&6; }
3010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3011 /* end confdefs.h. */
3013 #include <$2>
3014 _ACEOF
3015 if ac_fn_c_try_compile "$LINENO"; then :
3016 ac_header_compiler=yes
3017 else
3018 ac_header_compiler=no
3020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3022 $as_echo "$ac_header_compiler" >&6; }
3024 # Is the header present?
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3026 $as_echo_n "checking $2 presence... " >&6; }
3027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3028 /* end confdefs.h. */
3029 #include <$2>
3030 _ACEOF
3031 if ac_fn_c_try_cpp "$LINENO"; then :
3032 ac_header_preproc=yes
3033 else
3034 ac_header_preproc=no
3036 rm -f conftest.err conftest.i conftest.$ac_ext
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3038 $as_echo "$ac_header_preproc" >&6; }
3040 # So? What about this header?
3041 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3042 yes:no: )
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3044 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3046 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3048 no:yes:* )
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3050 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3052 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3054 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3056 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3058 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3059 ( $as_echo "## ------------------------------------ ##
3060 ## Report this to wine-devel@winehq.org ##
3061 ## ------------------------------------ ##"
3062 ) | sed "s/^/$as_me: WARNING: /" >&2
3064 esac
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3066 $as_echo_n "checking for $2... " >&6; }
3067 if eval \${$3+:} false; then :
3068 $as_echo_n "(cached) " >&6
3069 else
3070 eval "$3=\$ac_header_compiler"
3072 eval ac_res=\$$3
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3074 $as_echo "$ac_res" >&6; }
3076 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3078 } # ac_fn_c_check_header_mongrel
3080 # ac_fn_c_try_run LINENO
3081 # ----------------------
3082 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3083 # that executables *can* be run.
3084 ac_fn_c_try_run ()
3086 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3087 if { { ac_try="$ac_link"
3088 case "(($ac_try" in
3089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3090 *) ac_try_echo=$ac_try;;
3091 esac
3092 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3093 $as_echo "$ac_try_echo"; } >&5
3094 (eval "$ac_link") 2>&5
3095 ac_status=$?
3096 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3097 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3098 { { case "(($ac_try" in
3099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3100 *) ac_try_echo=$ac_try;;
3101 esac
3102 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3103 $as_echo "$ac_try_echo"; } >&5
3104 (eval "$ac_try") 2>&5
3105 ac_status=$?
3106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3107 test $ac_status = 0; }; }; then :
3108 ac_retval=0
3109 else
3110 $as_echo "$as_me: program exited with status $ac_status" >&5
3111 $as_echo "$as_me: failed program was:" >&5
3112 sed 's/^/| /' conftest.$ac_ext >&5
3114 ac_retval=$ac_status
3116 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3117 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3118 as_fn_set_status $ac_retval
3120 } # ac_fn_c_try_run
3122 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3123 # -------------------------------------------------------
3124 # Tests whether HEADER exists and can be compiled using the include files in
3125 # INCLUDES, setting the cache variable VAR accordingly.
3126 ac_fn_c_check_header_compile ()
3128 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3130 $as_echo_n "checking for $2... " >&6; }
3131 if eval \${$3+:} false; then :
3132 $as_echo_n "(cached) " >&6
3133 else
3134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3135 /* end confdefs.h. */
3137 #include <$2>
3138 _ACEOF
3139 if ac_fn_c_try_compile "$LINENO"; then :
3140 eval "$3=yes"
3141 else
3142 eval "$3=no"
3144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3146 eval ac_res=\$$3
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3148 $as_echo "$ac_res" >&6; }
3149 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3151 } # ac_fn_c_check_header_compile
3153 # ac_fn_objc_try_compile LINENO
3154 # -----------------------------
3155 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3156 ac_fn_objc_try_compile ()
3158 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3159 rm -f conftest.$ac_objext
3160 if { { ac_try="$ac_compile"
3161 case "(($ac_try" in
3162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3163 *) ac_try_echo=$ac_try;;
3164 esac
3165 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3166 $as_echo "$ac_try_echo"; } >&5
3167 (eval "$ac_compile") 2>conftest.err
3168 ac_status=$?
3169 if test -s conftest.err; then
3170 grep -v '^ *+' conftest.err >conftest.er1
3171 cat conftest.er1 >&5
3172 mv -f conftest.er1 conftest.err
3174 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3175 test $ac_status = 0; } && {
3176 test -z "$ac_objc_werror_flag" ||
3177 test ! -s conftest.err
3178 } && test -s conftest.$ac_objext; then :
3179 ac_retval=0
3180 else
3181 $as_echo "$as_me: failed program was:" >&5
3182 sed 's/^/| /' conftest.$ac_ext >&5
3184 ac_retval=1
3186 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3187 as_fn_set_status $ac_retval
3189 } # ac_fn_objc_try_compile
3191 # ac_fn_objc_try_cpp LINENO
3192 # -------------------------
3193 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3194 ac_fn_objc_try_cpp ()
3196 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3197 if { { ac_try="$ac_cpp conftest.$ac_ext"
3198 case "(($ac_try" in
3199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3200 *) ac_try_echo=$ac_try;;
3201 esac
3202 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3203 $as_echo "$ac_try_echo"; } >&5
3204 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3205 ac_status=$?
3206 if test -s conftest.err; then
3207 grep -v '^ *+' conftest.err >conftest.er1
3208 cat conftest.er1 >&5
3209 mv -f conftest.er1 conftest.err
3211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3212 test $ac_status = 0; } > conftest.i && {
3213 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3214 test ! -s conftest.err
3215 }; then :
3216 ac_retval=0
3217 else
3218 $as_echo "$as_me: failed program was:" >&5
3219 sed 's/^/| /' conftest.$ac_ext >&5
3221 ac_retval=1
3223 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3224 as_fn_set_status $ac_retval
3226 } # ac_fn_objc_try_cpp
3228 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3229 # ----------------------------------------------------------
3230 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3231 # the include files in INCLUDES and setting the cache variable VAR
3232 # accordingly.
3233 ac_fn_objc_check_header_mongrel ()
3235 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3236 if eval \${$3+:} false; then :
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3238 $as_echo_n "checking for $2... " >&6; }
3239 if eval \${$3+:} false; then :
3240 $as_echo_n "(cached) " >&6
3242 eval ac_res=\$$3
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3244 $as_echo "$ac_res" >&6; }
3245 else
3246 # Is the header compilable?
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3248 $as_echo_n "checking $2 usability... " >&6; }
3249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3250 /* end confdefs.h. */
3252 #include <$2>
3253 _ACEOF
3254 if ac_fn_objc_try_compile "$LINENO"; then :
3255 ac_header_compiler=yes
3256 else
3257 ac_header_compiler=no
3259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3261 $as_echo "$ac_header_compiler" >&6; }
3263 # Is the header present?
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3265 $as_echo_n "checking $2 presence... " >&6; }
3266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3267 /* end confdefs.h. */
3268 #include <$2>
3269 _ACEOF
3270 if ac_fn_objc_try_cpp "$LINENO"; then :
3271 ac_header_preproc=yes
3272 else
3273 ac_header_preproc=no
3275 rm -f conftest.err conftest.i conftest.$ac_ext
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3277 $as_echo "$ac_header_preproc" >&6; }
3279 # So? What about this header?
3280 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3281 yes:no: )
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3283 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3285 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3287 no:yes:* )
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3289 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3291 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3293 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3295 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3297 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3298 ( $as_echo "## ------------------------------------ ##
3299 ## Report this to wine-devel@winehq.org ##
3300 ## ------------------------------------ ##"
3301 ) | sed "s/^/$as_me: WARNING: /" >&2
3303 esac
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3305 $as_echo_n "checking for $2... " >&6; }
3306 if eval \${$3+:} false; then :
3307 $as_echo_n "(cached) " >&6
3308 else
3309 eval "$3=\$ac_header_compiler"
3311 eval ac_res=\$$3
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3313 $as_echo "$ac_res" >&6; }
3315 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3317 } # ac_fn_objc_check_header_mongrel
3319 # ac_fn_c_check_func LINENO FUNC VAR
3320 # ----------------------------------
3321 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3322 ac_fn_c_check_func ()
3324 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3326 $as_echo_n "checking for $2... " >&6; }
3327 if eval \${$3+:} false; then :
3328 $as_echo_n "(cached) " >&6
3329 else
3330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3331 /* end confdefs.h. */
3332 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3334 #define $2 innocuous_$2
3336 /* System header to define __stub macros and hopefully few prototypes,
3337 which can conflict with char $2 (); below.
3338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3339 <limits.h> exists even on freestanding compilers. */
3341 #ifdef __STDC__
3342 # include <limits.h>
3343 #else
3344 # include <assert.h>
3345 #endif
3347 #undef $2
3349 /* Override any GCC internal prototype to avoid an error.
3350 Use char because int might match the return type of a GCC
3351 builtin and then its argument prototype would still apply. */
3352 #ifdef __cplusplus
3353 extern "C"
3354 #endif
3355 char $2 ();
3356 /* The GNU C library defines this for functions which it implements
3357 to always fail with ENOSYS. Some functions are actually named
3358 something starting with __ and the normal name is an alias. */
3359 #if defined __stub_$2 || defined __stub___$2
3360 choke me
3361 #endif
3364 main ()
3366 return $2 ();
3368 return 0;
3370 _ACEOF
3371 if ac_fn_c_try_link "$LINENO"; then :
3372 eval "$3=yes"
3373 else
3374 eval "$3=no"
3376 rm -f core conftest.err conftest.$ac_objext \
3377 conftest$ac_exeext conftest.$ac_ext
3379 eval ac_res=\$$3
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3381 $as_echo "$ac_res" >&6; }
3382 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3384 } # ac_fn_c_check_func
3386 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3387 # ----------------------------------------------------
3388 # Tries to find if the field MEMBER exists in type AGGR, after including
3389 # INCLUDES, setting cache variable VAR accordingly.
3390 ac_fn_c_check_member ()
3392 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3394 $as_echo_n "checking for $2.$3... " >&6; }
3395 if eval \${$4+:} false; then :
3396 $as_echo_n "(cached) " >&6
3397 else
3398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3399 /* end confdefs.h. */
3402 main ()
3404 static $2 ac_aggr;
3405 if (ac_aggr.$3)
3406 return 0;
3408 return 0;
3410 _ACEOF
3411 if ac_fn_c_try_compile "$LINENO"; then :
3412 eval "$4=yes"
3413 else
3414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3415 /* end confdefs.h. */
3418 main ()
3420 static $2 ac_aggr;
3421 if (sizeof ac_aggr.$3)
3422 return 0;
3424 return 0;
3426 _ACEOF
3427 if ac_fn_c_try_compile "$LINENO"; then :
3428 eval "$4=yes"
3429 else
3430 eval "$4=no"
3432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3436 eval ac_res=\$$4
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3438 $as_echo "$ac_res" >&6; }
3439 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3441 } # ac_fn_c_check_member
3443 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3444 # -------------------------------------------
3445 # Tests whether TYPE exists after having included INCLUDES, setting cache
3446 # variable VAR accordingly.
3447 ac_fn_c_check_type ()
3449 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3451 $as_echo_n "checking for $2... " >&6; }
3452 if eval \${$3+:} false; then :
3453 $as_echo_n "(cached) " >&6
3454 else
3455 eval "$3=no"
3456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3457 /* end confdefs.h. */
3460 main ()
3462 if (sizeof ($2))
3463 return 0;
3465 return 0;
3467 _ACEOF
3468 if ac_fn_c_try_compile "$LINENO"; then :
3469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3470 /* end confdefs.h. */
3473 main ()
3475 if (sizeof (($2)))
3476 return 0;
3478 return 0;
3480 _ACEOF
3481 if ac_fn_c_try_compile "$LINENO"; then :
3483 else
3484 eval "$3=yes"
3486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3490 eval ac_res=\$$3
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3492 $as_echo "$ac_res" >&6; }
3493 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3495 } # ac_fn_c_check_type
3496 cat >config.log <<_ACEOF
3497 This file contains any messages produced by compilers while
3498 running configure, to aid debugging if configure makes a mistake.
3500 It was created by Wine $as_me 5.20, which was
3501 generated by GNU Autoconf 2.69. Invocation command line was
3503 $ $0 $@
3505 _ACEOF
3506 exec 5>>config.log
3508 cat <<_ASUNAME
3509 ## --------- ##
3510 ## Platform. ##
3511 ## --------- ##
3513 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3514 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3515 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3516 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3517 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3519 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3520 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3522 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3523 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3524 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3525 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3526 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3527 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3528 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3530 _ASUNAME
3532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3533 for as_dir in $PATH
3535 IFS=$as_save_IFS
3536 test -z "$as_dir" && as_dir=.
3537 $as_echo "PATH: $as_dir"
3538 done
3539 IFS=$as_save_IFS
3541 } >&5
3543 cat >&5 <<_ACEOF
3546 ## ----------- ##
3547 ## Core tests. ##
3548 ## ----------- ##
3550 _ACEOF
3553 # Keep a trace of the command line.
3554 # Strip out --no-create and --no-recursion so they do not pile up.
3555 # Strip out --silent because we don't want to record it for future runs.
3556 # Also quote any args containing shell meta-characters.
3557 # Make two passes to allow for proper duplicate-argument suppression.
3558 ac_configure_args=
3559 ac_configure_args0=
3560 ac_configure_args1=
3561 ac_must_keep_next=false
3562 for ac_pass in 1 2
3564 for ac_arg
3566 case $ac_arg in
3567 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3568 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3569 | -silent | --silent | --silen | --sile | --sil)
3570 continue ;;
3571 *\'*)
3572 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3573 esac
3574 case $ac_pass in
3575 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3577 as_fn_append ac_configure_args1 " '$ac_arg'"
3578 if test $ac_must_keep_next = true; then
3579 ac_must_keep_next=false # Got value, back to normal.
3580 else
3581 case $ac_arg in
3582 *=* | --config-cache | -C | -disable-* | --disable-* \
3583 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3584 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3585 | -with-* | --with-* | -without-* | --without-* | --x)
3586 case "$ac_configure_args0 " in
3587 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3588 esac
3590 -* ) ac_must_keep_next=true ;;
3591 esac
3593 as_fn_append ac_configure_args " '$ac_arg'"
3595 esac
3596 done
3597 done
3598 { ac_configure_args0=; unset ac_configure_args0;}
3599 { ac_configure_args1=; unset ac_configure_args1;}
3601 # When interrupted or exit'd, cleanup temporary files, and complete
3602 # config.log. We remove comments because anyway the quotes in there
3603 # would cause problems or look ugly.
3604 # WARNING: Use '\'' to represent an apostrophe within the trap.
3605 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3606 trap 'exit_status=$?
3607 # Save into config.log some information that might help in debugging.
3609 echo
3611 $as_echo "## ---------------- ##
3612 ## Cache variables. ##
3613 ## ---------------- ##"
3614 echo
3615 # The following way of writing the cache mishandles newlines in values,
3617 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3618 eval ac_val=\$$ac_var
3619 case $ac_val in #(
3620 *${as_nl}*)
3621 case $ac_var in #(
3622 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3623 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3624 esac
3625 case $ac_var in #(
3626 _ | IFS | as_nl) ;; #(
3627 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3628 *) { eval $ac_var=; unset $ac_var;} ;;
3629 esac ;;
3630 esac
3631 done
3632 (set) 2>&1 |
3633 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3634 *${as_nl}ac_space=\ *)
3635 sed -n \
3636 "s/'\''/'\''\\\\'\'''\''/g;
3637 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3638 ;; #(
3640 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3642 esac |
3643 sort
3645 echo
3647 $as_echo "## ----------------- ##
3648 ## Output variables. ##
3649 ## ----------------- ##"
3650 echo
3651 for ac_var in $ac_subst_vars
3653 eval ac_val=\$$ac_var
3654 case $ac_val in
3655 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3656 esac
3657 $as_echo "$ac_var='\''$ac_val'\''"
3658 done | sort
3659 echo
3661 if test -n "$ac_subst_files"; then
3662 $as_echo "## ------------------- ##
3663 ## File substitutions. ##
3664 ## ------------------- ##"
3665 echo
3666 for ac_var in $ac_subst_files
3668 eval ac_val=\$$ac_var
3669 case $ac_val in
3670 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3671 esac
3672 $as_echo "$ac_var='\''$ac_val'\''"
3673 done | sort
3674 echo
3677 if test -s confdefs.h; then
3678 $as_echo "## ----------- ##
3679 ## confdefs.h. ##
3680 ## ----------- ##"
3681 echo
3682 cat confdefs.h
3683 echo
3685 test "$ac_signal" != 0 &&
3686 $as_echo "$as_me: caught signal $ac_signal"
3687 $as_echo "$as_me: exit $exit_status"
3688 } >&5
3689 rm -f core *.core core.conftest.* &&
3690 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3691 exit $exit_status
3693 for ac_signal in 1 2 13 15; do
3694 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3695 done
3696 ac_signal=0
3698 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3699 rm -f -r conftest* confdefs.h
3701 $as_echo "/* confdefs.h */" > confdefs.h
3703 # Predefined preprocessor variables.
3705 cat >>confdefs.h <<_ACEOF
3706 #define PACKAGE_NAME "$PACKAGE_NAME"
3707 _ACEOF
3709 cat >>confdefs.h <<_ACEOF
3710 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3711 _ACEOF
3713 cat >>confdefs.h <<_ACEOF
3714 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3715 _ACEOF
3717 cat >>confdefs.h <<_ACEOF
3718 #define PACKAGE_STRING "$PACKAGE_STRING"
3719 _ACEOF
3721 cat >>confdefs.h <<_ACEOF
3722 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3723 _ACEOF
3725 cat >>confdefs.h <<_ACEOF
3726 #define PACKAGE_URL "$PACKAGE_URL"
3727 _ACEOF
3730 # Let the site file select an alternate cache file if it wants to.
3731 # Prefer an explicitly selected file to automatically selected ones.
3732 ac_site_file1=NONE
3733 ac_site_file2=NONE
3734 if test -n "$CONFIG_SITE"; then
3735 # We do not want a PATH search for config.site.
3736 case $CONFIG_SITE in #((
3737 -*) ac_site_file1=./$CONFIG_SITE;;
3738 */*) ac_site_file1=$CONFIG_SITE;;
3739 *) ac_site_file1=./$CONFIG_SITE;;
3740 esac
3741 elif test "x$prefix" != xNONE; then
3742 ac_site_file1=$prefix/share/config.site
3743 ac_site_file2=$prefix/etc/config.site
3744 else
3745 ac_site_file1=$ac_default_prefix/share/config.site
3746 ac_site_file2=$ac_default_prefix/etc/config.site
3748 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3750 test "x$ac_site_file" = xNONE && continue
3751 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3753 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3754 sed 's/^/| /' "$ac_site_file" >&5
3755 . "$ac_site_file" \
3756 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3757 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3758 as_fn_error $? "failed to load site script $ac_site_file
3759 See \`config.log' for more details" "$LINENO" 5; }
3761 done
3763 if test -r "$cache_file"; then
3764 # Some versions of bash will fail to source /dev/null (special files
3765 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3766 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3768 $as_echo "$as_me: loading cache $cache_file" >&6;}
3769 case $cache_file in
3770 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3771 *) . "./$cache_file";;
3772 esac
3774 else
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3776 $as_echo "$as_me: creating cache $cache_file" >&6;}
3777 >$cache_file
3780 # Check that the precious variables saved in the cache have kept the same
3781 # value.
3782 ac_cache_corrupted=false
3783 for ac_var in $ac_precious_vars; do
3784 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3785 eval ac_new_set=\$ac_env_${ac_var}_set
3786 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3787 eval ac_new_val=\$ac_env_${ac_var}_value
3788 case $ac_old_set,$ac_new_set in
3789 set,)
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3791 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3792 ac_cache_corrupted=: ;;
3793 ,set)
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3795 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3796 ac_cache_corrupted=: ;;
3797 ,);;
3799 if test "x$ac_old_val" != "x$ac_new_val"; then
3800 # differences in whitespace do not lead to failure.
3801 ac_old_val_w=`echo x $ac_old_val`
3802 ac_new_val_w=`echo x $ac_new_val`
3803 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3805 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3806 ac_cache_corrupted=:
3807 else
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3809 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3810 eval $ac_var=\$ac_old_val
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3813 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3815 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3816 fi;;
3817 esac
3818 # Pass precious variables to config.status.
3819 if test "$ac_new_set" = set; then
3820 case $ac_new_val in
3821 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3822 *) ac_arg=$ac_var=$ac_new_val ;;
3823 esac
3824 case " $ac_configure_args " in
3825 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3826 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3827 esac
3829 done
3830 if $ac_cache_corrupted; then
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3832 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3834 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3835 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3837 ## -------------------- ##
3838 ## Main body of script. ##
3839 ## -------------------- ##
3841 ac_ext=c
3842 ac_cpp='$CPP $CPPFLAGS'
3843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3849 ac_config_headers="$ac_config_headers include/config.h"
3851 ac_aux_dir=
3852 for ac_dir in tools "$srcdir"/tools; do
3853 if test -f "$ac_dir/install-sh"; then
3854 ac_aux_dir=$ac_dir
3855 ac_install_sh="$ac_aux_dir/install-sh -c"
3856 break
3857 elif test -f "$ac_dir/install.sh"; then
3858 ac_aux_dir=$ac_dir
3859 ac_install_sh="$ac_aux_dir/install.sh -c"
3860 break
3861 elif test -f "$ac_dir/shtool"; then
3862 ac_aux_dir=$ac_dir
3863 ac_install_sh="$ac_aux_dir/shtool install -c"
3864 break
3866 done
3867 if test -z "$ac_aux_dir"; then
3868 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3871 # These three variables are undocumented and unsupported,
3872 # and are intended to be withdrawn in a future Autoconf release.
3873 # They can cause serious problems if a builder's source tree is in a directory
3874 # whose full name contains unusual characters.
3875 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3876 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3877 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3881 libwine_version="1.0"
3885 # Check whether --enable-win16 was given.
3886 if test "${enable_win16+set}" = set; then :
3887 enableval=$enable_win16;
3890 # Check whether --enable-win64 was given.
3891 if test "${enable_win64+set}" = set; then :
3892 enableval=$enable_win64;
3895 # Check whether --enable-tests was given.
3896 if test "${enable_tests+set}" = set; then :
3897 enableval=$enable_tests;
3900 # Check whether --enable-maintainer-mode was given.
3901 if test "${enable_maintainer_mode+set}" = set; then :
3902 enableval=$enable_maintainer_mode;
3905 # Check whether --enable-werror was given.
3906 if test "${enable_werror+set}" = set; then :
3907 enableval=$enable_werror;
3912 # Check whether --with-alsa was given.
3913 if test "${with_alsa+set}" = set; then :
3914 withval=$with_alsa;
3918 # Check whether --with-capi was given.
3919 if test "${with_capi+set}" = set; then :
3920 withval=$with_capi;
3924 # Check whether --with-cms was given.
3925 if test "${with_cms+set}" = set; then :
3926 withval=$with_cms;
3930 # Check whether --with-coreaudio was given.
3931 if test "${with_coreaudio+set}" = set; then :
3932 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3936 # Check whether --with-cups was given.
3937 if test "${with_cups+set}" = set; then :
3938 withval=$with_cups;
3942 # Check whether --with-dbus was given.
3943 if test "${with_dbus+set}" = set; then :
3944 withval=$with_dbus;
3948 # Check whether --with-faudio was given.
3949 if test "${with_faudio+set}" = set; then :
3950 withval=$with_faudio;
3954 # Check whether --with-float-abi was given.
3955 if test "${with_float_abi+set}" = set; then :
3956 withval=$with_float_abi;
3960 # Check whether --with-fontconfig was given.
3961 if test "${with_fontconfig+set}" = set; then :
3962 withval=$with_fontconfig;
3966 # Check whether --with-freetype was given.
3967 if test "${with_freetype+set}" = set; then :
3968 withval=$with_freetype;
3972 # Check whether --with-gettext was given.
3973 if test "${with_gettext+set}" = set; then :
3974 withval=$with_gettext;
3978 # Check whether --with-gettextpo was given.
3979 if test "${with_gettextpo+set}" = set; then :
3980 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3984 # Check whether --with-gphoto was given.
3985 if test "${with_gphoto+set}" = set; then :
3986 withval=$with_gphoto;
3990 # Check whether --with-glu was given.
3991 if test "${with_glu+set}" = set; then :
3992 withval=$with_glu;
3996 # Check whether --with-gnutls was given.
3997 if test "${with_gnutls+set}" = set; then :
3998 withval=$with_gnutls;
4002 # Check whether --with-gsm was given.
4003 if test "${with_gsm+set}" = set; then :
4004 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4008 # Check whether --with-gssapi was given.
4009 if test "${with_gssapi+set}" = set; then :
4010 withval=$with_gssapi;
4014 # Check whether --with-gstreamer was given.
4015 if test "${with_gstreamer+set}" = set; then :
4016 withval=$with_gstreamer;
4020 # Check whether --with-hal was given.
4021 if test "${with_hal+set}" = set; then :
4022 withval=$with_hal;
4026 # Check whether --with-inotify was given.
4027 if test "${with_inotify+set}" = set; then :
4028 withval=$with_inotify;
4032 # Check whether --with-jpeg was given.
4033 if test "${with_jpeg+set}" = set; then :
4034 withval=$with_jpeg;
4038 # Check whether --with-krb5 was given.
4039 if test "${with_krb5+set}" = set; then :
4040 withval=$with_krb5;
4044 # Check whether --with-ldap was given.
4045 if test "${with_ldap+set}" = set; then :
4046 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4050 # Check whether --with-mingw was given.
4051 if test "${with_mingw+set}" = set; then :
4052 withval=$with_mingw;
4056 # Check whether --with-mpg123 was given.
4057 if test "${with_mpg123+set}" = set; then :
4058 withval=$with_mpg123;
4062 # Check whether --with-netapi was given.
4063 if test "${with_netapi+set}" = set; then :
4064 withval=$with_netapi;
4068 # Check whether --with-openal was given.
4069 if test "${with_openal+set}" = set; then :
4070 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4074 # Check whether --with-opencl was given.
4075 if test "${with_opencl+set}" = set; then :
4076 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4080 # Check whether --with-opengl was given.
4081 if test "${with_opengl+set}" = set; then :
4082 withval=$with_opengl;
4086 # Check whether --with-osmesa was given.
4087 if test "${with_osmesa+set}" = set; then :
4088 withval=$with_osmesa;
4092 # Check whether --with-oss was given.
4093 if test "${with_oss+set}" = set; then :
4094 withval=$with_oss;
4098 # Check whether --with-pcap was given.
4099 if test "${with_pcap+set}" = set; then :
4100 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4104 # Check whether --with-png was given.
4105 if test "${with_png+set}" = set; then :
4106 withval=$with_png;
4110 # Check whether --with-pthread was given.
4111 if test "${with_pthread+set}" = set; then :
4112 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4116 # Check whether --with-pulse was given.
4117 if test "${with_pulse+set}" = set; then :
4118 withval=$with_pulse;
4122 # Check whether --with-quicktime was given.
4123 if test "${with_quicktime+set}" = set; then :
4124 withval=$with_quicktime;
4128 # Check whether --with-sane was given.
4129 if test "${with_sane+set}" = set; then :
4130 withval=$with_sane;
4134 # Check whether --with-sdl was given.
4135 if test "${with_sdl+set}" = set; then :
4136 withval=$with_sdl;
4140 # Check whether --with-tiff was given.
4141 if test "${with_tiff+set}" = set; then :
4142 withval=$with_tiff;
4146 # Check whether --with-udev was given.
4147 if test "${with_udev+set}" = set; then :
4148 withval=$with_udev;
4152 # Check whether --with-unwind was given.
4153 if test "${with_unwind+set}" = set; then :
4154 withval=$with_unwind;
4158 # Check whether --with-usb was given.
4159 if test "${with_usb+set}" = set; then :
4160 withval=$with_usb;
4164 # Check whether --with-v4l2 was given.
4165 if test "${with_v4l2+set}" = set; then :
4166 withval=$with_v4l2;
4170 # Check whether --with-vkd3d was given.
4171 if test "${with_vkd3d+set}" = set; then :
4172 withval=$with_vkd3d;
4176 # Check whether --with-vulkan was given.
4177 if test "${with_vulkan+set}" = set; then :
4178 withval=$with_vulkan;
4182 # Check whether --with-xcomposite was given.
4183 if test "${with_xcomposite+set}" = set; then :
4184 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4188 # Check whether --with-xcursor was given.
4189 if test "${with_xcursor+set}" = set; then :
4190 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4194 # Check whether --with-xfixes was given.
4195 if test "${with_xfixes+set}" = set; then :
4196 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4200 # Check whether --with-xinerama was given.
4201 if test "${with_xinerama+set}" = set; then :
4202 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4206 # Check whether --with-xinput was given.
4207 if test "${with_xinput+set}" = set; then :
4208 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4212 # Check whether --with-xinput2 was given.
4213 if test "${with_xinput2+set}" = set; then :
4214 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4218 # Check whether --with-xml was given.
4219 if test "${with_xml+set}" = set; then :
4220 withval=$with_xml;
4224 # Check whether --with-xrandr was given.
4225 if test "${with_xrandr+set}" = set; then :
4226 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4230 # Check whether --with-xrender was given.
4231 if test "${with_xrender+set}" = set; then :
4232 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4236 # Check whether --with-xshape was given.
4237 if test "${with_xshape+set}" = set; then :
4238 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4242 # Check whether --with-xshm was given.
4243 if test "${with_xshm+set}" = set; then :
4244 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4248 # Check whether --with-xslt was given.
4249 if test "${with_xslt+set}" = set; then :
4250 withval=$with_xslt;
4254 # Check whether --with-xxf86vm was given.
4255 if test "${with_xxf86vm+set}" = set; then :
4256 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
4261 # Check whether --with-wine-tools was given.
4262 if test "${with_wine_tools+set}" = set; then :
4263 withval=$with_wine_tools;
4267 # Check whether --with-wine64 was given.
4268 if test "${with_wine64+set}" = set; then :
4269 withval=$with_wine64;
4273 # Make sure we can run config.sub.
4274 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4275 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4278 $as_echo_n "checking build system type... " >&6; }
4279 if ${ac_cv_build+:} false; then :
4280 $as_echo_n "(cached) " >&6
4281 else
4282 ac_build_alias=$build_alias
4283 test "x$ac_build_alias" = x &&
4284 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4285 test "x$ac_build_alias" = x &&
4286 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4287 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4288 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4292 $as_echo "$ac_cv_build" >&6; }
4293 case $ac_cv_build in
4294 *-*-*) ;;
4295 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4296 esac
4297 build=$ac_cv_build
4298 ac_save_IFS=$IFS; IFS='-'
4299 set x $ac_cv_build
4300 shift
4301 build_cpu=$1
4302 build_vendor=$2
4303 shift; shift
4304 # Remember, the first character of IFS is used to create $*,
4305 # except with old shells:
4306 build_os=$*
4307 IFS=$ac_save_IFS
4308 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4312 $as_echo_n "checking host system type... " >&6; }
4313 if ${ac_cv_host+:} false; then :
4314 $as_echo_n "(cached) " >&6
4315 else
4316 if test "x$host_alias" = x; then
4317 ac_cv_host=$ac_cv_build
4318 else
4319 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4320 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4325 $as_echo "$ac_cv_host" >&6; }
4326 case $ac_cv_host in
4327 *-*-*) ;;
4328 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4329 esac
4330 host=$ac_cv_host
4331 ac_save_IFS=$IFS; IFS='-'
4332 set x $ac_cv_host
4333 shift
4334 host_cpu=$1
4335 host_vendor=$2
4336 shift; shift
4337 # Remember, the first character of IFS is used to create $*,
4338 # except with old shells:
4339 host_os=$*
4340 IFS=$ac_save_IFS
4341 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4347 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4348 set x ${MAKE-make}
4349 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4350 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4351 $as_echo_n "(cached) " >&6
4352 else
4353 cat >conftest.make <<\_ACEOF
4354 SHELL = /bin/sh
4355 all:
4356 @echo '@@@%%%=$(MAKE)=@@@%%%'
4357 _ACEOF
4358 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4359 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4360 *@@@%%%=?*=@@@%%%*)
4361 eval ac_cv_prog_make_${ac_make}_set=yes;;
4363 eval ac_cv_prog_make_${ac_make}_set=no;;
4364 esac
4365 rm -f conftest.make
4367 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4369 $as_echo "yes" >&6; }
4370 SET_MAKE=
4371 else
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4373 $as_echo "no" >&6; }
4374 SET_MAKE="MAKE=${MAKE-make}"
4377 ac_ext=c
4378 ac_cpp='$CPP $CPPFLAGS'
4379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4382 if test -n "$ac_tool_prefix"; then
4383 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4384 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4386 $as_echo_n "checking for $ac_word... " >&6; }
4387 if ${ac_cv_prog_CC+:} false; then :
4388 $as_echo_n "(cached) " >&6
4389 else
4390 if test -n "$CC"; then
4391 ac_cv_prog_CC="$CC" # Let the user override the test.
4392 else
4393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4394 for as_dir in $PATH
4396 IFS=$as_save_IFS
4397 test -z "$as_dir" && as_dir=.
4398 for ac_exec_ext in '' $ac_executable_extensions; do
4399 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4400 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4402 break 2
4404 done
4405 done
4406 IFS=$as_save_IFS
4410 CC=$ac_cv_prog_CC
4411 if test -n "$CC"; then
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4413 $as_echo "$CC" >&6; }
4414 else
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4416 $as_echo "no" >&6; }
4421 if test -z "$ac_cv_prog_CC"; then
4422 ac_ct_CC=$CC
4423 # Extract the first word of "gcc", so it can be a program name with args.
4424 set dummy gcc; ac_word=$2
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4426 $as_echo_n "checking for $ac_word... " >&6; }
4427 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4428 $as_echo_n "(cached) " >&6
4429 else
4430 if test -n "$ac_ct_CC"; then
4431 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4432 else
4433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4434 for as_dir in $PATH
4436 IFS=$as_save_IFS
4437 test -z "$as_dir" && as_dir=.
4438 for ac_exec_ext in '' $ac_executable_extensions; do
4439 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4440 ac_cv_prog_ac_ct_CC="gcc"
4441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4442 break 2
4444 done
4445 done
4446 IFS=$as_save_IFS
4450 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4451 if test -n "$ac_ct_CC"; then
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4453 $as_echo "$ac_ct_CC" >&6; }
4454 else
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4456 $as_echo "no" >&6; }
4459 if test "x$ac_ct_CC" = x; then
4460 CC=""
4461 else
4462 case $cross_compiling:$ac_tool_warned in
4463 yes:)
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4465 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4466 ac_tool_warned=yes ;;
4467 esac
4468 CC=$ac_ct_CC
4470 else
4471 CC="$ac_cv_prog_CC"
4474 if test -z "$CC"; then
4475 if test -n "$ac_tool_prefix"; then
4476 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4477 set dummy ${ac_tool_prefix}cc; ac_word=$2
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4479 $as_echo_n "checking for $ac_word... " >&6; }
4480 if ${ac_cv_prog_CC+:} false; then :
4481 $as_echo_n "(cached) " >&6
4482 else
4483 if test -n "$CC"; then
4484 ac_cv_prog_CC="$CC" # Let the user override the test.
4485 else
4486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4487 for as_dir in $PATH
4489 IFS=$as_save_IFS
4490 test -z "$as_dir" && as_dir=.
4491 for ac_exec_ext in '' $ac_executable_extensions; do
4492 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4493 ac_cv_prog_CC="${ac_tool_prefix}cc"
4494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4495 break 2
4497 done
4498 done
4499 IFS=$as_save_IFS
4503 CC=$ac_cv_prog_CC
4504 if test -n "$CC"; then
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4506 $as_echo "$CC" >&6; }
4507 else
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4509 $as_echo "no" >&6; }
4515 if test -z "$CC"; then
4516 # Extract the first word of "cc", so it can be a program name with args.
4517 set dummy cc; ac_word=$2
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4519 $as_echo_n "checking for $ac_word... " >&6; }
4520 if ${ac_cv_prog_CC+:} false; then :
4521 $as_echo_n "(cached) " >&6
4522 else
4523 if test -n "$CC"; then
4524 ac_cv_prog_CC="$CC" # Let the user override the test.
4525 else
4526 ac_prog_rejected=no
4527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4528 for as_dir in $PATH
4530 IFS=$as_save_IFS
4531 test -z "$as_dir" && as_dir=.
4532 for ac_exec_ext in '' $ac_executable_extensions; do
4533 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4534 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4535 ac_prog_rejected=yes
4536 continue
4538 ac_cv_prog_CC="cc"
4539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4540 break 2
4542 done
4543 done
4544 IFS=$as_save_IFS
4546 if test $ac_prog_rejected = yes; then
4547 # We found a bogon in the path, so make sure we never use it.
4548 set dummy $ac_cv_prog_CC
4549 shift
4550 if test $# != 0; then
4551 # We chose a different compiler from the bogus one.
4552 # However, it has the same basename, so the bogon will be chosen
4553 # first if we set CC to just the basename; use the full file name.
4554 shift
4555 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4560 CC=$ac_cv_prog_CC
4561 if test -n "$CC"; then
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4563 $as_echo "$CC" >&6; }
4564 else
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4566 $as_echo "no" >&6; }
4571 if test -z "$CC"; then
4572 if test -n "$ac_tool_prefix"; then
4573 for ac_prog in cl.exe
4575 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4576 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4578 $as_echo_n "checking for $ac_word... " >&6; }
4579 if ${ac_cv_prog_CC+:} false; then :
4580 $as_echo_n "(cached) " >&6
4581 else
4582 if test -n "$CC"; then
4583 ac_cv_prog_CC="$CC" # Let the user override the test.
4584 else
4585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4586 for as_dir in $PATH
4588 IFS=$as_save_IFS
4589 test -z "$as_dir" && as_dir=.
4590 for ac_exec_ext in '' $ac_executable_extensions; do
4591 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4592 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4594 break 2
4596 done
4597 done
4598 IFS=$as_save_IFS
4602 CC=$ac_cv_prog_CC
4603 if test -n "$CC"; then
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4605 $as_echo "$CC" >&6; }
4606 else
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4608 $as_echo "no" >&6; }
4612 test -n "$CC" && break
4613 done
4615 if test -z "$CC"; then
4616 ac_ct_CC=$CC
4617 for ac_prog in cl.exe
4619 # Extract the first word of "$ac_prog", so it can be a program name with args.
4620 set dummy $ac_prog; ac_word=$2
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4622 $as_echo_n "checking for $ac_word... " >&6; }
4623 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4624 $as_echo_n "(cached) " >&6
4625 else
4626 if test -n "$ac_ct_CC"; then
4627 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4628 else
4629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4630 for as_dir in $PATH
4632 IFS=$as_save_IFS
4633 test -z "$as_dir" && as_dir=.
4634 for ac_exec_ext in '' $ac_executable_extensions; do
4635 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4636 ac_cv_prog_ac_ct_CC="$ac_prog"
4637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4638 break 2
4640 done
4641 done
4642 IFS=$as_save_IFS
4646 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4647 if test -n "$ac_ct_CC"; then
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4649 $as_echo "$ac_ct_CC" >&6; }
4650 else
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4652 $as_echo "no" >&6; }
4656 test -n "$ac_ct_CC" && break
4657 done
4659 if test "x$ac_ct_CC" = x; then
4660 CC=""
4661 else
4662 case $cross_compiling:$ac_tool_warned in
4663 yes:)
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4665 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4666 ac_tool_warned=yes ;;
4667 esac
4668 CC=$ac_ct_CC
4675 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4676 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4677 as_fn_error $? "no acceptable C compiler found in \$PATH
4678 See \`config.log' for more details" "$LINENO" 5; }
4680 # Provide some information about the compiler.
4681 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4682 set X $ac_compile
4683 ac_compiler=$2
4684 for ac_option in --version -v -V -qversion; do
4685 { { ac_try="$ac_compiler $ac_option >&5"
4686 case "(($ac_try" in
4687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4688 *) ac_try_echo=$ac_try;;
4689 esac
4690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4691 $as_echo "$ac_try_echo"; } >&5
4692 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4693 ac_status=$?
4694 if test -s conftest.err; then
4695 sed '10a\
4696 ... rest of stderr output deleted ...
4697 10q' conftest.err >conftest.er1
4698 cat conftest.er1 >&5
4700 rm -f conftest.er1 conftest.err
4701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4702 test $ac_status = 0; }
4703 done
4705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4706 /* end confdefs.h. */
4709 main ()
4713 return 0;
4715 _ACEOF
4716 ac_clean_files_save=$ac_clean_files
4717 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4718 # Try to create an executable without -o first, disregard a.out.
4719 # It will help us diagnose broken compilers, and finding out an intuition
4720 # of exeext.
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4722 $as_echo_n "checking whether the C compiler works... " >&6; }
4723 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4725 # The possible output files:
4726 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4728 ac_rmfiles=
4729 for ac_file in $ac_files
4731 case $ac_file in
4732 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4733 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4734 esac
4735 done
4736 rm -f $ac_rmfiles
4738 if { { ac_try="$ac_link_default"
4739 case "(($ac_try" in
4740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4741 *) ac_try_echo=$ac_try;;
4742 esac
4743 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4744 $as_echo "$ac_try_echo"; } >&5
4745 (eval "$ac_link_default") 2>&5
4746 ac_status=$?
4747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4748 test $ac_status = 0; }; then :
4749 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4750 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4751 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4752 # so that the user can short-circuit this test for compilers unknown to
4753 # Autoconf.
4754 for ac_file in $ac_files ''
4756 test -f "$ac_file" || continue
4757 case $ac_file in
4758 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4760 [ab].out )
4761 # We found the default executable, but exeext='' is most
4762 # certainly right.
4763 break;;
4764 *.* )
4765 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4766 then :; else
4767 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4769 # We set ac_cv_exeext here because the later test for it is not
4770 # safe: cross compilers may not add the suffix if given an `-o'
4771 # argument, so we may need to know it at that point already.
4772 # Even if this section looks crufty: it has the advantage of
4773 # actually working.
4774 break;;
4776 break;;
4777 esac
4778 done
4779 test "$ac_cv_exeext" = no && ac_cv_exeext=
4781 else
4782 ac_file=''
4784 if test -z "$ac_file"; then :
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4786 $as_echo "no" >&6; }
4787 $as_echo "$as_me: failed program was:" >&5
4788 sed 's/^/| /' conftest.$ac_ext >&5
4790 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4791 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4792 as_fn_error 77 "C compiler cannot create executables
4793 See \`config.log' for more details" "$LINENO" 5; }
4794 else
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4796 $as_echo "yes" >&6; }
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4799 $as_echo_n "checking for C compiler default output file name... " >&6; }
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4801 $as_echo "$ac_file" >&6; }
4802 ac_exeext=$ac_cv_exeext
4804 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4805 ac_clean_files=$ac_clean_files_save
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4807 $as_echo_n "checking for suffix of executables... " >&6; }
4808 if { { ac_try="$ac_link"
4809 case "(($ac_try" in
4810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4811 *) ac_try_echo=$ac_try;;
4812 esac
4813 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4814 $as_echo "$ac_try_echo"; } >&5
4815 (eval "$ac_link") 2>&5
4816 ac_status=$?
4817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4818 test $ac_status = 0; }; then :
4819 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4820 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4821 # work properly (i.e., refer to `conftest.exe'), while it won't with
4822 # `rm'.
4823 for ac_file in conftest.exe conftest conftest.*; do
4824 test -f "$ac_file" || continue
4825 case $ac_file in
4826 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4827 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4828 break;;
4829 * ) break;;
4830 esac
4831 done
4832 else
4833 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4834 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4835 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4836 See \`config.log' for more details" "$LINENO" 5; }
4838 rm -f conftest conftest$ac_cv_exeext
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4840 $as_echo "$ac_cv_exeext" >&6; }
4842 rm -f conftest.$ac_ext
4843 EXEEXT=$ac_cv_exeext
4844 ac_exeext=$EXEEXT
4845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4846 /* end confdefs.h. */
4847 #include <stdio.h>
4849 main ()
4851 FILE *f = fopen ("conftest.out", "w");
4852 return ferror (f) || fclose (f) != 0;
4855 return 0;
4857 _ACEOF
4858 ac_clean_files="$ac_clean_files conftest.out"
4859 # Check that the compiler produces executables we can run. If not, either
4860 # the compiler is broken, or we cross compile.
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4862 $as_echo_n "checking whether we are cross compiling... " >&6; }
4863 if test "$cross_compiling" != yes; then
4864 { { ac_try="$ac_link"
4865 case "(($ac_try" in
4866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4867 *) ac_try_echo=$ac_try;;
4868 esac
4869 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4870 $as_echo "$ac_try_echo"; } >&5
4871 (eval "$ac_link") 2>&5
4872 ac_status=$?
4873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4874 test $ac_status = 0; }
4875 if { ac_try='./conftest$ac_cv_exeext'
4876 { { case "(($ac_try" in
4877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4878 *) ac_try_echo=$ac_try;;
4879 esac
4880 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4881 $as_echo "$ac_try_echo"; } >&5
4882 (eval "$ac_try") 2>&5
4883 ac_status=$?
4884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4885 test $ac_status = 0; }; }; then
4886 cross_compiling=no
4887 else
4888 if test "$cross_compiling" = maybe; then
4889 cross_compiling=yes
4890 else
4891 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4892 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4893 as_fn_error $? "cannot run C compiled programs.
4894 If you meant to cross compile, use \`--host'.
4895 See \`config.log' for more details" "$LINENO" 5; }
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4900 $as_echo "$cross_compiling" >&6; }
4902 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4903 ac_clean_files=$ac_clean_files_save
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4905 $as_echo_n "checking for suffix of object files... " >&6; }
4906 if ${ac_cv_objext+:} false; then :
4907 $as_echo_n "(cached) " >&6
4908 else
4909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4910 /* end confdefs.h. */
4913 main ()
4917 return 0;
4919 _ACEOF
4920 rm -f conftest.o conftest.obj
4921 if { { ac_try="$ac_compile"
4922 case "(($ac_try" in
4923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4924 *) ac_try_echo=$ac_try;;
4925 esac
4926 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4927 $as_echo "$ac_try_echo"; } >&5
4928 (eval "$ac_compile") 2>&5
4929 ac_status=$?
4930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4931 test $ac_status = 0; }; then :
4932 for ac_file in conftest.o conftest.obj conftest.*; do
4933 test -f "$ac_file" || continue;
4934 case $ac_file in
4935 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4936 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4937 break;;
4938 esac
4939 done
4940 else
4941 $as_echo "$as_me: failed program was:" >&5
4942 sed 's/^/| /' conftest.$ac_ext >&5
4944 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4945 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4946 as_fn_error $? "cannot compute suffix of object files: cannot compile
4947 See \`config.log' for more details" "$LINENO" 5; }
4949 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4952 $as_echo "$ac_cv_objext" >&6; }
4953 OBJEXT=$ac_cv_objext
4954 ac_objext=$OBJEXT
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4956 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4957 if ${ac_cv_c_compiler_gnu+:} false; then :
4958 $as_echo_n "(cached) " >&6
4959 else
4960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4961 /* end confdefs.h. */
4964 main ()
4966 #ifndef __GNUC__
4967 choke me
4968 #endif
4971 return 0;
4973 _ACEOF
4974 if ac_fn_c_try_compile "$LINENO"; then :
4975 ac_compiler_gnu=yes
4976 else
4977 ac_compiler_gnu=no
4979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4980 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4984 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4985 if test $ac_compiler_gnu = yes; then
4986 GCC=yes
4987 else
4988 GCC=
4990 ac_test_CFLAGS=${CFLAGS+set}
4991 ac_save_CFLAGS=$CFLAGS
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4993 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4994 if ${ac_cv_prog_cc_g+:} false; then :
4995 $as_echo_n "(cached) " >&6
4996 else
4997 ac_save_c_werror_flag=$ac_c_werror_flag
4998 ac_c_werror_flag=yes
4999 ac_cv_prog_cc_g=no
5000 CFLAGS="-g"
5001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5002 /* end confdefs.h. */
5005 main ()
5009 return 0;
5011 _ACEOF
5012 if ac_fn_c_try_compile "$LINENO"; then :
5013 ac_cv_prog_cc_g=yes
5014 else
5015 CFLAGS=""
5016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5017 /* end confdefs.h. */
5020 main ()
5024 return 0;
5026 _ACEOF
5027 if ac_fn_c_try_compile "$LINENO"; then :
5029 else
5030 ac_c_werror_flag=$ac_save_c_werror_flag
5031 CFLAGS="-g"
5032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5033 /* end confdefs.h. */
5036 main ()
5040 return 0;
5042 _ACEOF
5043 if ac_fn_c_try_compile "$LINENO"; then :
5044 ac_cv_prog_cc_g=yes
5046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5051 ac_c_werror_flag=$ac_save_c_werror_flag
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5054 $as_echo "$ac_cv_prog_cc_g" >&6; }
5055 if test "$ac_test_CFLAGS" = set; then
5056 CFLAGS=$ac_save_CFLAGS
5057 elif test $ac_cv_prog_cc_g = yes; then
5058 if test "$GCC" = yes; then
5059 CFLAGS="-g -O2"
5060 else
5061 CFLAGS="-g"
5063 else
5064 if test "$GCC" = yes; then
5065 CFLAGS="-O2"
5066 else
5067 CFLAGS=
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5071 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5072 if ${ac_cv_prog_cc_c89+:} false; then :
5073 $as_echo_n "(cached) " >&6
5074 else
5075 ac_cv_prog_cc_c89=no
5076 ac_save_CC=$CC
5077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5078 /* end confdefs.h. */
5079 #include <stdarg.h>
5080 #include <stdio.h>
5081 struct stat;
5082 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5083 struct buf { int x; };
5084 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5085 static char *e (p, i)
5086 char **p;
5087 int i;
5089 return p[i];
5091 static char *f (char * (*g) (char **, int), char **p, ...)
5093 char *s;
5094 va_list v;
5095 va_start (v,p);
5096 s = g (p, va_arg (v,int));
5097 va_end (v);
5098 return s;
5101 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5102 function prototypes and stuff, but not '\xHH' hex character constants.
5103 These don't provoke an error unfortunately, instead are silently treated
5104 as 'x'. The following induces an error, until -std is added to get
5105 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5106 array size at least. It's necessary to write '\x00'==0 to get something
5107 that's true only with -std. */
5108 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5110 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5111 inside strings and character constants. */
5112 #define FOO(x) 'x'
5113 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5115 int test (int i, double x);
5116 struct s1 {int (*f) (int a);};
5117 struct s2 {int (*f) (double a);};
5118 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5119 int argc;
5120 char **argv;
5122 main ()
5124 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5126 return 0;
5128 _ACEOF
5129 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5130 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5132 CC="$ac_save_CC $ac_arg"
5133 if ac_fn_c_try_compile "$LINENO"; then :
5134 ac_cv_prog_cc_c89=$ac_arg
5136 rm -f core conftest.err conftest.$ac_objext
5137 test "x$ac_cv_prog_cc_c89" != "xno" && break
5138 done
5139 rm -f conftest.$ac_ext
5140 CC=$ac_save_CC
5143 # AC_CACHE_VAL
5144 case "x$ac_cv_prog_cc_c89" in
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5147 $as_echo "none needed" >&6; } ;;
5148 xno)
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5150 $as_echo "unsupported" >&6; } ;;
5152 CC="$CC $ac_cv_prog_cc_c89"
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5154 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5155 esac
5156 if test "x$ac_cv_prog_cc_c89" != xno; then :
5160 ac_ext=c
5161 ac_cpp='$CPP $CPPFLAGS'
5162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5166 ac_ext=cpp
5167 ac_cpp='$CXXCPP $CPPFLAGS'
5168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5171 if test -z "$CXX"; then
5172 if test -n "$CCC"; then
5173 CXX=$CCC
5174 else
5175 if test -n "$ac_tool_prefix"; then
5176 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5178 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5179 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5181 $as_echo_n "checking for $ac_word... " >&6; }
5182 if ${ac_cv_prog_CXX+:} false; then :
5183 $as_echo_n "(cached) " >&6
5184 else
5185 if test -n "$CXX"; then
5186 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5187 else
5188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5189 for as_dir in $PATH
5191 IFS=$as_save_IFS
5192 test -z "$as_dir" && as_dir=.
5193 for ac_exec_ext in '' $ac_executable_extensions; do
5194 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5195 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5197 break 2
5199 done
5200 done
5201 IFS=$as_save_IFS
5205 CXX=$ac_cv_prog_CXX
5206 if test -n "$CXX"; then
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5208 $as_echo "$CXX" >&6; }
5209 else
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5211 $as_echo "no" >&6; }
5215 test -n "$CXX" && break
5216 done
5218 if test -z "$CXX"; then
5219 ac_ct_CXX=$CXX
5220 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5222 # Extract the first word of "$ac_prog", so it can be a program name with args.
5223 set dummy $ac_prog; ac_word=$2
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5225 $as_echo_n "checking for $ac_word... " >&6; }
5226 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5227 $as_echo_n "(cached) " >&6
5228 else
5229 if test -n "$ac_ct_CXX"; then
5230 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5231 else
5232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5233 for as_dir in $PATH
5235 IFS=$as_save_IFS
5236 test -z "$as_dir" && as_dir=.
5237 for ac_exec_ext in '' $ac_executable_extensions; do
5238 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5239 ac_cv_prog_ac_ct_CXX="$ac_prog"
5240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5241 break 2
5243 done
5244 done
5245 IFS=$as_save_IFS
5249 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5250 if test -n "$ac_ct_CXX"; then
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5252 $as_echo "$ac_ct_CXX" >&6; }
5253 else
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5255 $as_echo "no" >&6; }
5259 test -n "$ac_ct_CXX" && break
5260 done
5262 if test "x$ac_ct_CXX" = x; then
5263 CXX="g++"
5264 else
5265 case $cross_compiling:$ac_tool_warned in
5266 yes:)
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5268 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5269 ac_tool_warned=yes ;;
5270 esac
5271 CXX=$ac_ct_CXX
5277 # Provide some information about the compiler.
5278 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5279 set X $ac_compile
5280 ac_compiler=$2
5281 for ac_option in --version -v -V -qversion; do
5282 { { ac_try="$ac_compiler $ac_option >&5"
5283 case "(($ac_try" in
5284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5285 *) ac_try_echo=$ac_try;;
5286 esac
5287 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5288 $as_echo "$ac_try_echo"; } >&5
5289 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5290 ac_status=$?
5291 if test -s conftest.err; then
5292 sed '10a\
5293 ... rest of stderr output deleted ...
5294 10q' conftest.err >conftest.er1
5295 cat conftest.er1 >&5
5297 rm -f conftest.er1 conftest.err
5298 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5299 test $ac_status = 0; }
5300 done
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5303 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5304 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5305 $as_echo_n "(cached) " >&6
5306 else
5307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5308 /* end confdefs.h. */
5311 main ()
5313 #ifndef __GNUC__
5314 choke me
5315 #endif
5318 return 0;
5320 _ACEOF
5321 if ac_fn_cxx_try_compile "$LINENO"; then :
5322 ac_compiler_gnu=yes
5323 else
5324 ac_compiler_gnu=no
5326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5327 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5331 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5332 if test $ac_compiler_gnu = yes; then
5333 GXX=yes
5334 else
5335 GXX=
5337 ac_test_CXXFLAGS=${CXXFLAGS+set}
5338 ac_save_CXXFLAGS=$CXXFLAGS
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5340 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5341 if ${ac_cv_prog_cxx_g+:} false; then :
5342 $as_echo_n "(cached) " >&6
5343 else
5344 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5345 ac_cxx_werror_flag=yes
5346 ac_cv_prog_cxx_g=no
5347 CXXFLAGS="-g"
5348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5349 /* end confdefs.h. */
5352 main ()
5356 return 0;
5358 _ACEOF
5359 if ac_fn_cxx_try_compile "$LINENO"; then :
5360 ac_cv_prog_cxx_g=yes
5361 else
5362 CXXFLAGS=""
5363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5364 /* end confdefs.h. */
5367 main ()
5371 return 0;
5373 _ACEOF
5374 if ac_fn_cxx_try_compile "$LINENO"; then :
5376 else
5377 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5378 CXXFLAGS="-g"
5379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5380 /* end confdefs.h. */
5383 main ()
5387 return 0;
5389 _ACEOF
5390 if ac_fn_cxx_try_compile "$LINENO"; then :
5391 ac_cv_prog_cxx_g=yes
5393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5398 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5401 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5402 if test "$ac_test_CXXFLAGS" = set; then
5403 CXXFLAGS=$ac_save_CXXFLAGS
5404 elif test $ac_cv_prog_cxx_g = yes; then
5405 if test "$GXX" = yes; then
5406 CXXFLAGS="-g -O2"
5407 else
5408 CXXFLAGS="-g"
5410 else
5411 if test "$GXX" = yes; then
5412 CXXFLAGS="-O2"
5413 else
5414 CXXFLAGS=
5417 ac_ext=c
5418 ac_cpp='$CPP $CPPFLAGS'
5419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5423 if test -n "$ac_tool_prefix"; then
5424 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5425 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5427 $as_echo_n "checking for $ac_word... " >&6; }
5428 if ${ac_cv_prog_CPPBIN+:} false; then :
5429 $as_echo_n "(cached) " >&6
5430 else
5431 if test -n "$CPPBIN"; then
5432 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5433 else
5434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5435 for as_dir in $PATH
5437 IFS=$as_save_IFS
5438 test -z "$as_dir" && as_dir=.
5439 for ac_exec_ext in '' $ac_executable_extensions; do
5440 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5441 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5443 break 2
5445 done
5446 done
5447 IFS=$as_save_IFS
5451 CPPBIN=$ac_cv_prog_CPPBIN
5452 if test -n "$CPPBIN"; then
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5454 $as_echo "$CPPBIN" >&6; }
5455 else
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5457 $as_echo "no" >&6; }
5462 if test -z "$ac_cv_prog_CPPBIN"; then
5463 ac_ct_CPPBIN=$CPPBIN
5464 # Extract the first word of "cpp", so it can be a program name with args.
5465 set dummy cpp; ac_word=$2
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5467 $as_echo_n "checking for $ac_word... " >&6; }
5468 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5469 $as_echo_n "(cached) " >&6
5470 else
5471 if test -n "$ac_ct_CPPBIN"; then
5472 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5473 else
5474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5475 for as_dir in $PATH
5477 IFS=$as_save_IFS
5478 test -z "$as_dir" && as_dir=.
5479 for ac_exec_ext in '' $ac_executable_extensions; do
5480 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5481 ac_cv_prog_ac_ct_CPPBIN="cpp"
5482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5483 break 2
5485 done
5486 done
5487 IFS=$as_save_IFS
5491 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5492 if test -n "$ac_ct_CPPBIN"; then
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5494 $as_echo "$ac_ct_CPPBIN" >&6; }
5495 else
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5497 $as_echo "no" >&6; }
5500 if test "x$ac_ct_CPPBIN" = x; then
5501 CPPBIN="cpp"
5502 else
5503 case $cross_compiling:$ac_tool_warned in
5504 yes:)
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5506 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5507 ac_tool_warned=yes ;;
5508 esac
5509 CPPBIN=$ac_ct_CPPBIN
5511 else
5512 CPPBIN="$ac_cv_prog_CPPBIN"
5516 cat >>confdefs.h <<_ACEOF
5517 #define EXEEXT "$ac_exeext"
5518 _ACEOF
5520 if test -n "$ac_tool_prefix"; then
5521 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5522 set dummy ${ac_tool_prefix}ld; ac_word=$2
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5524 $as_echo_n "checking for $ac_word... " >&6; }
5525 if ${ac_cv_prog_LD+:} false; then :
5526 $as_echo_n "(cached) " >&6
5527 else
5528 if test -n "$LD"; then
5529 ac_cv_prog_LD="$LD" # Let the user override the test.
5530 else
5531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5532 for as_dir in $PATH
5534 IFS=$as_save_IFS
5535 test -z "$as_dir" && as_dir=.
5536 for ac_exec_ext in '' $ac_executable_extensions; do
5537 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5538 ac_cv_prog_LD="${ac_tool_prefix}ld"
5539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5540 break 2
5542 done
5543 done
5544 IFS=$as_save_IFS
5548 LD=$ac_cv_prog_LD
5549 if test -n "$LD"; then
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5551 $as_echo "$LD" >&6; }
5552 else
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5554 $as_echo "no" >&6; }
5559 if test -z "$ac_cv_prog_LD"; then
5560 ac_ct_LD=$LD
5561 # Extract the first word of "ld", so it can be a program name with args.
5562 set dummy ld; ac_word=$2
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5564 $as_echo_n "checking for $ac_word... " >&6; }
5565 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5566 $as_echo_n "(cached) " >&6
5567 else
5568 if test -n "$ac_ct_LD"; then
5569 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5570 else
5571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5572 for as_dir in $PATH
5574 IFS=$as_save_IFS
5575 test -z "$as_dir" && as_dir=.
5576 for ac_exec_ext in '' $ac_executable_extensions; do
5577 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5578 ac_cv_prog_ac_ct_LD="ld"
5579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5580 break 2
5582 done
5583 done
5584 IFS=$as_save_IFS
5588 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5589 if test -n "$ac_ct_LD"; then
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5591 $as_echo "$ac_ct_LD" >&6; }
5592 else
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5594 $as_echo "no" >&6; }
5597 if test "x$ac_ct_LD" = x; then
5598 LD=""
5599 else
5600 case $cross_compiling:$ac_tool_warned in
5601 yes:)
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5603 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5604 ac_tool_warned=yes ;;
5605 esac
5606 LD=$ac_ct_LD
5608 else
5609 LD="$ac_cv_prog_LD"
5613 case $host in
5614 *-darwin*)
5615 with_fontconfig=${with_fontconfig:-no}
5617 *-mingw32*|*-cygwin*)
5618 enable_win16=${enable_win16:-no}
5619 with_mingw=${with_mingw:-no}
5620 CFLAGS="$CFLAGS -D_WIN32"
5622 esac
5624 case $host in
5625 x86_64*|amd64*)
5626 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5627 then
5628 CC="$CC -m32"
5629 CXX="$CXX -m32"
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5632 $as_echo_n "checking whether $CC works... " >&6; }
5633 if ${wine_cv_cc_m32+:} false; then :
5634 $as_echo_n "(cached) " >&6
5635 else
5636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5637 /* end confdefs.h. */
5640 main ()
5644 return 0;
5646 _ACEOF
5647 if ac_fn_c_try_link "$LINENO"; then :
5648 wine_cv_cc_m32=yes
5649 else
5650 wine_cv_cc_m32=no
5652 rm -f core conftest.err conftest.$ac_objext \
5653 conftest$ac_exeext conftest.$ac_ext
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5656 $as_echo "$wine_cv_cc_m32" >&6; }
5657 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
5658 host_cpu="i386"
5659 notice_platform="32-bit "
5660 TARGETFLAGS="-m32"
5662 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5663 export PKG_CONFIG_PATH
5664 enable_win16=${enable_win16:-yes}
5665 with_unwind=${with_unwind:-no}
5666 else
5667 if test "x${GCC}" = "xyes"
5668 then
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5670 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5671 if ${wine_cv_builtin_ms_va_list+:} false; then :
5672 $as_echo_n "(cached) " >&6
5673 else
5674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5675 /* end confdefs.h. */
5676 #include <stdarg.h>
5678 main ()
5680 void func(__builtin_ms_va_list *args);
5682 return 0;
5684 _ACEOF
5685 if ac_fn_c_try_compile "$LINENO"; then :
5686 wine_cv_builtin_ms_va_list=yes
5687 else
5688 wine_cv_builtin_ms_va_list=no
5690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5693 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5694 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
5696 CC="$CC -m64"
5697 CXX="$CXX -m64"
5698 host_cpu="x86_64"
5699 notice_platform="64-bit "
5700 TARGETFLAGS="-m64"
5704 arm*)
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5706 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5707 if ${wine_cv_thumb+:} false; then :
5708 $as_echo_n "(cached) " >&6
5709 else
5710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5711 /* end confdefs.h. */
5712 int ac_test(int i) { return i; }
5714 main ()
5716 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5718 return 0;
5720 _ACEOF
5721 if ac_fn_c_try_link "$LINENO"; then :
5722 wine_cv_thumb=yes
5723 else
5724 wine_cv_thumb=no
5726 rm -f core conftest.err conftest.$ac_objext \
5727 conftest$ac_exeext conftest.$ac_ext
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5730 $as_echo "$wine_cv_thumb" >&6; }
5731 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5732 case $with_float_abi in
5733 soft|softfp|hard)
5734 float_abi=$with_float_abi ;;
5736 case $host_os in
5737 *eabihf)
5738 float_abi=hard ;;
5740 float_abi=softfp
5741 saved_CFLAGS=$CFLAGS
5742 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5744 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5745 if ${wine_cv_float_abi+:} false; then :
5746 $as_echo_n "(cached) " >&6
5747 else
5748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5749 /* end confdefs.h. */
5752 main ()
5754 asm("vmrs r2,fpscr");
5756 return 0;
5758 _ACEOF
5759 if ac_fn_c_try_link "$LINENO"; then :
5760 wine_cv_float_abi=yes
5761 else
5762 wine_cv_float_abi=no
5764 rm -f core conftest.err conftest.$ac_objext \
5765 conftest$ac_exeext conftest.$ac_ext
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5768 $as_echo "$wine_cv_float_abi" >&6; }
5769 if test $wine_cv_float_abi = no
5770 then
5771 float_abi=soft
5772 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5774 CFLAGS=$saved_CFLAGS
5775 esac
5777 esac
5778 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5779 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5782 aarch64*)
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5784 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5785 if ${wine_cv_builtin_ms_va_list+:} false; then :
5786 $as_echo_n "(cached) " >&6
5787 else
5788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5789 /* end confdefs.h. */
5790 #include <stdarg.h>
5792 main ()
5794 void func(__builtin_ms_va_list *args);
5796 return 0;
5798 _ACEOF
5799 if ac_fn_c_try_compile "$LINENO"; then :
5800 wine_cv_builtin_ms_va_list=yes
5801 else
5802 wine_cv_builtin_ms_va_list=no
5804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5807 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5808 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5810 i[3456789]86*)
5811 enable_win16=${enable_win16:-yes}
5812 with_unwind=${with_unwind:-no}
5814 esac
5816 enable_win16=${enable_win16:-no}
5817 enable_win64=${enable_win64:-no}
5819 enable_winetest=${enable_winetest:-$enable_tests}
5821 if test "x$enable_win64" = "xyes"
5822 then
5823 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5824 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5825 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5829 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5830 if ${wine_cv_toolsdir+:} false; then :
5831 $as_echo_n "(cached) " >&6
5832 else
5833 wine_cv_toolsdir="$with_wine_tools"
5834 if test -z "$with_wine_tools"; then
5835 if test "$cross_compiling" = "yes"; then
5836 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5837 elif test -n "$with_wine64"; then
5838 wine_cv_toolsdir="$with_wine64"
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5843 $as_echo "$wine_cv_toolsdir" >&6; }
5844 if test -z "$wine_cv_toolsdir"; then
5845 wine_makedep=tools/makedep
5846 TOOLSDIR="."
5848 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5849 wine_makedep=$wine_cv_toolsdir/tools/makedep
5850 TOOLSDIR=$wine_cv_toolsdir
5852 enable_tools=${enable_tools:-no}
5853 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5854 else
5855 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5857 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5858 then
5859 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5863 for ac_prog in flex
5865 # Extract the first word of "$ac_prog", so it can be a program name with args.
5866 set dummy $ac_prog; ac_word=$2
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5868 $as_echo_n "checking for $ac_word... " >&6; }
5869 if ${ac_cv_prog_FLEX+:} false; then :
5870 $as_echo_n "(cached) " >&6
5871 else
5872 if test -n "$FLEX"; then
5873 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5874 else
5875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5876 for as_dir in $PATH
5878 IFS=$as_save_IFS
5879 test -z "$as_dir" && as_dir=.
5880 for ac_exec_ext in '' $ac_executable_extensions; do
5881 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5882 ac_cv_prog_FLEX="$ac_prog"
5883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5884 break 2
5886 done
5887 done
5888 IFS=$as_save_IFS
5892 FLEX=$ac_cv_prog_FLEX
5893 if test -n "$FLEX"; then
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5895 $as_echo "$FLEX" >&6; }
5896 else
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5898 $as_echo "no" >&6; }
5902 test -n "$FLEX" && break
5903 done
5904 test -n "$FLEX" || FLEX="none"
5906 if test "$FLEX" = "none"
5907 then
5908 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5911 $as_echo_n "checking whether flex is recent enough... " >&6; }
5912 if ${wine_cv_recent_flex+:} false; then :
5913 $as_echo_n "(cached) " >&6
5914 else
5915 cat >conftest.l <<EOF
5916 %top{
5917 #include "prediluvian.h"
5921 if $FLEX -t conftest.l >/dev/null 2>&5
5922 then
5923 wine_cv_recent_flex=yes
5924 else
5925 wine_cv_recent_flex=no
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5929 $as_echo "$wine_cv_recent_flex" >&6; }
5930 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
5932 for ac_prog in bison
5934 # Extract the first word of "$ac_prog", so it can be a program name with args.
5935 set dummy $ac_prog; ac_word=$2
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5937 $as_echo_n "checking for $ac_word... " >&6; }
5938 if ${ac_cv_prog_BISON+:} false; then :
5939 $as_echo_n "(cached) " >&6
5940 else
5941 if test -n "$BISON"; then
5942 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5943 else
5944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5945 for as_dir in $PATH
5947 IFS=$as_save_IFS
5948 test -z "$as_dir" && as_dir=.
5949 for ac_exec_ext in '' $ac_executable_extensions; do
5950 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5951 ac_cv_prog_BISON="$ac_prog"
5952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5953 break 2
5955 done
5956 done
5957 IFS=$as_save_IFS
5961 BISON=$ac_cv_prog_BISON
5962 if test -n "$BISON"; then
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5964 $as_echo "$BISON" >&6; }
5965 else
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5967 $as_echo "no" >&6; }
5971 test -n "$BISON" && break
5972 done
5973 test -n "$BISON" || BISON="none"
5975 if test "$BISON" = "none"
5976 then
5977 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5980 $as_echo_n "checking whether bison is recent enough... " >&6; }
5981 if ${wine_cv_recent_bison+:} false; then :
5982 $as_echo_n "(cached) " >&6
5983 else
5984 cat >conftest.y <<EOF
5985 %define parse.error verbose
5987 empty: ;
5989 if $BISON conftest.y >/dev/null 2>&5
5990 then
5991 wine_cv_recent_bison=yes
5992 else
5993 wine_cv_recent_bison=no
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5997 $as_echo "$wine_cv_recent_bison" >&6; }
5998 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
6000 if test -n "$ac_tool_prefix"; then
6001 for ac_prog in ar gar
6003 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6004 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6006 $as_echo_n "checking for $ac_word... " >&6; }
6007 if ${ac_cv_prog_AR+:} false; then :
6008 $as_echo_n "(cached) " >&6
6009 else
6010 if test -n "$AR"; then
6011 ac_cv_prog_AR="$AR" # Let the user override the test.
6012 else
6013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6014 for as_dir in $PATH
6016 IFS=$as_save_IFS
6017 test -z "$as_dir" && as_dir=.
6018 for ac_exec_ext in '' $ac_executable_extensions; do
6019 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6020 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6022 break 2
6024 done
6025 done
6026 IFS=$as_save_IFS
6030 AR=$ac_cv_prog_AR
6031 if test -n "$AR"; then
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6033 $as_echo "$AR" >&6; }
6034 else
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6036 $as_echo "no" >&6; }
6040 test -n "$AR" && break
6041 done
6043 if test -z "$AR"; then
6044 ac_ct_AR=$AR
6045 for ac_prog in ar gar
6047 # Extract the first word of "$ac_prog", so it can be a program name with args.
6048 set dummy $ac_prog; ac_word=$2
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6050 $as_echo_n "checking for $ac_word... " >&6; }
6051 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6052 $as_echo_n "(cached) " >&6
6053 else
6054 if test -n "$ac_ct_AR"; then
6055 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6056 else
6057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6058 for as_dir in $PATH
6060 IFS=$as_save_IFS
6061 test -z "$as_dir" && as_dir=.
6062 for ac_exec_ext in '' $ac_executable_extensions; do
6063 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6064 ac_cv_prog_ac_ct_AR="$ac_prog"
6065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6066 break 2
6068 done
6069 done
6070 IFS=$as_save_IFS
6074 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6075 if test -n "$ac_ct_AR"; then
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6077 $as_echo "$ac_ct_AR" >&6; }
6078 else
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6080 $as_echo "no" >&6; }
6084 test -n "$ac_ct_AR" && break
6085 done
6087 if test "x$ac_ct_AR" = x; then
6088 AR="ar"
6089 else
6090 case $cross_compiling:$ac_tool_warned in
6091 yes:)
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6093 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6094 ac_tool_warned=yes ;;
6095 esac
6096 AR=$ac_ct_AR
6100 if test -n "$ac_tool_prefix"; then
6101 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6102 set dummy ${ac_tool_prefix}strip; ac_word=$2
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6104 $as_echo_n "checking for $ac_word... " >&6; }
6105 if ${ac_cv_prog_STRIP+:} false; then :
6106 $as_echo_n "(cached) " >&6
6107 else
6108 if test -n "$STRIP"; then
6109 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6110 else
6111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6112 for as_dir in $PATH
6114 IFS=$as_save_IFS
6115 test -z "$as_dir" && as_dir=.
6116 for ac_exec_ext in '' $ac_executable_extensions; do
6117 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6118 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6120 break 2
6122 done
6123 done
6124 IFS=$as_save_IFS
6128 STRIP=$ac_cv_prog_STRIP
6129 if test -n "$STRIP"; then
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6131 $as_echo "$STRIP" >&6; }
6132 else
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6134 $as_echo "no" >&6; }
6139 if test -z "$ac_cv_prog_STRIP"; then
6140 ac_ct_STRIP=$STRIP
6141 # Extract the first word of "strip", so it can be a program name with args.
6142 set dummy strip; ac_word=$2
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6144 $as_echo_n "checking for $ac_word... " >&6; }
6145 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6146 $as_echo_n "(cached) " >&6
6147 else
6148 if test -n "$ac_ct_STRIP"; then
6149 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6150 else
6151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6152 for as_dir in $PATH
6154 IFS=$as_save_IFS
6155 test -z "$as_dir" && as_dir=.
6156 for ac_exec_ext in '' $ac_executable_extensions; do
6157 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6158 ac_cv_prog_ac_ct_STRIP="strip"
6159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6160 break 2
6162 done
6163 done
6164 IFS=$as_save_IFS
6168 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6169 if test -n "$ac_ct_STRIP"; then
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6171 $as_echo "$ac_ct_STRIP" >&6; }
6172 else
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6174 $as_echo "no" >&6; }
6177 if test "x$ac_ct_STRIP" = x; then
6178 STRIP="strip"
6179 else
6180 case $cross_compiling:$ac_tool_warned in
6181 yes:)
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6183 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6184 ac_tool_warned=yes ;;
6185 esac
6186 STRIP=$ac_ct_STRIP
6188 else
6189 STRIP="$ac_cv_prog_STRIP"
6192 if test -n "$ac_tool_prefix"; then
6193 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6194 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6196 $as_echo_n "checking for $ac_word... " >&6; }
6197 if ${ac_cv_prog_RANLIB+:} false; then :
6198 $as_echo_n "(cached) " >&6
6199 else
6200 if test -n "$RANLIB"; then
6201 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6202 else
6203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6204 for as_dir in $PATH
6206 IFS=$as_save_IFS
6207 test -z "$as_dir" && as_dir=.
6208 for ac_exec_ext in '' $ac_executable_extensions; do
6209 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6210 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6212 break 2
6214 done
6215 done
6216 IFS=$as_save_IFS
6220 RANLIB=$ac_cv_prog_RANLIB
6221 if test -n "$RANLIB"; then
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6223 $as_echo "$RANLIB" >&6; }
6224 else
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6226 $as_echo "no" >&6; }
6231 if test -z "$ac_cv_prog_RANLIB"; then
6232 ac_ct_RANLIB=$RANLIB
6233 # Extract the first word of "ranlib", so it can be a program name with args.
6234 set dummy ranlib; ac_word=$2
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6236 $as_echo_n "checking for $ac_word... " >&6; }
6237 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6238 $as_echo_n "(cached) " >&6
6239 else
6240 if test -n "$ac_ct_RANLIB"; then
6241 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6242 else
6243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6244 for as_dir in $PATH
6246 IFS=$as_save_IFS
6247 test -z "$as_dir" && as_dir=.
6248 for ac_exec_ext in '' $ac_executable_extensions; do
6249 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6250 ac_cv_prog_ac_ct_RANLIB="ranlib"
6251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6252 break 2
6254 done
6255 done
6256 IFS=$as_save_IFS
6260 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6261 if test -n "$ac_ct_RANLIB"; then
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6263 $as_echo "$ac_ct_RANLIB" >&6; }
6264 else
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6266 $as_echo "no" >&6; }
6269 if test "x$ac_ct_RANLIB" = x; then
6270 RANLIB=":"
6271 else
6272 case $cross_compiling:$ac_tool_warned in
6273 yes:)
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6275 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6276 ac_tool_warned=yes ;;
6277 esac
6278 RANLIB=$ac_ct_RANLIB
6280 else
6281 RANLIB="$ac_cv_prog_RANLIB"
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6285 $as_echo_n "checking whether ln -s works... " >&6; }
6286 LN_S=$as_ln_s
6287 if test "$LN_S" = "ln -s"; then
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6289 $as_echo "yes" >&6; }
6290 else
6291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6292 $as_echo "no, using $LN_S" >&6; }
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6296 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6297 if ${ac_cv_path_GREP+:} false; then :
6298 $as_echo_n "(cached) " >&6
6299 else
6300 if test -z "$GREP"; then
6301 ac_path_GREP_found=false
6302 # Loop through the user's path and test for each of PROGNAME-LIST
6303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6304 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6306 IFS=$as_save_IFS
6307 test -z "$as_dir" && as_dir=.
6308 for ac_prog in grep ggrep; do
6309 for ac_exec_ext in '' $ac_executable_extensions; do
6310 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6311 as_fn_executable_p "$ac_path_GREP" || continue
6312 # Check for GNU ac_path_GREP and select it if it is found.
6313 # Check for GNU $ac_path_GREP
6314 case `"$ac_path_GREP" --version 2>&1` in
6315 *GNU*)
6316 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6318 ac_count=0
6319 $as_echo_n 0123456789 >"conftest.in"
6320 while :
6322 cat "conftest.in" "conftest.in" >"conftest.tmp"
6323 mv "conftest.tmp" "conftest.in"
6324 cp "conftest.in" "conftest.nl"
6325 $as_echo 'GREP' >> "conftest.nl"
6326 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6327 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6328 as_fn_arith $ac_count + 1 && ac_count=$as_val
6329 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6330 # Best one so far, save it but keep looking for a better one
6331 ac_cv_path_GREP="$ac_path_GREP"
6332 ac_path_GREP_max=$ac_count
6334 # 10*(2^10) chars as input seems more than enough
6335 test $ac_count -gt 10 && break
6336 done
6337 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6338 esac
6340 $ac_path_GREP_found && break 3
6341 done
6342 done
6343 done
6344 IFS=$as_save_IFS
6345 if test -z "$ac_cv_path_GREP"; then
6346 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6348 else
6349 ac_cv_path_GREP=$GREP
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6354 $as_echo "$ac_cv_path_GREP" >&6; }
6355 GREP="$ac_cv_path_GREP"
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6359 $as_echo_n "checking for egrep... " >&6; }
6360 if ${ac_cv_path_EGREP+:} false; then :
6361 $as_echo_n "(cached) " >&6
6362 else
6363 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6364 then ac_cv_path_EGREP="$GREP -E"
6365 else
6366 if test -z "$EGREP"; then
6367 ac_path_EGREP_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 egrep; do
6375 for ac_exec_ext in '' $ac_executable_extensions; do
6376 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6377 as_fn_executable_p "$ac_path_EGREP" || continue
6378 # Check for GNU ac_path_EGREP and select it if it is found.
6379 # Check for GNU $ac_path_EGREP
6380 case `"$ac_path_EGREP" --version 2>&1` in
6381 *GNU*)
6382 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_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 'EGREP' >> "conftest.nl"
6392 "$ac_path_EGREP" 'EGREP$' < "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_EGREP_max-0}; then
6396 # Best one so far, save it but keep looking for a better one
6397 ac_cv_path_EGREP="$ac_path_EGREP"
6398 ac_path_EGREP_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_EGREP_found && break 3
6407 done
6408 done
6409 done
6410 IFS=$as_save_IFS
6411 if test -z "$ac_cv_path_EGREP"; then
6412 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6414 else
6415 ac_cv_path_EGREP=$EGREP
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6421 $as_echo "$ac_cv_path_EGREP" >&6; }
6422 EGREP="$ac_cv_path_EGREP"
6425 # Extract the first word of "ldconfig", so it can be a program name with args.
6426 set dummy ldconfig; ac_word=$2
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6428 $as_echo_n "checking for $ac_word... " >&6; }
6429 if ${ac_cv_path_LDCONFIG+:} false; then :
6430 $as_echo_n "(cached) " >&6
6431 else
6432 case $LDCONFIG in
6433 [\\/]* | ?:[\\/]*)
6434 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6438 for as_dir in /sbin /usr/sbin $PATH
6440 IFS=$as_save_IFS
6441 test -z "$as_dir" && as_dir=.
6442 for ac_exec_ext in '' $ac_executable_extensions; do
6443 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6444 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6446 break 2
6448 done
6449 done
6450 IFS=$as_save_IFS
6452 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6454 esac
6456 LDCONFIG=$ac_cv_path_LDCONFIG
6457 if test -n "$LDCONFIG"; then
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6459 $as_echo "$LDCONFIG" >&6; }
6460 else
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6462 $as_echo "no" >&6; }
6466 for ac_prog in msgfmt
6468 # Extract the first word of "$ac_prog", so it can be a program name with args.
6469 set dummy $ac_prog; ac_word=$2
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6471 $as_echo_n "checking for $ac_word... " >&6; }
6472 if ${ac_cv_prog_MSGFMT+:} false; then :
6473 $as_echo_n "(cached) " >&6
6474 else
6475 if test -n "$MSGFMT"; then
6476 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6477 else
6478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6479 for as_dir in $PATH
6481 IFS=$as_save_IFS
6482 test -z "$as_dir" && as_dir=.
6483 for ac_exec_ext in '' $ac_executable_extensions; do
6484 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6485 ac_cv_prog_MSGFMT="$ac_prog"
6486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6487 break 2
6489 done
6490 done
6491 IFS=$as_save_IFS
6495 MSGFMT=$ac_cv_prog_MSGFMT
6496 if test -n "$MSGFMT"; then
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6498 $as_echo "$MSGFMT" >&6; }
6499 else
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6501 $as_echo "no" >&6; }
6505 test -n "$MSGFMT" && break
6506 done
6507 test -n "$MSGFMT" || MSGFMT="false"
6509 if ${ac_tool_prefix+:} false; then :
6510 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6511 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6513 $as_echo_n "checking for $ac_word... " >&6; }
6514 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6515 $as_echo_n "(cached) " >&6
6516 else
6517 if test -n "$PKG_CONFIG"; then
6518 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6519 else
6520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6521 for as_dir in $PATH
6523 IFS=$as_save_IFS
6524 test -z "$as_dir" && as_dir=.
6525 for ac_exec_ext in '' $ac_executable_extensions; do
6526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6527 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6529 break 2
6531 done
6532 done
6533 IFS=$as_save_IFS
6537 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6538 if test -n "$PKG_CONFIG"; then
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6540 $as_echo "$PKG_CONFIG" >&6; }
6541 else
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6543 $as_echo "no" >&6; }
6548 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6549 if test "x$cross_compiling" = xyes; then :
6551 else
6552 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6553 # Extract the first word of "pkg-config", so it can be a program name with args.
6554 set dummy pkg-config; ac_word=$2
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6556 $as_echo_n "checking for $ac_word... " >&6; }
6557 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6558 $as_echo_n "(cached) " >&6
6559 else
6560 if test -n "$PKG_CONFIG"; then
6561 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6562 else
6563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6564 for as_dir in $PATH
6566 IFS=$as_save_IFS
6567 test -z "$as_dir" && as_dir=.
6568 for ac_exec_ext in '' $ac_executable_extensions; do
6569 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6570 ac_cv_prog_PKG_CONFIG="pkg-config"
6571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6572 break 2
6574 done
6575 done
6576 IFS=$as_save_IFS
6580 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6581 if test -n "$PKG_CONFIG"; then
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6583 $as_echo "$PKG_CONFIG" >&6; }
6584 else
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6586 $as_echo "no" >&6; }
6591 else
6592 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6595 if test "x$enable_maintainer_mode" != "xyes"
6596 then
6597 FONTFORGE=""
6598 RSVG=""
6599 CONVERT=""
6600 ICOTOOL=""
6601 else
6602 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6603 for ac_prog in fontforge
6605 # Extract the first word of "$ac_prog", so it can be a program name with args.
6606 set dummy $ac_prog; ac_word=$2
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6608 $as_echo_n "checking for $ac_word... " >&6; }
6609 if ${ac_cv_prog_FONTFORGE+:} false; then :
6610 $as_echo_n "(cached) " >&6
6611 else
6612 if test -n "$FONTFORGE"; then
6613 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6614 else
6615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6616 for as_dir in $PATH
6618 IFS=$as_save_IFS
6619 test -z "$as_dir" && as_dir=.
6620 for ac_exec_ext in '' $ac_executable_extensions; do
6621 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6622 ac_cv_prog_FONTFORGE="$ac_prog"
6623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6624 break 2
6626 done
6627 done
6628 IFS=$as_save_IFS
6632 FONTFORGE=$ac_cv_prog_FONTFORGE
6633 if test -n "$FONTFORGE"; then
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6635 $as_echo "$FONTFORGE" >&6; }
6636 else
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6638 $as_echo "no" >&6; }
6642 test -n "$FONTFORGE" && break
6643 done
6644 test -n "$FONTFORGE" || FONTFORGE="false"
6646 for ac_prog in rsvg-convert rsvg
6648 # Extract the first word of "$ac_prog", so it can be a program name with args.
6649 set dummy $ac_prog; ac_word=$2
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6651 $as_echo_n "checking for $ac_word... " >&6; }
6652 if ${ac_cv_prog_RSVG+:} false; then :
6653 $as_echo_n "(cached) " >&6
6654 else
6655 if test -n "$RSVG"; then
6656 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6657 else
6658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6659 for as_dir in $PATH
6661 IFS=$as_save_IFS
6662 test -z "$as_dir" && as_dir=.
6663 for ac_exec_ext in '' $ac_executable_extensions; do
6664 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6665 ac_cv_prog_RSVG="$ac_prog"
6666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6667 break 2
6669 done
6670 done
6671 IFS=$as_save_IFS
6675 RSVG=$ac_cv_prog_RSVG
6676 if test -n "$RSVG"; then
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6678 $as_echo "$RSVG" >&6; }
6679 else
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6681 $as_echo "no" >&6; }
6685 test -n "$RSVG" && break
6686 done
6687 test -n "$RSVG" || RSVG="false"
6689 for ac_prog in convert
6691 # Extract the first word of "$ac_prog", so it can be a program name with args.
6692 set dummy $ac_prog; ac_word=$2
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6694 $as_echo_n "checking for $ac_word... " >&6; }
6695 if ${ac_cv_prog_CONVERT+:} false; then :
6696 $as_echo_n "(cached) " >&6
6697 else
6698 if test -n "$CONVERT"; then
6699 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6700 else
6701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6702 for as_dir in $PATH
6704 IFS=$as_save_IFS
6705 test -z "$as_dir" && as_dir=.
6706 for ac_exec_ext in '' $ac_executable_extensions; do
6707 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6708 ac_cv_prog_CONVERT="$ac_prog"
6709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6710 break 2
6712 done
6713 done
6714 IFS=$as_save_IFS
6718 CONVERT=$ac_cv_prog_CONVERT
6719 if test -n "$CONVERT"; then
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6721 $as_echo "$CONVERT" >&6; }
6722 else
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6724 $as_echo "no" >&6; }
6728 test -n "$CONVERT" && break
6729 done
6730 test -n "$CONVERT" || CONVERT="false"
6732 for ac_prog in icotool
6734 # Extract the first word of "$ac_prog", so it can be a program name with args.
6735 set dummy $ac_prog; ac_word=$2
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6737 $as_echo_n "checking for $ac_word... " >&6; }
6738 if ${ac_cv_prog_ICOTOOL+:} false; then :
6739 $as_echo_n "(cached) " >&6
6740 else
6741 if test -n "$ICOTOOL"; then
6742 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6743 else
6744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6745 for as_dir in $PATH
6747 IFS=$as_save_IFS
6748 test -z "$as_dir" && as_dir=.
6749 for ac_exec_ext in '' $ac_executable_extensions; do
6750 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6751 ac_cv_prog_ICOTOOL="$ac_prog"
6752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6753 break 2
6755 done
6756 done
6757 IFS=$as_save_IFS
6761 ICOTOOL=$ac_cv_prog_ICOTOOL
6762 if test -n "$ICOTOOL"; then
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6764 $as_echo "$ICOTOOL" >&6; }
6765 else
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6767 $as_echo "no" >&6; }
6771 test -n "$ICOTOOL" && break
6772 done
6773 test -n "$ICOTOOL" || ICOTOOL="false"
6775 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6776 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6778 if test "$CONVERT" = false
6779 then
6780 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6781 else
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6783 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6784 convert_version=`convert --version | head -n1`
6785 if test "x$convert_version" != "x"
6786 then
6787 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6788 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6789 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6790 then
6791 CONVERT=false
6794 if test "$CONVERT" = false
6795 then
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6797 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6798 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6799 else
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6801 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6805 if test "$ICOTOOL" = false
6806 then
6807 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6808 else
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6810 $as_echo_n "checking for recent enough icotool... " >&6; }
6811 icotool_version=`icotool --version | head -n1`
6812 if test "x$icotool_version" != "x"
6813 then
6814 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6815 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6816 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6817 then
6818 ICOTOOL=false
6819 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6822 if test "$ICOTOOL" = false
6823 then
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6825 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6826 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6827 else
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6829 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6833 with_gettext=yes
6834 with_gettextpo=yes
6836 enable_werror=yes
6839 test "x$with_gettext" != xno || MSGFMT=false
6840 if test "$MSGFMT" != "false"
6841 then
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6843 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6844 if ${wine_cv_msgfmt_contexts+:} false; then :
6845 $as_echo_n "(cached) " >&6
6846 else
6847 cat >conftest.po <<EOF
6848 # comment
6849 msgctxt "ctxt"
6850 msgid "id"
6851 msgstr "str"
6853 if $MSGFMT -o /dev/null conftest.po 2>&5
6854 then
6855 wine_cv_msgfmt_contexts=yes
6856 else
6857 wine_cv_msgfmt_contexts=no
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6861 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6862 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6864 if test "$MSGFMT" = false; then :
6865 case "x$with_gettext" in
6866 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6867 xno) ;;
6868 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6869 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6870 esac
6871 enable_po=${enable_po:-no}
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6876 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6877 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6878 $as_echo_n "(cached) " >&6
6879 else
6880 ac_check_lib_save_LIBS=$LIBS
6881 LIBS="-li386 $LIBS"
6882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6883 /* end confdefs.h. */
6885 /* Override any GCC internal prototype to avoid an error.
6886 Use char because int might match the return type of a GCC
6887 builtin and then its argument prototype would still apply. */
6888 #ifdef __cplusplus
6889 extern "C"
6890 #endif
6891 char i386_set_ldt ();
6893 main ()
6895 return i386_set_ldt ();
6897 return 0;
6899 _ACEOF
6900 if ac_fn_c_try_link "$LINENO"; then :
6901 ac_cv_lib_i386_i386_set_ldt=yes
6902 else
6903 ac_cv_lib_i386_i386_set_ldt=no
6905 rm -f core conftest.err conftest.$ac_objext \
6906 conftest$ac_exeext conftest.$ac_ext
6907 LIBS=$ac_check_lib_save_LIBS
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6910 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6911 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6912 I386_LIBS="-li386"
6917 OPENGL_LIBS=""
6921 # Check whether --enable-largefile was given.
6922 if test "${enable_largefile+set}" = set; then :
6923 enableval=$enable_largefile;
6926 if test "$enable_largefile" != no; then
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6929 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6930 if ${ac_cv_sys_largefile_CC+:} false; then :
6931 $as_echo_n "(cached) " >&6
6932 else
6933 ac_cv_sys_largefile_CC=no
6934 if test "$GCC" != yes; then
6935 ac_save_CC=$CC
6936 while :; do
6937 # IRIX 6.2 and later do not support large files by default,
6938 # so use the C compiler's -n32 option if that helps.
6939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6940 /* end confdefs.h. */
6941 #include <sys/types.h>
6942 /* Check that off_t can represent 2**63 - 1 correctly.
6943 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6944 since some C++ compilers masquerading as C compilers
6945 incorrectly reject 9223372036854775807. */
6946 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6947 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6948 && LARGE_OFF_T % 2147483647 == 1)
6949 ? 1 : -1];
6951 main ()
6955 return 0;
6957 _ACEOF
6958 if ac_fn_c_try_compile "$LINENO"; then :
6959 break
6961 rm -f core conftest.err conftest.$ac_objext
6962 CC="$CC -n32"
6963 if ac_fn_c_try_compile "$LINENO"; then :
6964 ac_cv_sys_largefile_CC=' -n32'; break
6966 rm -f core conftest.err conftest.$ac_objext
6967 break
6968 done
6969 CC=$ac_save_CC
6970 rm -f conftest.$ac_ext
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6974 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6975 if test "$ac_cv_sys_largefile_CC" != no; then
6976 CC=$CC$ac_cv_sys_largefile_CC
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6980 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6981 if ${ac_cv_sys_file_offset_bits+:} false; then :
6982 $as_echo_n "(cached) " >&6
6983 else
6984 while :; do
6985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6986 /* end confdefs.h. */
6987 #include <sys/types.h>
6988 /* Check that off_t can represent 2**63 - 1 correctly.
6989 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6990 since some C++ compilers masquerading as C compilers
6991 incorrectly reject 9223372036854775807. */
6992 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6993 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6994 && LARGE_OFF_T % 2147483647 == 1)
6995 ? 1 : -1];
6997 main ()
7001 return 0;
7003 _ACEOF
7004 if ac_fn_c_try_compile "$LINENO"; then :
7005 ac_cv_sys_file_offset_bits=no; break
7007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7009 /* end confdefs.h. */
7010 #define _FILE_OFFSET_BITS 64
7011 #include <sys/types.h>
7012 /* Check that off_t can represent 2**63 - 1 correctly.
7013 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7014 since some C++ compilers masquerading as C compilers
7015 incorrectly reject 9223372036854775807. */
7016 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7017 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7018 && LARGE_OFF_T % 2147483647 == 1)
7019 ? 1 : -1];
7021 main ()
7025 return 0;
7027 _ACEOF
7028 if ac_fn_c_try_compile "$LINENO"; then :
7029 ac_cv_sys_file_offset_bits=64; break
7031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7032 ac_cv_sys_file_offset_bits=unknown
7033 break
7034 done
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7037 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7038 case $ac_cv_sys_file_offset_bits in #(
7039 no | unknown) ;;
7041 cat >>confdefs.h <<_ACEOF
7042 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7043 _ACEOF
7045 esac
7046 rm -rf conftest*
7047 if test $ac_cv_sys_file_offset_bits = unknown; then
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7049 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7050 if ${ac_cv_sys_large_files+:} false; then :
7051 $as_echo_n "(cached) " >&6
7052 else
7053 while :; do
7054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7055 /* end confdefs.h. */
7056 #include <sys/types.h>
7057 /* Check that off_t can represent 2**63 - 1 correctly.
7058 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7059 since some C++ compilers masquerading as C compilers
7060 incorrectly reject 9223372036854775807. */
7061 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7062 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7063 && LARGE_OFF_T % 2147483647 == 1)
7064 ? 1 : -1];
7066 main ()
7070 return 0;
7072 _ACEOF
7073 if ac_fn_c_try_compile "$LINENO"; then :
7074 ac_cv_sys_large_files=no; break
7076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7078 /* end confdefs.h. */
7079 #define _LARGE_FILES 1
7080 #include <sys/types.h>
7081 /* Check that off_t can represent 2**63 - 1 correctly.
7082 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7083 since some C++ compilers masquerading as C compilers
7084 incorrectly reject 9223372036854775807. */
7085 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7086 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7087 && LARGE_OFF_T % 2147483647 == 1)
7088 ? 1 : -1];
7090 main ()
7094 return 0;
7096 _ACEOF
7097 if ac_fn_c_try_compile "$LINENO"; then :
7098 ac_cv_sys_large_files=1; break
7100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7101 ac_cv_sys_large_files=unknown
7102 break
7103 done
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7106 $as_echo "$ac_cv_sys_large_files" >&6; }
7107 case $ac_cv_sys_large_files in #(
7108 no | unknown) ;;
7110 cat >>confdefs.h <<_ACEOF
7111 #define _LARGE_FILES $ac_cv_sys_large_files
7112 _ACEOF
7114 esac
7115 rm -rf conftest*
7122 ac_ext=c
7123 ac_cpp='$CPP $CPPFLAGS'
7124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7128 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7129 # On Suns, sometimes $CPP names a directory.
7130 if test -n "$CPP" && test -d "$CPP"; then
7131 CPP=
7133 if test -z "$CPP"; then
7134 if ${ac_cv_prog_CPP+:} false; then :
7135 $as_echo_n "(cached) " >&6
7136 else
7137 # Double quotes because CPP needs to be expanded
7138 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7140 ac_preproc_ok=false
7141 for ac_c_preproc_warn_flag in '' yes
7143 # Use a header file that comes with gcc, so configuring glibc
7144 # with a fresh cross-compiler works.
7145 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7146 # <limits.h> exists even on freestanding compilers.
7147 # On the NeXT, cc -E runs the code through the compiler's parser,
7148 # not just through cpp. "Syntax error" is here to catch this case.
7149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7150 /* end confdefs.h. */
7151 #ifdef __STDC__
7152 # include <limits.h>
7153 #else
7154 # include <assert.h>
7155 #endif
7156 Syntax error
7157 _ACEOF
7158 if ac_fn_c_try_cpp "$LINENO"; then :
7160 else
7161 # Broken: fails on valid input.
7162 continue
7164 rm -f conftest.err conftest.i conftest.$ac_ext
7166 # OK, works on sane cases. Now check whether nonexistent headers
7167 # can be detected and how.
7168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7169 /* end confdefs.h. */
7170 #include <ac_nonexistent.h>
7171 _ACEOF
7172 if ac_fn_c_try_cpp "$LINENO"; then :
7173 # Broken: success on invalid input.
7174 continue
7175 else
7176 # Passes both tests.
7177 ac_preproc_ok=:
7178 break
7180 rm -f conftest.err conftest.i conftest.$ac_ext
7182 done
7183 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7184 rm -f conftest.i conftest.err conftest.$ac_ext
7185 if $ac_preproc_ok; then :
7186 break
7189 done
7190 ac_cv_prog_CPP=$CPP
7193 CPP=$ac_cv_prog_CPP
7194 else
7195 ac_cv_prog_CPP=$CPP
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7198 $as_echo "$CPP" >&6; }
7199 ac_preproc_ok=false
7200 for ac_c_preproc_warn_flag in '' yes
7202 # Use a header file that comes with gcc, so configuring glibc
7203 # with a fresh cross-compiler works.
7204 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7205 # <limits.h> exists even on freestanding compilers.
7206 # On the NeXT, cc -E runs the code through the compiler's parser,
7207 # not just through cpp. "Syntax error" is here to catch this case.
7208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7209 /* end confdefs.h. */
7210 #ifdef __STDC__
7211 # include <limits.h>
7212 #else
7213 # include <assert.h>
7214 #endif
7215 Syntax error
7216 _ACEOF
7217 if ac_fn_c_try_cpp "$LINENO"; then :
7219 else
7220 # Broken: fails on valid input.
7221 continue
7223 rm -f conftest.err conftest.i conftest.$ac_ext
7225 # OK, works on sane cases. Now check whether nonexistent headers
7226 # can be detected and how.
7227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7228 /* end confdefs.h. */
7229 #include <ac_nonexistent.h>
7230 _ACEOF
7231 if ac_fn_c_try_cpp "$LINENO"; then :
7232 # Broken: success on invalid input.
7233 continue
7234 else
7235 # Passes both tests.
7236 ac_preproc_ok=:
7237 break
7239 rm -f conftest.err conftest.i conftest.$ac_ext
7241 done
7242 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7243 rm -f conftest.i conftest.err conftest.$ac_ext
7244 if $ac_preproc_ok; then :
7246 else
7247 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7248 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7249 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7250 See \`config.log' for more details" "$LINENO" 5; }
7253 ac_ext=c
7254 ac_cpp='$CPP $CPPFLAGS'
7255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7261 $as_echo_n "checking for ANSI C header files... " >&6; }
7262 if ${ac_cv_header_stdc+:} false; then :
7263 $as_echo_n "(cached) " >&6
7264 else
7265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7266 /* end confdefs.h. */
7267 #include <stdlib.h>
7268 #include <stdarg.h>
7269 #include <string.h>
7270 #include <float.h>
7273 main ()
7277 return 0;
7279 _ACEOF
7280 if ac_fn_c_try_compile "$LINENO"; then :
7281 ac_cv_header_stdc=yes
7282 else
7283 ac_cv_header_stdc=no
7285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7287 if test $ac_cv_header_stdc = yes; then
7288 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7290 /* end confdefs.h. */
7291 #include <string.h>
7293 _ACEOF
7294 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7295 $EGREP "memchr" >/dev/null 2>&1; then :
7297 else
7298 ac_cv_header_stdc=no
7300 rm -f conftest*
7304 if test $ac_cv_header_stdc = yes; then
7305 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7307 /* end confdefs.h. */
7308 #include <stdlib.h>
7310 _ACEOF
7311 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7312 $EGREP "free" >/dev/null 2>&1; then :
7314 else
7315 ac_cv_header_stdc=no
7317 rm -f conftest*
7321 if test $ac_cv_header_stdc = yes; then
7322 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7323 if test "$cross_compiling" = yes; then :
7325 else
7326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7327 /* end confdefs.h. */
7328 #include <ctype.h>
7329 #include <stdlib.h>
7330 #if ((' ' & 0x0FF) == 0x020)
7331 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7332 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7333 #else
7334 # define ISLOWER(c) \
7335 (('a' <= (c) && (c) <= 'i') \
7336 || ('j' <= (c) && (c) <= 'r') \
7337 || ('s' <= (c) && (c) <= 'z'))
7338 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7339 #endif
7341 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7343 main ()
7345 int i;
7346 for (i = 0; i < 256; i++)
7347 if (XOR (islower (i), ISLOWER (i))
7348 || toupper (i) != TOUPPER (i))
7349 return 2;
7350 return 0;
7352 _ACEOF
7353 if ac_fn_c_try_run "$LINENO"; then :
7355 else
7356 ac_cv_header_stdc=no
7358 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7359 conftest.$ac_objext conftest.beam conftest.$ac_ext
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7365 $as_echo "$ac_cv_header_stdc" >&6; }
7366 if test $ac_cv_header_stdc = yes; then
7368 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7372 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7373 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7374 inttypes.h stdint.h unistd.h
7375 do :
7376 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7377 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7379 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7380 cat >>confdefs.h <<_ACEOF
7381 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7382 _ACEOF
7386 done
7389 for ac_header in \
7390 AL/al.h \
7391 ApplicationServices/ApplicationServices.h \
7392 AudioToolbox/AudioConverter.h \
7393 AudioUnit/AudioUnit.h \
7394 AudioUnit/AudioComponent.h \
7395 CL/cl.h \
7396 Carbon/Carbon.h \
7397 CommonCrypto/CommonCryptor.h \
7398 CoreAudio/CoreAudio.h \
7399 CoreServices/CoreServices.h \
7400 DiskArbitration/DiskArbitration.h \
7401 EGL/egl.h \
7402 IOKit/IOKitLib.h \
7403 IOKit/hid/IOHIDLib.h \
7404 OpenAL/al.h \
7405 OpenCL/opencl.h \
7406 QuickTime/ImageCompression.h \
7407 Security/Security.h \
7408 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7409 SystemConfiguration/SCNetworkConfiguration.h \
7410 alias.h \
7411 arpa/inet.h \
7412 arpa/nameser.h \
7413 asm/types.h \
7414 asm/user.h \
7415 dirent.h \
7416 dlfcn.h \
7417 elf.h \
7418 float.h \
7419 fnmatch.h \
7420 getopt.h \
7421 gettext-po.h \
7422 grp.h \
7423 gsm.h \
7424 gsm/gsm.h \
7425 ieeefp.h \
7426 inet/mib2.h \
7427 kstat.h \
7428 libproc.h \
7429 link.h \
7430 linux/cdrom.h \
7431 linux/compiler.h \
7432 linux/filter.h \
7433 linux/hdreg.h \
7434 linux/hidraw.h \
7435 linux/input.h \
7436 linux/ioctl.h \
7437 linux/joystick.h \
7438 linux/major.h \
7439 linux/param.h \
7440 linux/serial.h \
7441 linux/types.h \
7442 linux/ucdrom.h \
7443 lwp.h \
7444 mach-o/nlist.h \
7445 mach-o/loader.h \
7446 mach/mach.h \
7447 mach/machine.h \
7448 machine/cpu.h \
7449 machine/sysarch.h \
7450 mntent.h \
7451 netdb.h \
7452 netinet/in.h \
7453 netinet/in_systm.h \
7454 netinet/tcp.h \
7455 netinet/tcp_fsm.h \
7456 pcap/pcap.h \
7457 poll.h \
7458 port.h \
7459 pthread.h \
7460 pwd.h \
7461 sasl/sasl.h \
7462 sched.h \
7463 scsi/scsi.h \
7464 scsi/scsi_ioctl.h \
7465 scsi/sg.h \
7466 stdbool.h \
7467 stdint.h \
7468 stropts.h \
7469 sys/attr.h \
7470 sys/auxv.h \
7471 sys/cdio.h \
7472 sys/epoll.h \
7473 sys/event.h \
7474 sys/filio.h \
7475 sys/ioctl.h \
7476 sys/ipc.h \
7477 sys/link.h \
7478 sys/mman.h \
7479 sys/modem.h \
7480 sys/msg.h \
7481 sys/mtio.h \
7482 sys/param.h \
7483 sys/poll.h \
7484 sys/prctl.h \
7485 sys/protosw.h \
7486 sys/ptrace.h \
7487 sys/queue.h \
7488 sys/random.h \
7489 sys/resource.h \
7490 sys/scsiio.h \
7491 sys/shm.h \
7492 sys/signal.h \
7493 sys/socket.h \
7494 sys/socketvar.h \
7495 sys/sockio.h \
7496 sys/statvfs.h \
7497 sys/strtio.h \
7498 sys/syscall.h \
7499 sys/sysinfo.h \
7500 sys/tihdr.h \
7501 sys/time.h \
7502 sys/timeout.h \
7503 sys/times.h \
7504 sys/uio.h \
7505 sys/user.h \
7506 sys/utsname.h \
7507 sys/vnode.h \
7508 sys/wait.h \
7509 syscall.h \
7510 termios.h \
7511 unistd.h \
7512 utime.h \
7513 valgrind/memcheck.h \
7514 valgrind/valgrind.h
7516 do :
7517 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7518 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7519 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7520 cat >>confdefs.h <<_ACEOF
7521 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7522 _ACEOF
7526 done
7528 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7529 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7531 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7536 if test $ac_cv_header_sys_mkdev_h = no; then
7537 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7538 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7540 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7547 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7548 if ${ac_cv_header_stat_broken+:} false; then :
7549 $as_echo_n "(cached) " >&6
7550 else
7551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7552 /* end confdefs.h. */
7553 #include <sys/types.h>
7554 #include <sys/stat.h>
7556 #if defined S_ISBLK && defined S_IFDIR
7557 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7558 #endif
7560 #if defined S_ISBLK && defined S_IFCHR
7561 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7562 #endif
7564 #if defined S_ISLNK && defined S_IFREG
7565 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7566 #endif
7568 #if defined S_ISSOCK && defined S_IFREG
7569 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7570 #endif
7572 _ACEOF
7573 if ac_fn_c_try_compile "$LINENO"; then :
7574 ac_cv_header_stat_broken=no
7575 else
7576 ac_cv_header_stat_broken=yes
7578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7581 $as_echo "$ac_cv_header_stat_broken" >&6; }
7582 if test $ac_cv_header_stat_broken = yes; then
7584 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7590 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7591 do :
7592 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7593 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7594 #ifdef HAVE_SYS_PARAM_H
7595 # include <sys/param.h>
7596 #endif
7598 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7599 cat >>confdefs.h <<_ACEOF
7600 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7601 _ACEOF
7605 done
7608 saved_sysctl_h_CFLAGS=$CFLAGS
7609 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7610 for ac_header in sys/sysctl.h
7611 do :
7612 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7613 #ifdef HAVE_SYS_PARAM_H
7614 # include <sys/param.h>
7615 #endif
7617 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7618 cat >>confdefs.h <<_ACEOF
7619 #define HAVE_SYS_SYSCTL_H 1
7620 _ACEOF
7624 done
7626 CFLAGS=$saved_sysctl_h_CFLAGS
7628 for ac_header in \
7629 netinet/ip.h \
7630 net/if.h \
7631 net/if_arp.h \
7632 net/if_dl.h \
7633 net/if_types.h \
7634 net/route.h \
7635 netinet/if_ether.h \
7636 netinet/if_inarp.h \
7637 netinet/in_pcb.h \
7638 netinet/ip_icmp.h \
7639 netinet/ip_var.h \
7640 netinet/udp.h \
7641 netipx/ipx.h \
7642 sys/un.h \
7644 do :
7645 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7646 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7647 #ifdef HAVE_SYS_SOCKET_H
7648 # include <sys/socket.h>
7649 #endif
7650 #ifdef HAVE_SYS_SOCKETVAR_H
7651 # include <sys/socketvar.h>
7652 #endif
7653 #ifdef HAVE_NET_ROUTE_H
7654 # include <net/route.h>
7655 #endif
7656 #ifdef HAVE_NETINET_IN_H
7657 # include <netinet/in.h>
7658 #endif
7659 #ifdef HAVE_NETINET_IN_SYSTM_H
7660 # include <netinet/in_systm.h>
7661 #endif
7662 #ifdef HAVE_NET_IF_H
7663 # include <net/if.h>
7664 #endif
7665 #ifdef HAVE_NETINET_IP_H
7666 # include <netinet/ip.h>
7667 #endif
7669 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7670 cat >>confdefs.h <<_ACEOF
7671 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7672 _ACEOF
7676 done
7679 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7680 do :
7681 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7682 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7683 #ifdef HAVE_ALIAS_H
7684 # include <alias.h>
7685 #endif
7686 #ifdef HAVE_SYS_SOCKET_H
7687 # include <sys/socket.h>
7688 #endif
7689 #ifdef HAVE_SYS_SOCKETVAR_H
7690 # include <sys/socketvar.h>
7691 #endif
7692 #ifdef HAVE_SYS_TIMEOUT_H
7693 # include <sys/timeout.h>
7694 #endif
7695 #ifdef HAVE_NETINET_IN_H
7696 # include <netinet/in.h>
7697 #endif
7698 #ifdef HAVE_NETINET_IN_SYSTM_H
7699 # include <netinet/in_systm.h>
7700 #endif
7701 #ifdef HAVE_NETINET_IP_H
7702 # include <netinet/ip.h>
7703 #endif
7704 #ifdef HAVE_NETINET_IP_VAR_H
7705 # include <netinet/ip_var.h>
7706 #endif
7707 #ifdef HAVE_NETINET_IP_ICMP_H
7708 # include <netinet/ip_icmp.h>
7709 #endif
7710 #ifdef HAVE_NETINET_UDP_H
7711 # include <netinet/udp.h>
7712 #endif
7713 #ifdef HAVE_NETINET_TCP_H
7714 # include <netinet/tcp.h>
7715 #endif
7716 #ifdef HAVE_NETINET_TCP_TIMER_H
7717 #include <netinet/tcp_timer.h>
7718 #endif
7720 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7721 cat >>confdefs.h <<_ACEOF
7722 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7723 _ACEOF
7727 done
7730 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7731 do :
7732 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7733 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7734 #ifdef HAVE_ASM_TYPES_H
7735 # include <asm/types.h>
7736 #endif
7737 #ifdef HAVE_SYS_SOCKET_H
7738 # include <sys/socket.h>
7739 #endif
7740 #ifdef HAVE_LINUX_TYPES_H
7741 # include <linux/types.h>
7742 #endif
7744 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7745 cat >>confdefs.h <<_ACEOF
7746 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7747 _ACEOF
7751 done
7754 for ac_header in resolv.h
7755 do :
7756 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7757 #ifdef HAVE_SYS_SOCKET_H
7758 # include <sys/socket.h>
7759 #endif
7760 #ifdef HAVE_NETINET_IN_H
7761 # include <netinet/in.h>
7762 #endif
7763 #ifdef HAVE_ARPA_NAMESER_H
7764 # include <arpa/nameser.h>
7765 #endif
7767 if test "x$ac_cv_header_resolv_h" = xyes; then :
7768 cat >>confdefs.h <<_ACEOF
7769 #define HAVE_RESOLV_H 1
7770 _ACEOF
7774 done
7777 for ac_header in ifaddrs.h
7778 do :
7779 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7781 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7782 cat >>confdefs.h <<_ACEOF
7783 #define HAVE_IFADDRS_H 1
7784 _ACEOF
7788 done
7791 for ac_header in sys/ucontext.h
7792 do :
7793 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7795 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7796 cat >>confdefs.h <<_ACEOF
7797 #define HAVE_SYS_UCONTEXT_H 1
7798 _ACEOF
7802 done
7805 for ac_header in sys/thr.h
7806 do :
7807 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7808 #ifdef HAVE_SYS_UCONTEXT_H
7809 #include <sys/ucontext.h>
7810 #endif
7812 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7813 cat >>confdefs.h <<_ACEOF
7814 #define HAVE_SYS_THR_H 1
7815 _ACEOF
7819 done
7822 for ac_header in pthread_np.h
7823 do :
7824 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7825 #include <pthread.h>
7826 #endif
7828 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7829 cat >>confdefs.h <<_ACEOF
7830 #define HAVE_PTHREAD_NP_H 1
7831 _ACEOF
7835 done
7838 for ac_header in linux/videodev2.h
7839 do :
7840 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7841 #include <sys/time.h>
7842 #endif
7843 #include <sys/types.h>
7844 #ifdef HAVE_ASM_TYPES_H
7845 #include <asm/types.h>
7846 #endif
7848 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7849 cat >>confdefs.h <<_ACEOF
7850 #define HAVE_LINUX_VIDEODEV2_H 1
7851 _ACEOF
7855 done
7858 for ac_header in libprocstat.h
7859 do :
7860 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7861 #include <sys/param.h>
7862 #endif
7863 #ifdef HAVE_SYS_QUEUE_H
7864 #include <sys/queue.h>
7865 #endif
7866 #ifdef HAVE_SYS_SOCKET_H
7867 #include <sys/socket.h>
7868 #endif
7870 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7871 cat >>confdefs.h <<_ACEOF
7872 #define HAVE_LIBPROCSTAT_H 1
7873 _ACEOF
7877 done
7881 DLLFLAGS="-D_REENTRANT"
7883 LDDLLFLAGS=""
7885 LDEXECFLAGS=""
7887 TOP_INSTALL_LIB=""
7889 TOP_INSTALL_DEV=""
7891 WINELOADER_LDFLAGS=""
7893 WINEPRELOADER_LDFLAGS=""
7895 LIBEXT="so"
7896 DLLEXT=".so"
7897 # Extract the first word of "ldd", so it can be a program name with args.
7898 set dummy ldd; ac_word=$2
7899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7900 $as_echo_n "checking for $ac_word... " >&6; }
7901 if ${ac_cv_path_LDD+:} false; then :
7902 $as_echo_n "(cached) " >&6
7903 else
7904 case $LDD in
7905 [\\/]* | ?:[\\/]*)
7906 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7910 as_dummy="/sbin:/usr/sbin:$PATH"
7911 for as_dir in $as_dummy
7913 IFS=$as_save_IFS
7914 test -z "$as_dir" && as_dir=.
7915 for ac_exec_ext in '' $ac_executable_extensions; do
7916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7917 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7919 break 2
7921 done
7922 done
7923 IFS=$as_save_IFS
7925 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7927 esac
7929 LDD=$ac_cv_path_LDD
7930 if test -n "$LDD"; then
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7932 $as_echo "$LDD" >&6; }
7933 else
7934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7935 $as_echo "no" >&6; }
7939 if test -n "$ac_tool_prefix"; then
7940 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7941 set dummy ${ac_tool_prefix}otool; ac_word=$2
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7943 $as_echo_n "checking for $ac_word... " >&6; }
7944 if ${ac_cv_prog_OTOOL+:} false; then :
7945 $as_echo_n "(cached) " >&6
7946 else
7947 if test -n "$OTOOL"; then
7948 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7949 else
7950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7951 for as_dir in $PATH
7953 IFS=$as_save_IFS
7954 test -z "$as_dir" && as_dir=.
7955 for ac_exec_ext in '' $ac_executable_extensions; do
7956 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7957 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7959 break 2
7961 done
7962 done
7963 IFS=$as_save_IFS
7967 OTOOL=$ac_cv_prog_OTOOL
7968 if test -n "$OTOOL"; then
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7970 $as_echo "$OTOOL" >&6; }
7971 else
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7973 $as_echo "no" >&6; }
7978 if test -z "$ac_cv_prog_OTOOL"; then
7979 ac_ct_OTOOL=$OTOOL
7980 # Extract the first word of "otool", so it can be a program name with args.
7981 set dummy otool; ac_word=$2
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7983 $as_echo_n "checking for $ac_word... " >&6; }
7984 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7985 $as_echo_n "(cached) " >&6
7986 else
7987 if test -n "$ac_ct_OTOOL"; then
7988 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7989 else
7990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7991 for as_dir in $PATH
7993 IFS=$as_save_IFS
7994 test -z "$as_dir" && as_dir=.
7995 for ac_exec_ext in '' $ac_executable_extensions; do
7996 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7997 ac_cv_prog_ac_ct_OTOOL="otool"
7998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7999 break 2
8001 done
8002 done
8003 IFS=$as_save_IFS
8007 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8008 if test -n "$ac_ct_OTOOL"; then
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8010 $as_echo "$ac_ct_OTOOL" >&6; }
8011 else
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8013 $as_echo "no" >&6; }
8016 if test "x$ac_ct_OTOOL" = x; then
8017 OTOOL="otool"
8018 else
8019 case $cross_compiling:$ac_tool_warned in
8020 yes:)
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8022 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8023 ac_tool_warned=yes ;;
8024 esac
8025 OTOOL=$ac_ct_OTOOL
8027 else
8028 OTOOL="$ac_cv_prog_OTOOL"
8031 if test -n "$ac_tool_prefix"; then
8032 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8033 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8035 $as_echo_n "checking for $ac_word... " >&6; }
8036 if ${ac_cv_prog_READELF+:} false; then :
8037 $as_echo_n "(cached) " >&6
8038 else
8039 if test -n "$READELF"; then
8040 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8041 else
8042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8043 for as_dir in $PATH
8045 IFS=$as_save_IFS
8046 test -z "$as_dir" && as_dir=.
8047 for ac_exec_ext in '' $ac_executable_extensions; do
8048 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8049 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8051 break 2
8053 done
8054 done
8055 IFS=$as_save_IFS
8059 READELF=$ac_cv_prog_READELF
8060 if test -n "$READELF"; then
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8062 $as_echo "$READELF" >&6; }
8063 else
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8065 $as_echo "no" >&6; }
8070 if test -z "$ac_cv_prog_READELF"; then
8071 ac_ct_READELF=$READELF
8072 # Extract the first word of "readelf", so it can be a program name with args.
8073 set dummy readelf; ac_word=$2
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8075 $as_echo_n "checking for $ac_word... " >&6; }
8076 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8077 $as_echo_n "(cached) " >&6
8078 else
8079 if test -n "$ac_ct_READELF"; then
8080 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8081 else
8082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8083 for as_dir in $PATH
8085 IFS=$as_save_IFS
8086 test -z "$as_dir" && as_dir=.
8087 for ac_exec_ext in '' $ac_executable_extensions; do
8088 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8089 ac_cv_prog_ac_ct_READELF="readelf"
8090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8091 break 2
8093 done
8094 done
8095 IFS=$as_save_IFS
8099 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8100 if test -n "$ac_ct_READELF"; then
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8102 $as_echo "$ac_ct_READELF" >&6; }
8103 else
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8105 $as_echo "no" >&6; }
8108 if test "x$ac_ct_READELF" = x; then
8109 READELF="true"
8110 else
8111 case $cross_compiling:$ac_tool_warned in
8112 yes:)
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8114 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8115 ac_tool_warned=yes ;;
8116 esac
8117 READELF=$ac_ct_READELF
8119 else
8120 READELF="$ac_cv_prog_READELF"
8123 wine_rules_file=conf$$rules.make
8124 rm -f $wine_rules_file
8125 SUBDIRS=""
8127 DISABLED_SUBDIRS=""
8129 CONFIGURE_TARGETS=""
8132 wine_fn_append_file ()
8134 as_fn_append $1 " \\$as_nl $2"
8137 wine_fn_append_rule ()
8139 $as_echo "$1" >>$wine_rules_file
8142 wine_fn_config_makefile ()
8144 wine_fn_append_file SUBDIRS $1
8145 if eval test \"x\$"$2"\" = x"no"; then :
8146 wine_fn_append_file DISABLED_SUBDIRS $1
8150 wine_fn_config_symlink ()
8152 ac_links=$@
8153 wine_fn_append_rule \
8154 "$ac_links:
8155 @./config.status \$@"
8156 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8159 wine_binary="wine"
8160 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8161 WINELOADER_PROGRAMS="$wine_binary"
8163 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8165 case $host_os in
8166 cygwin*|mingw32*)
8167 if test -n "$ac_tool_prefix"; then
8168 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8169 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8171 $as_echo_n "checking for $ac_word... " >&6; }
8172 if ${ac_cv_prog_DLLTOOL+:} false; then :
8173 $as_echo_n "(cached) " >&6
8174 else
8175 if test -n "$DLLTOOL"; then
8176 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8177 else
8178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8179 for as_dir in $PATH
8181 IFS=$as_save_IFS
8182 test -z "$as_dir" && as_dir=.
8183 for ac_exec_ext in '' $ac_executable_extensions; do
8184 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8185 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8187 break 2
8189 done
8190 done
8191 IFS=$as_save_IFS
8195 DLLTOOL=$ac_cv_prog_DLLTOOL
8196 if test -n "$DLLTOOL"; then
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8198 $as_echo "$DLLTOOL" >&6; }
8199 else
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8201 $as_echo "no" >&6; }
8206 if test -z "$ac_cv_prog_DLLTOOL"; then
8207 ac_ct_DLLTOOL=$DLLTOOL
8208 # Extract the first word of "dlltool", so it can be a program name with args.
8209 set dummy dlltool; ac_word=$2
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8211 $as_echo_n "checking for $ac_word... " >&6; }
8212 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8213 $as_echo_n "(cached) " >&6
8214 else
8215 if test -n "$ac_ct_DLLTOOL"; then
8216 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8217 else
8218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8219 for as_dir in $PATH
8221 IFS=$as_save_IFS
8222 test -z "$as_dir" && as_dir=.
8223 for ac_exec_ext in '' $ac_executable_extensions; do
8224 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8225 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8227 break 2
8229 done
8230 done
8231 IFS=$as_save_IFS
8235 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8236 if test -n "$ac_ct_DLLTOOL"; then
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8238 $as_echo "$ac_ct_DLLTOOL" >&6; }
8239 else
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8241 $as_echo "no" >&6; }
8244 if test "x$ac_ct_DLLTOOL" = x; then
8245 DLLTOOL="false"
8246 else
8247 case $cross_compiling:$ac_tool_warned in
8248 yes:)
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8250 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8251 ac_tool_warned=yes ;;
8252 esac
8253 DLLTOOL=$ac_ct_DLLTOOL
8255 else
8256 DLLTOOL="$ac_cv_prog_DLLTOOL"
8259 LIBEXT="dll"
8260 DLLEXT=""
8261 case $host_cpu in
8262 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8263 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8264 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8265 $as_echo_n "(cached) " >&6
8266 else
8267 ac_wine_try_cflags_saved=$CFLAGS
8268 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8270 /* end confdefs.h. */
8271 int main(int argc, char **argv) { return 0; }
8272 _ACEOF
8273 if ac_fn_c_try_link "$LINENO"; then :
8274 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8275 else
8276 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8278 rm -f core conftest.err conftest.$ac_objext \
8279 conftest$ac_exeext conftest.$ac_ext
8280 CFLAGS=$ac_wine_try_cflags_saved
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8283 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8284 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8285 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8286 fi ;;
8287 esac
8288 enable_iphlpapi=${enable_iphlpapi:-no}
8289 enable_ws2_32=${enable_ws2_32:-no}
8290 enable_loader=${enable_loader:-no}
8291 enable_server=${enable_server:-no}
8292 with_x=${with_x:-no}
8293 with_pthread=${with_pthread:-no}
8296 darwin*|macosx*)
8297 ac_ext=m
8298 ac_cpp='$OBJCPP $CPPFLAGS'
8299 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8300 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8301 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8303 ac_ext=m
8304 ac_cpp='$OBJCPP $CPPFLAGS'
8305 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8306 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8307 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8308 if test -n "$ac_tool_prefix"; then
8309 for ac_prog in gcc objcc objc cc CC
8311 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8312 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8314 $as_echo_n "checking for $ac_word... " >&6; }
8315 if ${ac_cv_prog_OBJC+:} false; then :
8316 $as_echo_n "(cached) " >&6
8317 else
8318 if test -n "$OBJC"; then
8319 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8320 else
8321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8322 for as_dir in $PATH
8324 IFS=$as_save_IFS
8325 test -z "$as_dir" && as_dir=.
8326 for ac_exec_ext in '' $ac_executable_extensions; do
8327 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8328 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8330 break 2
8332 done
8333 done
8334 IFS=$as_save_IFS
8338 OBJC=$ac_cv_prog_OBJC
8339 if test -n "$OBJC"; then
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8341 $as_echo "$OBJC" >&6; }
8342 else
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8344 $as_echo "no" >&6; }
8348 test -n "$OBJC" && break
8349 done
8351 if test -z "$OBJC"; then
8352 ac_ct_OBJC=$OBJC
8353 for ac_prog in gcc objcc objc cc CC
8355 # Extract the first word of "$ac_prog", so it can be a program name with args.
8356 set dummy $ac_prog; ac_word=$2
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8358 $as_echo_n "checking for $ac_word... " >&6; }
8359 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8360 $as_echo_n "(cached) " >&6
8361 else
8362 if test -n "$ac_ct_OBJC"; then
8363 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8364 else
8365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8366 for as_dir in $PATH
8368 IFS=$as_save_IFS
8369 test -z "$as_dir" && as_dir=.
8370 for ac_exec_ext in '' $ac_executable_extensions; do
8371 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8372 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8374 break 2
8376 done
8377 done
8378 IFS=$as_save_IFS
8382 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8383 if test -n "$ac_ct_OBJC"; then
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8385 $as_echo "$ac_ct_OBJC" >&6; }
8386 else
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8388 $as_echo "no" >&6; }
8392 test -n "$ac_ct_OBJC" && break
8393 done
8395 if test "x$ac_ct_OBJC" = x; then
8396 OBJC="gcc"
8397 else
8398 case $cross_compiling:$ac_tool_warned in
8399 yes:)
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8401 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8402 ac_tool_warned=yes ;;
8403 esac
8404 OBJC=$ac_ct_OBJC
8408 # Provide some information about the compiler.
8409 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8410 set X $ac_compile
8411 ac_compiler=$2
8412 for ac_option in --version -v -V -qversion; do
8413 { { ac_try="$ac_compiler $ac_option >&5"
8414 case "(($ac_try" in
8415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8416 *) ac_try_echo=$ac_try;;
8417 esac
8418 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8419 $as_echo "$ac_try_echo"; } >&5
8420 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8421 ac_status=$?
8422 if test -s conftest.err; then
8423 sed '10a\
8424 ... rest of stderr output deleted ...
8425 10q' conftest.err >conftest.er1
8426 cat conftest.er1 >&5
8428 rm -f conftest.er1 conftest.err
8429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8430 test $ac_status = 0; }
8431 done
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8434 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8435 if ${ac_cv_objc_compiler_gnu+:} false; then :
8436 $as_echo_n "(cached) " >&6
8437 else
8438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8439 /* end confdefs.h. */
8442 main ()
8444 #ifndef __GNUC__
8445 choke me
8446 #endif
8449 return 0;
8451 _ACEOF
8452 if ac_fn_objc_try_compile "$LINENO"; then :
8453 ac_compiler_gnu=yes
8454 else
8455 ac_compiler_gnu=no
8457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8458 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8462 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8463 if test $ac_compiler_gnu = yes; then
8464 GOBJC=yes
8465 else
8466 GOBJC=
8468 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8469 ac_save_OBJCFLAGS=$OBJCFLAGS
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8471 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8472 if ${ac_cv_prog_objc_g+:} false; then :
8473 $as_echo_n "(cached) " >&6
8474 else
8475 ac_save_objc_werror_flag=$ac_objc_werror_flag
8476 ac_objc_werror_flag=yes
8477 ac_cv_prog_objc_g=no
8478 OBJCFLAGS="-g"
8479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8480 /* end confdefs.h. */
8483 main ()
8487 return 0;
8489 _ACEOF
8490 if ac_fn_objc_try_compile "$LINENO"; then :
8491 ac_cv_prog_objc_g=yes
8492 else
8493 OBJCFLAGS=""
8494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8495 /* end confdefs.h. */
8498 main ()
8502 return 0;
8504 _ACEOF
8505 if ac_fn_objc_try_compile "$LINENO"; then :
8507 else
8508 ac_objc_werror_flag=$ac_save_objc_werror_flag
8509 OBJCFLAGS="-g"
8510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8511 /* end confdefs.h. */
8514 main ()
8518 return 0;
8520 _ACEOF
8521 if ac_fn_objc_try_compile "$LINENO"; then :
8522 ac_cv_prog_objc_g=yes
8524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8529 ac_objc_werror_flag=$ac_save_objc_werror_flag
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8532 $as_echo "$ac_cv_prog_objc_g" >&6; }
8533 if test "$ac_test_OBJCFLAGS" = set; then
8534 OBJCFLAGS=$ac_save_OBJCFLAGS
8535 elif test $ac_cv_prog_objc_g = yes; then
8536 if test "$GOBJC" = yes; then
8537 OBJCFLAGS="-g -O2"
8538 else
8539 OBJCFLAGS="-g"
8541 else
8542 if test "$GOBJC" = yes; then
8543 OBJCFLAGS="-O2"
8544 else
8545 OBJCFLAGS=
8548 ac_ext=m
8549 ac_cpp='$OBJCPP $CPPFLAGS'
8550 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8551 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8552 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8555 ac_ext=m
8556 ac_cpp='$OBJCPP $CPPFLAGS'
8557 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8558 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8559 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8561 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8562 if test -z "$OBJCPP"; then
8563 if ${ac_cv_prog_OBJCPP+:} false; then :
8564 $as_echo_n "(cached) " >&6
8565 else
8566 # Double quotes because OBJCPP needs to be expanded
8567 for OBJCPP in "$OBJC -E" "/lib/cpp"
8569 ac_preproc_ok=false
8570 for ac_objc_preproc_warn_flag in '' yes
8572 # Use a header file that comes with gcc, so configuring glibc
8573 # with a fresh cross-compiler works.
8574 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8575 # <limits.h> exists even on freestanding compilers.
8576 # On the NeXT, cc -E runs the code through the compiler's parser,
8577 # not just through cpp. "Syntax error" is here to catch this case.
8578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8579 /* end confdefs.h. */
8580 #ifdef __STDC__
8581 # include <limits.h>
8582 #else
8583 # include <assert.h>
8584 #endif
8585 Syntax error
8586 _ACEOF
8587 if ac_fn_objc_try_cpp "$LINENO"; then :
8589 else
8590 # Broken: fails on valid input.
8591 continue
8593 rm -f conftest.err conftest.i conftest.$ac_ext
8595 # OK, works on sane cases. Now check whether nonexistent headers
8596 # can be detected and how.
8597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8598 /* end confdefs.h. */
8599 #include <ac_nonexistent.h>
8600 _ACEOF
8601 if ac_fn_objc_try_cpp "$LINENO"; then :
8602 # Broken: success on invalid input.
8603 continue
8604 else
8605 # Passes both tests.
8606 ac_preproc_ok=:
8607 break
8609 rm -f conftest.err conftest.i conftest.$ac_ext
8611 done
8612 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8613 rm -f conftest.i conftest.err conftest.$ac_ext
8614 if $ac_preproc_ok; then :
8615 break
8618 done
8619 ac_cv_prog_OBJCPP=$OBJCPP
8622 OBJCPP=$ac_cv_prog_OBJCPP
8623 else
8624 ac_cv_prog_OBJCPP=$OBJCPP
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8627 $as_echo "$OBJCPP" >&6; }
8628 ac_preproc_ok=false
8629 for ac_objc_preproc_warn_flag in '' yes
8631 # Use a header file that comes with gcc, so configuring glibc
8632 # with a fresh cross-compiler works.
8633 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8634 # <limits.h> exists even on freestanding compilers.
8635 # On the NeXT, cc -E runs the code through the compiler's parser,
8636 # not just through cpp. "Syntax error" is here to catch this case.
8637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8638 /* end confdefs.h. */
8639 #ifdef __STDC__
8640 # include <limits.h>
8641 #else
8642 # include <assert.h>
8643 #endif
8644 Syntax error
8645 _ACEOF
8646 if ac_fn_objc_try_cpp "$LINENO"; then :
8648 else
8649 # Broken: fails on valid input.
8650 continue
8652 rm -f conftest.err conftest.i conftest.$ac_ext
8654 # OK, works on sane cases. Now check whether nonexistent headers
8655 # can be detected and how.
8656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8657 /* end confdefs.h. */
8658 #include <ac_nonexistent.h>
8659 _ACEOF
8660 if ac_fn_objc_try_cpp "$LINENO"; then :
8661 # Broken: success on invalid input.
8662 continue
8663 else
8664 # Passes both tests.
8665 ac_preproc_ok=:
8666 break
8668 rm -f conftest.err conftest.i conftest.$ac_ext
8670 done
8671 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8672 rm -f conftest.i conftest.err conftest.$ac_ext
8673 if $ac_preproc_ok; then :
8675 else
8676 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8677 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8678 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8679 See \`config.log' for more details" "$LINENO" 5; }
8682 ac_ext=m
8683 ac_cpp='$OBJCPP $CPPFLAGS'
8684 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8685 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8686 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8689 for ac_header in Metal/Metal.h
8690 do :
8691 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8692 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8693 cat >>confdefs.h <<_ACEOF
8694 #define HAVE_METAL_METAL_H 1
8695 _ACEOF
8699 done
8701 ac_ext=c
8702 ac_cpp='$CPP $CPPFLAGS'
8703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8707 LIBEXT="dylib"
8708 DLLFLAGS="$DLLFLAGS -fPIC"
8709 LDDLLFLAGS="-fPIC"
8710 COREFOUNDATION_LIBS="-framework CoreFoundation"
8712 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8714 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8716 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8718 CORESERVICES_LIBS="-framework CoreServices"
8720 APPKIT_LIBS="-framework AppKit"
8722 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8725 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8727 wine_can_build_preloader=yes
8728 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8730 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8731 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8732 $as_echo_n "(cached) " >&6
8733 else
8734 ac_wine_try_cflags_saved=$CFLAGS
8735 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8737 /* end confdefs.h. */
8738 int main(int argc, char **argv) { return 0; }
8739 _ACEOF
8740 if ac_fn_c_try_link "$LINENO"; then :
8741 ac_cv_cflags__Wl__no_new_main__e__main=yes
8742 else
8743 ac_cv_cflags__Wl__no_new_main__e__main=no
8745 rm -f core conftest.err conftest.$ac_objext \
8746 conftest$ac_exeext conftest.$ac_ext
8747 CFLAGS=$ac_wine_try_cflags_saved
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8750 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8751 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8752 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8754 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8755 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8756 $as_echo_n "(cached) " >&6
8757 else
8758 ac_wine_try_cflags_saved=$CFLAGS
8759 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8761 /* end confdefs.h. */
8762 int main(int argc, char **argv) { return 0; }
8763 _ACEOF
8764 if ac_fn_c_try_link "$LINENO"; then :
8765 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8766 else
8767 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8769 rm -f core conftest.err conftest.$ac_objext \
8770 conftest$ac_exeext conftest.$ac_ext
8771 CFLAGS=$ac_wine_try_cflags_saved
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8774 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8775 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8776 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8777 else
8778 { $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
8779 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8780 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8781 $as_echo_n "(cached) " >&6
8782 else
8783 ac_wine_try_cflags_saved=$CFLAGS
8784 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8786 /* end confdefs.h. */
8787 int main(int argc, char **argv) { return 0; }
8788 _ACEOF
8789 if ac_fn_c_try_link "$LINENO"; then :
8790 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8791 else
8792 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8794 rm -f core conftest.err conftest.$ac_objext \
8795 conftest$ac_exeext conftest.$ac_ext
8796 CFLAGS=$ac_wine_try_cflags_saved
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8799 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8800 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8801 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8802 else
8803 wine_can_build_preloader=no
8806 else
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8808 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8809 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8810 $as_echo_n "(cached) " >&6
8811 else
8812 ac_wine_try_cflags_saved=$CFLAGS
8813 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8815 /* end confdefs.h. */
8816 int main(int argc, char **argv) { return 0; }
8817 _ACEOF
8818 if ac_fn_c_try_link "$LINENO"; then :
8819 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8820 else
8821 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8823 rm -f core conftest.err conftest.$ac_objext \
8824 conftest$ac_exeext conftest.$ac_ext
8825 CFLAGS=$ac_wine_try_cflags_saved
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8828 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8829 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8830 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8831 else
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8833 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8834 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8835 $as_echo_n "(cached) " >&6
8836 else
8837 ac_wine_try_cflags_saved=$CFLAGS
8838 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8840 /* end confdefs.h. */
8841 int main(int argc, char **argv) { return 0; }
8842 _ACEOF
8843 if ac_fn_c_try_link "$LINENO"; then :
8844 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8845 else
8846 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8848 rm -f core conftest.err conftest.$ac_objext \
8849 conftest$ac_exeext conftest.$ac_ext
8850 CFLAGS=$ac_wine_try_cflags_saved
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8853 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8854 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8855 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8856 else
8857 wine_can_build_preloader=no
8861 if test "$wine_can_build_preloader" = "yes"
8862 then
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8864 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8865 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8866 $as_echo_n "(cached) " >&6
8867 else
8868 ac_wine_try_cflags_saved=$CFLAGS
8869 CFLAGS="$CFLAGS -Wl,-no_pie"
8870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8871 /* end confdefs.h. */
8872 int main(int argc, char **argv) { return 0; }
8873 _ACEOF
8874 if ac_fn_c_try_link "$LINENO"; then :
8875 ac_cv_cflags__Wl__no_pie=yes
8876 else
8877 ac_cv_cflags__Wl__no_pie=no
8879 rm -f core conftest.err conftest.$ac_objext \
8880 conftest$ac_exeext conftest.$ac_ext
8881 CFLAGS=$ac_wine_try_cflags_saved
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8884 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8885 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8886 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8888 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8889 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8890 else
8891 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8894 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8895 then
8896 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8899 if test "$ac_cv_header_Security_Security_h" = "yes"
8900 then
8901 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8903 ac_save_LIBS="$LIBS"
8904 LIBS="$LIBS $SECURITY_LIBS"
8905 for ac_func in SSLCopyPeerCertificates
8906 do :
8907 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8908 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8909 cat >>confdefs.h <<_ACEOF
8910 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8911 _ACEOF
8914 done
8916 LIBS="$ac_save_LIBS"
8918 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8919 then
8920 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8921 then
8922 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8924 else
8925 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8928 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8929 ac_save_LIBS="$LIBS"
8930 LIBS="$LIBS $COREAUDIO_LIBS"
8931 for ac_func in AUGraphAddNode
8932 do :
8933 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8934 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8935 cat >>confdefs.h <<_ACEOF
8936 #define HAVE_AUGRAPHADDNODE 1
8937 _ACEOF
8940 done
8942 LIBS="$ac_save_LIBS"
8944 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8945 then
8946 OPENAL_LIBS="-framework OpenAL"
8949 cat >>confdefs.h <<_ACEOF
8950 #define HAVE_OPENAL 1
8951 _ACEOF
8953 ac_cv_lib_openal=yes
8955 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8956 then
8957 OPENCL_LIBS="-framework OpenCL"
8959 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8961 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8962 then
8963 ac_save_LIBS="$LIBS"
8964 LIBS="$LIBS $IOKIT_LIBS"
8965 for ac_func in IOHIDManagerCreate
8966 do :
8967 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8968 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8969 cat >>confdefs.h <<_ACEOF
8970 #define HAVE_IOHIDMANAGERCREATE 1
8971 _ACEOF
8974 done
8976 LIBS="$ac_save_LIBS"
8979 if test "x$with_quicktime" != "xno"
8980 then
8981 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8982 then
8983 ac_save_LIBS="$LIBS"
8984 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8986 $as_echo_n "checking for the QuickTime framework... " >&6; }
8987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8988 /* end confdefs.h. */
8989 #include <QuickTime/ImageCompression.h>
8991 main ()
8993 CodecManagerVersion(NULL);
8995 return 0;
8997 _ACEOF
8998 if ac_fn_c_try_link "$LINENO"; then :
8999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9000 $as_echo "yes" >&6; }
9001 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
9003 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
9004 else
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9006 $as_echo "no" >&6; }
9007 ac_cv_header_QuickTime_ImageCompression_h=no
9009 rm -f core conftest.err conftest.$ac_objext \
9010 conftest$ac_exeext conftest.$ac_ext
9011 LIBS="$ac_save_LIBS"
9014 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9015 case "x$with_quicktime" in
9016 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9017 xno) ;;
9018 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9019 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9020 esac
9024 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9025 then
9026 CARBON_LIBS="-framework Carbon"
9029 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9030 then
9031 METAL_LIBS="-framework Metal -framework QuartzCore"
9035 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9036 then
9037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9038 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9039 ac_ext=m
9040 ac_cpp='$OBJCPP $CPPFLAGS'
9041 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9042 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9043 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9046 /* end confdefs.h. */
9047 #include <Metal/Metal.h>
9049 main ()
9051 id<MTLDevice> device; device.registryID;
9053 return 0;
9055 _ACEOF
9056 if ac_fn_objc_try_compile "$LINENO"; then :
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9058 $as_echo "yes" >&6; }
9060 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9062 else
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9064 $as_echo "no" >&6; }
9066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9067 ac_ext=c
9068 ac_cpp='$CPP $CPPFLAGS'
9069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9075 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9076 then
9077 ac_save_LIBS="$LIBS"
9078 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9079 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9080 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9081 enable_winemac_drv=${enable_winemac_drv:-yes}
9084 LIBS="$ac_save_LIBS"
9087 if test "x$enable_win16" = "xyes"
9088 then
9089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9090 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9091 if test "$cross_compiling" = yes; then :
9092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9093 $as_echo "cross-compiling, assuming yes" >&6; }
9094 else
9095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9096 /* end confdefs.h. */
9097 asm(".text\n"
9098 "bad:\tnop;nop\n"
9099 "good:\tnop;nop\n\t"
9100 ".globl _testfunc\n"
9101 "_testfunc:\tcallw good");
9102 extern void testfunc();
9104 main ()
9106 unsigned short *p = (unsigned short *)testfunc;
9107 return p[0] != 0xe866 || p[1] != 0xfffa
9109 return 0;
9111 _ACEOF
9112 if ac_fn_c_try_run "$LINENO"; then :
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9114 $as_echo "yes" >&6; }
9115 else
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9117 $as_echo "no" >&6; }
9118 as_fn_error $? "Xcode 3.x cannot build 16-bit code correctly. Use --disable-win16 if you don't need 16-bit support." "$LINENO" 5
9120 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9121 conftest.$ac_objext conftest.beam conftest.$ac_ext
9126 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9128 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9130 WINELOADER_DEPENDS="wine_info.plist"
9132 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9133 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9136 linux-android*)
9137 DLLFLAGS="$DLLFLAGS -fPIC"
9138 LDDLLFLAGS="-fPIC"
9139 LDEXECFLAGS="-Wl,-pie"
9140 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9142 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9143 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9144 $as_echo_n "(cached) " >&6
9145 else
9146 ac_wine_try_cflags_saved=$CFLAGS
9147 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9149 /* end confdefs.h. */
9150 int main(int argc, char **argv) { return 0; }
9151 _ACEOF
9152 if ac_fn_c_try_link "$LINENO"; then :
9153 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9154 else
9155 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9157 rm -f core conftest.err conftest.$ac_objext \
9158 conftest$ac_exeext conftest.$ac_ext
9159 CFLAGS=$ac_wine_try_cflags_saved
9161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9162 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9163 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9164 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9166 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9168 LIBWINE_SHAREDLIB="libwine.so"
9170 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9172 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9175 $as_echo_n "checking for -lEGL... " >&6; }
9176 if ${ac_cv_lib_soname_EGL+:} false; then :
9177 $as_echo_n "(cached) " >&6
9178 else
9179 ac_check_soname_save_LIBS=$LIBS
9180 LIBS="-lEGL $LIBS"
9181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9182 /* end confdefs.h. */
9184 /* Override any GCC internal prototype to avoid an error.
9185 Use char because int might match the return type of a GCC
9186 builtin and then its argument prototype would still apply. */
9187 #ifdef __cplusplus
9188 extern "C"
9189 #endif
9190 char eglGetProcAddress ();
9192 main ()
9194 return eglGetProcAddress ();
9196 return 0;
9198 _ACEOF
9199 if ac_fn_c_try_link "$LINENO"; then :
9200 case "$LIBEXT" in
9201 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9202 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'` ;;
9203 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9204 if ${ac_cv_lib_soname_EGL:+false} :; then :
9205 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9206 fi ;;
9207 esac
9208 else
9209 ac_cv_lib_soname_EGL=
9211 rm -f core conftest.err conftest.$ac_objext \
9212 conftest$ac_exeext conftest.$ac_ext
9213 LIBS=$ac_check_soname_save_LIBS
9215 if ${ac_cv_lib_soname_EGL:+false} :; then :
9216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9217 $as_echo "not found" >&6; }
9219 else
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9221 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9223 cat >>confdefs.h <<_ACEOF
9224 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9225 _ACEOF
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9230 $as_echo_n "checking for -lGLESv2... " >&6; }
9231 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9232 $as_echo_n "(cached) " >&6
9233 else
9234 ac_check_soname_save_LIBS=$LIBS
9235 LIBS="-lGLESv2 $LIBS"
9236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9237 /* end confdefs.h. */
9239 /* Override any GCC internal prototype to avoid an error.
9240 Use char because int might match the return type of a GCC
9241 builtin and then its argument prototype would still apply. */
9242 #ifdef __cplusplus
9243 extern "C"
9244 #endif
9245 char glFlush ();
9247 main ()
9249 return glFlush ();
9251 return 0;
9253 _ACEOF
9254 if ac_fn_c_try_link "$LINENO"; then :
9255 case "$LIBEXT" in
9256 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9257 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'` ;;
9258 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9259 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9260 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9261 fi ;;
9262 esac
9263 else
9264 ac_cv_lib_soname_GLESv2=
9266 rm -f core conftest.err conftest.$ac_objext \
9267 conftest$ac_exeext conftest.$ac_ext
9268 LIBS=$ac_check_soname_save_LIBS
9270 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9272 $as_echo "not found" >&6; }
9274 else
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9276 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9278 cat >>confdefs.h <<_ACEOF
9279 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9280 _ACEOF
9285 if test "x$exec_prefix" = xNONE
9286 then
9287 case $host_cpu in
9288 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9289 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9290 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9291 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9292 esac
9297 case $host_cpu in
9298 *i[3456789]86*)
9299 DLLFLAGS="$DLLFLAGS -fno-PIC"
9300 LDDLLFLAGS="-fno-PIC" ;;
9302 DLLFLAGS="$DLLFLAGS -fPIC"
9303 LDDLLFLAGS="-fPIC" ;;
9304 esac
9305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9306 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9307 if ${ac_cv_c_dll_gnuelf+:} false; then :
9308 $as_echo_n "(cached) " >&6
9309 else
9310 ac_wine_try_cflags_saved=$CFLAGS
9311 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9313 /* end confdefs.h. */
9314 void myfunc() {}
9315 _ACEOF
9316 if ac_fn_c_try_link "$LINENO"; then :
9317 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9318 else
9319 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9321 rm -f core conftest.err conftest.$ac_objext \
9322 conftest$ac_exeext conftest.$ac_ext
9323 CFLAGS=$ac_wine_try_cflags_saved
9324 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9325 ac_cv_c_dll_gnuelf="yes"
9326 else
9327 ac_cv_c_dll_gnuelf="no"
9330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9331 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9332 if test "$ac_cv_c_dll_gnuelf" = "yes"
9333 then
9334 LIBWINE_LDFLAGS="-shared"
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9336 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9337 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9338 $as_echo_n "(cached) " >&6
9339 else
9340 ac_wine_try_cflags_saved=$CFLAGS
9341 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9343 /* end confdefs.h. */
9344 int main(int argc, char **argv) { return 0; }
9345 _ACEOF
9346 if ac_fn_c_try_link "$LINENO"; then :
9347 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9348 else
9349 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9351 rm -f core conftest.err conftest.$ac_objext \
9352 conftest$ac_exeext conftest.$ac_ext
9353 CFLAGS=$ac_wine_try_cflags_saved
9355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9356 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9357 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9358 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9359 else
9360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9361 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9362 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9363 $as_echo_n "(cached) " >&6
9364 else
9365 ac_wine_try_cflags_saved=$CFLAGS
9366 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9368 /* end confdefs.h. */
9369 int main(int argc, char **argv) { return 0; }
9370 _ACEOF
9371 if ac_fn_c_try_link "$LINENO"; then :
9372 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9373 else
9374 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9376 rm -f core conftest.err conftest.$ac_objext \
9377 conftest$ac_exeext conftest.$ac_ext
9378 CFLAGS=$ac_wine_try_cflags_saved
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9381 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9382 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9383 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9387 echo '{ global: *; };' >conftest.map
9388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9389 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9390 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9391 $as_echo_n "(cached) " >&6
9392 else
9393 ac_wine_try_cflags_saved=$CFLAGS
9394 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9396 /* end confdefs.h. */
9397 int main(int argc, char **argv) { return 0; }
9398 _ACEOF
9399 if ac_fn_c_try_link "$LINENO"; then :
9400 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9401 else
9402 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9404 rm -f core conftest.err conftest.$ac_objext \
9405 conftest$ac_exeext conftest.$ac_ext
9406 CFLAGS=$ac_wine_try_cflags_saved
9408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9409 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9410 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9411 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9413 rm -f conftest.map
9415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9416 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9417 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9418 $as_echo_n "(cached) " >&6
9419 else
9420 ac_wine_try_cflags_saved=$CFLAGS
9421 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9423 /* end confdefs.h. */
9424 int main(int argc, char **argv) { return 0; }
9425 _ACEOF
9426 if ac_fn_c_try_link "$LINENO"; then :
9427 ac_cv_cflags__Wl___export_dynamic=yes
9428 else
9429 ac_cv_cflags__Wl___export_dynamic=no
9431 rm -f core conftest.err conftest.$ac_objext \
9432 conftest$ac_exeext conftest.$ac_ext
9433 CFLAGS=$ac_wine_try_cflags_saved
9435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9436 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9437 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9438 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9440 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9442 case $host_cpu in
9443 *i[3456789]86* | x86_64 | *aarch64*)
9444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9445 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9446 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9447 $as_echo_n "(cached) " >&6
9448 else
9449 ac_wine_try_cflags_saved=$CFLAGS
9450 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9452 /* end confdefs.h. */
9453 int main(int argc, char **argv) { return 0; }
9454 _ACEOF
9455 if ac_fn_c_try_link "$LINENO"; then :
9456 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9457 else
9458 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9460 rm -f core conftest.err conftest.$ac_objext \
9461 conftest$ac_exeext conftest.$ac_ext
9462 CFLAGS=$ac_wine_try_cflags_saved
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9465 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9466 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9467 case $host_os in
9468 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9469 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9470 esac
9471 else
9472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9473 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9474 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9475 $as_echo_n "(cached) " >&6
9476 else
9477 ac_wine_try_cflags_saved=$CFLAGS
9478 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9480 /* end confdefs.h. */
9481 int main(int argc, char **argv) { return 0; }
9482 _ACEOF
9483 if ac_fn_c_try_link "$LINENO"; then :
9484 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9485 else
9486 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9488 rm -f core conftest.err conftest.$ac_objext \
9489 conftest$ac_exeext conftest.$ac_ext
9490 CFLAGS=$ac_wine_try_cflags_saved
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9493 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9494 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9495 case $host_os in
9496 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9497 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9498 esac
9500 # Extract the first word of "prelink", so it can be a program name with args.
9501 set dummy prelink; ac_word=$2
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9503 $as_echo_n "checking for $ac_word... " >&6; }
9504 if ${ac_cv_path_PRELINK+:} false; then :
9505 $as_echo_n "(cached) " >&6
9506 else
9507 case $PRELINK in
9508 [\\/]* | ?:[\\/]*)
9509 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9513 for as_dir in /sbin /usr/sbin $PATH
9515 IFS=$as_save_IFS
9516 test -z "$as_dir" && as_dir=.
9517 for ac_exec_ext in '' $ac_executable_extensions; do
9518 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9519 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9521 break 2
9523 done
9524 done
9525 IFS=$as_save_IFS
9527 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9529 esac
9531 PRELINK=$ac_cv_path_PRELINK
9532 if test -n "$PRELINK"; then
9533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9534 $as_echo "$PRELINK" >&6; }
9535 else
9536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9537 $as_echo "no" >&6; }
9541 if test "x$PRELINK" = xfalse
9542 then
9543 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9547 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9548 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9549 $as_echo_n "(cached) " >&6
9550 else
9551 ac_wine_try_cflags_saved=$CFLAGS
9552 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9554 /* end confdefs.h. */
9555 int main(int argc, char **argv) { return 0; }
9556 _ACEOF
9557 if ac_fn_c_try_link "$LINENO"; then :
9558 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9559 else
9560 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9562 rm -f core conftest.err conftest.$ac_objext \
9563 conftest$ac_exeext conftest.$ac_ext
9564 CFLAGS=$ac_wine_try_cflags_saved
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9567 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9568 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9569 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9572 esac
9574 else
9575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9576 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9577 if ${ac_cv_c_dll_unixware+:} false; then :
9578 $as_echo_n "(cached) " >&6
9579 else
9580 ac_wine_try_cflags_saved=$CFLAGS
9581 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9583 /* end confdefs.h. */
9584 void myfunc() {}
9585 _ACEOF
9586 if ac_fn_c_try_link "$LINENO"; then :
9587 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9588 else
9589 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9591 rm -f core conftest.err conftest.$ac_objext \
9592 conftest$ac_exeext conftest.$ac_ext
9593 CFLAGS=$ac_wine_try_cflags_saved
9594 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9595 ac_cv_c_dll_unixware="yes"
9596 else
9597 ac_cv_c_dll_unixware="no"
9600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9601 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9602 if test "$ac_cv_c_dll_unixware" = "yes"
9603 then
9604 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9607 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9609 LIBWINE_DEPENDS="wine.map"
9611 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9612 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9614 esac
9616 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9617 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9618 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9619 enable_winemac_drv=${enable_winemac_drv:-no}
9620 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9623 if test "x$with_mingw" != xno
9624 then
9625 case "x$with_mingw" in
9626 x|xyes) case "$host_cpu" in
9627 aarch64*)
9628 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9629 arm*)
9630 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9631 i[3456789]86*)
9632 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
9633 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9634 mingw32-gcc" ;;
9635 x86_64)
9636 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
9637 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9639 ac_prefix_list="" ;;
9640 esac
9641 for ac_prog in $ac_prefix_list
9643 # Extract the first word of "$ac_prog", so it can be a program name with args.
9644 set dummy $ac_prog; ac_word=$2
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9646 $as_echo_n "checking for $ac_word... " >&6; }
9647 if ${ac_cv_prog_CROSSCC+:} false; then :
9648 $as_echo_n "(cached) " >&6
9649 else
9650 if test -n "$CROSSCC"; then
9651 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9652 else
9653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9654 for as_dir in $PATH
9656 IFS=$as_save_IFS
9657 test -z "$as_dir" && as_dir=.
9658 for ac_exec_ext in '' $ac_executable_extensions; do
9659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9660 ac_cv_prog_CROSSCC="$ac_prog"
9661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9662 break 2
9664 done
9665 done
9666 IFS=$as_save_IFS
9670 CROSSCC=$ac_cv_prog_CROSSCC
9671 if test -n "$CROSSCC"; then
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9673 $as_echo "$CROSSCC" >&6; }
9674 else
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9676 $as_echo "no" >&6; }
9680 test -n "$CROSSCC" && break
9681 done
9682 test -n "$CROSSCC" || CROSSCC="false"
9684 *) CROSSCC=$with_mingw ;;
9685 esac
9686 if test "$CROSSCC" != "false"
9687 then
9688 ac_save_CC="$CC"
9689 saved_CFLAGS=$CFLAGS
9690 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9692 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9696 CC="$CROSSCC"
9697 CFLAGS=$CROSSCFLAGS
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9699 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9700 if ${wine_cv_crosscc+:} false; then :
9701 $as_echo_n "(cached) " >&6
9702 else
9703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9704 /* end confdefs.h. */
9707 main ()
9711 return 0;
9713 _ACEOF
9714 if ac_fn_c_try_compile "$LINENO"; then :
9715 wine_cv_crosscc=yes
9716 else
9717 wine_cv_crosscc=no
9719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9722 $as_echo "$wine_cv_crosscc" >&6; }
9723 if test $wine_cv_crosscc = yes
9724 then
9725 set x $CROSSCC
9726 shift
9727 while test $# -ge 1
9729 case "$1" in
9730 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9731 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9732 esac
9733 shift
9734 done
9736 llvm_target=$CROSSTARGET
9737 llvm_cflags="-fuse-ld=lld"
9738 if test -z "$llvm_target"
9739 then
9740 case $host_cpu in
9741 *i[3456789]86*) llvm_target=i686-windows ;;
9742 *) llvm_target=$host_cpu-windows ;;
9743 esac
9745 case $llvm_target in
9746 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9747 esac
9748 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9750 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9751 if eval \${$as_ac_var+:} false; then :
9752 $as_echo_n "(cached) " >&6
9753 else
9754 ac_wine_try_cflags_saved=$CFLAGS
9755 ac_wine_try_cflags_saved_cc=$CC
9756 ac_wine_try_cflags_saved_exeext=$ac_exeext
9757 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9758 CC="$CROSSCC"
9759 ac_exeext=".exe"
9760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9761 /* end confdefs.h. */
9762 int __cdecl mainCRTStartup(void) { return 0; }
9763 _ACEOF
9764 if ac_fn_c_try_link "$LINENO"; then :
9765 eval "$as_ac_var=yes"
9766 else
9767 eval "$as_ac_var=no"
9769 rm -f core conftest.err conftest.$ac_objext \
9770 conftest$ac_exeext conftest.$ac_ext
9771 CFLAGS=$ac_wine_try_cflags_saved
9772 CC=$ac_wine_try_cflags_saved_cc
9773 ac_exeext=$ac_wine_try_cflags_saved_exeext
9775 eval ac_res=\$$as_ac_var
9776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9777 $as_echo "$ac_res" >&6; }
9778 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9779 CROSSTARGET=$llvm_target
9780 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9781 DELAYLOADFLAG="-Wl,-delayload,"
9783 CFLAGS="$CFLAGS $llvm_cflags"
9786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9787 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9788 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9789 $as_echo_n "(cached) " >&6
9790 else
9791 ac_wine_try_cflags_saved=$CFLAGS
9792 ac_wine_try_cflags_saved_cc=$CC
9793 ac_wine_try_cflags_saved_exeext=$ac_exeext
9794 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9795 CC="$CROSSCC"
9796 ac_exeext=".exe"
9797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9798 /* end confdefs.h. */
9799 int __cdecl mainCRTStartup(void) { return 0; }
9800 _ACEOF
9801 if ac_fn_c_try_link "$LINENO"; then :
9802 ac_cv_crosscflags__fno_strict_aliasing=yes
9803 else
9804 ac_cv_crosscflags__fno_strict_aliasing=no
9806 rm -f core conftest.err conftest.$ac_objext \
9807 conftest$ac_exeext conftest.$ac_ext
9808 CFLAGS=$ac_wine_try_cflags_saved
9809 CC=$ac_wine_try_cflags_saved_cc
9810 ac_exeext=$ac_wine_try_cflags_saved_exeext
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9813 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9814 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9815 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9818 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9819 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9820 $as_echo_n "(cached) " >&6
9821 else
9822 ac_wine_try_cflags_saved=$CFLAGS
9823 ac_wine_try_cflags_saved_cc=$CC
9824 ac_wine_try_cflags_saved_exeext=$ac_exeext
9825 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9826 CC="$CROSSCC"
9827 ac_exeext=".exe"
9828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9829 /* end confdefs.h. */
9830 int __cdecl mainCRTStartup(void) { return 0; }
9831 _ACEOF
9832 if ac_fn_c_try_link "$LINENO"; then :
9833 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9834 else
9835 ac_cv_crosscflags__Werror_unknown_warning_option=no
9837 rm -f core conftest.err conftest.$ac_objext \
9838 conftest$ac_exeext conftest.$ac_ext
9839 CFLAGS=$ac_wine_try_cflags_saved
9840 CC=$ac_wine_try_cflags_saved_cc
9841 ac_exeext=$ac_wine_try_cflags_saved_exeext
9843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9844 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9845 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9846 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9849 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9850 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9851 $as_echo_n "(cached) " >&6
9852 else
9853 ac_wine_try_cflags_saved=$CFLAGS
9854 ac_wine_try_cflags_saved_cc=$CC
9855 ac_wine_try_cflags_saved_exeext=$ac_exeext
9856 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9857 CC="$CROSSCC"
9858 ac_exeext=".exe"
9859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9860 /* end confdefs.h. */
9861 int __cdecl mainCRTStartup(void) { return 0; }
9862 _ACEOF
9863 if ac_fn_c_try_link "$LINENO"; then :
9864 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9865 else
9866 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9868 rm -f core conftest.err conftest.$ac_objext \
9869 conftest$ac_exeext conftest.$ac_ext
9870 CFLAGS=$ac_wine_try_cflags_saved
9871 CC=$ac_wine_try_cflags_saved_cc
9872 ac_exeext=$ac_wine_try_cflags_saved_exeext
9874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9875 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9876 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9877 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9880 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9881 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9882 $as_echo_n "(cached) " >&6
9883 else
9884 ac_wine_try_cflags_saved=$CFLAGS
9885 ac_wine_try_cflags_saved_cc=$CC
9886 ac_wine_try_cflags_saved_exeext=$ac_exeext
9887 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9888 CC="$CROSSCC"
9889 ac_exeext=".exe"
9890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9891 /* end confdefs.h. */
9892 int __cdecl mainCRTStartup(void) { return 0; }
9893 _ACEOF
9894 if ac_fn_c_try_link "$LINENO"; then :
9895 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9896 else
9897 ac_cv_crosscflags__Wdeclaration_after_statement=no
9899 rm -f core conftest.err conftest.$ac_objext \
9900 conftest$ac_exeext conftest.$ac_ext
9901 CFLAGS=$ac_wine_try_cflags_saved
9902 CC=$ac_wine_try_cflags_saved_cc
9903 ac_exeext=$ac_wine_try_cflags_saved_exeext
9905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9906 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9907 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9908 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9911 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9912 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9913 $as_echo_n "(cached) " >&6
9914 else
9915 ac_wine_try_cflags_saved=$CFLAGS
9916 ac_wine_try_cflags_saved_cc=$CC
9917 ac_wine_try_cflags_saved_exeext=$ac_exeext
9918 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9919 CC="$CROSSCC"
9920 ac_exeext=".exe"
9921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9922 /* end confdefs.h. */
9923 int __cdecl mainCRTStartup(void) { return 0; }
9924 _ACEOF
9925 if ac_fn_c_try_link "$LINENO"; then :
9926 ac_cv_crosscflags__Wempty_body=yes
9927 else
9928 ac_cv_crosscflags__Wempty_body=no
9930 rm -f core conftest.err conftest.$ac_objext \
9931 conftest$ac_exeext conftest.$ac_ext
9932 CFLAGS=$ac_wine_try_cflags_saved
9933 CC=$ac_wine_try_cflags_saved_cc
9934 ac_exeext=$ac_wine_try_cflags_saved_exeext
9936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9937 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9938 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9939 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9942 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9943 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9944 $as_echo_n "(cached) " >&6
9945 else
9946 ac_wine_try_cflags_saved=$CFLAGS
9947 ac_wine_try_cflags_saved_cc=$CC
9948 ac_wine_try_cflags_saved_exeext=$ac_exeext
9949 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9950 CC="$CROSSCC"
9951 ac_exeext=".exe"
9952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9953 /* end confdefs.h. */
9954 int __cdecl mainCRTStartup(void) { return 0; }
9955 _ACEOF
9956 if ac_fn_c_try_link "$LINENO"; then :
9957 ac_cv_crosscflags__Wignored_qualifiers=yes
9958 else
9959 ac_cv_crosscflags__Wignored_qualifiers=no
9961 rm -f core conftest.err conftest.$ac_objext \
9962 conftest$ac_exeext conftest.$ac_ext
9963 CFLAGS=$ac_wine_try_cflags_saved
9964 CC=$ac_wine_try_cflags_saved_cc
9965 ac_exeext=$ac_wine_try_cflags_saved_exeext
9967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9968 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9969 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9970 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9973 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9974 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9975 $as_echo_n "(cached) " >&6
9976 else
9977 ac_wine_try_cflags_saved=$CFLAGS
9978 ac_wine_try_cflags_saved_cc=$CC
9979 ac_wine_try_cflags_saved_exeext=$ac_exeext
9980 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
9981 CC="$CROSSCC"
9982 ac_exeext=".exe"
9983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9984 /* end confdefs.h. */
9985 int __cdecl mainCRTStartup(void) { return 0; }
9986 _ACEOF
9987 if ac_fn_c_try_link "$LINENO"; then :
9988 ac_cv_crosscflags__Wpacked_not_aligned=yes
9989 else
9990 ac_cv_crosscflags__Wpacked_not_aligned=no
9992 rm -f core conftest.err conftest.$ac_objext \
9993 conftest$ac_exeext conftest.$ac_ext
9994 CFLAGS=$ac_wine_try_cflags_saved
9995 CC=$ac_wine_try_cflags_saved_cc
9996 ac_exeext=$ac_wine_try_cflags_saved_exeext
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
9999 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10000 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10001 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10004 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10005 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10006 $as_echo_n "(cached) " >&6
10007 else
10008 ac_wine_try_cflags_saved=$CFLAGS
10009 ac_wine_try_cflags_saved_cc=$CC
10010 ac_wine_try_cflags_saved_exeext=$ac_exeext
10011 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10012 CC="$CROSSCC"
10013 ac_exeext=".exe"
10014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10015 /* end confdefs.h. */
10016 int __cdecl mainCRTStartup(void) { return 0; }
10017 _ACEOF
10018 if ac_fn_c_try_link "$LINENO"; then :
10019 ac_cv_crosscflags__Wpragma_pack=yes
10020 else
10021 ac_cv_crosscflags__Wpragma_pack=no
10023 rm -f core conftest.err conftest.$ac_objext \
10024 conftest$ac_exeext conftest.$ac_ext
10025 CFLAGS=$ac_wine_try_cflags_saved
10026 CC=$ac_wine_try_cflags_saved_cc
10027 ac_exeext=$ac_wine_try_cflags_saved_exeext
10029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10030 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10031 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10032 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10035 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10036 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10037 $as_echo_n "(cached) " >&6
10038 else
10039 ac_wine_try_cflags_saved=$CFLAGS
10040 ac_wine_try_cflags_saved_cc=$CC
10041 ac_wine_try_cflags_saved_exeext=$ac_exeext
10042 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10043 CC="$CROSSCC"
10044 ac_exeext=".exe"
10045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10046 /* end confdefs.h. */
10047 int __cdecl mainCRTStartup(void) { return 0; }
10048 _ACEOF
10049 if ac_fn_c_try_link "$LINENO"; then :
10050 ac_cv_crosscflags__Wshift_overflow_2=yes
10051 else
10052 ac_cv_crosscflags__Wshift_overflow_2=no
10054 rm -f core conftest.err conftest.$ac_objext \
10055 conftest$ac_exeext conftest.$ac_ext
10056 CFLAGS=$ac_wine_try_cflags_saved
10057 CC=$ac_wine_try_cflags_saved_cc
10058 ac_exeext=$ac_wine_try_cflags_saved_exeext
10060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10061 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10062 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10063 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10066 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10067 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10068 $as_echo_n "(cached) " >&6
10069 else
10070 ac_wine_try_cflags_saved=$CFLAGS
10071 ac_wine_try_cflags_saved_cc=$CC
10072 ac_wine_try_cflags_saved_exeext=$ac_exeext
10073 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10074 CC="$CROSSCC"
10075 ac_exeext=".exe"
10076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10077 /* end confdefs.h. */
10078 int __cdecl mainCRTStartup(void) { return 0; }
10079 _ACEOF
10080 if ac_fn_c_try_link "$LINENO"; then :
10081 ac_cv_crosscflags__Wstrict_prototypes=yes
10082 else
10083 ac_cv_crosscflags__Wstrict_prototypes=no
10085 rm -f core conftest.err conftest.$ac_objext \
10086 conftest$ac_exeext conftest.$ac_ext
10087 CFLAGS=$ac_wine_try_cflags_saved
10088 CC=$ac_wine_try_cflags_saved_cc
10089 ac_exeext=$ac_wine_try_cflags_saved_exeext
10091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10092 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10093 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10094 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10097 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10098 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10099 $as_echo_n "(cached) " >&6
10100 else
10101 ac_wine_try_cflags_saved=$CFLAGS
10102 ac_wine_try_cflags_saved_cc=$CC
10103 ac_wine_try_cflags_saved_exeext=$ac_exeext
10104 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10105 CC="$CROSSCC"
10106 ac_exeext=".exe"
10107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10108 /* end confdefs.h. */
10109 int __cdecl mainCRTStartup(void) { return 0; }
10110 _ACEOF
10111 if ac_fn_c_try_link "$LINENO"; then :
10112 ac_cv_crosscflags__Wtype_limits=yes
10113 else
10114 ac_cv_crosscflags__Wtype_limits=no
10116 rm -f core conftest.err conftest.$ac_objext \
10117 conftest$ac_exeext conftest.$ac_ext
10118 CFLAGS=$ac_wine_try_cflags_saved
10119 CC=$ac_wine_try_cflags_saved_cc
10120 ac_exeext=$ac_wine_try_cflags_saved_exeext
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10123 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10124 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10125 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10128 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10129 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10130 $as_echo_n "(cached) " >&6
10131 else
10132 ac_wine_try_cflags_saved=$CFLAGS
10133 ac_wine_try_cflags_saved_cc=$CC
10134 ac_wine_try_cflags_saved_exeext=$ac_exeext
10135 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10136 CC="$CROSSCC"
10137 ac_exeext=".exe"
10138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10139 /* end confdefs.h. */
10140 int __cdecl mainCRTStartup(void) { return 0; }
10141 _ACEOF
10142 if ac_fn_c_try_link "$LINENO"; then :
10143 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10144 else
10145 ac_cv_crosscflags__Wunused_but_set_parameter=no
10147 rm -f core conftest.err conftest.$ac_objext \
10148 conftest$ac_exeext conftest.$ac_ext
10149 CFLAGS=$ac_wine_try_cflags_saved
10150 CC=$ac_wine_try_cflags_saved_cc
10151 ac_exeext=$ac_wine_try_cflags_saved_exeext
10153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10154 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10155 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10156 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10159 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10160 if ${ac_cv_crosscflags__Wvla+:} false; then :
10161 $as_echo_n "(cached) " >&6
10162 else
10163 ac_wine_try_cflags_saved=$CFLAGS
10164 ac_wine_try_cflags_saved_cc=$CC
10165 ac_wine_try_cflags_saved_exeext=$ac_exeext
10166 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10167 CC="$CROSSCC"
10168 ac_exeext=".exe"
10169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10170 /* end confdefs.h. */
10171 int __cdecl mainCRTStartup(void) { return 0; }
10172 _ACEOF
10173 if ac_fn_c_try_link "$LINENO"; then :
10174 ac_cv_crosscflags__Wvla=yes
10175 else
10176 ac_cv_crosscflags__Wvla=no
10178 rm -f core conftest.err conftest.$ac_objext \
10179 conftest$ac_exeext conftest.$ac_ext
10180 CFLAGS=$ac_wine_try_cflags_saved
10181 CC=$ac_wine_try_cflags_saved_cc
10182 ac_exeext=$ac_wine_try_cflags_saved_exeext
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10185 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10186 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10187 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10190 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10191 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10192 $as_echo_n "(cached) " >&6
10193 else
10194 ac_wine_try_cflags_saved=$CFLAGS
10195 ac_wine_try_cflags_saved_cc=$CC
10196 ac_wine_try_cflags_saved_exeext=$ac_exeext
10197 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10198 CC="$CROSSCC"
10199 ac_exeext=".exe"
10200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10201 /* end confdefs.h. */
10202 int __cdecl mainCRTStartup(void) { return 0; }
10203 _ACEOF
10204 if ac_fn_c_try_link "$LINENO"; then :
10205 ac_cv_crosscflags__Wwrite_strings=yes
10206 else
10207 ac_cv_crosscflags__Wwrite_strings=no
10209 rm -f core conftest.err conftest.$ac_objext \
10210 conftest$ac_exeext conftest.$ac_ext
10211 CFLAGS=$ac_wine_try_cflags_saved
10212 CC=$ac_wine_try_cflags_saved_cc
10213 ac_exeext=$ac_wine_try_cflags_saved_exeext
10215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10216 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10217 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10218 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10221 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10222 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10223 $as_echo_n "(cached) " >&6
10224 else
10225 ac_wine_try_cflags_saved=$CFLAGS
10226 ac_wine_try_cflags_saved_cc=$CC
10227 ac_wine_try_cflags_saved_exeext=$ac_exeext
10228 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10229 CC="$CROSSCC"
10230 ac_exeext=".exe"
10231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10232 /* end confdefs.h. */
10233 int __cdecl mainCRTStartup(void) { return 0; }
10234 _ACEOF
10235 if ac_fn_c_try_link "$LINENO"; then :
10236 ac_cv_crosscflags__Wpointer_arith=yes
10237 else
10238 ac_cv_crosscflags__Wpointer_arith=no
10240 rm -f core conftest.err conftest.$ac_objext \
10241 conftest$ac_exeext conftest.$ac_ext
10242 CFLAGS=$ac_wine_try_cflags_saved
10243 CC=$ac_wine_try_cflags_saved_cc
10244 ac_exeext=$ac_wine_try_cflags_saved_exeext
10246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10247 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10248 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10249 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10252 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10253 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10254 $as_echo_n "(cached) " >&6
10255 else
10256 ac_wine_try_cflags_saved=$CFLAGS
10257 ac_wine_try_cflags_saved_cc=$CC
10258 ac_wine_try_cflags_saved_exeext=$ac_exeext
10259 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10260 CC="$CROSSCC"
10261 ac_exeext=".exe"
10262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10263 /* end confdefs.h. */
10264 int __cdecl mainCRTStartup(void) { return 0; }
10265 _ACEOF
10266 if ac_fn_c_try_link "$LINENO"; then :
10267 ac_cv_crosscflags__Wlogical_op=yes
10268 else
10269 ac_cv_crosscflags__Wlogical_op=no
10271 rm -f core conftest.err conftest.$ac_objext \
10272 conftest$ac_exeext conftest.$ac_ext
10273 CFLAGS=$ac_wine_try_cflags_saved
10274 CC=$ac_wine_try_cflags_saved_cc
10275 ac_exeext=$ac_wine_try_cflags_saved_exeext
10277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10278 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10279 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10280 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10283 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10284 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10285 $as_echo_n "(cached) " >&6
10286 else
10287 ac_wine_try_cflags_saved=$CFLAGS
10288 ac_wine_try_cflags_saved_cc=$CC
10289 ac_wine_try_cflags_saved_exeext=$ac_exeext
10290 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10291 CC="$CROSSCC"
10292 ac_exeext=".exe"
10293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10294 /* end confdefs.h. */
10295 int __cdecl mainCRTStartup(void) { return 0; }
10296 _ACEOF
10297 if ac_fn_c_try_link "$LINENO"; then :
10298 ac_cv_crosscflags__Wabsolute_value=yes
10299 else
10300 ac_cv_crosscflags__Wabsolute_value=no
10302 rm -f core conftest.err conftest.$ac_objext \
10303 conftest$ac_exeext conftest.$ac_ext
10304 CFLAGS=$ac_wine_try_cflags_saved
10305 CC=$ac_wine_try_cflags_saved_cc
10306 ac_exeext=$ac_wine_try_cflags_saved_exeext
10308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10309 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10310 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10311 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10314 case $host_cpu in
10315 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10316 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10317 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10318 $as_echo_n "(cached) " >&6
10319 else
10320 ac_wine_try_cflags_saved=$CFLAGS
10321 ac_wine_try_cflags_saved_cc=$CC
10322 ac_wine_try_cflags_saved_exeext=$ac_exeext
10323 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10324 CC="$CROSSCC"
10325 ac_exeext=".exe"
10326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10327 /* end confdefs.h. */
10328 int __cdecl mainCRTStartup(void) { return 0; }
10329 _ACEOF
10330 if ac_fn_c_try_link "$LINENO"; then :
10331 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10332 else
10333 ac_cv_crosscflags__fno_omit_frame_pointer=no
10335 rm -f core conftest.err conftest.$ac_objext \
10336 conftest$ac_exeext conftest.$ac_ext
10337 CFLAGS=$ac_wine_try_cflags_saved
10338 CC=$ac_wine_try_cflags_saved_cc
10339 ac_exeext=$ac_wine_try_cflags_saved_exeext
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10342 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10343 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10344 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10345 fi ;;
10346 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10347 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10348 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10349 $as_echo_n "(cached) " >&6
10350 else
10351 ac_wine_try_cflags_saved=$CFLAGS
10352 ac_wine_try_cflags_saved_cc=$CC
10353 ac_wine_try_cflags_saved_exeext=$ac_exeext
10354 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10355 CC="$CROSSCC"
10356 ac_exeext=".exe"
10357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10358 /* end confdefs.h. */
10359 int __cdecl mainCRTStartup(void) { return 0; }
10360 _ACEOF
10361 if ac_fn_c_try_link "$LINENO"; then :
10362 ac_cv_crosscflags__Wno_format=yes
10363 else
10364 ac_cv_crosscflags__Wno_format=no
10366 rm -f core conftest.err conftest.$ac_objext \
10367 conftest$ac_exeext conftest.$ac_ext
10368 CFLAGS=$ac_wine_try_cflags_saved
10369 CC=$ac_wine_try_cflags_saved_cc
10370 ac_exeext=$ac_wine_try_cflags_saved_exeext
10372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10373 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10374 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10375 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10378 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10379 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10380 $as_echo_n "(cached) " >&6
10381 else
10382 ac_wine_try_cflags_saved=$CFLAGS
10383 ac_wine_try_cflags_saved_cc=$CC
10384 ac_wine_try_cflags_saved_exeext=$ac_exeext
10385 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10386 CC="$CROSSCC"
10387 ac_exeext=".exe"
10388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10389 /* end confdefs.h. */
10390 int __cdecl mainCRTStartup(void) { return 0; }
10391 _ACEOF
10392 if ac_fn_c_try_link "$LINENO"; then :
10393 ac_cv_crosscflags__Wformat_overflow=yes
10394 else
10395 ac_cv_crosscflags__Wformat_overflow=no
10397 rm -f core conftest.err conftest.$ac_objext \
10398 conftest$ac_exeext conftest.$ac_ext
10399 CFLAGS=$ac_wine_try_cflags_saved
10400 CC=$ac_wine_try_cflags_saved_cc
10401 ac_exeext=$ac_wine_try_cflags_saved_exeext
10403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10404 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10405 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10406 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10409 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10410 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10411 $as_echo_n "(cached) " >&6
10412 else
10413 ac_wine_try_cflags_saved=$CFLAGS
10414 ac_wine_try_cflags_saved_cc=$CC
10415 ac_wine_try_cflags_saved_exeext=$ac_exeext
10416 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10417 CC="$CROSSCC"
10418 ac_exeext=".exe"
10419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10420 /* end confdefs.h. */
10421 int __cdecl mainCRTStartup(void) { return 0; }
10422 _ACEOF
10423 if ac_fn_c_try_link "$LINENO"; then :
10424 ac_cv_crosscflags__Wnonnull=yes
10425 else
10426 ac_cv_crosscflags__Wnonnull=no
10428 rm -f core conftest.err conftest.$ac_objext \
10429 conftest$ac_exeext conftest.$ac_ext
10430 CFLAGS=$ac_wine_try_cflags_saved
10431 CC=$ac_wine_try_cflags_saved_cc
10432 ac_exeext=$ac_wine_try_cflags_saved_exeext
10434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10435 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10436 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10437 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10440 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10441 if ${ac_cv_crosscflags__mcx16+:} false; then :
10442 $as_echo_n "(cached) " >&6
10443 else
10444 ac_wine_try_cflags_saved=$CFLAGS
10445 ac_wine_try_cflags_saved_cc=$CC
10446 ac_wine_try_cflags_saved_exeext=$ac_exeext
10447 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10448 CC="$CROSSCC"
10449 ac_exeext=".exe"
10450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10451 /* end confdefs.h. */
10452 int __cdecl mainCRTStartup(void) { return 0; }
10453 _ACEOF
10454 if ac_fn_c_try_link "$LINENO"; then :
10455 ac_cv_crosscflags__mcx16=yes
10456 else
10457 ac_cv_crosscflags__mcx16=no
10459 rm -f core conftest.err conftest.$ac_objext \
10460 conftest$ac_exeext conftest.$ac_ext
10461 CFLAGS=$ac_wine_try_cflags_saved
10462 CC=$ac_wine_try_cflags_saved_cc
10463 ac_exeext=$ac_wine_try_cflags_saved_exeext
10465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10466 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10467 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10468 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10469 fi ;;
10470 esac
10473 if test -z "$CROSSDEBUG"
10474 then
10475 for ac_flag in $CROSSCFLAGS; do
10476 case $ac_flag in
10477 -gdwarf*) CROSSDEBUG=dwarf ;;
10478 -gcodeview) CROSSDEBUG=pdb ;;
10479 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10480 esac
10481 done
10483 case $CROSSDEBUG in
10484 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10485 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10486 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10487 $as_echo_n "(cached) " >&6
10488 else
10489 ac_wine_try_cflags_saved=$CFLAGS
10490 ac_wine_try_cflags_saved_cc=$CC
10491 ac_wine_try_cflags_saved_exeext=$ac_exeext
10492 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10493 CC="$CROSSCC"
10494 ac_exeext=".exe"
10495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10496 /* end confdefs.h. */
10497 int __cdecl mainCRTStartup(void) { return 0; }
10498 _ACEOF
10499 if ac_fn_c_try_link "$LINENO"; then :
10500 ac_cv_crosscflags__gdwarf_2=yes
10501 else
10502 ac_cv_crosscflags__gdwarf_2=no
10504 rm -f core conftest.err conftest.$ac_objext \
10505 conftest$ac_exeext conftest.$ac_ext
10506 CFLAGS=$ac_wine_try_cflags_saved
10507 CC=$ac_wine_try_cflags_saved_cc
10508 ac_exeext=$ac_wine_try_cflags_saved_exeext
10510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10511 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10512 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10513 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10516 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10517 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10518 $as_echo_n "(cached) " >&6
10519 else
10520 ac_wine_try_cflags_saved=$CFLAGS
10521 ac_wine_try_cflags_saved_cc=$CC
10522 ac_wine_try_cflags_saved_exeext=$ac_exeext
10523 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10524 CC="$CROSSCC"
10525 ac_exeext=".exe"
10526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10527 /* end confdefs.h. */
10528 int __cdecl mainCRTStartup(void) { return 0; }
10529 _ACEOF
10530 if ac_fn_c_try_link "$LINENO"; then :
10531 ac_cv_crosscflags__gstrict_dwarf=yes
10532 else
10533 ac_cv_crosscflags__gstrict_dwarf=no
10535 rm -f core conftest.err conftest.$ac_objext \
10536 conftest$ac_exeext conftest.$ac_ext
10537 CFLAGS=$ac_wine_try_cflags_saved
10538 CC=$ac_wine_try_cflags_saved_cc
10539 ac_exeext=$ac_wine_try_cflags_saved_exeext
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10542 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10543 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10544 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10545 fi ;;
10546 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10547 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10548 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10549 $as_echo_n "(cached) " >&6
10550 else
10551 ac_wine_try_cflags_saved=$CFLAGS
10552 ac_wine_try_cflags_saved_cc=$CC
10553 ac_wine_try_cflags_saved_exeext=$ac_exeext
10554 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10555 CC="$CROSSCC"
10556 ac_exeext=".exe"
10557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10558 /* end confdefs.h. */
10559 int __cdecl mainCRTStartup(void) { return 0; }
10560 _ACEOF
10561 if ac_fn_c_try_link "$LINENO"; then :
10562 ac_cv_crosscflags__gcodeview=yes
10563 else
10564 ac_cv_crosscflags__gcodeview=no
10566 rm -f core conftest.err conftest.$ac_objext \
10567 conftest$ac_exeext conftest.$ac_ext
10568 CFLAGS=$ac_wine_try_cflags_saved
10569 CC=$ac_wine_try_cflags_saved_cc
10570 ac_exeext=$ac_wine_try_cflags_saved_exeext
10572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10573 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10574 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10575 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10576 fi ;;
10577 esac
10579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10580 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10581 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10582 $as_echo_n "(cached) " >&6
10583 else
10584 ac_wine_try_cflags_saved=$CFLAGS
10585 ac_wine_try_cflags_saved_cc=$CC
10586 ac_wine_try_cflags_saved_exeext=$ac_exeext
10587 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10588 CC="$CROSSCC"
10589 ac_exeext=".exe"
10590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10591 /* end confdefs.h. */
10592 int __cdecl mainCRTStartup(void) { return 0; }
10593 _ACEOF
10594 if ac_fn_c_try_link "$LINENO"; then :
10595 ac_cv_crosscflags__fexcess_precision_standard=yes
10596 else
10597 ac_cv_crosscflags__fexcess_precision_standard=no
10599 rm -f core conftest.err conftest.$ac_objext \
10600 conftest$ac_exeext conftest.$ac_ext
10601 CFLAGS=$ac_wine_try_cflags_saved
10602 CC=$ac_wine_try_cflags_saved_cc
10603 ac_exeext=$ac_wine_try_cflags_saved_exeext
10605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10606 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10607 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10608 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10612 if test "x$enable_werror" = "xyes"
10613 then
10614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10615 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10616 if ${ac_cv_crosscflags__Werror+:} false; then :
10617 $as_echo_n "(cached) " >&6
10618 else
10619 ac_wine_try_cflags_saved=$CFLAGS
10620 ac_wine_try_cflags_saved_cc=$CC
10621 ac_wine_try_cflags_saved_exeext=$ac_exeext
10622 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10623 CC="$CROSSCC"
10624 ac_exeext=".exe"
10625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10626 /* end confdefs.h. */
10627 int __cdecl mainCRTStartup(void) { return 0; }
10628 _ACEOF
10629 if ac_fn_c_try_link "$LINENO"; then :
10630 ac_cv_crosscflags__Werror=yes
10631 else
10632 ac_cv_crosscflags__Werror=no
10634 rm -f core conftest.err conftest.$ac_objext \
10635 conftest$ac_exeext conftest.$ac_ext
10636 CFLAGS=$ac_wine_try_cflags_saved
10637 CC=$ac_wine_try_cflags_saved_cc
10638 ac_exeext=$ac_wine_try_cflags_saved_exeext
10640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10641 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10642 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10643 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10647 CFLAGS=$saved_CFLAGS
10648 CC="$ac_save_CC"
10651 if test "x$CROSSTARGET" = "x"; then :
10652 case "x$with_mingw" in
10653 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10654 xno) ;;
10655 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10656 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10657 esac
10662 if test "$ac_cv_header_pthread_h" = "yes"
10663 then
10664 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10665 if test "x$ac_cv_func_pthread_create" = xyes; then :
10667 else
10668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10669 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10670 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10671 $as_echo_n "(cached) " >&6
10672 else
10673 ac_check_lib_save_LIBS=$LIBS
10674 LIBS="-lpthread $LIBS"
10675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10676 /* end confdefs.h. */
10678 /* Override any GCC internal prototype to avoid an error.
10679 Use char because int might match the return type of a GCC
10680 builtin and then its argument prototype would still apply. */
10681 #ifdef __cplusplus
10682 extern "C"
10683 #endif
10684 char pthread_create ();
10686 main ()
10688 return pthread_create ();
10690 return 0;
10692 _ACEOF
10693 if ac_fn_c_try_link "$LINENO"; then :
10694 ac_cv_lib_pthread_pthread_create=yes
10695 else
10696 ac_cv_lib_pthread_pthread_create=no
10698 rm -f core conftest.err conftest.$ac_objext \
10699 conftest$ac_exeext conftest.$ac_ext
10700 LIBS=$ac_check_lib_save_LIBS
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10703 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10704 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10705 PTHREAD_LIBS="-lpthread"
10712 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10713 case "x$with_pthread" in
10714 xno) ;;
10715 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10716 Wine cannot support threads without libpthread.
10717 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10718 esac
10723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10724 $as_echo_n "checking for X... " >&6; }
10727 # Check whether --with-x was given.
10728 if test "${with_x+set}" = set; then :
10729 withval=$with_x;
10732 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10733 if test "x$with_x" = xno; then
10734 # The user explicitly disabled X.
10735 have_x=disabled
10736 else
10737 case $x_includes,$x_libraries in #(
10738 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10739 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10740 $as_echo_n "(cached) " >&6
10741 else
10742 # One or both of the vars are not set, and there is no cached value.
10743 ac_x_includes=no ac_x_libraries=no
10744 rm -f -r conftest.dir
10745 if mkdir conftest.dir; then
10746 cd conftest.dir
10747 cat >Imakefile <<'_ACEOF'
10748 incroot:
10749 @echo incroot='${INCROOT}'
10750 usrlibdir:
10751 @echo usrlibdir='${USRLIBDIR}'
10752 libdir:
10753 @echo libdir='${LIBDIR}'
10754 _ACEOF
10755 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10756 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10757 for ac_var in incroot usrlibdir libdir; do
10758 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10759 done
10760 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10761 for ac_extension in a so sl dylib la dll; do
10762 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10763 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10764 ac_im_usrlibdir=$ac_im_libdir; break
10766 done
10767 # Screen out bogus values from the imake configuration. They are
10768 # bogus both because they are the default anyway, and because
10769 # using them would break gcc on systems where it needs fixed includes.
10770 case $ac_im_incroot in
10771 /usr/include) ac_x_includes= ;;
10772 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10773 esac
10774 case $ac_im_usrlibdir in
10775 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10776 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10777 esac
10779 cd ..
10780 rm -f -r conftest.dir
10783 # Standard set of common directories for X headers.
10784 # Check X11 before X11Rn because it is often a symlink to the current release.
10785 ac_x_header_dirs='
10786 /usr/X11/include
10787 /usr/X11R7/include
10788 /usr/X11R6/include
10789 /usr/X11R5/include
10790 /usr/X11R4/include
10792 /usr/include/X11
10793 /usr/include/X11R7
10794 /usr/include/X11R6
10795 /usr/include/X11R5
10796 /usr/include/X11R4
10798 /usr/local/X11/include
10799 /usr/local/X11R7/include
10800 /usr/local/X11R6/include
10801 /usr/local/X11R5/include
10802 /usr/local/X11R4/include
10804 /usr/local/include/X11
10805 /usr/local/include/X11R7
10806 /usr/local/include/X11R6
10807 /usr/local/include/X11R5
10808 /usr/local/include/X11R4
10810 /usr/X386/include
10811 /usr/x386/include
10812 /usr/XFree86/include/X11
10814 /usr/include
10815 /usr/local/include
10816 /usr/unsupported/include
10817 /usr/athena/include
10818 /usr/local/x11r5/include
10819 /usr/lpp/Xamples/include
10821 /usr/openwin/include
10822 /usr/openwin/share/include'
10824 if test "$ac_x_includes" = no; then
10825 # Guess where to find include files, by looking for Xlib.h.
10826 # First, try using that file with no special directory specified.
10827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10828 /* end confdefs.h. */
10829 #include <X11/Xlib.h>
10830 _ACEOF
10831 if ac_fn_c_try_cpp "$LINENO"; then :
10832 # We can compile using X headers with no special include directory.
10833 ac_x_includes=
10834 else
10835 for ac_dir in $ac_x_header_dirs; do
10836 if test -r "$ac_dir/X11/Xlib.h"; then
10837 ac_x_includes=$ac_dir
10838 break
10840 done
10842 rm -f conftest.err conftest.i conftest.$ac_ext
10843 fi # $ac_x_includes = no
10845 if test "$ac_x_libraries" = no; then
10846 # Check for the libraries.
10847 # See if we find them without any special options.
10848 # Don't add to $LIBS permanently.
10849 ac_save_LIBS=$LIBS
10850 LIBS="-lX11 $LIBS"
10851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10852 /* end confdefs.h. */
10853 #include <X11/Xlib.h>
10855 main ()
10857 XrmInitialize ()
10859 return 0;
10861 _ACEOF
10862 if ac_fn_c_try_link "$LINENO"; then :
10863 LIBS=$ac_save_LIBS
10864 # We can link X programs with no special library path.
10865 ac_x_libraries=
10866 else
10867 LIBS=$ac_save_LIBS
10868 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10870 # Don't even attempt the hair of trying to link an X program!
10871 for ac_extension in a so sl dylib la dll; do
10872 if test -r "$ac_dir/libX11.$ac_extension"; then
10873 ac_x_libraries=$ac_dir
10874 break 2
10876 done
10877 done
10879 rm -f core conftest.err conftest.$ac_objext \
10880 conftest$ac_exeext conftest.$ac_ext
10881 fi # $ac_x_libraries = no
10883 case $ac_x_includes,$ac_x_libraries in #(
10884 no,* | *,no | *\'*)
10885 # Didn't find X, or a directory has "'" in its name.
10886 ac_cv_have_x="have_x=no";; #(
10888 # Record where we found X for the cache.
10889 ac_cv_have_x="have_x=yes\
10890 ac_x_includes='$ac_x_includes'\
10891 ac_x_libraries='$ac_x_libraries'"
10892 esac
10894 ;; #(
10895 *) have_x=yes;;
10896 esac
10897 eval "$ac_cv_have_x"
10898 fi # $with_x != no
10900 if test "$have_x" != yes; then
10901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10902 $as_echo "$have_x" >&6; }
10903 no_x=yes
10904 else
10905 # If each of the values was on the command line, it overrides each guess.
10906 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10907 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10908 # Update the cache value to reflect the command line values.
10909 ac_cv_have_x="have_x=yes\
10910 ac_x_includes='$x_includes'\
10911 ac_x_libraries='$x_libraries'"
10912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10913 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10916 if test "$no_x" = yes; then
10917 # Not all programs may use this symbol, but it does not hurt to define it.
10919 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10921 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10922 else
10923 if test -n "$x_includes"; then
10924 X_CFLAGS="$X_CFLAGS -I$x_includes"
10927 # It would also be nice to do this for all -L options, not just this one.
10928 if test -n "$x_libraries"; then
10929 X_LIBS="$X_LIBS -L$x_libraries"
10930 # For Solaris; some versions of Sun CC require a space after -R and
10931 # others require no space. Words are not sufficient . . . .
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10933 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10934 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10935 ac_xsave_c_werror_flag=$ac_c_werror_flag
10936 ac_c_werror_flag=yes
10937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10938 /* end confdefs.h. */
10941 main ()
10945 return 0;
10947 _ACEOF
10948 if ac_fn_c_try_link "$LINENO"; then :
10949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10950 $as_echo "no" >&6; }
10951 X_LIBS="$X_LIBS -R$x_libraries"
10952 else
10953 LIBS="$ac_xsave_LIBS -R $x_libraries"
10954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10955 /* end confdefs.h. */
10958 main ()
10962 return 0;
10964 _ACEOF
10965 if ac_fn_c_try_link "$LINENO"; then :
10966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10967 $as_echo "yes" >&6; }
10968 X_LIBS="$X_LIBS -R $x_libraries"
10969 else
10970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10971 $as_echo "neither works" >&6; }
10973 rm -f core conftest.err conftest.$ac_objext \
10974 conftest$ac_exeext conftest.$ac_ext
10976 rm -f core conftest.err conftest.$ac_objext \
10977 conftest$ac_exeext conftest.$ac_ext
10978 ac_c_werror_flag=$ac_xsave_c_werror_flag
10979 LIBS=$ac_xsave_LIBS
10982 # Check for system-dependent libraries X programs must link with.
10983 # Do this before checking for the system-independent R6 libraries
10984 # (-lICE), since we may need -lsocket or whatever for X linking.
10986 if test "$ISC" = yes; then
10987 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10988 else
10989 # Martyn Johnson says this is needed for Ultrix, if the X
10990 # libraries were built with DECnet support. And Karl Berry says
10991 # the Alpha needs dnet_stub (dnet does not exist).
10992 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10994 /* end confdefs.h. */
10996 /* Override any GCC internal prototype to avoid an error.
10997 Use char because int might match the return type of a GCC
10998 builtin and then its argument prototype would still apply. */
10999 #ifdef __cplusplus
11000 extern "C"
11001 #endif
11002 char XOpenDisplay ();
11004 main ()
11006 return XOpenDisplay ();
11008 return 0;
11010 _ACEOF
11011 if ac_fn_c_try_link "$LINENO"; then :
11013 else
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11015 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11016 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11017 $as_echo_n "(cached) " >&6
11018 else
11019 ac_check_lib_save_LIBS=$LIBS
11020 LIBS="-ldnet $LIBS"
11021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11022 /* end confdefs.h. */
11024 /* Override any GCC internal prototype to avoid an error.
11025 Use char because int might match the return type of a GCC
11026 builtin and then its argument prototype would still apply. */
11027 #ifdef __cplusplus
11028 extern "C"
11029 #endif
11030 char dnet_ntoa ();
11032 main ()
11034 return dnet_ntoa ();
11036 return 0;
11038 _ACEOF
11039 if ac_fn_c_try_link "$LINENO"; then :
11040 ac_cv_lib_dnet_dnet_ntoa=yes
11041 else
11042 ac_cv_lib_dnet_dnet_ntoa=no
11044 rm -f core conftest.err conftest.$ac_objext \
11045 conftest$ac_exeext conftest.$ac_ext
11046 LIBS=$ac_check_lib_save_LIBS
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11049 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11050 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11051 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11054 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11056 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11057 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11058 $as_echo_n "(cached) " >&6
11059 else
11060 ac_check_lib_save_LIBS=$LIBS
11061 LIBS="-ldnet_stub $LIBS"
11062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11063 /* end confdefs.h. */
11065 /* Override any GCC internal prototype to avoid an error.
11066 Use char because int might match the return type of a GCC
11067 builtin and then its argument prototype would still apply. */
11068 #ifdef __cplusplus
11069 extern "C"
11070 #endif
11071 char dnet_ntoa ();
11073 main ()
11075 return dnet_ntoa ();
11077 return 0;
11079 _ACEOF
11080 if ac_fn_c_try_link "$LINENO"; then :
11081 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11082 else
11083 ac_cv_lib_dnet_stub_dnet_ntoa=no
11085 rm -f core conftest.err conftest.$ac_objext \
11086 conftest$ac_exeext conftest.$ac_ext
11087 LIBS=$ac_check_lib_save_LIBS
11089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11090 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11091 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11092 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11097 rm -f core conftest.err conftest.$ac_objext \
11098 conftest$ac_exeext conftest.$ac_ext
11099 LIBS="$ac_xsave_LIBS"
11101 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11102 # to get the SysV transport functions.
11103 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11104 # needs -lnsl.
11105 # The nsl library prevents programs from opening the X display
11106 # on Irix 5.2, according to T.E. Dickey.
11107 # The functions gethostbyname, getservbyname, and inet_addr are
11108 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11109 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11110 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11114 if test $ac_cv_func_gethostbyname = no; then
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11116 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11117 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11118 $as_echo_n "(cached) " >&6
11119 else
11120 ac_check_lib_save_LIBS=$LIBS
11121 LIBS="-lnsl $LIBS"
11122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11123 /* end confdefs.h. */
11125 /* Override any GCC internal prototype to avoid an error.
11126 Use char because int might match the return type of a GCC
11127 builtin and then its argument prototype would still apply. */
11128 #ifdef __cplusplus
11129 extern "C"
11130 #endif
11131 char gethostbyname ();
11133 main ()
11135 return gethostbyname ();
11137 return 0;
11139 _ACEOF
11140 if ac_fn_c_try_link "$LINENO"; then :
11141 ac_cv_lib_nsl_gethostbyname=yes
11142 else
11143 ac_cv_lib_nsl_gethostbyname=no
11145 rm -f core conftest.err conftest.$ac_objext \
11146 conftest$ac_exeext conftest.$ac_ext
11147 LIBS=$ac_check_lib_save_LIBS
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11150 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11151 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11152 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11155 if test $ac_cv_lib_nsl_gethostbyname = no; then
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11157 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11158 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11159 $as_echo_n "(cached) " >&6
11160 else
11161 ac_check_lib_save_LIBS=$LIBS
11162 LIBS="-lbsd $LIBS"
11163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11164 /* end confdefs.h. */
11166 /* Override any GCC internal prototype to avoid an error.
11167 Use char because int might match the return type of a GCC
11168 builtin and then its argument prototype would still apply. */
11169 #ifdef __cplusplus
11170 extern "C"
11171 #endif
11172 char gethostbyname ();
11174 main ()
11176 return gethostbyname ();
11178 return 0;
11180 _ACEOF
11181 if ac_fn_c_try_link "$LINENO"; then :
11182 ac_cv_lib_bsd_gethostbyname=yes
11183 else
11184 ac_cv_lib_bsd_gethostbyname=no
11186 rm -f core conftest.err conftest.$ac_objext \
11187 conftest$ac_exeext conftest.$ac_ext
11188 LIBS=$ac_check_lib_save_LIBS
11190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11191 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11192 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11193 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11199 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11200 # socket/setsockopt and other routines are undefined under SCO ODT
11201 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11202 # on later versions), says Simon Leinen: it contains gethostby*
11203 # variants that don't use the name server (or something). -lsocket
11204 # must be given before -lnsl if both are needed. We assume that
11205 # if connect needs -lnsl, so does gethostbyname.
11206 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11207 if test "x$ac_cv_func_connect" = xyes; then :
11211 if test $ac_cv_func_connect = no; then
11212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11213 $as_echo_n "checking for connect in -lsocket... " >&6; }
11214 if ${ac_cv_lib_socket_connect+:} false; then :
11215 $as_echo_n "(cached) " >&6
11216 else
11217 ac_check_lib_save_LIBS=$LIBS
11218 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11220 /* end confdefs.h. */
11222 /* Override any GCC internal prototype to avoid an error.
11223 Use char because int might match the return type of a GCC
11224 builtin and then its argument prototype would still apply. */
11225 #ifdef __cplusplus
11226 extern "C"
11227 #endif
11228 char connect ();
11230 main ()
11232 return connect ();
11234 return 0;
11236 _ACEOF
11237 if ac_fn_c_try_link "$LINENO"; then :
11238 ac_cv_lib_socket_connect=yes
11239 else
11240 ac_cv_lib_socket_connect=no
11242 rm -f core conftest.err conftest.$ac_objext \
11243 conftest$ac_exeext conftest.$ac_ext
11244 LIBS=$ac_check_lib_save_LIBS
11246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11247 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11248 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11249 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11254 # Guillermo Gomez says -lposix is necessary on A/UX.
11255 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11256 if test "x$ac_cv_func_remove" = xyes; then :
11260 if test $ac_cv_func_remove = no; then
11261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11262 $as_echo_n "checking for remove in -lposix... " >&6; }
11263 if ${ac_cv_lib_posix_remove+:} false; then :
11264 $as_echo_n "(cached) " >&6
11265 else
11266 ac_check_lib_save_LIBS=$LIBS
11267 LIBS="-lposix $LIBS"
11268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11269 /* end confdefs.h. */
11271 /* Override any GCC internal prototype to avoid an error.
11272 Use char because int might match the return type of a GCC
11273 builtin and then its argument prototype would still apply. */
11274 #ifdef __cplusplus
11275 extern "C"
11276 #endif
11277 char remove ();
11279 main ()
11281 return remove ();
11283 return 0;
11285 _ACEOF
11286 if ac_fn_c_try_link "$LINENO"; then :
11287 ac_cv_lib_posix_remove=yes
11288 else
11289 ac_cv_lib_posix_remove=no
11291 rm -f core conftest.err conftest.$ac_objext \
11292 conftest$ac_exeext conftest.$ac_ext
11293 LIBS=$ac_check_lib_save_LIBS
11295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11296 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11297 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11298 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11303 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11304 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11305 if test "x$ac_cv_func_shmat" = xyes; then :
11309 if test $ac_cv_func_shmat = no; then
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11311 $as_echo_n "checking for shmat in -lipc... " >&6; }
11312 if ${ac_cv_lib_ipc_shmat+:} false; then :
11313 $as_echo_n "(cached) " >&6
11314 else
11315 ac_check_lib_save_LIBS=$LIBS
11316 LIBS="-lipc $LIBS"
11317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11318 /* end confdefs.h. */
11320 /* Override any GCC internal prototype to avoid an error.
11321 Use char because int might match the return type of a GCC
11322 builtin and then its argument prototype would still apply. */
11323 #ifdef __cplusplus
11324 extern "C"
11325 #endif
11326 char shmat ();
11328 main ()
11330 return shmat ();
11332 return 0;
11334 _ACEOF
11335 if ac_fn_c_try_link "$LINENO"; then :
11336 ac_cv_lib_ipc_shmat=yes
11337 else
11338 ac_cv_lib_ipc_shmat=no
11340 rm -f core conftest.err conftest.$ac_objext \
11341 conftest$ac_exeext conftest.$ac_ext
11342 LIBS=$ac_check_lib_save_LIBS
11344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11345 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11346 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11347 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11353 # Check for libraries that X11R6 Xt/Xaw programs need.
11354 ac_save_LDFLAGS=$LDFLAGS
11355 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11356 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11357 # check for ICE first), but we must link in the order -lSM -lICE or
11358 # we get undefined symbols. So assume we have SM if we have ICE.
11359 # These have to be linked with before -lX11, unlike the other
11360 # libraries we check for below, so use a different variable.
11361 # John Interrante, Karl Berry
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11363 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11364 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11365 $as_echo_n "(cached) " >&6
11366 else
11367 ac_check_lib_save_LIBS=$LIBS
11368 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11370 /* end confdefs.h. */
11372 /* Override any GCC internal prototype to avoid an error.
11373 Use char because int might match the return type of a GCC
11374 builtin and then its argument prototype would still apply. */
11375 #ifdef __cplusplus
11376 extern "C"
11377 #endif
11378 char IceConnectionNumber ();
11380 main ()
11382 return IceConnectionNumber ();
11384 return 0;
11386 _ACEOF
11387 if ac_fn_c_try_link "$LINENO"; then :
11388 ac_cv_lib_ICE_IceConnectionNumber=yes
11389 else
11390 ac_cv_lib_ICE_IceConnectionNumber=no
11392 rm -f core conftest.err conftest.$ac_objext \
11393 conftest$ac_exeext conftest.$ac_ext
11394 LIBS=$ac_check_lib_save_LIBS
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11397 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11398 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11399 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11402 LDFLAGS=$ac_save_LDFLAGS
11407 if test "$have_x" = "yes"
11408 then
11409 ac_save_CPPFLAGS="$CPPFLAGS"
11410 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11413 $as_echo_n "checking for -lX11... " >&6; }
11414 if ${ac_cv_lib_soname_X11+:} false; then :
11415 $as_echo_n "(cached) " >&6
11416 else
11417 ac_check_soname_save_LIBS=$LIBS
11418 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11420 /* end confdefs.h. */
11422 /* Override any GCC internal prototype to avoid an error.
11423 Use char because int might match the return type of a GCC
11424 builtin and then its argument prototype would still apply. */
11425 #ifdef __cplusplus
11426 extern "C"
11427 #endif
11428 char XCreateWindow ();
11430 main ()
11432 return XCreateWindow ();
11434 return 0;
11436 _ACEOF
11437 if ac_fn_c_try_link "$LINENO"; then :
11438 case "$LIBEXT" in
11439 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11440 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'` ;;
11441 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11442 if ${ac_cv_lib_soname_X11:+false} :; then :
11443 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11444 fi ;;
11445 esac
11446 else
11447 ac_cv_lib_soname_X11=
11449 rm -f core conftest.err conftest.$ac_objext \
11450 conftest$ac_exeext conftest.$ac_ext
11451 LIBS=$ac_check_soname_save_LIBS
11453 if ${ac_cv_lib_soname_X11:+false} :; then :
11454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11455 $as_echo "not found" >&6; }
11457 else
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11459 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11461 cat >>confdefs.h <<_ACEOF
11462 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11463 _ACEOF
11467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11468 $as_echo_n "checking for -lXext... " >&6; }
11469 if ${ac_cv_lib_soname_Xext+:} false; then :
11470 $as_echo_n "(cached) " >&6
11471 else
11472 ac_check_soname_save_LIBS=$LIBS
11473 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11475 /* end confdefs.h. */
11477 /* Override any GCC internal prototype to avoid an error.
11478 Use char because int might match the return type of a GCC
11479 builtin and then its argument prototype would still apply. */
11480 #ifdef __cplusplus
11481 extern "C"
11482 #endif
11483 char XextCreateExtension ();
11485 main ()
11487 return XextCreateExtension ();
11489 return 0;
11491 _ACEOF
11492 if ac_fn_c_try_link "$LINENO"; then :
11493 case "$LIBEXT" in
11494 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11495 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'` ;;
11496 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11497 if ${ac_cv_lib_soname_Xext:+false} :; then :
11498 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11499 fi ;;
11500 esac
11501 else
11502 ac_cv_lib_soname_Xext=
11504 rm -f core conftest.err conftest.$ac_objext \
11505 conftest$ac_exeext conftest.$ac_ext
11506 LIBS=$ac_check_soname_save_LIBS
11508 if ${ac_cv_lib_soname_Xext:+false} :; then :
11509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11510 $as_echo "not found" >&6; }
11512 else
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11514 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11516 cat >>confdefs.h <<_ACEOF
11517 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11518 _ACEOF
11520 X_LIBS="$X_LIBS -lXext"
11522 X_LIBS="$X_LIBS -lX11"
11524 for ac_header in X11/Xlib.h \
11525 X11/XKBlib.h \
11526 X11/Xutil.h \
11527 X11/Xcursor/Xcursor.h \
11528 X11/extensions/shape.h \
11529 X11/extensions/XInput.h \
11530 X11/extensions/XInput2.h \
11531 X11/extensions/XShm.h \
11532 X11/extensions/Xcomposite.h \
11533 X11/extensions/Xfixes.h \
11534 X11/extensions/Xinerama.h \
11535 X11/extensions/Xrandr.h \
11536 X11/extensions/Xrender.h \
11537 X11/extensions/xf86vmode.h \
11538 X11/extensions/xf86vmproto.h
11539 do :
11540 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11541 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11542 # include <X11/Xlib.h>
11543 #endif
11544 #ifdef HAVE_X11_XUTIL_H
11545 # include <X11/Xutil.h>
11546 #endif
11548 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11549 cat >>confdefs.h <<_ACEOF
11550 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11551 _ACEOF
11555 done
11558 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11559 then
11560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11561 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11562 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11563 $as_echo_n "(cached) " >&6
11564 else
11565 ac_check_lib_save_LIBS=$LIBS
11566 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11568 /* end confdefs.h. */
11570 /* Override any GCC internal prototype to avoid an error.
11571 Use char because int might match the return type of a GCC
11572 builtin and then its argument prototype would still apply. */
11573 #ifdef __cplusplus
11574 extern "C"
11575 #endif
11576 char XkbQueryExtension ();
11578 main ()
11580 return XkbQueryExtension ();
11582 return 0;
11584 _ACEOF
11585 if ac_fn_c_try_link "$LINENO"; then :
11586 ac_cv_lib_X11_XkbQueryExtension=yes
11587 else
11588 ac_cv_lib_X11_XkbQueryExtension=no
11590 rm -f core conftest.err conftest.$ac_objext \
11591 conftest$ac_exeext conftest.$ac_ext
11592 LIBS=$ac_check_lib_save_LIBS
11594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11595 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11596 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11598 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11604 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11605 then
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11607 $as_echo_n "checking for -lXcursor... " >&6; }
11608 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11609 $as_echo_n "(cached) " >&6
11610 else
11611 ac_check_soname_save_LIBS=$LIBS
11612 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11614 /* end confdefs.h. */
11616 /* Override any GCC internal prototype to avoid an error.
11617 Use char because int might match the return type of a GCC
11618 builtin and then its argument prototype would still apply. */
11619 #ifdef __cplusplus
11620 extern "C"
11621 #endif
11622 char XcursorImageLoadCursor ();
11624 main ()
11626 return XcursorImageLoadCursor ();
11628 return 0;
11630 _ACEOF
11631 if ac_fn_c_try_link "$LINENO"; then :
11632 case "$LIBEXT" in
11633 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11634 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'` ;;
11635 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11636 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11637 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11638 fi ;;
11639 esac
11640 else
11641 ac_cv_lib_soname_Xcursor=
11643 rm -f core conftest.err conftest.$ac_objext \
11644 conftest$ac_exeext conftest.$ac_ext
11645 LIBS=$ac_check_soname_save_LIBS
11647 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11649 $as_echo "not found" >&6; }
11651 else
11652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11653 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11655 cat >>confdefs.h <<_ACEOF
11656 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11657 _ACEOF
11662 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11663 case "x$with_xcursor" in
11664 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11665 xno) ;;
11666 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11667 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11668 esac
11672 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11673 then
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11675 $as_echo_n "checking for -lXi... " >&6; }
11676 if ${ac_cv_lib_soname_Xi+:} false; then :
11677 $as_echo_n "(cached) " >&6
11678 else
11679 ac_check_soname_save_LIBS=$LIBS
11680 LIBS="-lXi $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 XOpenDevice ();
11692 main ()
11694 return XOpenDevice ();
11696 return 0;
11698 _ACEOF
11699 if ac_fn_c_try_link "$LINENO"; then :
11700 case "$LIBEXT" in
11701 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11702 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'` ;;
11703 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11704 if ${ac_cv_lib_soname_Xi:+false} :; then :
11705 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11706 fi ;;
11707 esac
11708 else
11709 ac_cv_lib_soname_Xi=
11711 rm -f core conftest.err conftest.$ac_objext \
11712 conftest$ac_exeext conftest.$ac_ext
11713 LIBS=$ac_check_soname_save_LIBS
11715 if ${ac_cv_lib_soname_Xi:+false} :; then :
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11717 $as_echo "not found" >&6; }
11719 else
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11721 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11723 cat >>confdefs.h <<_ACEOF
11724 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11725 _ACEOF
11730 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11731 case "x$with_xinput" in
11732 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11733 xno) ;;
11734 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11735 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11736 esac
11740 if test "x$ac_cv_lib_soname_Xi" != x
11741 then
11742 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11743 case "x$with_xinput2" in
11744 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11745 xno) ;;
11746 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11747 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11748 esac
11753 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11754 then
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11756 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11757 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11758 $as_echo_n "(cached) " >&6
11759 else
11760 ac_check_lib_save_LIBS=$LIBS
11761 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11763 /* end confdefs.h. */
11765 /* Override any GCC internal prototype to avoid an error.
11766 Use char because int might match the return type of a GCC
11767 builtin and then its argument prototype would still apply. */
11768 #ifdef __cplusplus
11769 extern "C"
11770 #endif
11771 char XShmQueryExtension ();
11773 main ()
11775 return XShmQueryExtension ();
11777 return 0;
11779 _ACEOF
11780 if ac_fn_c_try_link "$LINENO"; then :
11781 ac_cv_lib_Xext_XShmQueryExtension=yes
11782 else
11783 ac_cv_lib_Xext_XShmQueryExtension=no
11785 rm -f core conftest.err conftest.$ac_objext \
11786 conftest$ac_exeext conftest.$ac_ext
11787 LIBS=$ac_check_lib_save_LIBS
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11790 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11791 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11793 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11798 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11799 case "x$with_xshm" in
11800 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11801 xno) ;;
11802 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11803 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11804 esac
11808 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11809 then
11810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11811 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11812 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11813 $as_echo_n "(cached) " >&6
11814 else
11815 ac_check_lib_save_LIBS=$LIBS
11816 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11818 /* end confdefs.h. */
11820 /* Override any GCC internal prototype to avoid an error.
11821 Use char because int might match the return type of a GCC
11822 builtin and then its argument prototype would still apply. */
11823 #ifdef __cplusplus
11824 extern "C"
11825 #endif
11826 char XShapeQueryExtension ();
11828 main ()
11830 return XShapeQueryExtension ();
11832 return 0;
11834 _ACEOF
11835 if ac_fn_c_try_link "$LINENO"; then :
11836 ac_cv_lib_Xext_XShapeQueryExtension=yes
11837 else
11838 ac_cv_lib_Xext_XShapeQueryExtension=no
11840 rm -f core conftest.err conftest.$ac_objext \
11841 conftest$ac_exeext conftest.$ac_ext
11842 LIBS=$ac_check_lib_save_LIBS
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11845 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11846 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11848 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11853 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11854 case "x$with_xshape" in
11855 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11856 xno) ;;
11857 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11858 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11859 esac
11863 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11864 then
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11866 $as_echo_n "checking for -lXxf86vm... " >&6; }
11867 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11868 $as_echo_n "(cached) " >&6
11869 else
11870 ac_check_soname_save_LIBS=$LIBS
11871 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11873 /* end confdefs.h. */
11875 /* Override any GCC internal prototype to avoid an error.
11876 Use char because int might match the return type of a GCC
11877 builtin and then its argument prototype would still apply. */
11878 #ifdef __cplusplus
11879 extern "C"
11880 #endif
11881 char XF86VidModeQueryExtension ();
11883 main ()
11885 return XF86VidModeQueryExtension ();
11887 return 0;
11889 _ACEOF
11890 if ac_fn_c_try_link "$LINENO"; then :
11891 case "$LIBEXT" in
11892 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11893 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'` ;;
11894 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11895 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11896 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11897 fi ;;
11898 esac
11899 else
11900 ac_cv_lib_soname_Xxf86vm=
11902 rm -f core conftest.err conftest.$ac_objext \
11903 conftest$ac_exeext conftest.$ac_ext
11904 LIBS=$ac_check_soname_save_LIBS
11906 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11908 $as_echo "not found" >&6; }
11910 else
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11912 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11914 cat >>confdefs.h <<_ACEOF
11915 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11916 _ACEOF
11921 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11922 case "x$with_xxf86vm" in
11923 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11924 xno) ;;
11925 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11926 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11927 esac
11931 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11932 then
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11934 $as_echo_n "checking for -lXrender... " >&6; }
11935 if ${ac_cv_lib_soname_Xrender+:} false; then :
11936 $as_echo_n "(cached) " >&6
11937 else
11938 ac_check_soname_save_LIBS=$LIBS
11939 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11941 /* end confdefs.h. */
11943 /* Override any GCC internal prototype to avoid an error.
11944 Use char because int might match the return type of a GCC
11945 builtin and then its argument prototype would still apply. */
11946 #ifdef __cplusplus
11947 extern "C"
11948 #endif
11949 char XRenderQueryExtension ();
11951 main ()
11953 return XRenderQueryExtension ();
11955 return 0;
11957 _ACEOF
11958 if ac_fn_c_try_link "$LINENO"; then :
11959 case "$LIBEXT" in
11960 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11961 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'` ;;
11962 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11963 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11964 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11965 fi ;;
11966 esac
11967 else
11968 ac_cv_lib_soname_Xrender=
11970 rm -f core conftest.err conftest.$ac_objext \
11971 conftest$ac_exeext conftest.$ac_ext
11972 LIBS=$ac_check_soname_save_LIBS
11974 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11976 $as_echo "not found" >&6; }
11978 else
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11980 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11982 cat >>confdefs.h <<_ACEOF
11983 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11984 _ACEOF
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11987 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11988 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11989 $as_echo_n "(cached) " >&6
11990 else
11991 ac_check_lib_save_LIBS=$LIBS
11992 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11994 /* end confdefs.h. */
11996 /* Override any GCC internal prototype to avoid an error.
11997 Use char because int might match the return type of a GCC
11998 builtin and then its argument prototype would still apply. */
11999 #ifdef __cplusplus
12000 extern "C"
12001 #endif
12002 char XRenderSetPictureTransform ();
12004 main ()
12006 return XRenderSetPictureTransform ();
12008 return 0;
12010 _ACEOF
12011 if ac_fn_c_try_link "$LINENO"; then :
12012 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12013 else
12014 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12016 rm -f core conftest.err conftest.$ac_objext \
12017 conftest$ac_exeext conftest.$ac_ext
12018 LIBS=$ac_check_lib_save_LIBS
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12021 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12022 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12024 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12029 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12030 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12031 $as_echo_n "(cached) " >&6
12032 else
12033 ac_check_lib_save_LIBS=$LIBS
12034 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12036 /* end confdefs.h. */
12038 /* Override any GCC internal prototype to avoid an error.
12039 Use char because int might match the return type of a GCC
12040 builtin and then its argument prototype would still apply. */
12041 #ifdef __cplusplus
12042 extern "C"
12043 #endif
12044 char XRenderCreateLinearGradient ();
12046 main ()
12048 return XRenderCreateLinearGradient ();
12050 return 0;
12052 _ACEOF
12053 if ac_fn_c_try_link "$LINENO"; then :
12054 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12055 else
12056 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12058 rm -f core conftest.err conftest.$ac_objext \
12059 conftest$ac_exeext conftest.$ac_ext
12060 LIBS=$ac_check_lib_save_LIBS
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12063 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12064 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12066 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12073 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12074 case "x$with_xrender" in
12075 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12076 xno) ;;
12077 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12078 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12079 esac
12083 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12084 then
12085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12086 /* end confdefs.h. */
12087 #include <X11/Xlib.h>
12088 #include <X11/extensions/Xrandr.h>
12090 main ()
12092 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12094 return 0;
12096 _ACEOF
12097 if ac_fn_c_try_compile "$LINENO"; then :
12098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12099 $as_echo_n "checking for -lXrandr... " >&6; }
12100 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12101 $as_echo_n "(cached) " >&6
12102 else
12103 ac_check_soname_save_LIBS=$LIBS
12104 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12106 /* end confdefs.h. */
12108 /* Override any GCC internal prototype to avoid an error.
12109 Use char because int might match the return type of a GCC
12110 builtin and then its argument prototype would still apply. */
12111 #ifdef __cplusplus
12112 extern "C"
12113 #endif
12114 char XRRQueryExtension ();
12116 main ()
12118 return XRRQueryExtension ();
12120 return 0;
12122 _ACEOF
12123 if ac_fn_c_try_link "$LINENO"; then :
12124 case "$LIBEXT" in
12125 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12126 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'` ;;
12127 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12128 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12129 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12130 fi ;;
12131 esac
12132 else
12133 ac_cv_lib_soname_Xrandr=
12135 rm -f core conftest.err conftest.$ac_objext \
12136 conftest$ac_exeext conftest.$ac_ext
12137 LIBS=$ac_check_soname_save_LIBS
12139 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12141 $as_echo "not found" >&6; }
12143 else
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12145 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12147 cat >>confdefs.h <<_ACEOF
12148 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12149 _ACEOF
12151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12152 /* end confdefs.h. */
12153 #include <X11/Xlib.h>
12154 #include <X11/extensions/Xrandr.h>
12156 main ()
12158 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12160 return 0;
12162 _ACEOF
12163 if ac_fn_c_try_compile "$LINENO"; then :
12165 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12167 else
12168 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12175 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12176 case "x$with_xrandr" in
12177 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12178 xno) ;;
12179 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12180 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12181 esac
12185 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12186 then
12187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12188 /* end confdefs.h. */
12189 #include <X11/Xlib.h>
12190 #include <X11/extensions/Xfixes.h>
12192 main ()
12194 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12196 return 0;
12198 _ACEOF
12199 if ac_fn_c_try_compile "$LINENO"; then :
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12201 $as_echo_n "checking for -lXfixes... " >&6; }
12202 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12203 $as_echo_n "(cached) " >&6
12204 else
12205 ac_check_soname_save_LIBS=$LIBS
12206 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12208 /* end confdefs.h. */
12210 /* Override any GCC internal prototype to avoid an error.
12211 Use char because int might match the return type of a GCC
12212 builtin and then its argument prototype would still apply. */
12213 #ifdef __cplusplus
12214 extern "C"
12215 #endif
12216 char XFixesQueryVersion ();
12218 main ()
12220 return XFixesQueryVersion ();
12222 return 0;
12224 _ACEOF
12225 if ac_fn_c_try_link "$LINENO"; then :
12226 case "$LIBEXT" in
12227 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12228 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'` ;;
12229 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12230 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12231 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12232 fi ;;
12233 esac
12234 else
12235 ac_cv_lib_soname_Xfixes=
12237 rm -f core conftest.err conftest.$ac_objext \
12238 conftest$ac_exeext conftest.$ac_ext
12239 LIBS=$ac_check_soname_save_LIBS
12241 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12243 $as_echo "not found" >&6; }
12245 else
12246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12247 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12249 cat >>confdefs.h <<_ACEOF
12250 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12251 _ACEOF
12256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12258 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12259 case "x$with_xfixes" in
12260 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12261 xno) ;;
12262 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12263 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12264 esac
12268 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12269 then
12270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12271 /* end confdefs.h. */
12272 #include <X11/Xlib.h>
12273 #include <X11/extensions/Xinerama.h>
12275 main ()
12277 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12279 return 0;
12281 _ACEOF
12282 if ac_fn_c_try_compile "$LINENO"; then :
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12284 $as_echo_n "checking for -lXinerama... " >&6; }
12285 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12286 $as_echo_n "(cached) " >&6
12287 else
12288 ac_check_soname_save_LIBS=$LIBS
12289 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12291 /* end confdefs.h. */
12293 /* Override any GCC internal prototype to avoid an error.
12294 Use char because int might match the return type of a GCC
12295 builtin and then its argument prototype would still apply. */
12296 #ifdef __cplusplus
12297 extern "C"
12298 #endif
12299 char XineramaQueryScreens ();
12301 main ()
12303 return XineramaQueryScreens ();
12305 return 0;
12307 _ACEOF
12308 if ac_fn_c_try_link "$LINENO"; then :
12309 case "$LIBEXT" in
12310 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12311 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'` ;;
12312 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12313 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12314 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12315 fi ;;
12316 esac
12317 else
12318 ac_cv_lib_soname_Xinerama=
12320 rm -f core conftest.err conftest.$ac_objext \
12321 conftest$ac_exeext conftest.$ac_ext
12322 LIBS=$ac_check_soname_save_LIBS
12324 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12326 $as_echo "not found" >&6; }
12328 else
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12330 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12332 cat >>confdefs.h <<_ACEOF
12333 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12334 _ACEOF
12339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12341 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12342 case "x$with_xinerama" in
12343 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12344 xno) ;;
12345 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12346 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12347 esac
12351 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12352 then
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12354 $as_echo_n "checking for -lXcomposite... " >&6; }
12355 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12356 $as_echo_n "(cached) " >&6
12357 else
12358 ac_check_soname_save_LIBS=$LIBS
12359 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12361 /* end confdefs.h. */
12363 /* Override any GCC internal prototype to avoid an error.
12364 Use char because int might match the return type of a GCC
12365 builtin and then its argument prototype would still apply. */
12366 #ifdef __cplusplus
12367 extern "C"
12368 #endif
12369 char XCompositeRedirectWindow ();
12371 main ()
12373 return XCompositeRedirectWindow ();
12375 return 0;
12377 _ACEOF
12378 if ac_fn_c_try_link "$LINENO"; then :
12379 case "$LIBEXT" in
12380 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12381 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'` ;;
12382 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12383 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12384 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12385 fi ;;
12386 esac
12387 else
12388 ac_cv_lib_soname_Xcomposite=
12390 rm -f core conftest.err conftest.$ac_objext \
12391 conftest$ac_exeext conftest.$ac_ext
12392 LIBS=$ac_check_soname_save_LIBS
12394 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12396 $as_echo "not found" >&6; }
12398 else
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12400 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12402 cat >>confdefs.h <<_ACEOF
12403 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12404 _ACEOF
12409 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12410 case "x$with_xcomposite" in
12411 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12412 xno) ;;
12413 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12414 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12415 esac
12419 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12420 #include <X11/Xlib.h>
12421 #endif
12423 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12425 cat >>confdefs.h <<_ACEOF
12426 #define HAVE_XICCALLBACK_CALLBACK 1
12427 _ACEOF
12431 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12432 #include <X11/Xlib.h>
12433 #endif
12435 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12437 cat >>confdefs.h <<_ACEOF
12438 #define HAVE_XEVENT_XCOOKIE 1
12439 _ACEOF
12446 opengl_msg=""
12447 if test "x$with_opengl" != "xno"
12448 then
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12450 $as_echo_n "checking for -lGL... " >&6; }
12451 if ${ac_cv_lib_soname_GL+:} false; then :
12452 $as_echo_n "(cached) " >&6
12453 else
12454 ac_check_soname_save_LIBS=$LIBS
12455 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12457 /* end confdefs.h. */
12459 /* Override any GCC internal prototype to avoid an error.
12460 Use char because int might match the return type of a GCC
12461 builtin and then its argument prototype would still apply. */
12462 #ifdef __cplusplus
12463 extern "C"
12464 #endif
12465 char glXCreateContext ();
12467 main ()
12469 return glXCreateContext ();
12471 return 0;
12473 _ACEOF
12474 if ac_fn_c_try_link "$LINENO"; then :
12475 case "$LIBEXT" in
12476 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12477 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'` ;;
12478 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12479 if ${ac_cv_lib_soname_GL:+false} :; then :
12480 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12481 fi ;;
12482 esac
12483 else
12484 ac_cv_lib_soname_GL=
12486 rm -f core conftest.err conftest.$ac_objext \
12487 conftest$ac_exeext conftest.$ac_ext
12488 LIBS=$ac_check_soname_save_LIBS
12490 if ${ac_cv_lib_soname_GL:+false} :; then :
12491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12492 $as_echo "not found" >&6; }
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12494 $as_echo_n "checking for -lGL... " >&6; }
12495 if ${ac_cv_lib_soname_GL+:} false; then :
12496 $as_echo_n "(cached) " >&6
12497 else
12498 ac_check_soname_save_LIBS=$LIBS
12499 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"
12500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12501 /* end confdefs.h. */
12503 /* Override any GCC internal prototype to avoid an error.
12504 Use char because int might match the return type of a GCC
12505 builtin and then its argument prototype would still apply. */
12506 #ifdef __cplusplus
12507 extern "C"
12508 #endif
12509 char glXCreateContext ();
12511 main ()
12513 return glXCreateContext ();
12515 return 0;
12517 _ACEOF
12518 if ac_fn_c_try_link "$LINENO"; then :
12519 case "$LIBEXT" in
12520 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12521 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'` ;;
12522 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12523 if ${ac_cv_lib_soname_GL:+false} :; then :
12524 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12525 fi ;;
12526 esac
12527 else
12528 ac_cv_lib_soname_GL=
12530 rm -f core conftest.err conftest.$ac_objext \
12531 conftest$ac_exeext conftest.$ac_ext
12532 LIBS=$ac_check_soname_save_LIBS
12534 if ${ac_cv_lib_soname_GL:+false} :; then :
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12536 $as_echo "not found" >&6; }
12537 if test -f /usr/X11R6/lib/libGL.a
12538 then
12539 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12540 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12541 else
12542 opengl_msg="No OpenGL library found on this system."
12544 else
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12546 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12548 cat >>confdefs.h <<_ACEOF
12549 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12550 _ACEOF
12552 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"
12554 else
12555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12556 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12558 cat >>confdefs.h <<_ACEOF
12559 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12560 _ACEOF
12562 OPENGL_LIBS="-lGL"
12564 if test "x$with_glu" != "xno"
12565 then
12566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12567 $as_echo_n "checking for -lGLU... " >&6; }
12568 if ${ac_cv_lib_soname_GLU+:} false; then :
12569 $as_echo_n "(cached) " >&6
12570 else
12571 ac_check_soname_save_LIBS=$LIBS
12572 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12574 /* end confdefs.h. */
12576 /* Override any GCC internal prototype to avoid an error.
12577 Use char because int might match the return type of a GCC
12578 builtin and then its argument prototype would still apply. */
12579 #ifdef __cplusplus
12580 extern "C"
12581 #endif
12582 char gluLookAt ();
12584 main ()
12586 return gluLookAt ();
12588 return 0;
12590 _ACEOF
12591 if ac_fn_c_try_link "$LINENO"; then :
12592 case "$LIBEXT" in
12593 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12594 dylib) ac_cv_lib_soname_GLU=`$OTOOL -L conftest$ac_exeext | grep "libGLU\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLU\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12595 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12596 if ${ac_cv_lib_soname_GLU:+false} :; then :
12597 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12598 fi ;;
12599 esac
12600 else
12601 ac_cv_lib_soname_GLU=
12603 rm -f core conftest.err conftest.$ac_objext \
12604 conftest$ac_exeext conftest.$ac_ext
12605 LIBS=$ac_check_soname_save_LIBS
12607 if ${ac_cv_lib_soname_GLU:+false} :; then :
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12609 $as_echo "not found" >&6; }
12611 else
12612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12613 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12615 cat >>confdefs.h <<_ACEOF
12616 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12617 _ACEOF
12621 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12622 case "x$with_glu" in
12623 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12624 xno) ;;
12625 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12626 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12627 esac
12632 if test "x$with_osmesa" != "xno"
12633 then
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12635 $as_echo_n "checking for -lOSMesa... " >&6; }
12636 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12637 $as_echo_n "(cached) " >&6
12638 else
12639 ac_check_soname_save_LIBS=$LIBS
12640 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12642 /* end confdefs.h. */
12644 /* Override any GCC internal prototype to avoid an error.
12645 Use char because int might match the return type of a GCC
12646 builtin and then its argument prototype would still apply. */
12647 #ifdef __cplusplus
12648 extern "C"
12649 #endif
12650 char OSMesaGetProcAddress ();
12652 main ()
12654 return OSMesaGetProcAddress ();
12656 return 0;
12658 _ACEOF
12659 if ac_fn_c_try_link "$LINENO"; then :
12660 case "$LIBEXT" in
12661 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12662 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'` ;;
12663 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12664 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12665 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12666 fi ;;
12667 esac
12668 else
12669 ac_cv_lib_soname_OSMesa=
12671 rm -f core conftest.err conftest.$ac_objext \
12672 conftest$ac_exeext conftest.$ac_ext
12673 LIBS=$ac_check_soname_save_LIBS
12675 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12677 $as_echo "not found" >&6; }
12679 else
12680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12681 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12683 cat >>confdefs.h <<_ACEOF
12684 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12685 _ACEOF
12689 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12690 case "x$with_osmesa" in
12691 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12692 xno) ;;
12693 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12694 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12695 esac
12700 if test -n "$opengl_msg"; then :
12701 case "x$with_opengl" in
12702 x) as_fn_append wine_warnings "|$opengl_msg
12703 OpenGL and Direct3D won't be supported." ;;
12704 xno) ;;
12705 *) as_fn_error $? "$opengl_msg
12706 OpenGL and Direct3D won't be supported.
12707 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12708 esac
12712 CPPFLAGS="$ac_save_CPPFLAGS"
12713 else
12714 X_CFLAGS=""
12715 X_LIBS=""
12718 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12719 then
12720 if test "x$X_LIBS" = "x"; then :
12721 case "x$with_x" in
12722 xno) ;;
12723 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12724 without X support, which probably isn't what you want. You will need
12725 to install ${notice_platform}development packages of Xlib at the very least.
12726 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12727 esac
12728 enable_winex11_drv=${enable_winex11_drv:-no}
12730 else
12731 if test "x$X_LIBS" = "x"; then :
12732 case "x$with_x" in
12733 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12734 xno) ;;
12735 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12736 This is an error since --with-x was requested." "$LINENO" 5 ;;
12737 esac
12738 enable_winex11_drv=${enable_winex11_drv:-no}
12742 if test "$ac_cv_header_CL_cl_h" = "yes"
12743 then
12744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12745 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12746 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12747 $as_echo_n "(cached) " >&6
12748 else
12749 ac_check_lib_save_LIBS=$LIBS
12750 LIBS="-lOpenCL $LIBS"
12751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12752 /* end confdefs.h. */
12754 /* Override any GCC internal prototype to avoid an error.
12755 Use char because int might match the return type of a GCC
12756 builtin and then its argument prototype would still apply. */
12757 #ifdef __cplusplus
12758 extern "C"
12759 #endif
12760 char clGetPlatformInfo ();
12762 main ()
12764 return clGetPlatformInfo ();
12766 return 0;
12768 _ACEOF
12769 if ac_fn_c_try_link "$LINENO"; then :
12770 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12771 else
12772 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12774 rm -f core conftest.err conftest.$ac_objext \
12775 conftest$ac_exeext conftest.$ac_ext
12776 LIBS=$ac_check_lib_save_LIBS
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12779 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12780 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12781 OPENCL_LIBS="-lOpenCL"
12786 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12787 case "x$with_opencl" in
12788 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12789 xno) ;;
12790 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12791 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12792 esac
12793 enable_opencl=${enable_opencl:-no}
12796 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12797 then
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12799 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12800 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12801 $as_echo_n "(cached) " >&6
12802 else
12803 ac_check_lib_save_LIBS=$LIBS
12804 LIBS="-lpcap $LIBS"
12805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12806 /* end confdefs.h. */
12808 /* Override any GCC internal prototype to avoid an error.
12809 Use char because int might match the return type of a GCC
12810 builtin and then its argument prototype would still apply. */
12811 #ifdef __cplusplus
12812 extern "C"
12813 #endif
12814 char pcap_create ();
12816 main ()
12818 return pcap_create ();
12820 return 0;
12822 _ACEOF
12823 if ac_fn_c_try_link "$LINENO"; then :
12824 ac_cv_lib_pcap_pcap_create=yes
12825 else
12826 ac_cv_lib_pcap_pcap_create=no
12828 rm -f core conftest.err conftest.$ac_objext \
12829 conftest$ac_exeext conftest.$ac_ext
12830 LIBS=$ac_check_lib_save_LIBS
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12833 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12834 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12835 PCAP_LIBS="-lpcap"
12840 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12841 case "x$with_pcap" in
12842 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12843 xno) ;;
12844 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12845 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12846 esac
12847 enable_wpcap=${enable_wpcap:-no}
12851 if test "x$with_xml" != "xno"
12852 then
12853 if ${XML2_CFLAGS:+false} :; then :
12854 if ${PKG_CONFIG+:} false; then :
12855 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12858 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12859 if ${XML2_LIBS:+false} :; then :
12860 if ${PKG_CONFIG+:} false; then :
12861 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12864 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12865 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12866 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12867 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12868 ac_save_CPPFLAGS=$CPPFLAGS
12869 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12870 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12871 do :
12872 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12873 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12874 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12875 cat >>confdefs.h <<_ACEOF
12876 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12877 _ACEOF
12881 done
12883 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"
12884 then
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12886 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12887 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12888 $as_echo_n "(cached) " >&6
12889 else
12890 ac_check_lib_save_LIBS=$LIBS
12891 LIBS="-lxml2 $XML2_LIBS $LIBS"
12892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12893 /* end confdefs.h. */
12895 /* Override any GCC internal prototype to avoid an error.
12896 Use char because int might match the return type of a GCC
12897 builtin and then its argument prototype would still apply. */
12898 #ifdef __cplusplus
12899 extern "C"
12900 #endif
12901 char xmlParseMemory ();
12903 main ()
12905 return xmlParseMemory ();
12907 return 0;
12909 _ACEOF
12910 if ac_fn_c_try_link "$LINENO"; then :
12911 ac_cv_lib_xml2_xmlParseMemory=yes
12912 else
12913 ac_cv_lib_xml2_xmlParseMemory=no
12915 rm -f core conftest.err conftest.$ac_objext \
12916 conftest$ac_exeext conftest.$ac_ext
12917 LIBS=$ac_check_lib_save_LIBS
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12920 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12921 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12923 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12925 else
12926 XML2_LIBS=""
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12930 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12931 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12932 $as_echo_n "(cached) " >&6
12933 else
12934 ac_check_lib_save_LIBS=$LIBS
12935 LIBS="-lxml2 $XML2_LIBS $LIBS"
12936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12937 /* end confdefs.h. */
12939 /* Override any GCC internal prototype to avoid an error.
12940 Use char because int might match the return type of a GCC
12941 builtin and then its argument prototype would still apply. */
12942 #ifdef __cplusplus
12943 extern "C"
12944 #endif
12945 char xmlReadMemory ();
12947 main ()
12949 return xmlReadMemory ();
12951 return 0;
12953 _ACEOF
12954 if ac_fn_c_try_link "$LINENO"; then :
12955 ac_cv_lib_xml2_xmlReadMemory=yes
12956 else
12957 ac_cv_lib_xml2_xmlReadMemory=no
12959 rm -f core conftest.err conftest.$ac_objext \
12960 conftest$ac_exeext conftest.$ac_ext
12961 LIBS=$ac_check_lib_save_LIBS
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12964 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12965 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12967 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12972 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12973 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12974 $as_echo_n "(cached) " >&6
12975 else
12976 ac_check_lib_save_LIBS=$LIBS
12977 LIBS="-lxml2 $XML2_LIBS $LIBS"
12978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12979 /* end confdefs.h. */
12981 /* Override any GCC internal prototype to avoid an error.
12982 Use char because int might match the return type of a GCC
12983 builtin and then its argument prototype would still apply. */
12984 #ifdef __cplusplus
12985 extern "C"
12986 #endif
12987 char xmlNewDocPI ();
12989 main ()
12991 return xmlNewDocPI ();
12993 return 0;
12995 _ACEOF
12996 if ac_fn_c_try_link "$LINENO"; then :
12997 ac_cv_lib_xml2_xmlNewDocPI=yes
12998 else
12999 ac_cv_lib_xml2_xmlNewDocPI=no
13001 rm -f core conftest.err conftest.$ac_objext \
13002 conftest$ac_exeext conftest.$ac_ext
13003 LIBS=$ac_check_lib_save_LIBS
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13006 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13007 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13009 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13014 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13015 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13016 $as_echo_n "(cached) " >&6
13017 else
13018 ac_check_lib_save_LIBS=$LIBS
13019 LIBS="-lxml2 $XML2_LIBS $LIBS"
13020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13021 /* end confdefs.h. */
13023 /* Override any GCC internal prototype to avoid an error.
13024 Use char because int might match the return type of a GCC
13025 builtin and then its argument prototype would still apply. */
13026 #ifdef __cplusplus
13027 extern "C"
13028 #endif
13029 char xmlSchemaSetParserStructuredErrors ();
13031 main ()
13033 return xmlSchemaSetParserStructuredErrors ();
13035 return 0;
13037 _ACEOF
13038 if ac_fn_c_try_link "$LINENO"; then :
13039 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13040 else
13041 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13043 rm -f core conftest.err conftest.$ac_objext \
13044 conftest$ac_exeext conftest.$ac_ext
13045 LIBS=$ac_check_lib_save_LIBS
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13048 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13049 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13051 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13056 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13057 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13058 $as_echo_n "(cached) " >&6
13059 else
13060 ac_check_lib_save_LIBS=$LIBS
13061 LIBS="-lxml2 $XML2_LIBS $LIBS"
13062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13063 /* end confdefs.h. */
13065 /* Override any GCC internal prototype to avoid an error.
13066 Use char because int might match the return type of a GCC
13067 builtin and then its argument prototype would still apply. */
13068 #ifdef __cplusplus
13069 extern "C"
13070 #endif
13071 char xmlSchemaSetValidStructuredErrors ();
13073 main ()
13075 return xmlSchemaSetValidStructuredErrors ();
13077 return 0;
13079 _ACEOF
13080 if ac_fn_c_try_link "$LINENO"; then :
13081 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13082 else
13083 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13085 rm -f core conftest.err conftest.$ac_objext \
13086 conftest$ac_exeext conftest.$ac_ext
13087 LIBS=$ac_check_lib_save_LIBS
13089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13090 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13091 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13093 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13098 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13099 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13100 $as_echo_n "(cached) " >&6
13101 else
13102 ac_check_lib_save_LIBS=$LIBS
13103 LIBS="-lxml2 $XML2_LIBS $LIBS"
13104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13105 /* end confdefs.h. */
13107 /* Override any GCC internal prototype to avoid an error.
13108 Use char because int might match the return type of a GCC
13109 builtin and then its argument prototype would still apply. */
13110 #ifdef __cplusplus
13111 extern "C"
13112 #endif
13113 char xmlFirstElementChild ();
13115 main ()
13117 return xmlFirstElementChild ();
13119 return 0;
13121 _ACEOF
13122 if ac_fn_c_try_link "$LINENO"; then :
13123 ac_cv_lib_xml2_xmlFirstElementChild=yes
13124 else
13125 ac_cv_lib_xml2_xmlFirstElementChild=no
13127 rm -f core conftest.err conftest.$ac_objext \
13128 conftest$ac_exeext conftest.$ac_ext
13129 LIBS=$ac_check_lib_save_LIBS
13131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13132 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13133 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13135 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13139 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13141 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13143 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13147 else
13148 XML2_CFLAGS=""
13149 XML2_LIBS=""
13151 CPPFLAGS=$ac_save_CPPFLAGS
13154 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13155 case "x$with_xml" in
13156 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13157 xno) ;;
13158 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13159 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13160 esac
13164 if test "x$with_xslt" != "xno"
13165 then
13166 if ${XSLT_CFLAGS:+false} :; then :
13167 if ${PKG_CONFIG+:} false; then :
13168 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13171 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13172 if ${XSLT_LIBS:+false} :; then :
13173 if ${PKG_CONFIG+:} false; then :
13174 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13177 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13178 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13179 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13180 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13181 ac_save_CPPFLAGS=$CPPFLAGS
13182 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13183 for ac_header in libxslt/pattern.h libxslt/transform.h
13184 do :
13185 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13186 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13187 # include <libxslt/pattern.h>
13188 #endif
13190 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13191 cat >>confdefs.h <<_ACEOF
13192 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13193 _ACEOF
13197 done
13199 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13200 then
13201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13202 $as_echo_n "checking for -lxslt... " >&6; }
13203 if ${ac_cv_lib_soname_xslt+:} false; then :
13204 $as_echo_n "(cached) " >&6
13205 else
13206 ac_check_soname_save_LIBS=$LIBS
13207 LIBS="-lxslt $XSLT_LIBS $LIBS"
13208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13209 /* end confdefs.h. */
13211 /* Override any GCC internal prototype to avoid an error.
13212 Use char because int might match the return type of a GCC
13213 builtin and then its argument prototype would still apply. */
13214 #ifdef __cplusplus
13215 extern "C"
13216 #endif
13217 char xsltCompilePattern ();
13219 main ()
13221 return xsltCompilePattern ();
13223 return 0;
13225 _ACEOF
13226 if ac_fn_c_try_link "$LINENO"; then :
13227 case "$LIBEXT" in
13228 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13229 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'` ;;
13230 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13231 if ${ac_cv_lib_soname_xslt:+false} :; then :
13232 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13233 fi ;;
13234 esac
13235 else
13236 ac_cv_lib_soname_xslt=
13238 rm -f core conftest.err conftest.$ac_objext \
13239 conftest$ac_exeext conftest.$ac_ext
13240 LIBS=$ac_check_soname_save_LIBS
13242 if ${ac_cv_lib_soname_xslt:+false} :; then :
13243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13244 $as_echo "not found" >&6; }
13246 else
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13248 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13250 cat >>confdefs.h <<_ACEOF
13251 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13252 _ACEOF
13256 else
13257 XSLT_CFLAGS=""
13259 CPPFLAGS=$ac_save_CPPFLAGS
13262 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13263 case "x$with_xslt" in
13264 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13265 xno) ;;
13266 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13267 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13268 esac
13272 if test "x$with_inotify" != "xno"
13273 then
13274 if ${INOTIFY_CFLAGS:+false} :; then :
13275 if ${PKG_CONFIG+:} false; then :
13276 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13280 if ${INOTIFY_LIBS:+false} :; then :
13281 if ${PKG_CONFIG+:} false; then :
13282 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13287 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13288 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13289 ac_save_CPPFLAGS=$CPPFLAGS
13290 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13291 for ac_header in sys/inotify.h
13292 do :
13293 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13294 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13295 cat >>confdefs.h <<_ACEOF
13296 #define HAVE_SYS_INOTIFY_H 1
13297 _ACEOF
13301 done
13303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13304 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13305 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13306 $as_echo_n "(cached) " >&6
13307 else
13308 ac_check_lib_save_LIBS=$LIBS
13309 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13311 /* end confdefs.h. */
13313 /* Override any GCC internal prototype to avoid an error.
13314 Use char because int might match the return type of a GCC
13315 builtin and then its argument prototype would still apply. */
13316 #ifdef __cplusplus
13317 extern "C"
13318 #endif
13319 char inotify_add_watch ();
13321 main ()
13323 return inotify_add_watch ();
13325 return 0;
13327 _ACEOF
13328 if ac_fn_c_try_link "$LINENO"; then :
13329 ac_cv_lib_inotify_inotify_add_watch=yes
13330 else
13331 ac_cv_lib_inotify_inotify_add_watch=no
13333 rm -f core conftest.err conftest.$ac_objext \
13334 conftest$ac_exeext conftest.$ac_ext
13335 LIBS=$ac_check_lib_save_LIBS
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13338 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13339 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13341 else
13342 INOTIFY_LIBS=""
13345 CPPFLAGS=$ac_save_CPPFLAGS
13348 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13349 case "x$with_inotify" in
13350 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13351 xno) ;;
13352 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13353 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13354 esac
13358 if test "x$with_dbus" != "xno"
13359 then
13360 if ${DBUS_CFLAGS:+false} :; then :
13361 if ${PKG_CONFIG+:} false; then :
13362 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13366 if ${DBUS_LIBS:+false} :; then :
13367 if ${PKG_CONFIG+:} false; then :
13368 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13373 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13374 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13375 ac_save_CPPFLAGS=$CPPFLAGS
13376 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13377 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13378 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13380 $as_echo_n "checking for -ldbus-1... " >&6; }
13381 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13382 $as_echo_n "(cached) " >&6
13383 else
13384 ac_check_soname_save_LIBS=$LIBS
13385 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13387 /* end confdefs.h. */
13389 /* Override any GCC internal prototype to avoid an error.
13390 Use char because int might match the return type of a GCC
13391 builtin and then its argument prototype would still apply. */
13392 #ifdef __cplusplus
13393 extern "C"
13394 #endif
13395 char dbus_connection_close ();
13397 main ()
13399 return dbus_connection_close ();
13401 return 0;
13403 _ACEOF
13404 if ac_fn_c_try_link "$LINENO"; then :
13405 case "$LIBEXT" in
13406 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13407 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'` ;;
13408 *) 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'`
13409 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13410 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13411 fi ;;
13412 esac
13413 else
13414 ac_cv_lib_soname_dbus_1=
13416 rm -f core conftest.err conftest.$ac_objext \
13417 conftest$ac_exeext conftest.$ac_ext
13418 LIBS=$ac_check_soname_save_LIBS
13420 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13422 $as_echo "not found" >&6; }
13423 DBUS_CFLAGS=""
13424 else
13425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13426 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13428 cat >>confdefs.h <<_ACEOF
13429 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13430 _ACEOF
13434 else
13435 DBUS_CFLAGS=""
13439 CPPFLAGS=$ac_save_CPPFLAGS
13442 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13443 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13444 case "x$with_dbus" in
13445 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13446 xno) ;;
13447 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13448 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13449 esac
13453 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13454 then
13455 if ${HAL_CFLAGS:+false} :; then :
13456 if ${PKG_CONFIG+:} false; then :
13457 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13461 if ${HAL_LIBS:+false} :; then :
13462 if ${PKG_CONFIG+:} false; then :
13463 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13467 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13468 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13469 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13470 ac_save_CPPFLAGS=$CPPFLAGS
13471 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13472 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13473 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13475 $as_echo_n "checking for -lhal... " >&6; }
13476 if ${ac_cv_lib_soname_hal+:} false; then :
13477 $as_echo_n "(cached) " >&6
13478 else
13479 ac_check_soname_save_LIBS=$LIBS
13480 LIBS="-lhal $HAL_LIBS $LIBS"
13481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13482 /* end confdefs.h. */
13484 /* Override any GCC internal prototype to avoid an error.
13485 Use char because int might match the return type of a GCC
13486 builtin and then its argument prototype would still apply. */
13487 #ifdef __cplusplus
13488 extern "C"
13489 #endif
13490 char libhal_ctx_new ();
13492 main ()
13494 return libhal_ctx_new ();
13496 return 0;
13498 _ACEOF
13499 if ac_fn_c_try_link "$LINENO"; then :
13500 case "$LIBEXT" in
13501 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13502 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'` ;;
13503 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13504 if ${ac_cv_lib_soname_hal:+false} :; then :
13505 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13506 fi ;;
13507 esac
13508 else
13509 ac_cv_lib_soname_hal=
13511 rm -f core conftest.err conftest.$ac_objext \
13512 conftest$ac_exeext conftest.$ac_ext
13513 LIBS=$ac_check_soname_save_LIBS
13515 if ${ac_cv_lib_soname_hal:+false} :; then :
13516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13517 $as_echo "not found" >&6; }
13518 HAL_CFLAGS=""
13519 else
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13521 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13523 cat >>confdefs.h <<_ACEOF
13524 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13525 _ACEOF
13529 else
13530 HAL_CFLAGS=""
13534 CPPFLAGS=$ac_save_CPPFLAGS
13536 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13537 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13538 case "x$with_hal" in
13539 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13540 xno) ;;
13541 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13542 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13543 esac
13548 if test "x$with_gnutls" != "xno"
13549 then
13550 if ${GNUTLS_CFLAGS:+false} :; then :
13551 if ${PKG_CONFIG+:} false; then :
13552 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13556 if ${GNUTLS_LIBS:+false} :; then :
13557 if ${PKG_CONFIG+:} false; then :
13558 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13562 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13563 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13564 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13565 ac_save_CPPFLAGS=$CPPFLAGS
13566 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13567 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13568 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13570 /* end confdefs.h. */
13571 #include <gnutls/gnutls.h>
13572 #include <gnutls/crypto.h>
13574 main ()
13576 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13578 return 0;
13580 _ACEOF
13581 if ac_fn_c_try_compile "$LINENO"; then :
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13583 $as_echo_n "checking for -lgnutls... " >&6; }
13584 if ${ac_cv_lib_soname_gnutls+:} false; then :
13585 $as_echo_n "(cached) " >&6
13586 else
13587 ac_check_soname_save_LIBS=$LIBS
13588 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13590 /* end confdefs.h. */
13592 /* Override any GCC internal prototype to avoid an error.
13593 Use char because int might match the return type of a GCC
13594 builtin and then its argument prototype would still apply. */
13595 #ifdef __cplusplus
13596 extern "C"
13597 #endif
13598 char gnutls_global_init ();
13600 main ()
13602 return gnutls_global_init ();
13604 return 0;
13606 _ACEOF
13607 if ac_fn_c_try_link "$LINENO"; then :
13608 case "$LIBEXT" in
13609 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13610 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'` ;;
13611 *) 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'`
13612 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13613 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'`
13614 fi ;;
13615 esac
13616 else
13617 ac_cv_lib_soname_gnutls=
13619 rm -f core conftest.err conftest.$ac_objext \
13620 conftest$ac_exeext conftest.$ac_ext
13621 LIBS=$ac_check_soname_save_LIBS
13623 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13625 $as_echo "not found" >&6; }
13626 GNUTLS_CFLAGS=""
13627 else
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13629 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13631 cat >>confdefs.h <<_ACEOF
13632 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13633 _ACEOF
13637 ac_wine_check_funcs_save_LIBS="$LIBS"
13638 LIBS="$LIBS $GNUTLS_LIBS"
13639 for ac_func in gnutls_cipher_init
13640 do :
13641 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13642 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13643 cat >>confdefs.h <<_ACEOF
13644 #define HAVE_GNUTLS_CIPHER_INIT 1
13645 _ACEOF
13647 else
13648 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13650 done
13652 LIBS="$ac_wine_check_funcs_save_LIBS"
13654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13655 else
13656 GNUTLS_CFLAGS=""
13660 CPPFLAGS=$ac_save_CPPFLAGS
13663 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13664 case "x$with_gnutls" in
13665 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13666 xno) ;;
13667 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13668 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13669 esac
13673 if test "x$with_sane" != "xno"
13674 then
13675 if ${SANE_CFLAGS:+false} :; then :
13676 if ${PKG_CONFIG+:} false; then :
13677 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13680 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13681 if ${SANE_LIBS:+false} :; then :
13682 if ${PKG_CONFIG+:} false; then :
13683 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13686 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13688 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13689 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13690 ac_save_CPPFLAGS=$CPPFLAGS
13691 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13692 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13693 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13695 $as_echo_n "checking for -lsane... " >&6; }
13696 if ${ac_cv_lib_soname_sane+:} false; then :
13697 $as_echo_n "(cached) " >&6
13698 else
13699 ac_check_soname_save_LIBS=$LIBS
13700 LIBS="-lsane $SANE_LIBS $LIBS"
13701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13702 /* end confdefs.h. */
13704 /* Override any GCC internal prototype to avoid an error.
13705 Use char because int might match the return type of a GCC
13706 builtin and then its argument prototype would still apply. */
13707 #ifdef __cplusplus
13708 extern "C"
13709 #endif
13710 char sane_init ();
13712 main ()
13714 return sane_init ();
13716 return 0;
13718 _ACEOF
13719 if ac_fn_c_try_link "$LINENO"; then :
13720 case "$LIBEXT" in
13721 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13722 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'` ;;
13723 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13724 if ${ac_cv_lib_soname_sane:+false} :; then :
13725 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13726 fi ;;
13727 esac
13728 else
13729 ac_cv_lib_soname_sane=
13731 rm -f core conftest.err conftest.$ac_objext \
13732 conftest$ac_exeext conftest.$ac_ext
13733 LIBS=$ac_check_soname_save_LIBS
13735 if ${ac_cv_lib_soname_sane:+false} :; then :
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13737 $as_echo "not found" >&6; }
13738 SANE_CFLAGS=""
13739 else
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13741 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13743 cat >>confdefs.h <<_ACEOF
13744 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13745 _ACEOF
13749 else
13750 SANE_CFLAGS=""
13754 CPPFLAGS=$ac_save_CPPFLAGS
13757 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13758 case "x$with_sane" in
13759 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13760 xno) ;;
13761 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13762 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13763 esac
13767 if test "x$with_usb" != "xno"
13768 then
13769 if ${USB_CFLAGS:+false} :; then :
13770 if ${PKG_CONFIG+:} false; then :
13771 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13775 if ${USB_LIBS:+false} :; then :
13776 if ${PKG_CONFIG+:} false; then :
13777 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13781 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13782 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13783 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13784 ac_save_CPPFLAGS=$CPPFLAGS
13785 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13786 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13787 if test "x$ac_cv_header_libusb_h" = xyes; then :
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13789 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13790 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13791 $as_echo_n "(cached) " >&6
13792 else
13793 ac_check_lib_save_LIBS=$LIBS
13794 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13796 /* end confdefs.h. */
13798 /* Override any GCC internal prototype to avoid an error.
13799 Use char because int might match the return type of a GCC
13800 builtin and then its argument prototype would still apply. */
13801 #ifdef __cplusplus
13802 extern "C"
13803 #endif
13804 char libusb_interrupt_event_handler ();
13806 main ()
13808 return libusb_interrupt_event_handler ();
13810 return 0;
13812 _ACEOF
13813 if ac_fn_c_try_link "$LINENO"; then :
13814 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13815 else
13816 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13818 rm -f core conftest.err conftest.$ac_objext \
13819 conftest$ac_exeext conftest.$ac_ext
13820 LIBS=$ac_check_lib_save_LIBS
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13823 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13824 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13826 else
13827 USB_LIBS=""
13830 else
13831 USB_LIBS=""
13835 CPPFLAGS=$ac_save_CPPFLAGS
13838 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13839 case "x$with_usb" in
13840 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13841 xno) ;;
13842 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13843 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13844 esac
13845 enable_wineusb_sys=${enable_wineusb_sys:-no}
13848 if test "x$with_v4l2" != "xno"
13849 then
13850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13851 $as_echo_n "checking for -lv4l2... " >&6; }
13852 if ${ac_cv_lib_soname_v4l2+:} false; then :
13853 $as_echo_n "(cached) " >&6
13854 else
13855 ac_check_soname_save_LIBS=$LIBS
13856 LIBS="-lv4l2 $LIBS"
13857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13858 /* end confdefs.h. */
13860 /* Override any GCC internal prototype to avoid an error.
13861 Use char because int might match the return type of a GCC
13862 builtin and then its argument prototype would still apply. */
13863 #ifdef __cplusplus
13864 extern "C"
13865 #endif
13866 char v4l2_open ();
13868 main ()
13870 return v4l2_open ();
13872 return 0;
13874 _ACEOF
13875 if ac_fn_c_try_link "$LINENO"; then :
13876 case "$LIBEXT" in
13877 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13878 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'` ;;
13879 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13880 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13881 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13882 fi ;;
13883 esac
13884 else
13885 ac_cv_lib_soname_v4l2=
13887 rm -f core conftest.err conftest.$ac_objext \
13888 conftest$ac_exeext conftest.$ac_ext
13889 LIBS=$ac_check_soname_save_LIBS
13891 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13893 $as_echo "not found" >&6; }
13895 else
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13897 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13899 cat >>confdefs.h <<_ACEOF
13900 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13901 _ACEOF
13906 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13907 case "x$with_v4l2" in
13908 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13909 xno) ;;
13910 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13911 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13912 esac
13916 if test "x$with_gphoto" != "xno"
13917 then
13918 if ${GPHOTO2_CFLAGS:+false} :; then :
13919 if ${PKG_CONFIG+:} false; then :
13920 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13923 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13924 if ${GPHOTO2_LIBS:+false} :; then :
13925 if ${PKG_CONFIG+:} false; then :
13926 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13929 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13930 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13931 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13932 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13933 ac_save_CPPFLAGS=$CPPFLAGS
13934 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13935 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13936 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13938 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13939 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13940 $as_echo_n "(cached) " >&6
13941 else
13942 ac_check_lib_save_LIBS=$LIBS
13943 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13945 /* end confdefs.h. */
13947 /* Override any GCC internal prototype to avoid an error.
13948 Use char because int might match the return type of a GCC
13949 builtin and then its argument prototype would still apply. */
13950 #ifdef __cplusplus
13951 extern "C"
13952 #endif
13953 char gp_camera_new ();
13955 main ()
13957 return gp_camera_new ();
13959 return 0;
13961 _ACEOF
13962 if ac_fn_c_try_link "$LINENO"; then :
13963 ac_cv_lib_gphoto2_gp_camera_new=yes
13964 else
13965 ac_cv_lib_gphoto2_gp_camera_new=no
13967 rm -f core conftest.err conftest.$ac_objext \
13968 conftest$ac_exeext conftest.$ac_ext
13969 LIBS=$ac_check_lib_save_LIBS
13971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13972 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13973 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13975 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13977 else
13978 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13981 else
13982 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13986 CPPFLAGS=$ac_save_CPPFLAGS
13988 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13989 if ${PKG_CONFIG+:} false; then :
13990 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13993 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13994 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13995 if ${PKG_CONFIG+:} false; then :
13996 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13999 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14000 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14001 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14002 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14003 ac_save_CPPFLAGS=$CPPFLAGS
14004 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14005 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14006 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14008 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14009 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14010 $as_echo_n "(cached) " >&6
14011 else
14012 ac_check_lib_save_LIBS=$LIBS
14013 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14015 /* end confdefs.h. */
14017 /* Override any GCC internal prototype to avoid an error.
14018 Use char because int might match the return type of a GCC
14019 builtin and then its argument prototype would still apply. */
14020 #ifdef __cplusplus
14021 extern "C"
14022 #endif
14023 char gp_port_info_list_new ();
14025 main ()
14027 return gp_port_info_list_new ();
14029 return 0;
14031 _ACEOF
14032 if ac_fn_c_try_link "$LINENO"; then :
14033 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14034 else
14035 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14037 rm -f core conftest.err conftest.$ac_objext \
14038 conftest$ac_exeext conftest.$ac_ext
14039 LIBS=$ac_check_lib_save_LIBS
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14042 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14043 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14045 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14047 else
14048 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14051 else
14052 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14056 CPPFLAGS=$ac_save_CPPFLAGS
14059 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14060 case "x$with_gphoto" in
14061 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14062 xno) ;;
14063 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14064 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14065 esac
14068 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14069 case "x$with_gphoto" in
14070 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14071 xno) ;;
14072 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14073 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14074 esac
14079 if test "$ac_cv_header_resolv_h" = "yes"
14080 then
14081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14082 $as_echo_n "checking for resolver library... " >&6; }
14083 if ${ac_cv_have_resolv+:} false; then :
14084 $as_echo_n "(cached) " >&6
14085 else
14086 ac_save_LIBS="$LIBS"
14087 for lib in '' -lresolv
14089 LIBS="$lib $ac_save_LIBS"
14090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14091 /* end confdefs.h. */
14092 #ifdef HAVE_NETINET_IN_H
14093 #include <netinet/in.h>
14094 #endif
14095 #include <resolv.h>
14097 main ()
14099 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14101 return 0;
14103 _ACEOF
14104 if ac_fn_c_try_link "$LINENO"; then :
14105 ac_cv_have_resolv=${lib:-"none required"}
14106 else
14107 ac_cv_have_resolv="not found"
14109 rm -f core conftest.err conftest.$ac_objext \
14110 conftest$ac_exeext conftest.$ac_ext
14111 test "x$ac_cv_have_resolv" = "xnot found" || break
14112 done
14113 LIBS="$ac_save_LIBS"
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14116 $as_echo "$ac_cv_have_resolv" >&6; }
14118 case "$ac_cv_have_resolv" in
14119 "not found") ;;
14120 "none required")
14122 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14125 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14127 RESOLV_LIBS=$ac_cv_have_resolv
14129 esac
14131 if test "x$ac_cv_have_resolv" != "xnot found"
14132 then
14133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14134 $as_echo_n "checking for res_getservers... " >&6; }
14135 if ${ac_cv_have_res_getservers+:} false; then :
14136 $as_echo_n "(cached) " >&6
14137 else
14138 ac_save_LIBS="$LIBS"
14139 LIBS="$RESOLV_LIBS $LIBS"
14140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14141 /* end confdefs.h. */
14142 #include <resolv.h>
14144 main ()
14146 res_getservers(NULL, NULL, 0);
14148 return 0;
14150 _ACEOF
14151 if ac_fn_c_try_link "$LINENO"; then :
14152 ac_cv_have_res_getservers=yes
14153 else
14154 ac_cv_have_res_getservers=no
14156 rm -f core conftest.err conftest.$ac_objext \
14157 conftest$ac_exeext conftest.$ac_ext
14158 LIBS="$ac_save_LIBS"
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14161 $as_echo "$ac_cv_have_res_getservers" >&6; }
14162 if test "$ac_cv_have_res_getservers" = "yes"
14163 then
14165 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14171 if test "x$with_cms" != "xno"
14172 then
14173 if ${LCMS2_CFLAGS:+false} :; then :
14174 if ${PKG_CONFIG+:} false; then :
14175 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14179 if ${LCMS2_LIBS:+false} :; then :
14180 if ${PKG_CONFIG+:} false; then :
14181 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14185 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14186 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14187 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14188 ac_save_CPPFLAGS=$CPPFLAGS
14189 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14190 for ac_header in lcms2.h
14191 do :
14192 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14193 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14194 cat >>confdefs.h <<_ACEOF
14195 #define HAVE_LCMS2_H 1
14196 _ACEOF
14200 done
14202 if test "$ac_cv_header_lcms2_h" = "yes"
14203 then
14204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14205 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14206 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14207 $as_echo_n "(cached) " >&6
14208 else
14209 ac_check_lib_save_LIBS=$LIBS
14210 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14212 /* end confdefs.h. */
14214 /* Override any GCC internal prototype to avoid an error.
14215 Use char because int might match the return type of a GCC
14216 builtin and then its argument prototype would still apply. */
14217 #ifdef __cplusplus
14218 extern "C"
14219 #endif
14220 char cmsOpenProfileFromFile ();
14222 main ()
14224 return cmsOpenProfileFromFile ();
14226 return 0;
14228 _ACEOF
14229 if ac_fn_c_try_link "$LINENO"; then :
14230 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14231 else
14232 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14234 rm -f core conftest.err conftest.$ac_objext \
14235 conftest$ac_exeext conftest.$ac_ext
14236 LIBS=$ac_check_lib_save_LIBS
14238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14239 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14240 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14242 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14244 else
14245 LCMS2_LIBS=""
14248 else
14249 LCMS2_CFLAGS=""
14250 LCMS2_LIBS=""
14252 CPPFLAGS=$ac_save_CPPFLAGS
14255 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14256 case "x$with_cms" in
14257 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14258 xno) ;;
14259 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14260 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14261 esac
14265 if test "x$with_freetype" != "xno"
14266 then
14267 if ${FREETYPE_CFLAGS:+false} :; then :
14268 if ${PKG_CONFIG+:} false; then :
14269 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14272 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14273 if ${FREETYPE_LIBS:+false} :; then :
14274 if ${PKG_CONFIG+:} false; then :
14275 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14278 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14279 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14280 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14281 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14282 ac_save_CPPFLAGS=$CPPFLAGS
14283 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14284 for ac_header in ft2build.h
14285 do :
14286 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14287 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14288 cat >>confdefs.h <<_ACEOF
14289 #define HAVE_FT2BUILD_H 1
14290 _ACEOF
14294 done
14296 if test "$ac_cv_header_ft2build_h" = "yes"
14297 then
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14299 $as_echo_n "checking for -lfreetype... " >&6; }
14300 if ${ac_cv_lib_soname_freetype+:} false; then :
14301 $as_echo_n "(cached) " >&6
14302 else
14303 ac_check_soname_save_LIBS=$LIBS
14304 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14306 /* end confdefs.h. */
14308 /* Override any GCC internal prototype to avoid an error.
14309 Use char because int might match the return type of a GCC
14310 builtin and then its argument prototype would still apply. */
14311 #ifdef __cplusplus
14312 extern "C"
14313 #endif
14314 char FT_Init_FreeType ();
14316 main ()
14318 return FT_Init_FreeType ();
14320 return 0;
14322 _ACEOF
14323 if ac_fn_c_try_link "$LINENO"; then :
14324 case "$LIBEXT" in
14325 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14326 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'` ;;
14327 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14328 if ${ac_cv_lib_soname_freetype:+false} :; then :
14329 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14330 fi ;;
14331 esac
14332 else
14333 ac_cv_lib_soname_freetype=
14335 rm -f core conftest.err conftest.$ac_objext \
14336 conftest$ac_exeext conftest.$ac_ext
14337 LIBS=$ac_check_soname_save_LIBS
14339 if ${ac_cv_lib_soname_freetype:+false} :; then :
14340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14341 $as_echo "not found" >&6; }
14342 FREETYPE_LIBS=""
14343 else
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14345 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14347 cat >>confdefs.h <<_ACEOF
14348 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14349 _ACEOF
14352 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14354 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14355 #include FT_MODULE_H
14357 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14359 cat >>confdefs.h <<_ACEOF
14360 #define HAVE_FT_TRUETYPEENGINETYPE 1
14361 _ACEOF
14367 else
14368 FREETYPE_CFLAGS=""
14369 FREETYPE_LIBS=""
14371 CPPFLAGS=$ac_save_CPPFLAGS
14374 if test "x$ac_cv_lib_soname_freetype" = x; then :
14375 case "x$with_freetype" in
14376 xno) ;;
14377 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14378 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14379 esac
14380 enable_fonts=${enable_fonts:-no}
14383 ac_wine_check_funcs_save_LIBS="$LIBS"
14384 LIBS="$LIBS $PTHREAD_LIBS"
14385 for ac_func in \
14386 pthread_getthreadid_np
14387 do :
14388 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14389 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14390 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14391 cat >>confdefs.h <<_ACEOF
14392 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14393 _ACEOF
14396 done
14398 LIBS="$ac_wine_check_funcs_save_LIBS"
14400 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14401 then
14402 if test "$ac_cv_header_gettext_po_h" = "yes"
14403 then
14404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14405 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14406 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14407 $as_echo_n "(cached) " >&6
14408 else
14409 ac_check_lib_save_LIBS=$LIBS
14410 LIBS="-lgettextpo $LIBS"
14411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14412 /* end confdefs.h. */
14414 /* Override any GCC internal prototype to avoid an error.
14415 Use char because int might match the return type of a GCC
14416 builtin and then its argument prototype would still apply. */
14417 #ifdef __cplusplus
14418 extern "C"
14419 #endif
14420 char po_message_msgctxt ();
14422 main ()
14424 return po_message_msgctxt ();
14426 return 0;
14428 _ACEOF
14429 if ac_fn_c_try_link "$LINENO"; then :
14430 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14431 else
14432 ac_cv_lib_gettextpo_po_message_msgctxt=no
14434 rm -f core conftest.err conftest.$ac_objext \
14435 conftest$ac_exeext conftest.$ac_ext
14436 LIBS=$ac_check_lib_save_LIBS
14438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14439 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14440 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14442 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14444 GETTEXTPO_LIBS="-lgettextpo"
14449 if test "x$GETTEXTPO_LIBS" = "x"; then :
14450 case "x$with_gettextpo" in
14451 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14452 xno) ;;
14453 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14454 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14455 esac
14458 if test "$srcdir" != .; then :
14459 case "x$with_gettextpo" in
14460 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14461 xno) ;;
14462 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14463 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14464 esac
14469 if test "x$with_pulse" != "xno";
14470 then
14471 if ${PULSE_CFLAGS:+false} :; then :
14472 if ${PKG_CONFIG+:} false; then :
14473 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14477 if ${PULSE_LIBS:+false} :; then :
14478 if ${PKG_CONFIG+:} false; then :
14479 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14484 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14485 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14486 ac_save_CPPFLAGS=$CPPFLAGS
14487 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14488 for ac_header in pulse/pulseaudio.h
14489 do :
14490 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14491 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14492 cat >>confdefs.h <<_ACEOF
14493 #define HAVE_PULSE_PULSEAUDIO_H 1
14494 _ACEOF
14495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14496 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14497 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14498 $as_echo_n "(cached) " >&6
14499 else
14500 ac_check_lib_save_LIBS=$LIBS
14501 LIBS="-lpulse $PULSE_LIBS $LIBS"
14502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14503 /* end confdefs.h. */
14505 /* Override any GCC internal prototype to avoid an error.
14506 Use char because int might match the return type of a GCC
14507 builtin and then its argument prototype would still apply. */
14508 #ifdef __cplusplus
14509 extern "C"
14510 #endif
14511 char pa_stream_is_corked ();
14513 main ()
14515 return pa_stream_is_corked ();
14517 return 0;
14519 _ACEOF
14520 if ac_fn_c_try_link "$LINENO"; then :
14521 ac_cv_lib_pulse_pa_stream_is_corked=yes
14522 else
14523 ac_cv_lib_pulse_pa_stream_is_corked=no
14525 rm -f core conftest.err conftest.$ac_objext \
14526 conftest$ac_exeext conftest.$ac_ext
14527 LIBS=$ac_check_lib_save_LIBS
14529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14530 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14531 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14533 else
14534 PULSE_LIBS=""
14537 else
14538 PULSE_LIBS=""
14541 done
14543 CPPFLAGS=$ac_save_CPPFLAGS
14546 if test -z "$PULSE_LIBS"; then :
14547 case "x$with_pulse" in
14548 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14549 xno) ;;
14550 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14551 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14552 esac
14553 enable_winepulse_drv=${enable_winepulse_drv:-no}
14556 if test "x$with_gstreamer" != "xno"
14557 then
14558 if ${GSTREAMER_CFLAGS:+false} :; then :
14559 if ${PKG_CONFIG+:} false; then :
14560 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14564 if ${GSTREAMER_LIBS:+false} :; then :
14565 if ${PKG_CONFIG+:} false; then :
14566 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14571 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14572 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14573 ac_save_CPPFLAGS=$CPPFLAGS
14574 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14575 ac_gst_incl=""
14576 for i in $GSTREAMER_CFLAGS
14578 case "$i" in
14579 -I*) ac_gst_incl="$ac_gst_incl $i";;
14580 esac
14581 done
14582 GSTREAMER_CFLAGS=$ac_gst_incl
14583 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14584 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14585 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14587 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14589 /* end confdefs.h. */
14590 #include <gst/gst.h>
14592 main ()
14594 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14596 return 0;
14598 _ACEOF
14599 if ac_fn_c_try_compile "$LINENO"; then :
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14601 $as_echo "yes" >&6; }
14602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14603 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14604 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14605 $as_echo_n "(cached) " >&6
14606 else
14607 ac_check_lib_save_LIBS=$LIBS
14608 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14610 /* end confdefs.h. */
14612 /* Override any GCC internal prototype to avoid an error.
14613 Use char because int might match the return type of a GCC
14614 builtin and then its argument prototype would still apply. */
14615 #ifdef __cplusplus
14616 extern "C"
14617 #endif
14618 char gst_pad_new ();
14620 main ()
14622 return gst_pad_new ();
14624 return 0;
14626 _ACEOF
14627 if ac_fn_c_try_link "$LINENO"; then :
14628 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14629 else
14630 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14632 rm -f core conftest.err conftest.$ac_objext \
14633 conftest$ac_exeext conftest.$ac_ext
14634 LIBS=$ac_check_lib_save_LIBS
14636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14637 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14638 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14642 else
14643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14644 $as_echo "no" >&6; }
14645 ac_glib2_broken=yes
14646 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14652 CPPFLAGS=$ac_save_CPPFLAGS
14655 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes ; then :
14656 case "x$with_gstreamer" in
14657 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14658 xno) ;;
14659 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14660 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14661 esac
14664 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14666 ALSA_LIBS=""
14668 if test "x$with_alsa" != "xno"
14669 then
14670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14671 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14672 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14673 $as_echo_n "(cached) " >&6
14674 else
14675 ac_check_lib_save_LIBS=$LIBS
14676 LIBS="-lasound $LIBS"
14677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14678 /* end confdefs.h. */
14680 /* Override any GCC internal prototype to avoid an error.
14681 Use char because int might match the return type of a GCC
14682 builtin and then its argument prototype would still apply. */
14683 #ifdef __cplusplus
14684 extern "C"
14685 #endif
14686 char snd_pcm_hw_params_get_access_mask ();
14688 main ()
14690 return snd_pcm_hw_params_get_access_mask ();
14692 return 0;
14694 _ACEOF
14695 if ac_fn_c_try_link "$LINENO"; then :
14696 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14697 else
14698 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14700 rm -f core conftest.err conftest.$ac_objext \
14701 conftest$ac_exeext conftest.$ac_ext
14702 LIBS=$ac_check_lib_save_LIBS
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14705 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14706 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14708 /* end confdefs.h. */
14709 #include <alsa/asoundlib.h>
14711 main ()
14713 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14715 return 0;
14717 _ACEOF
14718 if ac_fn_c_try_compile "$LINENO"; then :
14719 ALSA_LIBS="-lasound"
14721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14725 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14727 if test "x$with_oss" != xno
14728 then
14729 ac_save_CPPFLAGS="$CPPFLAGS"
14730 if test -f /etc/oss.conf
14731 then
14732 . /etc/oss.conf
14734 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14735 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14736 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14737 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14738 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14740 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14742 cat >>confdefs.h <<_ACEOF
14743 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14744 _ACEOF
14746 OSS4_CFLAGS="$ac_oss_incl"
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14749 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14750 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14751 $as_echo_n "(cached) " >&6
14752 else
14753 ac_check_lib_save_LIBS=$LIBS
14754 LIBS="-lossaudio $LIBS"
14755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14756 /* end confdefs.h. */
14758 /* Override any GCC internal prototype to avoid an error.
14759 Use char because int might match the return type of a GCC
14760 builtin and then its argument prototype would still apply. */
14761 #ifdef __cplusplus
14762 extern "C"
14763 #endif
14764 char _oss_ioctl ();
14766 main ()
14768 return _oss_ioctl ();
14770 return 0;
14772 _ACEOF
14773 if ac_fn_c_try_link "$LINENO"; then :
14774 ac_cv_lib_ossaudio__oss_ioctl=yes
14775 else
14776 ac_cv_lib_ossaudio__oss_ioctl=no
14778 rm -f core conftest.err conftest.$ac_objext \
14779 conftest$ac_exeext conftest.$ac_ext
14780 LIBS=$ac_check_lib_save_LIBS
14782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14783 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14784 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14785 OSS4_LIBS="-lossaudio"
14794 CPPFLAGS="$ac_save_CPPFLAGS"
14796 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14797 case "x$with_oss" in
14798 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14799 xno) ;;
14800 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14801 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14802 esac
14803 enable_wineoss_drv=${enable_wineoss_drv:-no}
14806 if test "x$with_udev" != "xno"
14807 then
14808 if ${UDEV_CFLAGS:+false} :; then :
14809 if ${PKG_CONFIG+:} false; then :
14810 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14814 if ${UDEV_LIBS:+false} :; then :
14815 if ${PKG_CONFIG+:} false; then :
14816 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14820 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14821 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14822 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14823 ac_save_CPPFLAGS=$CPPFLAGS
14824 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14825 for ac_header in libudev.h
14826 do :
14827 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14828 if test "x$ac_cv_header_libudev_h" = xyes; then :
14829 cat >>confdefs.h <<_ACEOF
14830 #define HAVE_LIBUDEV_H 1
14831 _ACEOF
14832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14833 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14834 if ${ac_cv_lib_udev_udev_new+:} false; then :
14835 $as_echo_n "(cached) " >&6
14836 else
14837 ac_check_lib_save_LIBS=$LIBS
14838 LIBS="-ludev $UDEV_LIBS $LIBS"
14839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14840 /* end confdefs.h. */
14842 /* Override any GCC internal prototype to avoid an error.
14843 Use char because int might match the return type of a GCC
14844 builtin and then its argument prototype would still apply. */
14845 #ifdef __cplusplus
14846 extern "C"
14847 #endif
14848 char udev_new ();
14850 main ()
14852 return udev_new ();
14854 return 0;
14856 _ACEOF
14857 if ac_fn_c_try_link "$LINENO"; then :
14858 ac_cv_lib_udev_udev_new=yes
14859 else
14860 ac_cv_lib_udev_udev_new=no
14862 rm -f core conftest.err conftest.$ac_objext \
14863 conftest$ac_exeext conftest.$ac_ext
14864 LIBS=$ac_check_lib_save_LIBS
14866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14867 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14868 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14870 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14872 else
14873 UDEV_LIBS=""
14876 else
14877 UDEV_LIBS=""
14880 done
14882 CPPFLAGS=$ac_save_CPPFLAGS
14885 if test "x$UDEV_LIBS" = "x"; then :
14886 case "x$with_udev" in
14887 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14888 xno) ;;
14889 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14890 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14891 esac
14895 if test "x$with_unwind" != xno
14896 then
14897 if ${UNWIND_CFLAGS:+false} :; then :
14898 if ${PKG_CONFIG+:} false; then :
14899 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14903 if ${UNWIND_LIBS:+false} :; then :
14904 if ${PKG_CONFIG+:} false; then :
14905 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14909 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14910 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14911 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14912 ac_save_CPPFLAGS=$CPPFLAGS
14913 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14915 $as_echo_n "checking for unw_step... " >&6; }
14916 if ${wine_cv_have_unw_step+:} false; then :
14917 $as_echo_n "(cached) " >&6
14918 else
14919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14920 /* end confdefs.h. */
14921 #define UNW_LOCAL_ONLY
14922 #include <libunwind.h>
14924 main ()
14926 unw_cursor_t cursor; unw_step( &cursor );
14928 return 0;
14930 _ACEOF
14931 if ac_fn_c_try_link "$LINENO"; then :
14932 wine_cv_have_unw_step="yes"
14933 else
14934 wine_cv_have_unw_step="no"
14936 rm -f core conftest.err conftest.$ac_objext \
14937 conftest$ac_exeext conftest.$ac_ext
14939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14940 $as_echo "$wine_cv_have_unw_step" >&6; }
14941 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14942 then
14943 save_libs=$LIBS
14944 LIBS="$UNWIND_LIBS $LIBS"
14945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14946 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14947 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14948 $as_echo_n "(cached) " >&6
14949 else
14950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14951 /* end confdefs.h. */
14952 #define UNW_LOCAL_ONLY
14953 #include <libunwind.h>
14955 main ()
14957 unw_cursor_t cursor; unw_step( &cursor );
14959 return 0;
14961 _ACEOF
14962 if ac_fn_c_try_link "$LINENO"; then :
14963 wine_cv_have_libunwind_unw_step="yes"
14964 else
14965 wine_cv_have_libunwind_unw_step="no"
14967 rm -f core conftest.err conftest.$ac_objext \
14968 conftest$ac_exeext conftest.$ac_ext
14970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
14971 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
14972 LIBS=$save_libs
14974 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
14975 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
14976 then
14978 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
14981 CPPFLAGS=$ac_save_CPPFLAGS
14984 case $host in
14985 aarch64*|*-darwin*)
14986 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
14987 case "x$with_unwind" in
14988 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
14989 xno) ;;
14990 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
14991 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
14992 esac
14994 fi ;;
14995 esac
14997 if test "x$with_sdl" != "xno"
14998 then
14999 if ${SDL2_CFLAGS:+false} :; then :
15000 if ${PKG_CONFIG+:} false; then :
15001 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15005 if ${SDL2_LIBS:+false} :; then :
15006 if ${PKG_CONFIG+:} false; then :
15007 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15011 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15012 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15013 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15014 ac_save_CPPFLAGS=$CPPFLAGS
15015 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15016 for ac_header in SDL2/SDL.h
15017 do :
15018 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15019 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15020 cat >>confdefs.h <<_ACEOF
15021 #define HAVE_SDL2_SDL_H 1
15022 _ACEOF
15023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15024 $as_echo_n "checking for -lSDL2... " >&6; }
15025 if ${ac_cv_lib_soname_SDL2+:} false; then :
15026 $as_echo_n "(cached) " >&6
15027 else
15028 ac_check_soname_save_LIBS=$LIBS
15029 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15031 /* end confdefs.h. */
15033 /* Override any GCC internal prototype to avoid an error.
15034 Use char because int might match the return type of a GCC
15035 builtin and then its argument prototype would still apply. */
15036 #ifdef __cplusplus
15037 extern "C"
15038 #endif
15039 char SDL_Init ();
15041 main ()
15043 return SDL_Init ();
15045 return 0;
15047 _ACEOF
15048 if ac_fn_c_try_link "$LINENO"; then :
15049 case "$LIBEXT" in
15050 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15051 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'` ;;
15052 *) 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'`
15053 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15054 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15055 fi ;;
15056 esac
15057 else
15058 ac_cv_lib_soname_SDL2=
15060 rm -f core conftest.err conftest.$ac_objext \
15061 conftest$ac_exeext conftest.$ac_ext
15062 LIBS=$ac_check_soname_save_LIBS
15064 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15066 $as_echo "not found" >&6; }
15068 else
15069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15070 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15072 cat >>confdefs.h <<_ACEOF
15073 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15074 _ACEOF
15080 done
15082 CPPFLAGS=$ac_save_CPPFLAGS
15085 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15086 case "x$with_sdl" in
15087 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15088 xno) ;;
15089 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15090 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15091 esac
15095 if test "x$with_faudio" != "xno"
15096 then
15097 if ${FAUDIO_CFLAGS:+false} :; then :
15098 if ${PKG_CONFIG+:} false; then :
15099 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15103 if ${FAUDIO_LIBS:+false} :; then :
15104 if ${PKG_CONFIG+:} false; then :
15105 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15109 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15110 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15111 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15112 ac_save_CPPFLAGS=$CPPFLAGS
15113 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15114 for ac_header in FAudio.h
15115 do :
15116 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15117 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15118 cat >>confdefs.h <<_ACEOF
15119 #define HAVE_FAUDIO_H 1
15120 _ACEOF
15121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15122 $as_echo_n "checking for -lFAudio... " >&6; }
15123 if ${ac_cv_lib_soname_FAudio+:} false; then :
15124 $as_echo_n "(cached) " >&6
15125 else
15126 ac_check_soname_save_LIBS=$LIBS
15127 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15129 /* end confdefs.h. */
15131 /* Override any GCC internal prototype to avoid an error.
15132 Use char because int might match the return type of a GCC
15133 builtin and then its argument prototype would still apply. */
15134 #ifdef __cplusplus
15135 extern "C"
15136 #endif
15137 char FAudioCreate ();
15139 main ()
15141 return FAudioCreate ();
15143 return 0;
15145 _ACEOF
15146 if ac_fn_c_try_link "$LINENO"; then :
15147 case "$LIBEXT" in
15148 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15149 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'` ;;
15150 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15151 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15152 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15153 fi ;;
15154 esac
15155 else
15156 ac_cv_lib_soname_FAudio=
15158 rm -f core conftest.err conftest.$ac_objext \
15159 conftest$ac_exeext conftest.$ac_ext
15160 LIBS=$ac_check_soname_save_LIBS
15162 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15164 $as_echo "not found" >&6; }
15166 else
15167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15168 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15170 cat >>confdefs.h <<_ACEOF
15171 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15172 _ACEOF
15178 done
15180 ac_wine_check_funcs_save_LIBS="$LIBS"
15181 LIBS="$LIBS $FAUDIO_LIBS"
15182 for ac_func in FAudio_CommitOperationSet \
15183 F3DAudioInitialize8 \
15184 FAudioLinkedVersion \
15185 FAudioCreateReverb9WithCustomAllocatorEXT
15186 do :
15187 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15188 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15189 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15190 cat >>confdefs.h <<_ACEOF
15191 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15192 _ACEOF
15195 done
15197 LIBS="$ac_wine_check_funcs_save_LIBS"
15199 CPPFLAGS=$ac_save_CPPFLAGS
15202 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15203 case "x$with_faudio" in
15204 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15205 xno) ;;
15206 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15207 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15208 esac
15212 if test "x$with_capi" != "xno"
15213 then
15214 if ${CAPI20_CFLAGS:+false} :; then :
15215 if ${PKG_CONFIG+:} false; then :
15216 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15220 if ${CAPI20_LIBS:+false} :; then :
15221 if ${PKG_CONFIG+:} false; then :
15222 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15227 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15228 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15229 ac_save_CPPFLAGS=$CPPFLAGS
15230 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15231 for ac_header in capi20.h linux/capi.h
15232 do :
15233 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15234 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15236 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15237 cat >>confdefs.h <<_ACEOF
15238 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15239 _ACEOF
15243 done
15245 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15246 then
15247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15248 $as_echo_n "checking for -lcapi20... " >&6; }
15249 if ${ac_cv_lib_soname_capi20+:} false; then :
15250 $as_echo_n "(cached) " >&6
15251 else
15252 ac_check_soname_save_LIBS=$LIBS
15253 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15255 /* end confdefs.h. */
15257 /* Override any GCC internal prototype to avoid an error.
15258 Use char because int might match the return type of a GCC
15259 builtin and then its argument prototype would still apply. */
15260 #ifdef __cplusplus
15261 extern "C"
15262 #endif
15263 char capi20_register ();
15265 main ()
15267 return capi20_register ();
15269 return 0;
15271 _ACEOF
15272 if ac_fn_c_try_link "$LINENO"; then :
15273 case "$LIBEXT" in
15274 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15275 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'` ;;
15276 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15277 if ${ac_cv_lib_soname_capi20:+false} :; then :
15278 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15279 fi ;;
15280 esac
15281 else
15282 ac_cv_lib_soname_capi20=
15284 rm -f core conftest.err conftest.$ac_objext \
15285 conftest$ac_exeext conftest.$ac_ext
15286 LIBS=$ac_check_soname_save_LIBS
15288 if ${ac_cv_lib_soname_capi20:+false} :; then :
15289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15290 $as_echo "not found" >&6; }
15292 else
15293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15294 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15296 cat >>confdefs.h <<_ACEOF
15297 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15298 _ACEOF
15303 CPPFLAGS=$ac_save_CPPFLAGS
15306 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15307 case "x$with_capi" in
15308 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15309 xno) ;;
15310 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15311 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15312 esac
15316 if test "x$with_cups" != "xno"
15317 then
15318 if ${CUPS_CFLAGS:+false} :; then :
15319 if ${PKG_CONFIG+:} false; then :
15320 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15323 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15324 if ${CUPS_LIBS:+false} :; then :
15325 if ${PKG_CONFIG+:} false; then :
15326 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15329 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15330 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15331 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15332 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15333 ac_save_CPPFLAGS=$CPPFLAGS
15334 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15335 for ac_header in cups/cups.h cups/ppd.h
15336 do :
15337 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15338 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15339 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15340 cat >>confdefs.h <<_ACEOF
15341 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15342 _ACEOF
15346 done
15348 if test "$ac_cv_header_cups_cups_h" = "yes"
15349 then
15350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15351 $as_echo_n "checking for -lcups... " >&6; }
15352 if ${ac_cv_lib_soname_cups+:} false; then :
15353 $as_echo_n "(cached) " >&6
15354 else
15355 ac_check_soname_save_LIBS=$LIBS
15356 LIBS="-lcups $CUPS_LIBS $LIBS"
15357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15358 /* end confdefs.h. */
15360 /* Override any GCC internal prototype to avoid an error.
15361 Use char because int might match the return type of a GCC
15362 builtin and then its argument prototype would still apply. */
15363 #ifdef __cplusplus
15364 extern "C"
15365 #endif
15366 char cupsGetDefault ();
15368 main ()
15370 return cupsGetDefault ();
15372 return 0;
15374 _ACEOF
15375 if ac_fn_c_try_link "$LINENO"; then :
15376 case "$LIBEXT" in
15377 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15378 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'` ;;
15379 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15380 if ${ac_cv_lib_soname_cups:+false} :; then :
15381 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15382 fi ;;
15383 esac
15384 else
15385 ac_cv_lib_soname_cups=
15387 rm -f core conftest.err conftest.$ac_objext \
15388 conftest$ac_exeext conftest.$ac_ext
15389 LIBS=$ac_check_soname_save_LIBS
15391 if ${ac_cv_lib_soname_cups:+false} :; then :
15392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15393 $as_echo "not found" >&6; }
15394 CUPS_LIBS=""
15395 else
15396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15397 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15399 cat >>confdefs.h <<_ACEOF
15400 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15401 _ACEOF
15405 else
15406 CUPS_CFLAGS=""
15407 CUPS_LIBS=""
15409 CPPFLAGS=$ac_save_CPPFLAGS
15412 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15413 case "x$with_cups" in
15414 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15415 xno) ;;
15416 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15417 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15418 esac
15422 if test "x$with_fontconfig" != "xno"
15423 then
15424 if ${FONTCONFIG_CFLAGS:+false} :; then :
15425 if ${PKG_CONFIG+:} false; then :
15426 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15429 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15430 if ${FONTCONFIG_LIBS:+false} :; then :
15431 if ${PKG_CONFIG+:} false; then :
15432 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15435 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15437 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15438 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15439 ac_save_CPPFLAGS=$CPPFLAGS
15440 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15441 for ac_header in fontconfig/fontconfig.h
15442 do :
15443 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15444 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15445 cat >>confdefs.h <<_ACEOF
15446 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15447 _ACEOF
15451 done
15453 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15454 then
15455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15456 $as_echo_n "checking for -lfontconfig... " >&6; }
15457 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15458 $as_echo_n "(cached) " >&6
15459 else
15460 ac_check_soname_save_LIBS=$LIBS
15461 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15463 /* end confdefs.h. */
15465 /* Override any GCC internal prototype to avoid an error.
15466 Use char because int might match the return type of a GCC
15467 builtin and then its argument prototype would still apply. */
15468 #ifdef __cplusplus
15469 extern "C"
15470 #endif
15471 char FcInit ();
15473 main ()
15475 return FcInit ();
15477 return 0;
15479 _ACEOF
15480 if ac_fn_c_try_link "$LINENO"; then :
15481 case "$LIBEXT" in
15482 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15483 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'` ;;
15484 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15485 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15486 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15487 fi ;;
15488 esac
15489 else
15490 ac_cv_lib_soname_fontconfig=
15492 rm -f core conftest.err conftest.$ac_objext \
15493 conftest$ac_exeext conftest.$ac_ext
15494 LIBS=$ac_check_soname_save_LIBS
15496 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15498 $as_echo "not found" >&6; }
15499 FONTCONFIG_CFLAGS=""
15500 else
15501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15502 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15504 cat >>confdefs.h <<_ACEOF
15505 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15506 _ACEOF
15510 else
15511 FONTCONFIG_CFLAGS=""
15513 CPPFLAGS=$ac_save_CPPFLAGS
15516 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15517 case "x$with_fontconfig" in
15518 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15519 xno) ;;
15520 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15521 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15522 esac
15526 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15527 then
15528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15529 $as_echo_n "checking for -lgsm... " >&6; }
15530 if ${ac_cv_lib_soname_gsm+:} false; then :
15531 $as_echo_n "(cached) " >&6
15532 else
15533 ac_check_soname_save_LIBS=$LIBS
15534 LIBS="-lgsm $LIBS"
15535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15536 /* end confdefs.h. */
15538 /* Override any GCC internal prototype to avoid an error.
15539 Use char because int might match the return type of a GCC
15540 builtin and then its argument prototype would still apply. */
15541 #ifdef __cplusplus
15542 extern "C"
15543 #endif
15544 char gsm_create ();
15546 main ()
15548 return gsm_create ();
15550 return 0;
15552 _ACEOF
15553 if ac_fn_c_try_link "$LINENO"; then :
15554 case "$LIBEXT" in
15555 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15556 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'` ;;
15557 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15558 if ${ac_cv_lib_soname_gsm:+false} :; then :
15559 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15560 fi ;;
15561 esac
15562 else
15563 ac_cv_lib_soname_gsm=
15565 rm -f core conftest.err conftest.$ac_objext \
15566 conftest$ac_exeext conftest.$ac_ext
15567 LIBS=$ac_check_soname_save_LIBS
15569 if ${ac_cv_lib_soname_gsm:+false} :; then :
15570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15571 $as_echo "not found" >&6; }
15573 else
15574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15575 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15577 cat >>confdefs.h <<_ACEOF
15578 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15579 _ACEOF
15584 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15585 case "x$with_gsm" in
15586 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15587 xno) ;;
15588 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15589 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15590 esac
15594 if test "x$with_krb5" != "xno"
15595 then
15596 if ${KRB5_CFLAGS:+false} :; then :
15597 if ${PKG_CONFIG+:} false; then :
15598 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15601 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15602 if ${KRB5_LIBS:+false} :; then :
15603 if ${PKG_CONFIG+:} false; then :
15604 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15607 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15609 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15610 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15611 ac_save_CPPFLAGS=$CPPFLAGS
15612 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15613 for ac_header in krb5/krb5.h
15614 do :
15615 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15616 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15617 cat >>confdefs.h <<_ACEOF
15618 #define HAVE_KRB5_KRB5_H 1
15619 _ACEOF
15623 done
15625 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15626 then
15627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15628 $as_echo_n "checking for -lkrb5... " >&6; }
15629 if ${ac_cv_lib_soname_krb5+:} false; then :
15630 $as_echo_n "(cached) " >&6
15631 else
15632 ac_check_soname_save_LIBS=$LIBS
15633 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15635 /* end confdefs.h. */
15637 /* Override any GCC internal prototype to avoid an error.
15638 Use char because int might match the return type of a GCC
15639 builtin and then its argument prototype would still apply. */
15640 #ifdef __cplusplus
15641 extern "C"
15642 #endif
15643 char krb5_is_config_principal ();
15645 main ()
15647 return krb5_is_config_principal ();
15649 return 0;
15651 _ACEOF
15652 if ac_fn_c_try_link "$LINENO"; then :
15653 case "$LIBEXT" in
15654 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15655 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'` ;;
15656 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15657 if ${ac_cv_lib_soname_krb5:+false} :; then :
15658 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15659 fi ;;
15660 esac
15661 else
15662 ac_cv_lib_soname_krb5=
15664 rm -f core conftest.err conftest.$ac_objext \
15665 conftest$ac_exeext conftest.$ac_ext
15666 LIBS=$ac_check_soname_save_LIBS
15668 if ${ac_cv_lib_soname_krb5:+false} :; then :
15669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15670 $as_echo "not found" >&6; }
15671 KRB5_CFLAGS=""
15672 else
15673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15674 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15676 cat >>confdefs.h <<_ACEOF
15677 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15678 _ACEOF
15682 else
15683 KRB5_CFLAGS=""
15685 CPPFLAGS=$ac_save_CPPFLAGS
15688 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15689 case "x$with_krb5" in
15690 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15691 xno) ;;
15692 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15693 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15694 esac
15697 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15699 if test "x$with_gssapi" != "xno"
15700 then
15701 if ${GSSAPI_CFLAGS:+false} :; then :
15702 if ${PKG_CONFIG+:} false; then :
15703 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15706 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15707 if ${GSSAPI_LIBS:+false} :; then :
15708 if ${PKG_CONFIG+:} false; then :
15709 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15712 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15714 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15715 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15716 ac_save_CPPFLAGS=$CPPFLAGS
15717 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15718 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15719 do :
15720 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15721 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15722 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15723 cat >>confdefs.h <<_ACEOF
15724 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15725 _ACEOF
15729 done
15731 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15732 then
15733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15734 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15735 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15736 $as_echo_n "(cached) " >&6
15737 else
15738 ac_check_soname_save_LIBS=$LIBS
15739 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15741 /* end confdefs.h. */
15743 /* Override any GCC internal prototype to avoid an error.
15744 Use char because int might match the return type of a GCC
15745 builtin and then its argument prototype would still apply. */
15746 #ifdef __cplusplus
15747 extern "C"
15748 #endif
15749 char gss_init_sec_context ();
15751 main ()
15753 return gss_init_sec_context ();
15755 return 0;
15757 _ACEOF
15758 if ac_fn_c_try_link "$LINENO"; then :
15759 case "$LIBEXT" in
15760 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15761 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'` ;;
15762 *) 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'`
15763 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15764 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15765 fi ;;
15766 esac
15767 else
15768 ac_cv_lib_soname_gssapi_krb5=
15770 rm -f core conftest.err conftest.$ac_objext \
15771 conftest$ac_exeext conftest.$ac_ext
15772 LIBS=$ac_check_soname_save_LIBS
15774 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15776 $as_echo "not found" >&6; }
15777 GSSAPI_CFLAGS=""
15778 else
15779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15780 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15782 cat >>confdefs.h <<_ACEOF
15783 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15784 _ACEOF
15788 else
15789 GSSAPI_CFLAGS=""
15791 CPPFLAGS=$ac_save_CPPFLAGS
15794 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15795 case "x$with_gssapi" in
15796 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15797 xno) ;;
15798 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15799 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15800 esac
15804 if test "x$with_jpeg" != "xno"
15805 then
15806 if ${JPEG_CFLAGS:+false} :; then :
15807 if ${PKG_CONFIG+:} false; then :
15808 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15812 if ${JPEG_LIBS:+false} :; then :
15813 if ${PKG_CONFIG+:} false; then :
15814 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15819 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15820 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15821 ac_save_CPPFLAGS=$CPPFLAGS
15822 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15823 for ac_header in jpeglib.h
15824 do :
15825 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15826 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15827 cat >>confdefs.h <<_ACEOF
15828 #define HAVE_JPEGLIB_H 1
15829 _ACEOF
15833 done
15835 if test "$ac_cv_header_jpeglib_h" = "yes"
15836 then
15837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15838 $as_echo_n "checking for -ljpeg... " >&6; }
15839 if ${ac_cv_lib_soname_jpeg+:} false; then :
15840 $as_echo_n "(cached) " >&6
15841 else
15842 ac_check_soname_save_LIBS=$LIBS
15843 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15845 /* end confdefs.h. */
15847 /* Override any GCC internal prototype to avoid an error.
15848 Use char because int might match the return type of a GCC
15849 builtin and then its argument prototype would still apply. */
15850 #ifdef __cplusplus
15851 extern "C"
15852 #endif
15853 char jpeg_start_decompress ();
15855 main ()
15857 return jpeg_start_decompress ();
15859 return 0;
15861 _ACEOF
15862 if ac_fn_c_try_link "$LINENO"; then :
15863 case "$LIBEXT" in
15864 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15865 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'` ;;
15866 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15867 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15868 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15869 fi ;;
15870 esac
15871 else
15872 ac_cv_lib_soname_jpeg=
15874 rm -f core conftest.err conftest.$ac_objext \
15875 conftest$ac_exeext conftest.$ac_ext
15876 LIBS=$ac_check_soname_save_LIBS
15878 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15880 $as_echo "not found" >&6; }
15881 JPEG_CFLAGS=""
15882 else
15883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15884 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15886 cat >>confdefs.h <<_ACEOF
15887 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15888 _ACEOF
15892 else
15893 JPEG_CFLAGS=""
15895 CPPFLAGS=$ac_save_CPPFLAGS
15898 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15899 case "x$with_jpeg" in
15900 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15901 xno) ;;
15902 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15903 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15904 esac
15908 if test "x$with_png" != "xno"
15909 then
15910 if ${PNG_CFLAGS:+false} :; then :
15911 if ${PKG_CONFIG+:} false; then :
15912 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
15915 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
15916 if ${PNG_LIBS:+false} :; then :
15917 if ${PKG_CONFIG+:} false; then :
15918 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
15921 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
15923 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
15924 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
15925 ac_save_CPPFLAGS=$CPPFLAGS
15926 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
15927 for ac_header in png.h
15928 do :
15929 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
15930 if test "x$ac_cv_header_png_h" = xyes; then :
15931 cat >>confdefs.h <<_ACEOF
15932 #define HAVE_PNG_H 1
15933 _ACEOF
15937 done
15939 if test "$ac_cv_header_png_h" = "yes"
15940 then
15941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
15942 $as_echo_n "checking for -lpng... " >&6; }
15943 if ${ac_cv_lib_soname_png+:} false; then :
15944 $as_echo_n "(cached) " >&6
15945 else
15946 ac_check_soname_save_LIBS=$LIBS
15947 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
15948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15949 /* end confdefs.h. */
15951 /* Override any GCC internal prototype to avoid an error.
15952 Use char because int might match the return type of a GCC
15953 builtin and then its argument prototype would still apply. */
15954 #ifdef __cplusplus
15955 extern "C"
15956 #endif
15957 char png_create_read_struct ();
15959 main ()
15961 return png_create_read_struct ();
15963 return 0;
15965 _ACEOF
15966 if ac_fn_c_try_link "$LINENO"; then :
15967 case "$LIBEXT" in
15968 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15969 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'` ;;
15970 *) 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'`
15971 if ${ac_cv_lib_soname_png:+false} :; then :
15972 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15973 fi ;;
15974 esac
15975 else
15976 ac_cv_lib_soname_png=
15978 rm -f core conftest.err conftest.$ac_objext \
15979 conftest$ac_exeext conftest.$ac_ext
15980 LIBS=$ac_check_soname_save_LIBS
15982 if ${ac_cv_lib_soname_png:+false} :; then :
15983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15984 $as_echo "not found" >&6; }
15985 PNG_CFLAGS=""
15986 else
15987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
15988 $as_echo "$ac_cv_lib_soname_png" >&6; }
15990 cat >>confdefs.h <<_ACEOF
15991 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15992 _ACEOF
15996 else
15997 PNG_CFLAGS=""
15999 CPPFLAGS=$ac_save_CPPFLAGS
16002 if test "x$ac_cv_lib_soname_png" = "x"; then :
16003 case "x$with_png" in
16004 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16005 xno) ;;
16006 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16007 This is an error since --with-png was requested." "$LINENO" 5 ;;
16008 esac
16012 if test "x$with_tiff" != "xno"
16013 then
16014 if ${TIFF_CFLAGS:+false} :; then :
16015 if ${PKG_CONFIG+:} false; then :
16016 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16020 if ${TIFF_LIBS:+false} :; then :
16021 if ${PKG_CONFIG+:} false; then :
16022 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16027 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16028 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16029 ac_save_CPPFLAGS=$CPPFLAGS
16030 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16031 for ac_header in tiffio.h
16032 do :
16033 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16034 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16035 cat >>confdefs.h <<_ACEOF
16036 #define HAVE_TIFFIO_H 1
16037 _ACEOF
16041 done
16043 if test "$ac_cv_header_tiffio_h" = "yes"
16044 then
16045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16046 $as_echo_n "checking for -ltiff... " >&6; }
16047 if ${ac_cv_lib_soname_tiff+:} false; then :
16048 $as_echo_n "(cached) " >&6
16049 else
16050 ac_check_soname_save_LIBS=$LIBS
16051 LIBS="-ltiff $TIFF_LIBS $LIBS"
16052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16053 /* end confdefs.h. */
16055 /* Override any GCC internal prototype to avoid an error.
16056 Use char because int might match the return type of a GCC
16057 builtin and then its argument prototype would still apply. */
16058 #ifdef __cplusplus
16059 extern "C"
16060 #endif
16061 char TIFFClientOpen ();
16063 main ()
16065 return TIFFClientOpen ();
16067 return 0;
16069 _ACEOF
16070 if ac_fn_c_try_link "$LINENO"; then :
16071 case "$LIBEXT" in
16072 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16073 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'` ;;
16074 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16075 if ${ac_cv_lib_soname_tiff:+false} :; then :
16076 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16077 fi ;;
16078 esac
16079 else
16080 ac_cv_lib_soname_tiff=
16082 rm -f core conftest.err conftest.$ac_objext \
16083 conftest$ac_exeext conftest.$ac_ext
16084 LIBS=$ac_check_soname_save_LIBS
16086 if ${ac_cv_lib_soname_tiff:+false} :; then :
16087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16088 $as_echo "not found" >&6; }
16090 else
16091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16092 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16094 cat >>confdefs.h <<_ACEOF
16095 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16096 _ACEOF
16101 CPPFLAGS=$ac_save_CPPFLAGS
16104 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16105 case "x$with_tiff" in
16106 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16107 xno) ;;
16108 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16109 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16110 esac
16114 if test "x$with_mpg123" != "xno"
16115 then
16116 if ${MPG123_CFLAGS:+false} :; then :
16117 if ${PKG_CONFIG+:} false; then :
16118 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16122 if ${MPG123_LIBS:+false} :; then :
16123 if ${PKG_CONFIG+:} false; then :
16124 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16128 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16129 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16130 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16131 ac_save_CPPFLAGS=$CPPFLAGS
16132 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16133 for ac_header in mpg123.h
16134 do :
16135 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16136 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16137 cat >>confdefs.h <<_ACEOF
16138 #define HAVE_MPG123_H 1
16139 _ACEOF
16143 done
16145 if test "$ac_cv_header_mpg123_h" = "yes"
16146 then
16147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16148 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16149 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16150 $as_echo_n "(cached) " >&6
16151 else
16152 ac_check_lib_save_LIBS=$LIBS
16153 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16155 /* end confdefs.h. */
16157 /* Override any GCC internal prototype to avoid an error.
16158 Use char because int might match the return type of a GCC
16159 builtin and then its argument prototype would still apply. */
16160 #ifdef __cplusplus
16161 extern "C"
16162 #endif
16163 char mpg123_feed ();
16165 main ()
16167 return mpg123_feed ();
16169 return 0;
16171 _ACEOF
16172 if ac_fn_c_try_link "$LINENO"; then :
16173 ac_cv_lib_mpg123_mpg123_feed=yes
16174 else
16175 ac_cv_lib_mpg123_mpg123_feed=no
16177 rm -f core conftest.err conftest.$ac_objext \
16178 conftest$ac_exeext conftest.$ac_ext
16179 LIBS=$ac_check_lib_save_LIBS
16181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16182 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16183 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16185 else
16186 MPG123_LIBS=""
16189 else
16190 MPG123_CFLAGS=""
16191 MPG123_LIBS=""
16193 CPPFLAGS=$ac_save_CPPFLAGS
16196 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16197 case "x$with_mpg123" in
16198 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16199 xno) ;;
16200 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16201 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16202 esac
16203 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16205 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16207 if test "$ac_cv_header_AL_al_h" = "yes"
16208 then
16209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16210 $as_echo_n "checking for -lopenal... " >&6; }
16211 if ${ac_cv_lib_soname_openal+:} false; then :
16212 $as_echo_n "(cached) " >&6
16213 else
16214 ac_check_soname_save_LIBS=$LIBS
16215 LIBS="-lopenal $LIBS"
16216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16217 /* end confdefs.h. */
16219 /* Override any GCC internal prototype to avoid an error.
16220 Use char because int might match the return type of a GCC
16221 builtin and then its argument prototype would still apply. */
16222 #ifdef __cplusplus
16223 extern "C"
16224 #endif
16225 char alGetSource3i ();
16227 main ()
16229 return alGetSource3i ();
16231 return 0;
16233 _ACEOF
16234 if ac_fn_c_try_link "$LINENO"; then :
16235 case "$LIBEXT" in
16236 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16237 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'` ;;
16238 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16239 if ${ac_cv_lib_soname_openal:+false} :; then :
16240 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16241 fi ;;
16242 esac
16243 else
16244 ac_cv_lib_soname_openal=
16246 rm -f core conftest.err conftest.$ac_objext \
16247 conftest$ac_exeext conftest.$ac_ext
16248 LIBS=$ac_check_soname_save_LIBS
16250 if ${ac_cv_lib_soname_openal:+false} :; then :
16251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16252 $as_echo "not found" >&6; }
16254 else
16255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16256 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16258 cat >>confdefs.h <<_ACEOF
16259 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16260 _ACEOF
16262 OPENAL_LIBS="-lopenal"
16264 ac_cv_lib_openal=yes
16266 cat >>confdefs.h <<_ACEOF
16267 #define HAVE_OPENAL 1
16268 _ACEOF
16272 if test "x$ac_cv_lib_openal" != xyes; then :
16273 case "x$with_openal" in
16274 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16275 xno) ;;
16276 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16277 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16278 esac
16279 enable_openal32=${enable_openal32:-no}
16282 if test "x$ac_cv_lib_soname_FAudio" = "x"
16283 then
16284 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16285 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16286 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16287 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16288 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16289 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16290 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16291 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16292 enable_xactengine3_0=${enable_xactengine3_0:-no}
16293 enable_xactengine3_1=${enable_xactengine3_1:-no}
16294 enable_xactengine3_2=${enable_xactengine3_2:-no}
16295 enable_xactengine3_3=${enable_xactengine3_3:-no}
16296 enable_xactengine3_4=${enable_xactengine3_4:-no}
16297 enable_xactengine3_5=${enable_xactengine3_5:-no}
16298 enable_xactengine3_6=${enable_xactengine3_6:-no}
16299 enable_xactengine3_7=${enable_xactengine3_7:-no}
16300 enable_xapofx1_1=${enable_xapofx1_1:-no}
16301 enable_xapofx1_2=${enable_xapofx1_2:-no}
16302 enable_xapofx1_3=${enable_xapofx1_3:-no}
16303 enable_xapofx1_4=${enable_xapofx1_4:-no}
16304 enable_xapofx1_5=${enable_xapofx1_5:-no}
16305 enable_xaudio2_0=${enable_xaudio2_0:-no}
16306 enable_xaudio2_1=${enable_xaudio2_1:-no}
16307 enable_xaudio2_2=${enable_xaudio2_2:-no}
16308 enable_xaudio2_3=${enable_xaudio2_3:-no}
16309 enable_xaudio2_4=${enable_xaudio2_4:-no}
16310 enable_xaudio2_5=${enable_xaudio2_5:-no}
16311 enable_xaudio2_6=${enable_xaudio2_6:-no}
16312 enable_xaudio2_7=${enable_xaudio2_7:-no}
16313 enable_xaudio2_8=${enable_xaudio2_8:-no}
16314 enable_xaudio2_9=${enable_xaudio2_9:-no}
16317 if test "$ac_cv_header_kstat_h" = "yes"
16318 then
16319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16320 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16321 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16322 $as_echo_n "(cached) " >&6
16323 else
16324 ac_check_lib_save_LIBS=$LIBS
16325 LIBS="-lkstat $LIBS"
16326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16327 /* end confdefs.h. */
16329 /* Override any GCC internal prototype to avoid an error.
16330 Use char because int might match the return type of a GCC
16331 builtin and then its argument prototype would still apply. */
16332 #ifdef __cplusplus
16333 extern "C"
16334 #endif
16335 char kstat_open ();
16337 main ()
16339 return kstat_open ();
16341 return 0;
16343 _ACEOF
16344 if ac_fn_c_try_link "$LINENO"; then :
16345 ac_cv_lib_kstat_kstat_open=yes
16346 else
16347 ac_cv_lib_kstat_kstat_open=no
16349 rm -f core conftest.err conftest.$ac_objext \
16350 conftest$ac_exeext conftest.$ac_ext
16351 LIBS=$ac_check_lib_save_LIBS
16353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16354 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16355 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16357 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16359 KSTAT_LIBS="-lkstat"
16365 if test "$ac_cv_header_libprocstat_h" = "yes"
16366 then
16367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16368 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16369 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16370 $as_echo_n "(cached) " >&6
16371 else
16372 ac_check_lib_save_LIBS=$LIBS
16373 LIBS="-lprocstat $LIBS"
16374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16375 /* end confdefs.h. */
16377 /* Override any GCC internal prototype to avoid an error.
16378 Use char because int might match the return type of a GCC
16379 builtin and then its argument prototype would still apply. */
16380 #ifdef __cplusplus
16381 extern "C"
16382 #endif
16383 char procstat_open_sysctl ();
16385 main ()
16387 return procstat_open_sysctl ();
16389 return 0;
16391 _ACEOF
16392 if ac_fn_c_try_link "$LINENO"; then :
16393 ac_cv_lib_procstat_procstat_open_sysctl=yes
16394 else
16395 ac_cv_lib_procstat_procstat_open_sysctl=no
16397 rm -f core conftest.err conftest.$ac_objext \
16398 conftest$ac_exeext conftest.$ac_ext
16399 LIBS=$ac_check_lib_save_LIBS
16401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16402 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16403 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16405 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16407 PROCSTAT_LIBS="-lprocstat"
16413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16414 $as_echo_n "checking for -lodbc... " >&6; }
16415 if ${ac_cv_lib_soname_odbc+:} false; then :
16416 $as_echo_n "(cached) " >&6
16417 else
16418 ac_check_soname_save_LIBS=$LIBS
16419 LIBS="-lodbc $LIBS"
16420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16421 /* end confdefs.h. */
16423 /* Override any GCC internal prototype to avoid an error.
16424 Use char because int might match the return type of a GCC
16425 builtin and then its argument prototype would still apply. */
16426 #ifdef __cplusplus
16427 extern "C"
16428 #endif
16429 char SQLConnect ();
16431 main ()
16433 return SQLConnect ();
16435 return 0;
16437 _ACEOF
16438 if ac_fn_c_try_link "$LINENO"; then :
16439 case "$LIBEXT" in
16440 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16441 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'` ;;
16442 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16443 if ${ac_cv_lib_soname_odbc:+false} :; then :
16444 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16445 fi ;;
16446 esac
16447 else
16448 ac_cv_lib_soname_odbc=
16450 rm -f core conftest.err conftest.$ac_objext \
16451 conftest$ac_exeext conftest.$ac_ext
16452 LIBS=$ac_check_soname_save_LIBS
16454 if ${ac_cv_lib_soname_odbc:+false} :; then :
16455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16456 $as_echo "not found" >&6; }
16457 cat >>confdefs.h <<_ACEOF
16458 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16459 _ACEOF
16461 else
16462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16463 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16465 cat >>confdefs.h <<_ACEOF
16466 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16467 _ACEOF
16472 if test "x$with_netapi" != "xno"
16473 then
16474 if ${NETAPI_CFLAGS:+false} :; then :
16475 if ${PKG_CONFIG+:} false; then :
16476 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16480 if ${NETAPI_LIBS:+false} :; then :
16481 if ${PKG_CONFIG+:} false; then :
16482 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16487 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16488 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16489 ac_save_CPPFLAGS=$CPPFLAGS
16490 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16492 $as_echo_n "checking for -lnetapi... " >&6; }
16493 if ${ac_cv_lib_soname_netapi+:} false; then :
16494 $as_echo_n "(cached) " >&6
16495 else
16496 ac_check_soname_save_LIBS=$LIBS
16497 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16499 /* end confdefs.h. */
16501 /* Override any GCC internal prototype to avoid an error.
16502 Use char because int might match the return type of a GCC
16503 builtin and then its argument prototype would still apply. */
16504 #ifdef __cplusplus
16505 extern "C"
16506 #endif
16507 char libnetapi_init ();
16509 main ()
16511 return libnetapi_init ();
16513 return 0;
16515 _ACEOF
16516 if ac_fn_c_try_link "$LINENO"; then :
16517 case "$LIBEXT" in
16518 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16519 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'` ;;
16520 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16521 if ${ac_cv_lib_soname_netapi:+false} :; then :
16522 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16523 fi ;;
16524 esac
16525 else
16526 ac_cv_lib_soname_netapi=
16528 rm -f core conftest.err conftest.$ac_objext \
16529 conftest$ac_exeext conftest.$ac_ext
16530 LIBS=$ac_check_soname_save_LIBS
16532 if ${ac_cv_lib_soname_netapi:+false} :; then :
16533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16534 $as_echo "not found" >&6; }
16535 cat >>confdefs.h <<_ACEOF
16536 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16537 _ACEOF
16539 else
16540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16541 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16543 cat >>confdefs.h <<_ACEOF
16544 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16545 _ACEOF
16549 CPPFLAGS=$ac_save_CPPFLAGS
16553 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16554 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16555 then
16556 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16559 if test "x$with_vulkan" != "xno"
16560 then
16561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16562 $as_echo_n "checking for -lvulkan... " >&6; }
16563 if ${ac_cv_lib_soname_vulkan+:} false; then :
16564 $as_echo_n "(cached) " >&6
16565 else
16566 ac_check_soname_save_LIBS=$LIBS
16567 LIBS="-lvulkan $LIBS"
16568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16569 /* end confdefs.h. */
16571 /* Override any GCC internal prototype to avoid an error.
16572 Use char because int might match the return type of a GCC
16573 builtin and then its argument prototype would still apply. */
16574 #ifdef __cplusplus
16575 extern "C"
16576 #endif
16577 char vkGetInstanceProcAddr ();
16579 main ()
16581 return vkGetInstanceProcAddr ();
16583 return 0;
16585 _ACEOF
16586 if ac_fn_c_try_link "$LINENO"; then :
16587 case "$LIBEXT" in
16588 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16589 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'` ;;
16590 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16591 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16592 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16593 fi ;;
16594 esac
16595 else
16596 ac_cv_lib_soname_vulkan=
16598 rm -f core conftest.err conftest.$ac_objext \
16599 conftest$ac_exeext conftest.$ac_ext
16600 LIBS=$ac_check_soname_save_LIBS
16602 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16604 $as_echo "not found" >&6; }
16606 else
16607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16608 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16610 cat >>confdefs.h <<_ACEOF
16611 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16612 _ACEOF
16616 if test "x$ac_cv_lib_soname_vulkan" = "x"
16617 then
16618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16619 $as_echo_n "checking for -lMoltenVK... " >&6; }
16620 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16621 $as_echo_n "(cached) " >&6
16622 else
16623 ac_check_soname_save_LIBS=$LIBS
16624 LIBS="-lMoltenVK $LIBS"
16625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16626 /* end confdefs.h. */
16628 /* Override any GCC internal prototype to avoid an error.
16629 Use char because int might match the return type of a GCC
16630 builtin and then its argument prototype would still apply. */
16631 #ifdef __cplusplus
16632 extern "C"
16633 #endif
16634 char vkGetInstanceProcAddr ();
16636 main ()
16638 return vkGetInstanceProcAddr ();
16640 return 0;
16642 _ACEOF
16643 if ac_fn_c_try_link "$LINENO"; then :
16644 case "$LIBEXT" in
16645 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16646 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'` ;;
16647 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16648 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16649 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16650 fi ;;
16651 esac
16652 else
16653 ac_cv_lib_soname_MoltenVK=
16655 rm -f core conftest.err conftest.$ac_objext \
16656 conftest$ac_exeext conftest.$ac_ext
16657 LIBS=$ac_check_soname_save_LIBS
16659 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16661 $as_echo "not found" >&6; }
16663 else
16664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16665 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16667 cat >>confdefs.h <<_ACEOF
16668 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16669 _ACEOF
16675 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16676 case "x$with_vulkan" in
16677 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16678 xno) ;;
16679 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16680 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16681 esac
16685 if test "x$with_vkd3d" != "xno"
16686 then
16687 if ${VKD3D_CFLAGS:+false} :; then :
16688 if ${PKG_CONFIG+:} false; then :
16689 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16693 if ${VKD3D_LIBS:+false} :; then :
16694 if ${PKG_CONFIG+:} false; then :
16695 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16700 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16701 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16702 ac_save_CPPFLAGS=$CPPFLAGS
16703 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16705 $as_echo_n "checking for -lvkd3d... " >&6; }
16706 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16707 $as_echo_n "(cached) " >&6
16708 else
16709 ac_check_soname_save_LIBS=$LIBS
16710 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16712 /* end confdefs.h. */
16714 /* Override any GCC internal prototype to avoid an error.
16715 Use char because int might match the return type of a GCC
16716 builtin and then its argument prototype would still apply. */
16717 #ifdef __cplusplus
16718 extern "C"
16719 #endif
16720 char vkd3d_get_dxgi_format ();
16722 main ()
16724 return vkd3d_get_dxgi_format ();
16726 return 0;
16728 _ACEOF
16729 if ac_fn_c_try_link "$LINENO"; then :
16730 case "$LIBEXT" in
16731 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16732 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'` ;;
16733 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16734 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16735 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16736 fi ;;
16737 esac
16738 else
16739 ac_cv_lib_soname_vkd3d=
16741 rm -f core conftest.err conftest.$ac_objext \
16742 conftest$ac_exeext conftest.$ac_ext
16743 LIBS=$ac_check_soname_save_LIBS
16745 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16747 $as_echo "not found" >&6; }
16749 else
16750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16751 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16753 cat >>confdefs.h <<_ACEOF
16754 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16755 _ACEOF
16759 CPPFLAGS=$ac_save_CPPFLAGS
16761 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
16762 if ${PKG_CONFIG+:} false; then :
16763 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
16767 if ${VKD3D_SHADER_LIBS:+false} :; then :
16768 if ${PKG_CONFIG+:} false; then :
16769 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
16774 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
16775 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
16776 ac_save_CPPFLAGS=$CPPFLAGS
16777 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
16778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
16779 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
16780 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
16781 $as_echo_n "(cached) " >&6
16782 else
16783 ac_check_soname_save_LIBS=$LIBS
16784 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
16785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16786 /* end confdefs.h. */
16788 /* Override any GCC internal prototype to avoid an error.
16789 Use char because int might match the return type of a GCC
16790 builtin and then its argument prototype would still apply. */
16791 #ifdef __cplusplus
16792 extern "C"
16793 #endif
16794 char vkd3d_shader_compile ();
16796 main ()
16798 return vkd3d_shader_compile ();
16800 return 0;
16802 _ACEOF
16803 if ac_fn_c_try_link "$LINENO"; then :
16804 case "$LIBEXT" in
16805 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16806 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'` ;;
16807 *) 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'`
16808 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16809 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16810 fi ;;
16811 esac
16812 else
16813 ac_cv_lib_soname_vkd3d_shader=
16815 rm -f core conftest.err conftest.$ac_objext \
16816 conftest$ac_exeext conftest.$ac_ext
16817 LIBS=$ac_check_soname_save_LIBS
16819 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16821 $as_echo "not found" >&6; }
16823 else
16824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
16825 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
16827 cat >>confdefs.h <<_ACEOF
16828 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
16829 _ACEOF
16833 CPPFLAGS=$ac_save_CPPFLAGS
16836 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16837 case "x$with_vkd3d" in
16838 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16839 xno) ;;
16840 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16841 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16842 esac
16845 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16848 EXTRACFLAGS=""
16850 if test "x${GCC}" = "xyes"
16851 then
16852 EXTRACFLAGS="-Wall -pipe"
16854 saved_CFLAGS=$CFLAGS
16855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16856 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16857 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16858 $as_echo_n "(cached) " >&6
16859 else
16860 ac_wine_try_cflags_saved=$CFLAGS
16861 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16863 /* end confdefs.h. */
16864 int main(int argc, char **argv) { return 0; }
16865 _ACEOF
16866 if ac_fn_c_try_link "$LINENO"; then :
16867 ac_cv_cflags__Werror_unknown_warning_option=yes
16868 else
16869 ac_cv_cflags__Werror_unknown_warning_option=no
16871 rm -f core conftest.err conftest.$ac_objext \
16872 conftest$ac_exeext conftest.$ac_ext
16873 CFLAGS=$ac_wine_try_cflags_saved
16875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16876 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16877 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16878 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
16881 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
16882 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
16883 $as_echo_n "(cached) " >&6
16884 else
16885 ac_wine_try_cflags_saved=$CFLAGS
16886 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16888 /* end confdefs.h. */
16889 int main(int argc, char **argv) { return 0; }
16890 _ACEOF
16891 if ac_fn_c_try_link "$LINENO"; then :
16892 ac_cv_cflags__Werror_unused_command_line_argument=yes
16893 else
16894 ac_cv_cflags__Werror_unused_command_line_argument=no
16896 rm -f core conftest.err conftest.$ac_objext \
16897 conftest$ac_exeext conftest.$ac_ext
16898 CFLAGS=$ac_wine_try_cflags_saved
16900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
16901 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
16902 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
16903 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
16906 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
16907 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
16908 $as_echo_n "(cached) " >&6
16909 else
16910 ac_wine_try_cflags_saved=$CFLAGS
16911 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
16912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16913 /* end confdefs.h. */
16914 int main(int argc, char **argv) { return 0; }
16915 _ACEOF
16916 if ac_fn_c_try_link "$LINENO"; then :
16917 ac_cv_cflags__Werror_ignored_optimization_argument=yes
16918 else
16919 ac_cv_cflags__Werror_ignored_optimization_argument=no
16921 rm -f core conftest.err conftest.$ac_objext \
16922 conftest$ac_exeext conftest.$ac_ext
16923 CFLAGS=$ac_wine_try_cflags_saved
16925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
16926 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
16927 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
16928 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
16930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
16931 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
16932 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
16933 $as_echo_n "(cached) " >&6
16934 else
16935 ac_wine_try_cflags_saved=$CFLAGS
16936 CFLAGS="$CFLAGS -fcf-protection=none"
16937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16938 /* end confdefs.h. */
16939 int main(int argc, char **argv) { return 0; }
16940 _ACEOF
16941 if ac_fn_c_try_link "$LINENO"; then :
16942 ac_cv_cflags__fcf_protection_none=yes
16943 else
16944 ac_cv_cflags__fcf_protection_none=no
16946 rm -f core conftest.err conftest.$ac_objext \
16947 conftest$ac_exeext conftest.$ac_ext
16948 CFLAGS=$ac_wine_try_cflags_saved
16950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
16951 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
16952 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
16953 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
16955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
16956 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
16957 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
16958 $as_echo_n "(cached) " >&6
16959 else
16960 ac_wine_try_cflags_saved=$CFLAGS
16961 CFLAGS="$CFLAGS -fno-stack-protector"
16962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16963 /* end confdefs.h. */
16964 int main(int argc, char **argv) { return 0; }
16965 _ACEOF
16966 if ac_fn_c_try_link "$LINENO"; then :
16967 ac_cv_cflags__fno_stack_protector=yes
16968 else
16969 ac_cv_cflags__fno_stack_protector=no
16971 rm -f core conftest.err conftest.$ac_objext \
16972 conftest$ac_exeext conftest.$ac_ext
16973 CFLAGS=$ac_wine_try_cflags_saved
16975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
16976 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
16977 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
16978 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
16980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
16981 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
16982 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
16983 $as_echo_n "(cached) " >&6
16984 else
16985 ac_wine_try_cflags_saved=$CFLAGS
16986 CFLAGS="$CFLAGS -fno-strict-aliasing"
16987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16988 /* end confdefs.h. */
16989 int main(int argc, char **argv) { return 0; }
16990 _ACEOF
16991 if ac_fn_c_try_link "$LINENO"; then :
16992 ac_cv_cflags__fno_strict_aliasing=yes
16993 else
16994 ac_cv_cflags__fno_strict_aliasing=no
16996 rm -f core conftest.err conftest.$ac_objext \
16997 conftest$ac_exeext conftest.$ac_ext
16998 CFLAGS=$ac_wine_try_cflags_saved
17000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17001 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17002 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17003 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17006 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17007 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17008 $as_echo_n "(cached) " >&6
17009 else
17010 ac_wine_try_cflags_saved=$CFLAGS
17011 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
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__Wdeclaration_after_statement=yes
17018 else
17019 ac_cv_cflags__Wdeclaration_after_statement=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__Wdeclaration_after_statement" >&5
17026 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17027 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17028 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17031 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17032 if ${ac_cv_cflags__Wempty_body+:} false; then :
17033 $as_echo_n "(cached) " >&6
17034 else
17035 ac_wine_try_cflags_saved=$CFLAGS
17036 CFLAGS="$CFLAGS -Wempty-body"
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__Wempty_body=yes
17043 else
17044 ac_cv_cflags__Wempty_body=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__Wempty_body" >&5
17051 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17052 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17053 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17056 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17057 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17058 $as_echo_n "(cached) " >&6
17059 else
17060 ac_wine_try_cflags_saved=$CFLAGS
17061 CFLAGS="$CFLAGS -Wignored-qualifiers"
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__Wignored_qualifiers=yes
17068 else
17069 ac_cv_cflags__Wignored_qualifiers=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__Wignored_qualifiers" >&5
17076 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17077 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17078 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17081 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17082 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17083 $as_echo_n "(cached) " >&6
17084 else
17085 ac_wine_try_cflags_saved=$CFLAGS
17086 CFLAGS="$CFLAGS -Wpacked-not-aligned"
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__Wpacked_not_aligned=yes
17093 else
17094 ac_cv_cflags__Wpacked_not_aligned=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__Wpacked_not_aligned" >&5
17101 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17102 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17103 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17106 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17107 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17108 $as_echo_n "(cached) " >&6
17109 else
17110 ac_wine_try_cflags_saved=$CFLAGS
17111 CFLAGS="$CFLAGS -Wpragma-pack"
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__Wpragma_pack=yes
17118 else
17119 ac_cv_cflags__Wpragma_pack=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__Wpragma_pack" >&5
17126 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17127 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17128 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17131 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17132 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17133 $as_echo_n "(cached) " >&6
17134 else
17135 ac_wine_try_cflags_saved=$CFLAGS
17136 CFLAGS="$CFLAGS -Wshift-overflow=2"
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__Wshift_overflow_2=yes
17143 else
17144 ac_cv_cflags__Wshift_overflow_2=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__Wshift_overflow_2" >&5
17151 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17152 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17153 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17156 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17157 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17158 $as_echo_n "(cached) " >&6
17159 else
17160 ac_wine_try_cflags_saved=$CFLAGS
17161 CFLAGS="$CFLAGS -Wstrict-prototypes"
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__Wstrict_prototypes=yes
17168 else
17169 ac_cv_cflags__Wstrict_prototypes=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__Wstrict_prototypes" >&5
17176 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17177 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17178 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17181 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17182 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17183 $as_echo_n "(cached) " >&6
17184 else
17185 ac_wine_try_cflags_saved=$CFLAGS
17186 CFLAGS="$CFLAGS -Wtype-limits"
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__Wtype_limits=yes
17193 else
17194 ac_cv_cflags__Wtype_limits=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__Wtype_limits" >&5
17201 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17202 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17203 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17206 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17207 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17208 $as_echo_n "(cached) " >&6
17209 else
17210 ac_wine_try_cflags_saved=$CFLAGS
17211 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
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__Wunused_but_set_parameter=yes
17218 else
17219 ac_cv_cflags__Wunused_but_set_parameter=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__Wunused_but_set_parameter" >&5
17226 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17227 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17228 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17231 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17232 if ${ac_cv_cflags__Wvla+:} false; then :
17233 $as_echo_n "(cached) " >&6
17234 else
17235 ac_wine_try_cflags_saved=$CFLAGS
17236 CFLAGS="$CFLAGS -Wvla"
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__Wvla=yes
17243 else
17244 ac_cv_cflags__Wvla=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__Wvla" >&5
17251 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17252 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17253 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17256 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17257 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17258 $as_echo_n "(cached) " >&6
17259 else
17260 ac_wine_try_cflags_saved=$CFLAGS
17261 CFLAGS="$CFLAGS -Wwrite-strings"
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__Wwrite_strings=yes
17268 else
17269 ac_cv_cflags__Wwrite_strings=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__Wwrite_strings" >&5
17276 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17277 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17278 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17281 if test -z "$CROSSTARGET"
17282 then
17283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17284 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17285 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17286 $as_echo_n "(cached) " >&6
17287 else
17288 ac_wine_try_cflags_saved=$CFLAGS
17289 CFLAGS="$CFLAGS -fexcess-precision=standard"
17290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17291 /* end confdefs.h. */
17292 int main(int argc, char **argv) { return 0; }
17293 _ACEOF
17294 if ac_fn_c_try_link "$LINENO"; then :
17295 ac_cv_cflags__fexcess_precision_standard=yes
17296 else
17297 ac_cv_cflags__fexcess_precision_standard=no
17299 rm -f core conftest.err conftest.$ac_objext \
17300 conftest$ac_exeext conftest.$ac_ext
17301 CFLAGS=$ac_wine_try_cflags_saved
17303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17304 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17305 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17306 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17312 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17313 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17314 $as_echo_n "(cached) " >&6
17315 else
17316 ac_wine_try_cflags_saved=$CFLAGS
17317 CFLAGS="$CFLAGS -Wpointer-arith"
17318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17319 /* end confdefs.h. */
17320 int main(int argc, char **argv) { return 0; }
17321 _ACEOF
17322 if ac_fn_c_try_link "$LINENO"; then :
17323 ac_cv_cflags__Wpointer_arith=yes
17324 else
17325 ac_cv_cflags__Wpointer_arith=no
17327 rm -f core conftest.err conftest.$ac_objext \
17328 conftest$ac_exeext conftest.$ac_ext
17329 CFLAGS=$ac_wine_try_cflags_saved
17331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17332 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17333 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17334 saved_string_h_CFLAGS=$CFLAGS
17335 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17337 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17338 if ${ac_cv_c_string_h_warnings+:} false; then :
17339 $as_echo_n "(cached) " >&6
17340 else
17341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17342 /* end confdefs.h. */
17343 #include <string.h>
17345 main ()
17349 return 0;
17351 _ACEOF
17352 if ac_fn_c_try_compile "$LINENO"; then :
17353 ac_cv_c_string_h_warnings=no
17354 else
17355 ac_cv_c_string_h_warnings=yes
17357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17360 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17361 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17362 CFLAGS=$saved_string_h_CFLAGS
17365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17366 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17367 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17368 $as_echo_n "(cached) " >&6
17369 else
17370 ac_wine_try_cflags_saved=$CFLAGS
17371 CFLAGS="$CFLAGS -Wlogical-op"
17372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17373 /* end confdefs.h. */
17374 int main(int argc, char **argv) { return 0; }
17375 _ACEOF
17376 if ac_fn_c_try_link "$LINENO"; then :
17377 ac_cv_cflags__Wlogical_op=yes
17378 else
17379 ac_cv_cflags__Wlogical_op=no
17381 rm -f core conftest.err conftest.$ac_objext \
17382 conftest$ac_exeext conftest.$ac_ext
17383 CFLAGS=$ac_wine_try_cflags_saved
17385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17386 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17387 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17388 saved_string_h_CFLAGS=$CFLAGS
17389 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17391 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17392 if ${ac_cv_c_logicalop_noisy+:} false; then :
17393 $as_echo_n "(cached) " >&6
17394 else
17395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17396 /* end confdefs.h. */
17397 #include <string.h>
17398 char*f(const char *h,char n) {return strchr(h,n);}
17400 main ()
17404 return 0;
17406 _ACEOF
17407 if ac_fn_c_try_compile "$LINENO"; then :
17408 ac_cv_c_logicalop_noisy=no
17409 else
17410 ac_cv_c_logicalop_noisy=yes
17412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17415 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17416 CFLAGS=$saved_string_h_CFLAGS
17417 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
17421 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
17422 if ${wine_cv_64bit_compare_swap+:} false; then :
17423 $as_echo_n "(cached) " >&6
17424 else
17425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17426 /* end confdefs.h. */
17427 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17428 #error no
17429 #endif
17431 main ()
17435 return 0;
17437 _ACEOF
17438 if ac_fn_c_try_compile "$LINENO"; then :
17439 wine_cv_64bit_compare_swap="none needed"
17440 else
17441 case $host_cpu in
17442 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
17443 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
17444 *) wine_cv_64bit_compare_swap="unknown" ;;
17445 esac
17446 if test "x$wine_cv_64bit_compare_swap" != xunknown
17447 then
17448 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
17449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17450 /* end confdefs.h. */
17451 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17452 #error no
17453 #endif
17455 main ()
17459 return 0;
17461 _ACEOF
17462 if ac_fn_c_try_compile "$LINENO"; then :
17464 else
17465 wine_cv_64bit_compare_swap="unknown"
17467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17468 CFLAGS=$saved_CFLAGS
17471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
17474 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
17475 case "$wine_cv_64bit_compare_swap" in
17476 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
17477 "none needed") ;;
17478 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
17479 esac
17481 for ac_flag in $CFLAGS; do
17482 case $ac_flag in
17483 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17484 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17485 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17486 $as_echo_n "(cached) " >&6
17487 else
17488 ac_wine_try_cflags_saved=$CFLAGS
17489 CFLAGS="$CFLAGS -gdwarf-2"
17490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17491 /* end confdefs.h. */
17492 int main(int argc, char **argv) { return 0; }
17493 _ACEOF
17494 if ac_fn_c_try_link "$LINENO"; then :
17495 ac_cv_cflags__gdwarf_2=yes
17496 else
17497 ac_cv_cflags__gdwarf_2=no
17499 rm -f core conftest.err conftest.$ac_objext \
17500 conftest$ac_exeext conftest.$ac_ext
17501 CFLAGS=$ac_wine_try_cflags_saved
17503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17504 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17505 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17506 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17509 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17510 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17511 $as_echo_n "(cached) " >&6
17512 else
17513 ac_wine_try_cflags_saved=$CFLAGS
17514 CFLAGS="$CFLAGS -gstrict-dwarf"
17515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17516 /* end confdefs.h. */
17517 int main(int argc, char **argv) { return 0; }
17518 _ACEOF
17519 if ac_fn_c_try_link "$LINENO"; then :
17520 ac_cv_cflags__gstrict_dwarf=yes
17521 else
17522 ac_cv_cflags__gstrict_dwarf=no
17524 rm -f core conftest.err conftest.$ac_objext \
17525 conftest$ac_exeext conftest.$ac_ext
17526 CFLAGS=$ac_wine_try_cflags_saved
17528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17529 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17530 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17531 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17532 fi ;;
17533 esac
17534 done
17536 MSVCRTFLAGS=""
17538 case $host_os in
17539 mingw32*) ;;
17540 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17541 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17542 if ${ac_cv_cflags__fno_builtin+:} false; then :
17543 $as_echo_n "(cached) " >&6
17544 else
17545 ac_wine_try_cflags_saved=$CFLAGS
17546 CFLAGS="$CFLAGS -fno-builtin"
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__fno_builtin=yes
17553 else
17554 ac_cv_cflags__fno_builtin=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__fno_builtin" >&5
17561 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17562 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17563 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17566 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17567 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17568 $as_echo_n "(cached) " >&6
17569 else
17570 ac_wine_try_cflags_saved=$CFLAGS
17571 CFLAGS="$CFLAGS -fshort-wchar"
17572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17573 /* end confdefs.h. */
17574 int main(int argc, char **argv) { return 0; }
17575 _ACEOF
17576 if ac_fn_c_try_link "$LINENO"; then :
17577 ac_cv_cflags__fshort_wchar=yes
17578 else
17579 ac_cv_cflags__fshort_wchar=no
17581 rm -f core conftest.err conftest.$ac_objext \
17582 conftest$ac_exeext conftest.$ac_ext
17583 CFLAGS=$ac_wine_try_cflags_saved
17585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17586 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17587 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17588 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17589 fi ;;
17590 esac
17592 case $host_cpu in
17593 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17594 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17595 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17596 $as_echo_n "(cached) " >&6
17597 else
17598 ac_wine_try_cflags_saved=$CFLAGS
17599 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17601 /* end confdefs.h. */
17602 int main(int argc, char **argv) { return 0; }
17603 _ACEOF
17604 if ac_fn_c_try_link "$LINENO"; then :
17605 ac_cv_cflags__fno_omit_frame_pointer=yes
17606 else
17607 ac_cv_cflags__fno_omit_frame_pointer=no
17609 rm -f core conftest.err conftest.$ac_objext \
17610 conftest$ac_exeext conftest.$ac_ext
17611 CFLAGS=$ac_wine_try_cflags_saved
17613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17614 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17615 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17616 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17617 fi ;;
17618 *x86_64*)
17619 case $host_os in
17620 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17621 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17622 if ${ac_cv_cflags__Wno_format+:} false; then :
17623 $as_echo_n "(cached) " >&6
17624 else
17625 ac_wine_try_cflags_saved=$CFLAGS
17626 CFLAGS="$CFLAGS -Wno-format"
17627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17628 /* end confdefs.h. */
17629 int main(int argc, char **argv) { return 0; }
17630 _ACEOF
17631 if ac_fn_c_try_link "$LINENO"; then :
17632 ac_cv_cflags__Wno_format=yes
17633 else
17634 ac_cv_cflags__Wno_format=no
17636 rm -f core conftest.err conftest.$ac_objext \
17637 conftest$ac_exeext conftest.$ac_ext
17638 CFLAGS=$ac_wine_try_cflags_saved
17640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17641 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17642 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17643 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17644 fi ;;
17645 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17646 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17647 if ${ac_cv_cflags__mabi_ms+:} false; then :
17648 $as_echo_n "(cached) " >&6
17649 else
17650 ac_wine_try_cflags_saved=$CFLAGS
17651 CFLAGS="$CFLAGS -mabi=ms"
17652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17653 /* end confdefs.h. */
17654 int main(int argc, char **argv) { return 0; }
17655 _ACEOF
17656 if ac_fn_c_try_link "$LINENO"; then :
17657 ac_cv_cflags__mabi_ms=yes
17658 else
17659 ac_cv_cflags__mabi_ms=no
17661 rm -f core conftest.err conftest.$ac_objext \
17662 conftest$ac_exeext conftest.$ac_ext
17663 CFLAGS=$ac_wine_try_cflags_saved
17665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17666 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17667 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17668 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17669 fi ;;
17670 esac ;;
17671 esac
17673 CFLAGS=$saved_CFLAGS
17675 if test "x$enable_werror" = "xyes"
17676 then
17677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17678 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17679 if ${ac_cv_cflags__Werror+:} false; then :
17680 $as_echo_n "(cached) " >&6
17681 else
17682 ac_wine_try_cflags_saved=$CFLAGS
17683 CFLAGS="$CFLAGS -Werror"
17684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17685 /* end confdefs.h. */
17686 int main(int argc, char **argv) { return 0; }
17687 _ACEOF
17688 if ac_fn_c_try_link "$LINENO"; then :
17689 ac_cv_cflags__Werror=yes
17690 else
17691 ac_cv_cflags__Werror=no
17693 rm -f core conftest.err conftest.$ac_objext \
17694 conftest$ac_exeext conftest.$ac_ext
17695 CFLAGS=$ac_wine_try_cflags_saved
17697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17698 $as_echo "$ac_cv_cflags__Werror" >&6; }
17699 if test "x$ac_cv_cflags__Werror" = xyes; then :
17700 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17707 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17708 if ${ac_cv_c_fortify_enabled+:} false; then :
17709 $as_echo_n "(cached) " >&6
17710 else
17711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17712 /* end confdefs.h. */
17713 #include <string.h>
17715 main ()
17717 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17718 #error Fortify enabled
17719 #endif
17721 return 0;
17723 _ACEOF
17724 if ac_fn_c_try_compile "$LINENO"; then :
17725 ac_cv_c_fortify_enabled=no
17726 else
17727 ac_cv_c_fortify_enabled=yes
17729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17732 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17733 if test "$ac_cv_c_fortify_enabled" = yes
17734 then
17735 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17740 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17741 if ${ac_cv_c_cfi_support+:} false; then :
17742 $as_echo_n "(cached) " >&6
17743 else
17744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17745 /* end confdefs.h. */
17746 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17748 main ()
17752 return 0;
17754 _ACEOF
17755 if ac_fn_c_try_compile "$LINENO"; then :
17756 ac_cv_c_cfi_support="yes"
17757 else
17758 ac_cv_c_cfi_support="no"
17760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17763 $as_echo "$ac_cv_c_cfi_support" >&6; }
17764 if test "$ac_cv_c_cfi_support" = "yes"
17765 then
17766 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
17767 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17768 else
17769 if test "x$enable_win64" = "xyes"
17770 then
17771 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17776 case $build_os in
17777 cygwin*|mingw32*) TOOLSEXT=".exe"
17779 esac
17781 case $host_os in
17782 linux*)
17783 case $host_cpu in
17784 *i[3456789]86*|x86_64*|*aarch64*)
17785 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17786 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17788 esac
17790 esac
17793 ac_save_CFLAGS="$CFLAGS"
17794 CFLAGS="$CFLAGS $BUILTINFLAG"
17795 for ac_func in \
17796 __res_get_state \
17797 __res_getservers \
17798 _spawnvp \
17799 epoll_create \
17800 ffs \
17801 finite \
17802 finitef \
17803 fnmatch \
17804 fork \
17805 fpclass \
17806 fstatfs \
17807 fstatvfs \
17808 futimens \
17809 futimes \
17810 futimesat \
17811 getattrlist \
17812 getauxval \
17813 getifaddrs \
17814 getopt_long_only \
17815 getrandom \
17816 kqueue \
17817 lstat \
17818 mach_continuous_time \
17819 pipe2 \
17820 poll \
17821 port_create \
17822 prctl \
17823 pread \
17824 proc_pidinfo \
17825 pwrite \
17826 readdir \
17827 readlink \
17828 sched_yield \
17829 select \
17830 setproctitle \
17831 setprogname \
17832 settimeofday \
17833 sigprocmask \
17834 statfs \
17835 statvfs \
17836 strnlen \
17837 strtold \
17838 symlink \
17839 sysinfo \
17840 tcdrain \
17841 thr_kill2 \
17842 usleep
17844 do :
17845 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17846 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17847 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17848 cat >>confdefs.h <<_ACEOF
17849 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17850 _ACEOF
17853 done
17855 CFLAGS="$ac_save_CFLAGS"
17857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
17858 $as_echo_n "checking for library containing dlopen... " >&6; }
17859 if ${ac_cv_search_dlopen+:} false; then :
17860 $as_echo_n "(cached) " >&6
17861 else
17862 ac_func_search_save_LIBS=$LIBS
17863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17864 /* end confdefs.h. */
17866 /* Override any GCC internal prototype to avoid an error.
17867 Use char because int might match the return type of a GCC
17868 builtin and then its argument prototype would still apply. */
17869 #ifdef __cplusplus
17870 extern "C"
17871 #endif
17872 char dlopen ();
17874 main ()
17876 return dlopen ();
17878 return 0;
17880 _ACEOF
17881 for ac_lib in '' dl; do
17882 if test -z "$ac_lib"; then
17883 ac_res="none required"
17884 else
17885 ac_res=-l$ac_lib
17886 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17888 if ac_fn_c_try_link "$LINENO"; then :
17889 ac_cv_search_dlopen=$ac_res
17891 rm -f core conftest.err conftest.$ac_objext \
17892 conftest$ac_exeext
17893 if ${ac_cv_search_dlopen+:} false; then :
17894 break
17896 done
17897 if ${ac_cv_search_dlopen+:} false; then :
17899 else
17900 ac_cv_search_dlopen=no
17902 rm conftest.$ac_ext
17903 LIBS=$ac_func_search_save_LIBS
17905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
17906 $as_echo "$ac_cv_search_dlopen" >&6; }
17907 ac_res=$ac_cv_search_dlopen
17908 if test "$ac_res" != no; then :
17909 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17913 ac_wine_check_funcs_save_LIBS="$LIBS"
17914 LIBS="$LIBS $DL_LIBS"
17915 for ac_func in dladdr dlinfo
17916 do :
17917 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17918 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17919 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17920 cat >>confdefs.h <<_ACEOF
17921 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17922 _ACEOF
17925 done
17927 LIBS="$ac_wine_check_funcs_save_LIBS"
17929 if test "$ac_cv_func_poll" = no
17930 then
17931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17932 $as_echo_n "checking for poll in -lpoll... " >&6; }
17933 if ${ac_cv_lib_poll_poll+:} false; then :
17934 $as_echo_n "(cached) " >&6
17935 else
17936 ac_check_lib_save_LIBS=$LIBS
17937 LIBS="-lpoll $LIBS"
17938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17939 /* end confdefs.h. */
17941 /* Override any GCC internal prototype to avoid an error.
17942 Use char because int might match the return type of a GCC
17943 builtin and then its argument prototype would still apply. */
17944 #ifdef __cplusplus
17945 extern "C"
17946 #endif
17947 char poll ();
17949 main ()
17951 return poll ();
17953 return 0;
17955 _ACEOF
17956 if ac_fn_c_try_link "$LINENO"; then :
17957 ac_cv_lib_poll_poll=yes
17958 else
17959 ac_cv_lib_poll_poll=no
17961 rm -f core conftest.err conftest.$ac_objext \
17962 conftest$ac_exeext conftest.$ac_ext
17963 LIBS=$ac_check_lib_save_LIBS
17965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17966 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17967 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17968 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17969 POLL_LIBS="-lpoll"
17975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17976 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17977 if ${ac_cv_search_gethostbyname+:} false; then :
17978 $as_echo_n "(cached) " >&6
17979 else
17980 ac_func_search_save_LIBS=$LIBS
17981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17982 /* end confdefs.h. */
17984 /* Override any GCC internal prototype to avoid an error.
17985 Use char because int might match the return type of a GCC
17986 builtin and then its argument prototype would still apply. */
17987 #ifdef __cplusplus
17988 extern "C"
17989 #endif
17990 char gethostbyname ();
17992 main ()
17994 return gethostbyname ();
17996 return 0;
17998 _ACEOF
17999 for ac_lib in '' nsl; do
18000 if test -z "$ac_lib"; then
18001 ac_res="none required"
18002 else
18003 ac_res=-l$ac_lib
18004 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18006 if ac_fn_c_try_link "$LINENO"; then :
18007 ac_cv_search_gethostbyname=$ac_res
18009 rm -f core conftest.err conftest.$ac_objext \
18010 conftest$ac_exeext
18011 if ${ac_cv_search_gethostbyname+:} false; then :
18012 break
18014 done
18015 if ${ac_cv_search_gethostbyname+:} false; then :
18017 else
18018 ac_cv_search_gethostbyname=no
18020 rm conftest.$ac_ext
18021 LIBS=$ac_func_search_save_LIBS
18023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18024 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18025 ac_res=$ac_cv_search_gethostbyname
18026 if test "$ac_res" != no; then :
18027 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18033 $as_echo_n "checking for library containing connect... " >&6; }
18034 if ${ac_cv_search_connect+:} false; then :
18035 $as_echo_n "(cached) " >&6
18036 else
18037 ac_func_search_save_LIBS=$LIBS
18038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18039 /* end confdefs.h. */
18041 /* Override any GCC internal prototype to avoid an error.
18042 Use char because int might match the return type of a GCC
18043 builtin and then its argument prototype would still apply. */
18044 #ifdef __cplusplus
18045 extern "C"
18046 #endif
18047 char connect ();
18049 main ()
18051 return connect ();
18053 return 0;
18055 _ACEOF
18056 for ac_lib in '' socket; do
18057 if test -z "$ac_lib"; then
18058 ac_res="none required"
18059 else
18060 ac_res=-l$ac_lib
18061 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18063 if ac_fn_c_try_link "$LINENO"; then :
18064 ac_cv_search_connect=$ac_res
18066 rm -f core conftest.err conftest.$ac_objext \
18067 conftest$ac_exeext
18068 if ${ac_cv_search_connect+:} false; then :
18069 break
18071 done
18072 if ${ac_cv_search_connect+:} false; then :
18074 else
18075 ac_cv_search_connect=no
18077 rm conftest.$ac_ext
18078 LIBS=$ac_func_search_save_LIBS
18080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18081 $as_echo "$ac_cv_search_connect" >&6; }
18082 ac_res=$ac_cv_search_connect
18083 if test "$ac_res" != no; then :
18084 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18090 $as_echo_n "checking for library containing inet_aton... " >&6; }
18091 if ${ac_cv_search_inet_aton+:} false; then :
18092 $as_echo_n "(cached) " >&6
18093 else
18094 ac_func_search_save_LIBS=$LIBS
18095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18096 /* end confdefs.h. */
18098 /* Override any GCC internal prototype to avoid an error.
18099 Use char because int might match the return type of a GCC
18100 builtin and then its argument prototype would still apply. */
18101 #ifdef __cplusplus
18102 extern "C"
18103 #endif
18104 char inet_aton ();
18106 main ()
18108 return inet_aton ();
18110 return 0;
18112 _ACEOF
18113 for ac_lib in '' resolv; do
18114 if test -z "$ac_lib"; then
18115 ac_res="none required"
18116 else
18117 ac_res=-l$ac_lib
18118 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18120 if ac_fn_c_try_link "$LINENO"; then :
18121 ac_cv_search_inet_aton=$ac_res
18123 rm -f core conftest.err conftest.$ac_objext \
18124 conftest$ac_exeext
18125 if ${ac_cv_search_inet_aton+:} false; then :
18126 break
18128 done
18129 if ${ac_cv_search_inet_aton+:} false; then :
18131 else
18132 ac_cv_search_inet_aton=no
18134 rm conftest.$ac_ext
18135 LIBS=$ac_func_search_save_LIBS
18137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18138 $as_echo "$ac_cv_search_inet_aton" >&6; }
18139 ac_res=$ac_cv_search_inet_aton
18140 if test "$ac_res" != no; then :
18141 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18146 for ac_func in \
18147 getaddrinfo \
18148 getnameinfo \
18149 getnetbyname \
18150 getservbyport \
18152 do :
18153 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18154 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18155 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18156 cat >>confdefs.h <<_ACEOF
18157 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18158 _ACEOF
18161 done
18164 case $host_os in
18165 darwin*|macosx*) ;;
18166 *) ac_save_LIBS=$LIBS
18167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18168 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18169 if ${ac_cv_search_clock_gettime+:} false; then :
18170 $as_echo_n "(cached) " >&6
18171 else
18172 ac_func_search_save_LIBS=$LIBS
18173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18174 /* end confdefs.h. */
18176 /* Override any GCC internal prototype to avoid an error.
18177 Use char because int might match the return type of a GCC
18178 builtin and then its argument prototype would still apply. */
18179 #ifdef __cplusplus
18180 extern "C"
18181 #endif
18182 char clock_gettime ();
18184 main ()
18186 return clock_gettime ();
18188 return 0;
18190 _ACEOF
18191 for ac_lib in '' rt; do
18192 if test -z "$ac_lib"; then
18193 ac_res="none required"
18194 else
18195 ac_res=-l$ac_lib
18196 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18198 if ac_fn_c_try_link "$LINENO"; then :
18199 ac_cv_search_clock_gettime=$ac_res
18201 rm -f core conftest.err conftest.$ac_objext \
18202 conftest$ac_exeext
18203 if ${ac_cv_search_clock_gettime+:} false; then :
18204 break
18206 done
18207 if ${ac_cv_search_clock_gettime+:} false; then :
18209 else
18210 ac_cv_search_clock_gettime=no
18212 rm conftest.$ac_ext
18213 LIBS=$ac_func_search_save_LIBS
18215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18216 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18217 ac_res=$ac_cv_search_clock_gettime
18218 if test "$ac_res" != no; then :
18219 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18221 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18223 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18227 LIBS=$ac_save_LIBS
18229 esac
18231 if test "x$with_ldap" != "xno"
18232 then
18233 if ${LDAP_CFLAGS:+false} :; then :
18234 if ${PKG_CONFIG+:} false; then :
18235 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18239 if ${LDAP_LIBS:+false} :; then :
18240 if ${PKG_CONFIG+:} false; then :
18241 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18245 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18246 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18247 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18248 ac_save_CPPFLAGS=$CPPFLAGS
18249 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18250 for ac_header in ldap.h lber.h
18251 do :
18252 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18253 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18254 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18255 cat >>confdefs.h <<_ACEOF
18256 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18257 _ACEOF
18261 done
18263 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18264 then
18265 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18267 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18269 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18270 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18271 $as_echo_n "(cached) " >&6
18272 else
18273 ac_check_lib_save_LIBS=$LIBS
18274 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18276 /* end confdefs.h. */
18278 /* Override any GCC internal prototype to avoid an error.
18279 Use char because int might match the return type of a GCC
18280 builtin and then its argument prototype would still apply. */
18281 #ifdef __cplusplus
18282 extern "C"
18283 #endif
18284 char ldap_initialize ();
18286 main ()
18288 return ldap_initialize ();
18290 return 0;
18292 _ACEOF
18293 if ac_fn_c_try_link "$LINENO"; then :
18294 ac_cv_lib_ldap_r_ldap_initialize=yes
18295 else
18296 ac_cv_lib_ldap_r_ldap_initialize=no
18298 rm -f core conftest.err conftest.$ac_objext \
18299 conftest$ac_exeext conftest.$ac_ext
18300 LIBS=$ac_check_lib_save_LIBS
18302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18303 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18304 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18306 $as_echo_n "checking for ber_init in -llber... " >&6; }
18307 if ${ac_cv_lib_lber_ber_init+:} false; then :
18308 $as_echo_n "(cached) " >&6
18309 else
18310 ac_check_lib_save_LIBS=$LIBS
18311 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18313 /* end confdefs.h. */
18315 /* Override any GCC internal prototype to avoid an error.
18316 Use char because int might match the return type of a GCC
18317 builtin and then its argument prototype would still apply. */
18318 #ifdef __cplusplus
18319 extern "C"
18320 #endif
18321 char ber_init ();
18323 main ()
18325 return ber_init ();
18327 return 0;
18329 _ACEOF
18330 if ac_fn_c_try_link "$LINENO"; then :
18331 ac_cv_lib_lber_ber_init=yes
18332 else
18333 ac_cv_lib_lber_ber_init=no
18335 rm -f core conftest.err conftest.$ac_objext \
18336 conftest$ac_exeext conftest.$ac_ext
18337 LIBS=$ac_check_lib_save_LIBS
18339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18340 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18341 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18343 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18345 else
18346 LDAP_LIBS=""
18349 else
18350 LDAP_LIBS=""
18353 else
18354 LDAP_LIBS=""
18357 ac_wine_check_funcs_save_LIBS="$LIBS"
18358 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18359 for ac_func in \
18360 ldap_count_references \
18361 ldap_first_reference \
18362 ldap_next_reference \
18363 ldap_parse_reference \
18364 ldap_parse_sort_control \
18365 ldap_parse_sortresponse_control \
18366 ldap_parse_vlv_control \
18367 ldap_parse_vlvresponse_control
18368 do :
18369 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18370 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18371 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18372 cat >>confdefs.h <<_ACEOF
18373 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18374 _ACEOF
18377 done
18379 LIBS="$ac_wine_check_funcs_save_LIBS"
18380 else
18381 LDAP_LIBS=""
18383 CPPFLAGS=$ac_save_CPPFLAGS
18386 if test "x$LDAP_LIBS" = "x"; then :
18387 case "x$with_ldap" in
18388 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18389 xno) ;;
18390 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18391 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18392 esac
18396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18397 $as_echo_n "checking for sched_setaffinity... " >&6; }
18398 if ${wine_cv_have_sched_setaffinity+:} false; then :
18399 $as_echo_n "(cached) " >&6
18400 else
18401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18402 /* end confdefs.h. */
18403 #define _GNU_SOURCE
18404 #include <sched.h>
18406 main ()
18408 sched_setaffinity(0, 0, 0);
18410 return 0;
18412 _ACEOF
18413 if ac_fn_c_try_link "$LINENO"; then :
18414 wine_cv_have_sched_setaffinity=yes
18415 else
18416 wine_cv_have_sched_setaffinity=no
18418 rm -f core conftest.err conftest.$ac_objext \
18419 conftest$ac_exeext conftest.$ac_ext
18421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18422 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18423 if test "$wine_cv_have_sched_setaffinity" = "yes"
18424 then
18426 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18431 $as_echo_n "checking for fallocate... " >&6; }
18432 if ${wine_cv_have_fallocate+:} false; then :
18433 $as_echo_n "(cached) " >&6
18434 else
18435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18436 /* end confdefs.h. */
18437 #define _GNU_SOURCE
18438 #include <fcntl.h>
18440 main ()
18442 fallocate(-1, 0, 0, 0);
18444 return 0;
18446 _ACEOF
18447 if ac_fn_c_try_link "$LINENO"; then :
18448 wine_cv_have_fallocate=yes
18449 else
18450 wine_cv_have_fallocate=no
18452 rm -f core conftest.err conftest.$ac_objext \
18453 conftest$ac_exeext conftest.$ac_ext
18455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18456 $as_echo "$wine_cv_have_fallocate" >&6; }
18457 if test "$wine_cv_have_fallocate" = "yes"
18458 then
18460 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18466 $as_echo_n "checking for inline... " >&6; }
18467 if ${ac_cv_c_inline+:} false; then :
18468 $as_echo_n "(cached) " >&6
18469 else
18470 ac_cv_c_inline=no
18471 for ac_kw in inline __inline__ __inline; do
18472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18473 /* end confdefs.h. */
18474 #ifndef __cplusplus
18475 typedef int foo_t;
18476 static $ac_kw foo_t static_foo () {return 0; }
18477 $ac_kw foo_t foo () {return 0; }
18478 #endif
18480 _ACEOF
18481 if ac_fn_c_try_compile "$LINENO"; then :
18482 ac_cv_c_inline=$ac_kw
18484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18485 test "$ac_cv_c_inline" != no && break
18486 done
18489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18490 $as_echo "$ac_cv_c_inline" >&6; }
18492 case $ac_cv_c_inline in
18493 inline | yes) ;;
18495 case $ac_cv_c_inline in
18496 no) ac_val=;;
18497 *) ac_val=$ac_cv_c_inline;;
18498 esac
18499 cat >>confdefs.h <<_ACEOF
18500 #ifndef __cplusplus
18501 #define inline $ac_val
18502 #endif
18503 _ACEOF
18505 esac
18507 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18508 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18510 cat >>confdefs.h <<_ACEOF
18511 #define HAVE_FSBLKCNT_T 1
18512 _ACEOF
18516 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18517 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18519 cat >>confdefs.h <<_ACEOF
18520 #define HAVE_FSFILCNT_T 1
18521 _ACEOF
18526 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18527 #include <signal.h>
18529 if test "x$ac_cv_type_sigset_t" = xyes; then :
18531 cat >>confdefs.h <<_ACEOF
18532 #define HAVE_SIGSET_T 1
18533 _ACEOF
18538 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18540 if test "x$ac_cv_type_request_sense" = xyes; then :
18542 cat >>confdefs.h <<_ACEOF
18543 #define HAVE_REQUEST_SENSE 1
18544 _ACEOF
18550 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18551 #ifdef HAVE_SYS_SOCKET_H
18552 #include <sys/socket.h>
18553 #endif
18554 #ifdef HAVE_SYS_SOCKETVAR_H
18555 #include <sys/socketvar.h>
18556 #endif
18557 #ifdef HAVE_NET_ROUTE_H
18558 #include <net/route.h>
18559 #endif
18560 #ifdef HAVE_NETINET_IN_H
18561 #include <netinet/in.h>
18562 #endif
18563 #ifdef HAVE_NETINET_IN_SYSTM_H
18564 #include <netinet/in_systm.h>
18565 #endif
18566 #ifdef HAVE_NETINET_IP_H
18567 #include <netinet/ip.h>
18568 #endif
18569 #ifdef HAVE_NETINET_IN_PCB_H
18570 #include <netinet/in_pcb.h>
18571 #endif
18573 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18575 cat >>confdefs.h <<_ACEOF
18576 #define HAVE_STRUCT_XINPGEN 1
18577 _ACEOF
18583 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18584 #include <linux/input.h>
18585 #endif
18587 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18589 cat >>confdefs.h <<_ACEOF
18590 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18591 _ACEOF
18597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18598 $as_echo_n "checking for if_nameindex... " >&6; }
18599 if ${wine_cv_have_if_nameindex+:} false; then :
18600 $as_echo_n "(cached) " >&6
18601 else
18602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18603 /* end confdefs.h. */
18604 #ifdef HAVE_SYS_TYPES_H
18605 #include <sys/types.h>
18606 #endif
18607 #ifdef HAVE_SYS_SOCKET_H
18608 #include <sys/socket.h>
18609 #endif
18610 #ifdef HAVE_NET_IF_H
18611 # include <net/if.h>
18612 #endif
18614 main ()
18616 struct if_nameindex *p = if_nameindex(); return p->if_index;
18618 return 0;
18620 _ACEOF
18621 if ac_fn_c_try_link "$LINENO"; then :
18622 wine_cv_have_if_nameindex=yes
18623 else
18624 wine_cv_have_if_nameindex=no
18626 rm -f core conftest.err conftest.$ac_objext \
18627 conftest$ac_exeext conftest.$ac_ext
18629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18630 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18631 if test "$wine_cv_have_if_nameindex" = "yes"
18632 then
18634 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18639 $as_echo_n "checking for sigaddset... " >&6; }
18640 if ${wine_cv_have_sigaddset+:} false; then :
18641 $as_echo_n "(cached) " >&6
18642 else
18643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18644 /* end confdefs.h. */
18645 #include <signal.h>
18647 main ()
18649 sigset_t set; sigaddset(&set,SIGTERM);
18651 return 0;
18653 _ACEOF
18654 if ac_fn_c_try_link "$LINENO"; then :
18655 wine_cv_have_sigaddset=yes
18656 else
18657 wine_cv_have_sigaddset=no
18659 rm -f core conftest.err conftest.$ac_objext \
18660 conftest$ac_exeext conftest.$ac_ext
18662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18663 $as_echo "$wine_cv_have_sigaddset" >&6; }
18664 if test "$wine_cv_have_sigaddset" = "yes"
18665 then
18667 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18673 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18674 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18675 $as_echo_n "(cached) " >&6
18676 else
18677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18678 /* end confdefs.h. */
18679 #include <netdb.h>
18681 main ()
18684 char *name=0;
18685 struct hostent he;
18686 struct hostent *result;
18687 char *buf=0;
18688 int bufsize=0;
18689 int errnr;
18690 char *addr=0;
18691 int addrlen=0;
18692 int addrtype=0;
18693 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18694 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18697 return 0;
18699 _ACEOF
18700 if ac_fn_c_try_link "$LINENO"; then :
18701 wine_cv_linux_gethostbyname_r_6=yes
18702 else
18703 wine_cv_linux_gethostbyname_r_6=no
18706 rm -f core conftest.err conftest.$ac_objext \
18707 conftest$ac_exeext conftest.$ac_ext
18710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18711 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18712 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18713 then
18715 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18719 if test "$ac_cv_header_linux_joystick_h" = "yes"
18720 then
18721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18722 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18723 if ${wine_cv_linux_joystick_22_api+:} false; then :
18724 $as_echo_n "(cached) " >&6
18725 else
18726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18727 /* end confdefs.h. */
18729 #include <sys/ioctl.h>
18730 #include <sys/types.h>
18731 #include <linux/joystick.h>
18733 struct js_event blub;
18734 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18735 #error "no 2.2 header"
18736 #endif
18739 main ()
18741 /*empty*/
18743 return 0;
18745 _ACEOF
18746 if ac_fn_c_try_compile "$LINENO"; then :
18747 wine_cv_linux_joystick_22_api=yes
18748 else
18749 wine_cv_linux_joystick_22_api=no
18751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18755 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18756 if test "$wine_cv_linux_joystick_22_api" = "yes"
18757 then
18759 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18765 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18766 #ifdef HAVE_SYS_PARAM_H
18767 # include <sys/param.h>
18768 #endif
18769 #ifdef HAVE_SYS_MOUNT_H
18770 # include <sys/mount.h>
18771 #endif
18772 #ifdef HAVE_SYS_VFS_H
18773 # include <sys/vfs.h>
18774 #endif
18775 #ifdef HAVE_SYS_STATFS_H
18776 # include <sys/statfs.h>
18777 #endif
18779 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18781 cat >>confdefs.h <<_ACEOF
18782 #define HAVE_STRUCT_STATFS_F_BFREE 1
18783 _ACEOF
18787 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18788 #ifdef HAVE_SYS_PARAM_H
18789 # include <sys/param.h>
18790 #endif
18791 #ifdef HAVE_SYS_MOUNT_H
18792 # include <sys/mount.h>
18793 #endif
18794 #ifdef HAVE_SYS_VFS_H
18795 # include <sys/vfs.h>
18796 #endif
18797 #ifdef HAVE_SYS_STATFS_H
18798 # include <sys/statfs.h>
18799 #endif
18801 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18803 cat >>confdefs.h <<_ACEOF
18804 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18805 _ACEOF
18809 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18810 #ifdef HAVE_SYS_PARAM_H
18811 # include <sys/param.h>
18812 #endif
18813 #ifdef HAVE_SYS_MOUNT_H
18814 # include <sys/mount.h>
18815 #endif
18816 #ifdef HAVE_SYS_VFS_H
18817 # include <sys/vfs.h>
18818 #endif
18819 #ifdef HAVE_SYS_STATFS_H
18820 # include <sys/statfs.h>
18821 #endif
18823 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18825 cat >>confdefs.h <<_ACEOF
18826 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18827 _ACEOF
18831 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18832 #ifdef HAVE_SYS_PARAM_H
18833 # include <sys/param.h>
18834 #endif
18835 #ifdef HAVE_SYS_MOUNT_H
18836 # include <sys/mount.h>
18837 #endif
18838 #ifdef HAVE_SYS_VFS_H
18839 # include <sys/vfs.h>
18840 #endif
18841 #ifdef HAVE_SYS_STATFS_H
18842 # include <sys/statfs.h>
18843 #endif
18845 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18847 cat >>confdefs.h <<_ACEOF
18848 #define HAVE_STRUCT_STATFS_F_FFREE 1
18849 _ACEOF
18853 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18854 #ifdef HAVE_SYS_PARAM_H
18855 # include <sys/param.h>
18856 #endif
18857 #ifdef HAVE_SYS_MOUNT_H
18858 # include <sys/mount.h>
18859 #endif
18860 #ifdef HAVE_SYS_VFS_H
18861 # include <sys/vfs.h>
18862 #endif
18863 #ifdef HAVE_SYS_STATFS_H
18864 # include <sys/statfs.h>
18865 #endif
18867 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18869 cat >>confdefs.h <<_ACEOF
18870 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18871 _ACEOF
18875 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18876 #ifdef HAVE_SYS_PARAM_H
18877 # include <sys/param.h>
18878 #endif
18879 #ifdef HAVE_SYS_MOUNT_H
18880 # include <sys/mount.h>
18881 #endif
18882 #ifdef HAVE_SYS_VFS_H
18883 # include <sys/vfs.h>
18884 #endif
18885 #ifdef HAVE_SYS_STATFS_H
18886 # include <sys/statfs.h>
18887 #endif
18889 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18891 cat >>confdefs.h <<_ACEOF
18892 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18893 _ACEOF
18899 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18900 #include <sys/statvfs.h>
18901 #endif
18903 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18905 cat >>confdefs.h <<_ACEOF
18906 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18907 _ACEOF
18913 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18914 #include <dirent.h>
18915 #endif
18917 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18919 cat >>confdefs.h <<_ACEOF
18920 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18921 _ACEOF
18927 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18928 #ifdef HAVE_SYS_SOCKET_H
18929 # include <sys/socket.h>
18930 #endif
18931 #ifdef HAVE_SYS_UN_H
18932 # include <sys/un.h>
18933 #endif
18935 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18937 cat >>confdefs.h <<_ACEOF
18938 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18939 _ACEOF
18943 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18944 #ifdef HAVE_SYS_SOCKET_H
18945 # include <sys/socket.h>
18946 #endif
18947 #ifdef HAVE_SYS_UN_H
18948 # include <sys/un.h>
18949 #endif
18951 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18953 cat >>confdefs.h <<_ACEOF
18954 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18955 _ACEOF
18959 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#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_sockaddr_un_sun_len" = xyes; then :
18969 cat >>confdefs.h <<_ACEOF
18970 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18971 _ACEOF
18977 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18978 #ifdef HAVE_SCSI_SG_H
18979 #include <scsi/sg.h>
18980 #endif
18982 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18984 cat >>confdefs.h <<_ACEOF
18985 #define HAVE_SCSIREQ_T_CMD 1
18986 _ACEOF
18990 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>
18991 #ifdef HAVE_SCSI_SG_H
18992 #include <scsi/sg.h>
18993 #endif
18995 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18997 cat >>confdefs.h <<_ACEOF
18998 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18999 _ACEOF
19005 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19007 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19009 cat >>confdefs.h <<_ACEOF
19010 #define HAVE_SIGINFO_T_SI_FD 1
19011 _ACEOF
19017 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19018 #ifdef HAVE_SYS_MTIO_H
19019 #include <sys/mtio.h>
19020 #endif
19022 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19024 cat >>confdefs.h <<_ACEOF
19025 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19026 _ACEOF
19030 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19031 #ifdef HAVE_SYS_MTIO_H
19032 #include <sys/mtio.h>
19033 #endif
19035 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19037 cat >>confdefs.h <<_ACEOF
19038 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19039 _ACEOF
19043 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19044 #ifdef HAVE_SYS_MTIO_H
19045 #include <sys/mtio.h>
19046 #endif
19048 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19050 cat >>confdefs.h <<_ACEOF
19051 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19052 _ACEOF
19058 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19059 #include <getopt.h>
19060 #endif
19062 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19064 cat >>confdefs.h <<_ACEOF
19065 #define HAVE_STRUCT_OPTION_NAME 1
19066 _ACEOF
19072 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19073 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19075 cat >>confdefs.h <<_ACEOF
19076 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19077 _ACEOF
19081 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19082 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19084 cat >>confdefs.h <<_ACEOF
19085 #define HAVE_STRUCT_STAT_ST_MTIM 1
19086 _ACEOF
19090 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19091 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19093 cat >>confdefs.h <<_ACEOF
19094 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19095 _ACEOF
19099 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19100 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19102 cat >>confdefs.h <<_ACEOF
19103 #define HAVE_STRUCT_STAT_ST_CTIM 1
19104 _ACEOF
19108 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19109 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19111 cat >>confdefs.h <<_ACEOF
19112 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19113 _ACEOF
19117 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19118 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19120 cat >>confdefs.h <<_ACEOF
19121 #define HAVE_STRUCT_STAT_ST_ATIM 1
19122 _ACEOF
19126 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19127 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19129 cat >>confdefs.h <<_ACEOF
19130 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19131 _ACEOF
19135 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19136 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19138 cat >>confdefs.h <<_ACEOF
19139 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19140 _ACEOF
19144 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19145 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19147 cat >>confdefs.h <<_ACEOF
19148 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19149 _ACEOF
19153 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19154 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19156 cat >>confdefs.h <<_ACEOF
19157 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19158 _ACEOF
19162 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19163 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19165 cat >>confdefs.h <<_ACEOF
19166 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19167 _ACEOF
19171 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19172 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19174 cat >>confdefs.h <<_ACEOF
19175 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19176 _ACEOF
19182 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
19183 #include <sys/types.h>
19184 #endif
19185 #ifdef HAVE_NETINET_IN_H
19186 #include <netinet/in.h>
19187 #endif
19189 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19191 cat >>confdefs.h <<_ACEOF
19192 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19193 _ACEOF
19199 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19200 #include <sys/types.h>
19201 #endif
19202 #ifdef HAVE_NETINET_IN_H
19203 #include <netinet/in.h>
19204 #endif
19205 #ifdef HAVE_RESOLV_H
19206 #include <resolv.h>
19207 #endif
19209 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19211 cat >>confdefs.h <<_ACEOF
19212 #define HAVE_STRUCT___RES_STATE 1
19213 _ACEOF
19219 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
19220 #include <resolv.h>
19221 #endif
19223 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19225 cat >>confdefs.h <<_ACEOF
19226 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19227 _ACEOF
19233 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19234 #include <sys/types.h>
19235 #endif
19236 #ifdef HAVE_NETINET_IN_H
19237 # include <netinet/in.h>
19238 #endif
19239 #ifdef HAVE_ARPA_NAMESER_H
19240 # include <arpa/nameser.h>
19241 #endif
19243 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19245 cat >>confdefs.h <<_ACEOF
19246 #define HAVE_NS_MSG__MSG_PTR 1
19247 _ACEOF
19253 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19254 #include <sys/types.h>
19255 #endif
19256 #ifdef HAVE_NETINET_IN_H
19257 #include <netinet/in.h>
19258 #endif
19259 #ifdef HAVE_NETINET_IP_H
19260 #include <netinet/ip.h>
19261 #endif
19262 #ifdef HAVE_NETINET_IP_ICMP_H
19263 #include <netinet/ip_icmp.h>
19264 #endif
19265 #ifdef HAVE_NETINET_ICMP_VAR_H
19266 #include <netinet/icmp_var.h>
19267 #endif
19269 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19271 cat >>confdefs.h <<_ACEOF
19272 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19273 _ACEOF
19279 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19280 #include <sys/types.h>
19281 #endif
19282 #ifdef HAVE_ALIAS_H
19283 #include <alias.h>
19284 #endif
19285 #ifdef HAVE_SYS_SOCKET_H
19286 #include <sys/socket.h>
19287 #endif
19288 #ifdef HAVE_SYS_SOCKETVAR_H
19289 #include <sys/socketvar.h>
19290 #endif
19291 #ifdef HAVE_SYS_TIMEOUT_H
19292 #include <sys/timeout.h>
19293 #endif
19294 #ifdef HAVE_NETINET_IN_H
19295 #include <netinet/in.h>
19296 #endif
19297 #ifdef HAVE_NETINET_IN_SYSTM_H
19298 #include <netinet/in_systm.h>
19299 #endif
19300 #ifdef HAVE_NETINET_IP_H
19301 #include <netinet/ip.h>
19302 #endif
19303 #ifdef HAVE_NETINET_IP_VAR_H
19304 #include <netinet/ip_var.h>
19305 #endif
19306 #ifdef HAVE_NETINET_IP_ICMP_H
19307 #include <netinet/ip_icmp.h>
19308 #endif
19309 #ifdef HAVE_NETINET_ICMP_VAR_H
19310 #include <netinet/icmp_var.h>
19311 #endif
19313 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19315 cat >>confdefs.h <<_ACEOF
19316 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19317 _ACEOF
19323 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19324 #include <sys/types.h>
19325 #endif
19326 #ifdef HAVE_SYS_SOCKETVAR_H
19327 #include <sys/socketvar.h>
19328 #endif
19329 #ifdef HAVE_NETINET_IN_H
19330 #include <netinet/in.h>
19331 #endif
19332 #ifdef HAVE_NETINET_IP_VAR_H
19333 #include <netinet/ip_var.h>
19334 #endif
19336 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19338 cat >>confdefs.h <<_ACEOF
19339 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19340 _ACEOF
19346 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
19347 #include <netinet/ip_var.h>
19348 #endif
19350 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19352 cat >>confdefs.h <<_ACEOF
19353 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19354 _ACEOF
19360 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19361 #include <sys/types.h>
19362 #endif
19363 #ifdef HAVE_SYS_SOCKETVAR_H
19364 #include <sys/socketvar.h>
19365 #endif
19366 #ifdef HAVE_NETINET_IN_H
19367 #include <netinet/in.h>
19368 #endif
19369 #ifdef HAVE_NETINET_TCP_H
19370 #include <netinet/tcp.h>
19371 #endif
19372 #ifdef HAVE_NETINET_TCP_VAR_H
19373 #include <netinet/tcp_var.h>
19374 #endif
19376 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19378 cat >>confdefs.h <<_ACEOF
19379 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19380 _ACEOF
19386 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
19387 #include <netinet/tcp_var.h>
19388 #endif
19390 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19392 cat >>confdefs.h <<_ACEOF
19393 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19394 _ACEOF
19400 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19401 #include <sys/types.h>
19402 #endif
19403 #ifdef HAVE_NETINET_IN_H
19404 #include <netinet/in.h>
19405 #endif
19406 #ifdef HAVE_NETINET_IP_VAR_H
19407 #include <netinet/ip_var.h>
19408 #endif
19409 #ifdef HAVE_NETINET_UDP_H
19410 #include <netinet/udp.h>
19411 #endif
19412 #ifdef HAVE_NETINET_UDP_VAR_H
19413 #include <netinet/udp_var.h>
19414 #endif
19416 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19418 cat >>confdefs.h <<_ACEOF
19419 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19420 _ACEOF
19426 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19427 #include <sys/types.h>
19428 #endif
19429 #ifdef HAVE_NET_IF_H
19430 # include <net/if.h>
19431 #endif
19433 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19435 cat >>confdefs.h <<_ACEOF
19436 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19437 _ACEOF
19443 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19444 # include <sys/sysinfo.h>
19445 #endif
19447 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19449 cat >>confdefs.h <<_ACEOF
19450 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19451 _ACEOF
19455 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19456 # include <sys/sysinfo.h>
19457 #endif
19459 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19461 cat >>confdefs.h <<_ACEOF
19462 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19463 _ACEOF
19469 ac_save_LIBS="$LIBS"
19470 LIBS="$LIBS -lm"
19471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19472 $as_echo_n "checking for isfinite... " >&6; }
19473 if ${ac_cv_have_isfinite+:} false; then :
19474 $as_echo_n "(cached) " >&6
19475 else
19476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19477 /* end confdefs.h. */
19478 #define _GNU_SOURCE
19479 #include <math.h>
19481 main ()
19483 float f = 0.0; return isfinite(f)
19485 return 0;
19487 _ACEOF
19488 if ac_fn_c_try_link "$LINENO"; then :
19489 ac_cv_have_isfinite="yes"
19490 else
19491 ac_cv_have_isfinite="no"
19493 rm -f core conftest.err conftest.$ac_objext \
19494 conftest$ac_exeext conftest.$ac_ext
19496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19497 $as_echo "$ac_cv_have_isfinite" >&6; }
19498 if test "$ac_cv_have_isfinite" = "yes"
19499 then
19501 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19506 $as_echo_n "checking for isinf... " >&6; }
19507 if ${ac_cv_have_isinf+:} false; then :
19508 $as_echo_n "(cached) " >&6
19509 else
19510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19511 /* end confdefs.h. */
19512 #include <math.h>
19514 main ()
19516 float f = 0.0; return isinf(f)
19518 return 0;
19520 _ACEOF
19521 if ac_fn_c_try_link "$LINENO"; then :
19522 ac_cv_have_isinf="yes"
19523 else
19524 ac_cv_have_isinf="no"
19526 rm -f core conftest.err conftest.$ac_objext \
19527 conftest$ac_exeext conftest.$ac_ext
19529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19530 $as_echo "$ac_cv_have_isinf" >&6; }
19531 if test "$ac_cv_have_isinf" = "yes"
19532 then
19534 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19539 $as_echo_n "checking for isnan... " >&6; }
19540 if ${ac_cv_have_isnan+:} false; then :
19541 $as_echo_n "(cached) " >&6
19542 else
19543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19544 /* end confdefs.h. */
19545 #include <math.h>
19547 main ()
19549 float f = 0.0; return isnan(f)
19551 return 0;
19553 _ACEOF
19554 if ac_fn_c_try_link "$LINENO"; then :
19555 ac_cv_have_isnan="yes"
19556 else
19557 ac_cv_have_isnan="no"
19559 rm -f core conftest.err conftest.$ac_objext \
19560 conftest$ac_exeext conftest.$ac_ext
19562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19563 $as_echo "$ac_cv_have_isnan" >&6; }
19564 if test "$ac_cv_have_isnan" = "yes"
19565 then
19567 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19571 for ac_func in \
19572 acosh \
19573 acoshf \
19574 asinh \
19575 asinhf \
19576 atanh \
19577 atanhf \
19578 cbrt \
19579 cbrtf \
19580 erf \
19581 erfc \
19582 erfcf \
19583 erff \
19584 exp2 \
19585 exp2f \
19586 expm1 \
19587 expm1f \
19588 fma \
19589 fmaf \
19590 ilogb \
19591 ilogbf \
19592 j0 \
19593 j1 \
19594 jn \
19595 lgamma \
19596 lgammaf \
19597 llrint \
19598 llrintf \
19599 llround \
19600 llroundf \
19601 log1p \
19602 log1pf \
19603 log2 \
19604 log2f \
19605 lrint \
19606 lrintf \
19607 lround \
19608 lroundf \
19609 nearbyint \
19610 nearbyintf \
19611 nexttoward \
19612 nexttowardf \
19613 remainder \
19614 remainderf \
19615 remquo \
19616 remquof \
19617 rint \
19618 rintf \
19619 round \
19620 roundf \
19621 tgamma \
19622 tgammaf \
19623 trunc \
19624 truncf \
19625 y0 \
19626 y1 \
19629 do :
19630 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19631 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19632 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19633 cat >>confdefs.h <<_ACEOF
19634 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19635 _ACEOF
19638 done
19640 LIBS="$ac_save_LIBS"
19642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19643 $as_echo_n "checking for __builtin_popcount... " >&6; }
19644 if ${ac_cv_have___builtin_popcount+:} false; then :
19645 $as_echo_n "(cached) " >&6
19646 else
19647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19648 /* end confdefs.h. */
19651 main ()
19653 return __builtin_popcount(1)
19655 return 0;
19657 _ACEOF
19658 if ac_fn_c_try_link "$LINENO"; then :
19659 ac_cv_have___builtin_popcount="yes"
19660 else
19661 ac_cv_have___builtin_popcount="no"
19663 rm -f core conftest.err conftest.$ac_objext \
19664 conftest$ac_exeext conftest.$ac_ext
19666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19667 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19668 if test "$ac_cv_have___builtin_popcount" = "yes"
19669 then
19671 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19676 $as_echo_n "checking for __clear_cache... " >&6; }
19677 if ${ac_cv_have___clear_cache+:} false; then :
19678 $as_echo_n "(cached) " >&6
19679 else
19680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19681 /* end confdefs.h. */
19684 main ()
19686 __clear_cache((void*)0, (void*)0); return 0;
19688 return 0;
19690 _ACEOF
19691 if ac_fn_c_try_link "$LINENO"; then :
19692 ac_cv_have___clear_cache="yes"
19693 else
19694 ac_cv_have___clear_cache="no"
19696 rm -f core conftest.err conftest.$ac_objext \
19697 conftest$ac_exeext conftest.$ac_ext
19699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19700 $as_echo "$ac_cv_have___clear_cache" >&6; }
19701 if test "$ac_cv_have___clear_cache" = "yes"
19702 then
19704 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19709 case $host_cpu in
19710 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19711 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19712 if ${ac_cv_cpp_def___i386__+:} false; then :
19713 $as_echo_n "(cached) " >&6
19714 else
19715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19716 /* end confdefs.h. */
19717 #ifndef __i386__
19719 #endif
19720 _ACEOF
19721 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19722 $EGREP "yes" >/dev/null 2>&1; then :
19723 ac_cv_cpp_def___i386__=yes
19724 else
19725 ac_cv_cpp_def___i386__=no
19727 rm -f conftest*
19730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19731 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19732 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19733 CFLAGS="$CFLAGS -D__i386__"
19734 LINTFLAGS="$LINTFLAGS -D__i386__"
19735 fi ;;
19736 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19737 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19738 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19739 $as_echo_n "(cached) " >&6
19740 else
19741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19742 /* end confdefs.h. */
19743 #ifndef __x86_64__
19745 #endif
19746 _ACEOF
19747 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19748 $EGREP "yes" >/dev/null 2>&1; then :
19749 ac_cv_cpp_def___x86_64__=yes
19750 else
19751 ac_cv_cpp_def___x86_64__=no
19753 rm -f conftest*
19756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19757 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19758 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19759 CFLAGS="$CFLAGS -D__x86_64__"
19760 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19761 fi ;;
19762 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19763 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19764 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19765 $as_echo_n "(cached) " >&6
19766 else
19767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19768 /* end confdefs.h. */
19769 #ifndef __sparc64__
19771 #endif
19772 _ACEOF
19773 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19774 $EGREP "yes" >/dev/null 2>&1; then :
19775 ac_cv_cpp_def___sparc64__=yes
19776 else
19777 ac_cv_cpp_def___sparc64__=no
19779 rm -f conftest*
19782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19783 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19784 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19785 CFLAGS="$CFLAGS -D__sparc64__"
19786 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19787 fi ;;
19788 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19789 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19790 if ${ac_cv_cpp_def___sparc__+:} false; then :
19791 $as_echo_n "(cached) " >&6
19792 else
19793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19794 /* end confdefs.h. */
19795 #ifndef __sparc__
19797 #endif
19798 _ACEOF
19799 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19800 $EGREP "yes" >/dev/null 2>&1; then :
19801 ac_cv_cpp_def___sparc__=yes
19802 else
19803 ac_cv_cpp_def___sparc__=no
19805 rm -f conftest*
19808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19809 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19810 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19811 CFLAGS="$CFLAGS -D__sparc__"
19812 LINTFLAGS="$LINTFLAGS -D__sparc__"
19813 fi ;;
19814 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19815 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19816 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19817 $as_echo_n "(cached) " >&6
19818 else
19819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19820 /* end confdefs.h. */
19821 #ifndef __powerpc64__
19823 #endif
19824 _ACEOF
19825 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19826 $EGREP "yes" >/dev/null 2>&1; then :
19827 ac_cv_cpp_def___powerpc64__=yes
19828 else
19829 ac_cv_cpp_def___powerpc64__=no
19831 rm -f conftest*
19834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19835 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19836 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19837 CFLAGS="$CFLAGS -D__powerpc64__"
19838 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19839 fi ;;
19840 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19841 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19842 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19843 $as_echo_n "(cached) " >&6
19844 else
19845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19846 /* end confdefs.h. */
19847 #ifndef __powerpc__
19849 #endif
19850 _ACEOF
19851 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19852 $EGREP "yes" >/dev/null 2>&1; then :
19853 ac_cv_cpp_def___powerpc__=yes
19854 else
19855 ac_cv_cpp_def___powerpc__=no
19857 rm -f conftest*
19860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19861 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19862 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19863 CFLAGS="$CFLAGS -D__powerpc__"
19864 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19865 fi ;;
19866 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19867 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19868 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19869 $as_echo_n "(cached) " >&6
19870 else
19871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19872 /* end confdefs.h. */
19873 #ifndef __aarch64__
19875 #endif
19876 _ACEOF
19877 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19878 $EGREP "yes" >/dev/null 2>&1; then :
19879 ac_cv_cpp_def___aarch64__=yes
19880 else
19881 ac_cv_cpp_def___aarch64__=no
19883 rm -f conftest*
19886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19887 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19888 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19889 CFLAGS="$CFLAGS -D__aarch64__"
19890 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19891 fi ;;
19892 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19893 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19894 if ${ac_cv_cpp_def___arm__+:} false; then :
19895 $as_echo_n "(cached) " >&6
19896 else
19897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19898 /* end confdefs.h. */
19899 #ifndef __arm__
19901 #endif
19902 _ACEOF
19903 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19904 $EGREP "yes" >/dev/null 2>&1; then :
19905 ac_cv_cpp_def___arm__=yes
19906 else
19907 ac_cv_cpp_def___arm__=no
19909 rm -f conftest*
19912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19913 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19914 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19915 CFLAGS="$CFLAGS -D__arm__"
19916 LINTFLAGS="$LINTFLAGS -D__arm__"
19917 fi ;;
19918 esac
19920 case $host_vendor in
19921 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19922 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19923 if ${ac_cv_cpp_def___sun__+:} false; then :
19924 $as_echo_n "(cached) " >&6
19925 else
19926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19927 /* end confdefs.h. */
19928 #ifndef __sun__
19930 #endif
19931 _ACEOF
19932 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19933 $EGREP "yes" >/dev/null 2>&1; then :
19934 ac_cv_cpp_def___sun__=yes
19935 else
19936 ac_cv_cpp_def___sun__=no
19938 rm -f conftest*
19941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19942 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19943 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19944 CFLAGS="$CFLAGS -D__sun__"
19945 LINTFLAGS="$LINTFLAGS -D__sun__"
19946 fi ;;
19947 esac
19953 ac_config_commands="$ac_config_commands include/stamp-h"
19955 $as_echo_n "creating Makefile rules..." >&6
19957 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19958 OPENGL_LIBS = $OPENGL_LIBS
19959 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19960 IOKIT_LIBS = $IOKIT_LIBS
19961 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19962 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19963 CORESERVICES_LIBS = $CORESERVICES_LIBS
19964 APPKIT_LIBS = $APPKIT_LIBS
19965 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19966 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19967 SECURITY_LIBS = $SECURITY_LIBS
19968 COREAUDIO_LIBS = $COREAUDIO_LIBS
19969 OPENAL_LIBS = $OPENAL_LIBS
19970 OPENCL_LIBS = $OPENCL_LIBS
19971 QUICKTIME_LIBS = $QUICKTIME_LIBS
19972 CARBON_LIBS = $CARBON_LIBS
19973 METAL_LIBS = $METAL_LIBS
19974 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19975 PTHREAD_LIBS = $PTHREAD_LIBS
19976 X_CFLAGS = $X_CFLAGS
19977 X_PRE_LIBS = $X_PRE_LIBS
19978 X_LIBS = $X_LIBS
19979 X_EXTRA_LIBS = $X_EXTRA_LIBS
19980 PCAP_LIBS = $PCAP_LIBS
19981 XML2_CFLAGS = $XML2_CFLAGS
19982 XML2_LIBS = $XML2_LIBS
19983 XSLT_CFLAGS = $XSLT_CFLAGS
19984 XSLT_LIBS = $XSLT_LIBS
19985 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19986 INOTIFY_LIBS = $INOTIFY_LIBS
19987 DBUS_CFLAGS = $DBUS_CFLAGS
19988 DBUS_LIBS = $DBUS_LIBS
19989 HAL_CFLAGS = $HAL_CFLAGS
19990 HAL_LIBS = $HAL_LIBS
19991 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19992 GNUTLS_LIBS = $GNUTLS_LIBS
19993 SANE_CFLAGS = $SANE_CFLAGS
19994 SANE_LIBS = $SANE_LIBS
19995 USB_CFLAGS = $USB_CFLAGS
19996 USB_LIBS = $USB_LIBS
19997 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19998 GPHOTO2_LIBS = $GPHOTO2_LIBS
19999 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
20000 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
20001 RESOLV_LIBS = $RESOLV_LIBS
20002 LCMS2_CFLAGS = $LCMS2_CFLAGS
20003 LCMS2_LIBS = $LCMS2_LIBS
20004 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
20005 FREETYPE_LIBS = $FREETYPE_LIBS
20006 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
20007 PULSE_CFLAGS = $PULSE_CFLAGS
20008 PULSE_LIBS = $PULSE_LIBS
20009 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
20010 GSTREAMER_LIBS = $GSTREAMER_LIBS
20011 ALSA_LIBS = $ALSA_LIBS
20012 OSS4_CFLAGS = $OSS4_CFLAGS
20013 OSS4_LIBS = $OSS4_LIBS
20014 UDEV_CFLAGS = $UDEV_CFLAGS
20015 UDEV_LIBS = $UDEV_LIBS
20016 UNWIND_CFLAGS = $UNWIND_CFLAGS
20017 UNWIND_LIBS = $UNWIND_LIBS
20018 SDL2_CFLAGS = $SDL2_CFLAGS
20019 SDL2_LIBS = $SDL2_LIBS
20020 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
20021 FAUDIO_LIBS = $FAUDIO_LIBS
20022 CAPI20_CFLAGS = $CAPI20_CFLAGS
20023 CAPI20_LIBS = $CAPI20_LIBS
20024 CUPS_CFLAGS = $CUPS_CFLAGS
20025 CUPS_LIBS = $CUPS_LIBS
20026 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20027 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20028 KRB5_CFLAGS = $KRB5_CFLAGS
20029 KRB5_LIBS = $KRB5_LIBS
20030 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20031 GSSAPI_LIBS = $GSSAPI_LIBS
20032 JPEG_CFLAGS = $JPEG_CFLAGS
20033 JPEG_LIBS = $JPEG_LIBS
20034 PNG_CFLAGS = $PNG_CFLAGS
20035 PNG_LIBS = $PNG_LIBS
20036 TIFF_CFLAGS = $TIFF_CFLAGS
20037 TIFF_LIBS = $TIFF_LIBS
20038 MPG123_CFLAGS = $MPG123_CFLAGS
20039 MPG123_LIBS = $MPG123_LIBS
20040 KSTAT_LIBS = $KSTAT_LIBS
20041 PROCSTAT_LIBS = $PROCSTAT_LIBS
20042 NETAPI_CFLAGS = $NETAPI_CFLAGS
20043 NETAPI_LIBS = $NETAPI_LIBS
20044 VKD3D_CFLAGS = $VKD3D_CFLAGS
20045 VKD3D_LIBS = $VKD3D_LIBS
20046 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
20047 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
20048 POLL_LIBS = $POLL_LIBS
20049 RT_LIBS = $RT_LIBS
20050 LDAP_CFLAGS = $LDAP_CFLAGS
20051 LDAP_LIBS = $LDAP_LIBS
20056 wine_fn_append_rule "
20057 # Rules automatically generated by configure
20059 .INIT: Makefile
20060 .MAKEFILEDEPS:
20061 all: Makefile
20062 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20063 @./config.status Make.tmp Makefile
20064 depend: \$(MAKEDEP)
20065 \$(MAKEDEP)
20066 dummy:
20067 .PHONY: depend dummy"
20069 ac_config_links="$ac_config_links wine:tools/winewrapper"
20070 wine_fn_config_symlink wine
20071 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20072 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20073 wine_fn_config_symlink wine64
20076 wine_fn_config_makefile dlls/acledit enable_acledit
20077 wine_fn_config_makefile dlls/aclui enable_aclui
20078 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20079 wine_fn_config_makefile dlls/activeds enable_activeds
20080 wine_fn_config_makefile dlls/activeds/tests enable_tests
20081 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20082 wine_fn_config_makefile dlls/adsiid enable_adsiid
20083 wine_fn_config_makefile dlls/adsldp enable_adsldp
20084 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20085 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20086 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20087 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20088 wine_fn_config_makefile dlls/advpack enable_advpack
20089 wine_fn_config_makefile dlls/advpack/tests enable_tests
20090 wine_fn_config_makefile dlls/amsi enable_amsi
20091 wine_fn_config_makefile dlls/amstream enable_amstream
20092 wine_fn_config_makefile dlls/amstream/tests enable_tests
20093 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20094 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20095 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20096 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20097 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20098 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20099 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20100 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20101 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20102 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20103 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20104 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20105 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20106 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20107 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20108 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20109 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20110 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20111 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20112 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20113 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20114 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20115 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20116 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20117 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20118 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20119 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20120 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20121 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
20122 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
20123 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20124 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20125 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20126 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20127 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20128 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20129 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20130 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20131 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20132 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20133 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20134 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20135 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20137 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20139 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20140 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20141 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20143 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20144 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20145 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20146 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20147 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20148 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20149 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20150 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20151 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20152 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20153 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20154 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20155 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20156 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20157 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20158 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20159 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20160 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20161 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20162 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20163 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20164 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20165 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20166 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20167 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20168 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20170 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20174 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20175 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20176 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20177 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20178 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20179 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20180 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20181 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20182 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20183 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20184 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20185 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20186 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20187 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20188 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20189 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20190 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20191 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20193 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20194 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20195 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20196 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20197 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20198 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20199 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20200 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20201 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20202 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20203 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20204 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20205 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20206 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20207 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20208 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20209 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20210 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20211 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20212 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20213 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20214 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20215 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20216 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20217 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20218 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20219 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20221 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20222 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20223 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20224 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20225 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20226 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20227 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20228 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20229 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20230 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20231 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20232 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20233 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20234 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20235 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20236 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20237 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20238 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20239 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20240 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20241 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20242 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20243 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20244 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20245 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20246 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20247 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20248 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20249 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20250 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20252 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20253 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20254 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20256 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20258 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20259 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20260 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20261 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20262 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20263 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20264 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20265 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20266 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20267 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20268 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20269 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20270 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20271 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20272 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20273 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20274 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20275 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20276 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20277 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20278 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20279 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20280 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20281 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20282 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20283 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20284 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20285 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20286 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20287 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20288 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20289 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20290 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20291 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20292 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20293 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20294 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20295 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20296 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20297 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20298 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20299 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20300 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20301 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20302 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20303 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20304 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20305 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20306 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20307 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20308 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20309 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20310 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20311 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20312 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20313 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20314 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20315 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20316 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20317 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20318 wine_fn_config_makefile dlls/apphelp enable_apphelp
20319 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20320 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20321 wine_fn_config_makefile dlls/atl enable_atl
20322 wine_fn_config_makefile dlls/atl/tests enable_tests
20323 wine_fn_config_makefile dlls/atl100 enable_atl100
20324 wine_fn_config_makefile dlls/atl100/tests enable_tests
20325 wine_fn_config_makefile dlls/atl110 enable_atl110
20326 wine_fn_config_makefile dlls/atl80 enable_atl80
20327 wine_fn_config_makefile dlls/atl80/tests enable_tests
20328 wine_fn_config_makefile dlls/atl90 enable_atl90
20329 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20330 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20331 wine_fn_config_makefile dlls/atmlib enable_atmlib
20332 wine_fn_config_makefile dlls/authz enable_authz
20333 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20334 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20335 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20336 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20337 wine_fn_config_makefile dlls/avrt enable_avrt
20338 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20339 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20340 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20341 wine_fn_config_makefile dlls/browseui enable_browseui
20342 wine_fn_config_makefile dlls/browseui/tests enable_tests
20343 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20344 wine_fn_config_makefile dlls/cabinet enable_cabinet
20345 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20346 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20347 wine_fn_config_makefile dlls/cards enable_cards
20348 wine_fn_config_makefile dlls/cdosys enable_cdosys
20349 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20350 wine_fn_config_makefile dlls/clusapi enable_clusapi
20351 wine_fn_config_makefile dlls/combase enable_combase
20352 wine_fn_config_makefile dlls/combase/tests enable_tests
20353 wine_fn_config_makefile dlls/comcat enable_comcat
20354 wine_fn_config_makefile dlls/comcat/tests enable_tests
20355 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20356 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20357 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20358 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20359 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20360 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20361 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20362 wine_fn_config_makefile dlls/compstui enable_compstui
20363 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20364 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20365 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20366 wine_fn_config_makefile dlls/connect enable_connect
20367 wine_fn_config_makefile dlls/credui enable_credui
20368 wine_fn_config_makefile dlls/credui/tests enable_tests
20369 wine_fn_config_makefile dlls/crtdll enable_crtdll
20370 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20371 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20372 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20373 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20374 wine_fn_config_makefile dlls/cryptext enable_cryptext
20375 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20376 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20377 wine_fn_config_makefile dlls/cryptui enable_cryptui
20378 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20379 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20380 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20381 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20382 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20383 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20384 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20385 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20386 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20387 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20388 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20389 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20390 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20391 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20392 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20393 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20394 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20395 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20396 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20397 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
20398 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20399 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20400 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20401 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20402 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20403 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20404 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20405 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20406 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20407 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20408 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20409 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20410 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20411 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20412 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20413 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20414 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20415 wine_fn_config_makefile dlls/d3dim enable_d3dim
20416 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
20417 wine_fn_config_makefile dlls/d3drm enable_d3drm
20418 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20419 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20420 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20421 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20422 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20423 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20424 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20425 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20426 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20427 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20428 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20429 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20430 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20431 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20432 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20433 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20434 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20435 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20436 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20437 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20438 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20439 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20440 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20441 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20442 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20443 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20444 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20445 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20446 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20447 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20448 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20449 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20450 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20451 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20452 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20453 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20454 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20455 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20456 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20457 wine_fn_config_makefile dlls/davclnt enable_davclnt
20458 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20459 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20460 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20461 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20462 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20463 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20464 wine_fn_config_makefile dlls/ddraw enable_ddraw
20465 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20466 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20467 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20468 wine_fn_config_makefile dlls/devenum enable_devenum
20469 wine_fn_config_makefile dlls/devenum/tests enable_tests
20470 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20471 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20472 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20473 wine_fn_config_makefile dlls/difxapi enable_difxapi
20474 wine_fn_config_makefile dlls/dinput enable_dinput
20475 wine_fn_config_makefile dlls/dinput/tests enable_tests
20476 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20477 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20478 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20479 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20480 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20481 wine_fn_config_makefile dlls/dispex enable_dispex
20482 wine_fn_config_makefile dlls/dispex/tests enable_tests
20483 wine_fn_config_makefile dlls/display.drv16 enable_win16
20484 wine_fn_config_makefile dlls/dmband enable_dmband
20485 wine_fn_config_makefile dlls/dmband/tests enable_tests
20486 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20487 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20488 wine_fn_config_makefile dlls/dmime enable_dmime
20489 wine_fn_config_makefile dlls/dmime/tests enable_tests
20490 wine_fn_config_makefile dlls/dmloader enable_dmloader
20491 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20492 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20493 wine_fn_config_makefile dlls/dmscript enable_dmscript
20494 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20495 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20496 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20497 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20498 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20499 wine_fn_config_makefile dlls/dmusic enable_dmusic
20500 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20501 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20502 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20503 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20504 wine_fn_config_makefile dlls/dplay enable_dplay
20505 wine_fn_config_makefile dlls/dplayx enable_dplayx
20506 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20507 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20508 wine_fn_config_makefile dlls/dpnet enable_dpnet
20509 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20510 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20511 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20512 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20513 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20514 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20515 wine_fn_config_makefile dlls/drmclien enable_drmclien
20516 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20517 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20518 wine_fn_config_makefile dlls/dsound enable_dsound
20519 wine_fn_config_makefile dlls/dsound/tests enable_tests
20520 wine_fn_config_makefile dlls/dsquery enable_dsquery
20521 wine_fn_config_makefile dlls/dssenh enable_dssenh
20522 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20523 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20524 wine_fn_config_makefile dlls/dswave enable_dswave
20525 wine_fn_config_makefile dlls/dswave/tests enable_tests
20526 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20527 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20528 wine_fn_config_makefile dlls/dwrite enable_dwrite
20529 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20530 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20531 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20532 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20533 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20534 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20535 wine_fn_config_makefile dlls/dxgi enable_dxgi
20536 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20537 wine_fn_config_makefile dlls/dxguid enable_dxguid
20538 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20539 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20540 wine_fn_config_makefile dlls/esent enable_esent
20541 wine_fn_config_makefile dlls/evr enable_evr
20542 wine_fn_config_makefile dlls/evr/tests enable_tests
20543 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20544 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20545 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20546 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20547 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20548 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20549 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20550 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20551 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20552 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20553 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20554 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20555 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20556 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20557 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20558 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20559 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20560 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20561 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20562 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20563 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20564 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20565 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20566 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20567 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20568 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20569 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20570 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20571 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20572 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20573 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20574 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20575 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20576 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20577 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20578 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20579 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20580 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20581 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20582 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20583 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20584 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20585 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
20586 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20587 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20588 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20589 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20590 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20591 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20592 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20593 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20594 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20595 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20596 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20597 wine_fn_config_makefile dlls/faultrep enable_faultrep
20598 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20599 wine_fn_config_makefile dlls/feclient enable_feclient
20600 wine_fn_config_makefile dlls/fltlib enable_fltlib
20601 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20602 wine_fn_config_makefile dlls/fntcache enable_fntcache
20603 wine_fn_config_makefile dlls/fontsub enable_fontsub
20604 wine_fn_config_makefile dlls/fusion enable_fusion
20605 wine_fn_config_makefile dlls/fusion/tests enable_tests
20606 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20607 wine_fn_config_makefile dlls/gameux enable_gameux
20608 wine_fn_config_makefile dlls/gameux/tests enable_tests
20609 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20610 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20611 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20612 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20613 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20614 wine_fn_config_makefile dlls/glu32 enable_glu32
20615 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20616 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20617 wine_fn_config_makefile dlls/hal enable_hal
20618 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20619 wine_fn_config_makefile dlls/hid enable_hid
20620 wine_fn_config_makefile dlls/hid/tests enable_tests
20621 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20622 wine_fn_config_makefile dlls/hlink enable_hlink
20623 wine_fn_config_makefile dlls/hlink/tests enable_tests
20624 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20625 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20626 wine_fn_config_makefile dlls/http.sys enable_http_sys
20627 wine_fn_config_makefile dlls/httpapi enable_httpapi
20628 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20629 wine_fn_config_makefile dlls/iccvid enable_iccvid
20630 wine_fn_config_makefile dlls/icmp enable_icmp
20631 wine_fn_config_makefile dlls/ieframe enable_ieframe
20632 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20633 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20634 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20635 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20636 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20637 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20638 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20639 wine_fn_config_makefile dlls/imm32 enable_imm32
20640 wine_fn_config_makefile dlls/imm32/tests enable_tests
20641 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20642 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20643 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20644 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20645 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20646 wine_fn_config_makefile dlls/infosoft enable_infosoft
20647 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20648 wine_fn_config_makefile dlls/initpki enable_initpki
20649 wine_fn_config_makefile dlls/inkobj enable_inkobj
20650 wine_fn_config_makefile dlls/inseng enable_inseng
20651 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20652 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20653 wine_fn_config_makefile dlls/iprop enable_iprop
20654 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20655 wine_fn_config_makefile dlls/itircl enable_itircl
20656 wine_fn_config_makefile dlls/itss enable_itss
20657 wine_fn_config_makefile dlls/itss/tests enable_tests
20658 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20659 wine_fn_config_makefile dlls/jscript enable_jscript
20660 wine_fn_config_makefile dlls/jscript/tests enable_tests
20661 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20662 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20663 wine_fn_config_makefile dlls/kerberos enable_kerberos
20664 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20665 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20666 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20667 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20668 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20669 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20670 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20671 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20672 wine_fn_config_makefile dlls/ksuser enable_ksuser
20673 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20674 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20675 wine_fn_config_makefile dlls/loadperf enable_loadperf
20676 wine_fn_config_makefile dlls/localspl enable_localspl
20677 wine_fn_config_makefile dlls/localspl/tests enable_tests
20678 wine_fn_config_makefile dlls/localui enable_localui
20679 wine_fn_config_makefile dlls/localui/tests enable_tests
20680 wine_fn_config_makefile dlls/lz32 enable_lz32
20681 wine_fn_config_makefile dlls/lz32/tests enable_tests
20682 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20683 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20684 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20685 wine_fn_config_makefile dlls/mapistub enable_mapistub
20686 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20687 wine_fn_config_makefile dlls/mcicda enable_mcicda
20688 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20689 wine_fn_config_makefile dlls/mciseq enable_mciseq
20690 wine_fn_config_makefile dlls/mciwave enable_mciwave
20691 wine_fn_config_makefile dlls/mf enable_mf
20692 wine_fn_config_makefile dlls/mf/tests enable_tests
20693 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20694 wine_fn_config_makefile dlls/mferror enable_mferror
20695 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20696 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20697 wine_fn_config_makefile dlls/mfplat enable_mfplat
20698 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20699 wine_fn_config_makefile dlls/mfplay enable_mfplay
20700 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20701 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20702 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20703 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20704 wine_fn_config_makefile dlls/midimap enable_midimap
20705 wine_fn_config_makefile dlls/mlang enable_mlang
20706 wine_fn_config_makefile dlls/mlang/tests enable_tests
20707 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20708 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20709 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20710 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20711 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20712 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20713 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20714 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20715 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20716 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20717 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20718 wine_fn_config_makefile dlls/mpr enable_mpr
20719 wine_fn_config_makefile dlls/mpr/tests enable_tests
20720 wine_fn_config_makefile dlls/mprapi enable_mprapi
20721 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20722 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20723 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20724 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20725 wine_fn_config_makefile dlls/msado15 enable_msado15
20726 wine_fn_config_makefile dlls/msado15/tests enable_tests
20727 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20728 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20729 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20730 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20731 wine_fn_config_makefile dlls/mscms enable_mscms
20732 wine_fn_config_makefile dlls/mscms/tests enable_tests
20733 wine_fn_config_makefile dlls/mscoree enable_mscoree
20734 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20735 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20736 wine_fn_config_makefile dlls/msctf enable_msctf
20737 wine_fn_config_makefile dlls/msctf/tests enable_tests
20738 wine_fn_config_makefile dlls/msctfp enable_msctfp
20739 wine_fn_config_makefile dlls/msdaps enable_msdaps
20740 wine_fn_config_makefile dlls/msdelta enable_msdelta
20741 wine_fn_config_makefile dlls/msdmo enable_msdmo
20742 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20743 wine_fn_config_makefile dlls/msdrm enable_msdrm
20744 wine_fn_config_makefile dlls/msftedit enable_msftedit
20745 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20746 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20747 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20748 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20749 wine_fn_config_makefile dlls/mshtml enable_mshtml
20750 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20751 wine_fn_config_makefile dlls/msi enable_msi
20752 wine_fn_config_makefile dlls/msi/tests enable_tests
20753 wine_fn_config_makefile dlls/msident enable_msident
20754 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20755 wine_fn_config_makefile dlls/msimsg enable_msimsg
20756 wine_fn_config_makefile dlls/msimtf enable_msimtf
20757 wine_fn_config_makefile dlls/msisip enable_msisip
20758 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20759 wine_fn_config_makefile dlls/msls31 enable_msls31
20760 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20761 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20762 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20763 wine_fn_config_makefile dlls/msports enable_msports
20764 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20765 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20766 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20767 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20768 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20769 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20770 wine_fn_config_makefile dlls/mstask enable_mstask
20771 wine_fn_config_makefile dlls/mstask/tests enable_tests
20772 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20773 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20774 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20775 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20776 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20777 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20778 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20779 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20780 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20781 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20782 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20783 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20784 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20785 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20786 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20787 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20788 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20789 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20790 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20791 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20792 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20793 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20794 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20795 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20796 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20797 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20798 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20799 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20800 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20801 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20802 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20803 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20804 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20805 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20806 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20807 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20808 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20809 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20810 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20811 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20812 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20813 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20814 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20815 wine_fn_config_makefile dlls/mswsock enable_mswsock
20816 wine_fn_config_makefile dlls/msxml enable_msxml
20817 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20818 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20819 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20820 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20821 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20822 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20823 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20824 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20825 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20826 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20827 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20828 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20829 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20830 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20831 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20832 wine_fn_config_makefile dlls/netprofm enable_netprofm
20833 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20834 wine_fn_config_makefile dlls/newdev enable_newdev
20835 wine_fn_config_makefile dlls/ninput enable_ninput
20836 wine_fn_config_makefile dlls/ninput/tests enable_tests
20837 wine_fn_config_makefile dlls/normaliz enable_normaliz
20838 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20839 wine_fn_config_makefile dlls/npptools enable_npptools
20840 wine_fn_config_makefile dlls/ntdll enable_ntdll
20841 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20842 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20843 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20844 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20845 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20846 wine_fn_config_makefile dlls/ntprint enable_ntprint
20847 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20848 wine_fn_config_makefile dlls/objsel enable_objsel
20849 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20850 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20851 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20852 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20853 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20854 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20855 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20856 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20857 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20858 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20859 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20860 wine_fn_config_makefile dlls/ole32 enable_ole32
20861 wine_fn_config_makefile dlls/ole32/tests enable_tests
20862 wine_fn_config_makefile dlls/oleacc enable_oleacc
20863 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20864 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20865 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20866 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20867 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20868 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20869 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20870 wine_fn_config_makefile dlls/oledlg enable_oledlg
20871 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20872 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20873 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20874 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20875 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20876 wine_fn_config_makefile dlls/opcservices enable_opcservices
20877 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20878 wine_fn_config_makefile dlls/openal32 enable_openal32
20879 wine_fn_config_makefile dlls/opencl enable_opencl
20880 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20881 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20882 wine_fn_config_makefile dlls/packager enable_packager
20883 wine_fn_config_makefile dlls/packager/tests enable_tests
20884 wine_fn_config_makefile dlls/pdh enable_pdh
20885 wine_fn_config_makefile dlls/pdh/tests enable_tests
20886 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20887 wine_fn_config_makefile dlls/pidgen enable_pidgen
20888 wine_fn_config_makefile dlls/powrprof enable_powrprof
20889 wine_fn_config_makefile dlls/printui enable_printui
20890 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20891 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20892 wine_fn_config_makefile dlls/propsys enable_propsys
20893 wine_fn_config_makefile dlls/propsys/tests enable_tests
20894 wine_fn_config_makefile dlls/psapi enable_psapi
20895 wine_fn_config_makefile dlls/psapi/tests enable_tests
20896 wine_fn_config_makefile dlls/pstorec enable_pstorec
20897 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20898 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20899 wine_fn_config_makefile dlls/qasf enable_qasf
20900 wine_fn_config_makefile dlls/qasf/tests enable_tests
20901 wine_fn_config_makefile dlls/qcap enable_qcap
20902 wine_fn_config_makefile dlls/qcap/tests enable_tests
20903 wine_fn_config_makefile dlls/qdvd enable_qdvd
20904 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20905 wine_fn_config_makefile dlls/qedit enable_qedit
20906 wine_fn_config_makefile dlls/qedit/tests enable_tests
20907 wine_fn_config_makefile dlls/qmgr enable_qmgr
20908 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20909 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20910 wine_fn_config_makefile dlls/quartz enable_quartz
20911 wine_fn_config_makefile dlls/quartz/tests enable_tests
20912 wine_fn_config_makefile dlls/query enable_query
20913 wine_fn_config_makefile dlls/qwave enable_qwave
20914 wine_fn_config_makefile dlls/qwave/tests enable_tests
20915 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20916 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20917 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20918 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20919 wine_fn_config_makefile dlls/regapi enable_regapi
20920 wine_fn_config_makefile dlls/resutils enable_resutils
20921 wine_fn_config_makefile dlls/riched20 enable_riched20
20922 wine_fn_config_makefile dlls/riched20/tests enable_tests
20923 wine_fn_config_makefile dlls/riched32 enable_riched32
20924 wine_fn_config_makefile dlls/riched32/tests enable_tests
20925 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20926 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20927 wine_fn_config_makefile dlls/rsabase enable_rsabase
20928 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20929 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20930 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20931 wine_fn_config_makefile dlls/rtutils enable_rtutils
20932 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20933 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20934 wine_fn_config_makefile dlls/samlib enable_samlib
20935 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20936 wine_fn_config_makefile dlls/sapi enable_sapi
20937 wine_fn_config_makefile dlls/sapi/tests enable_tests
20938 wine_fn_config_makefile dlls/sas enable_sas
20939 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20940 wine_fn_config_makefile dlls/sccbase enable_sccbase
20941 wine_fn_config_makefile dlls/schannel enable_schannel
20942 wine_fn_config_makefile dlls/schannel/tests enable_tests
20943 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20944 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20945 wine_fn_config_makefile dlls/scrobj enable_scrobj
20946 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20947 wine_fn_config_makefile dlls/scrrun enable_scrrun
20948 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20949 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20950 wine_fn_config_makefile dlls/sechost enable_sechost
20951 wine_fn_config_makefile dlls/secur32 enable_secur32
20952 wine_fn_config_makefile dlls/secur32/tests enable_tests
20953 wine_fn_config_makefile dlls/security enable_security
20954 wine_fn_config_makefile dlls/sensapi enable_sensapi
20955 wine_fn_config_makefile dlls/serialui enable_serialui
20956 wine_fn_config_makefile dlls/serialui/tests enable_tests
20957 wine_fn_config_makefile dlls/setupapi enable_setupapi
20958 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20959 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20960 wine_fn_config_makefile dlls/sfc enable_sfc
20961 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20962 wine_fn_config_makefile dlls/shcore enable_shcore
20963 wine_fn_config_makefile dlls/shcore/tests enable_tests
20964 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20965 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20966 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20967 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20968 wine_fn_config_makefile dlls/shell32 enable_shell32
20969 wine_fn_config_makefile dlls/shell32/tests enable_tests
20970 wine_fn_config_makefile dlls/shfolder enable_shfolder
20971 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20972 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20973 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20974 wine_fn_config_makefile dlls/slc enable_slc
20975 wine_fn_config_makefile dlls/slc/tests enable_tests
20976 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20977 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20978 wine_fn_config_makefile dlls/softpub enable_softpub
20979 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20980 wine_fn_config_makefile dlls/spoolss enable_spoolss
20981 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20982 wine_fn_config_makefile dlls/srclient enable_srclient
20983 wine_fn_config_makefile dlls/sspicli enable_sspicli
20984 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20985 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20986 wine_fn_config_makefile dlls/sti enable_sti
20987 wine_fn_config_makefile dlls/sti/tests enable_tests
20988 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20989 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20990 wine_fn_config_makefile dlls/strmbase enable_strmbase
20991 wine_fn_config_makefile dlls/strmdll enable_strmdll
20992 wine_fn_config_makefile dlls/strmiids enable_strmiids
20993 wine_fn_config_makefile dlls/svrapi enable_svrapi
20994 wine_fn_config_makefile dlls/sxs enable_sxs
20995 wine_fn_config_makefile dlls/sxs/tests enable_tests
20996 wine_fn_config_makefile dlls/system.drv16 enable_win16
20997 wine_fn_config_makefile dlls/t2embed enable_t2embed
20998 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20999 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21000 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21001 wine_fn_config_makefile dlls/taskschd enable_taskschd
21002 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21003 wine_fn_config_makefile dlls/tdh enable_tdh
21004 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21005 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21006 wine_fn_config_makefile dlls/traffic enable_traffic
21007 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21008 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21009 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21010 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21011 wine_fn_config_makefile dlls/tzres enable_tzres
21012 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21013 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21014 wine_fn_config_makefile dlls/uianimation enable_uianimation
21015 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21016 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21017 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21018 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21019 wine_fn_config_makefile dlls/unicows enable_unicows
21020 wine_fn_config_makefile dlls/updspapi enable_updspapi
21021 wine_fn_config_makefile dlls/url enable_url
21022 wine_fn_config_makefile dlls/urlmon enable_urlmon
21023 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21024 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21025 wine_fn_config_makefile dlls/user.exe16 enable_win16
21026 wine_fn_config_makefile dlls/user32 enable_user32
21027 wine_fn_config_makefile dlls/user32/tests enable_tests
21028 wine_fn_config_makefile dlls/userenv enable_userenv
21029 wine_fn_config_makefile dlls/userenv/tests enable_tests
21030 wine_fn_config_makefile dlls/usp10 enable_usp10
21031 wine_fn_config_makefile dlls/usp10/tests enable_tests
21032 wine_fn_config_makefile dlls/utildll enable_utildll
21033 wine_fn_config_makefile dlls/uuid enable_uuid
21034 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21035 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21036 wine_fn_config_makefile dlls/vbscript enable_vbscript
21037 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21038 wine_fn_config_makefile dlls/vcomp enable_vcomp
21039 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21040 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21041 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21042 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21043 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21044 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21045 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21046 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21047 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21048 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21049 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21050 wine_fn_config_makefile dlls/version enable_version
21051 wine_fn_config_makefile dlls/version/tests enable_tests
21052 wine_fn_config_makefile dlls/vga enable_vga
21053 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21054 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21055 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21056 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21057 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21058 wine_fn_config_makefile dlls/vssapi enable_vssapi
21059 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21060 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21061 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21062 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21063 wine_fn_config_makefile dlls/w32skrnl enable_win16
21064 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21065 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21066 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21067 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21068 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21069 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21070 wine_fn_config_makefile dlls/wdscore enable_wdscore
21071 wine_fn_config_makefile dlls/webservices enable_webservices
21072 wine_fn_config_makefile dlls/webservices/tests enable_tests
21073 wine_fn_config_makefile dlls/wer enable_wer
21074 wine_fn_config_makefile dlls/wer/tests enable_tests
21075 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21076 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21077 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21078 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21079 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21080 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21081 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21082 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21083 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21084 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21085 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21086 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21087 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21088 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21089 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21090 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21091 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21092 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21093 wine_fn_config_makefile dlls/wined3d enable_wined3d
21094 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21095 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21096 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21097 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21098 wine_fn_config_makefile dlls/winemapi enable_winemapi
21099 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21100 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21101 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21102 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21103 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21104 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21105 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21106 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21107 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21108 wine_fn_config_makefile dlls/wing32 enable_wing32
21109 wine_fn_config_makefile dlls/winhttp enable_winhttp
21110 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21111 wine_fn_config_makefile dlls/wininet enable_wininet
21112 wine_fn_config_makefile dlls/wininet/tests enable_tests
21113 wine_fn_config_makefile dlls/winmm enable_winmm
21114 wine_fn_config_makefile dlls/winmm/tests enable_tests
21115 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21116 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21117 wine_fn_config_makefile dlls/winscard enable_winscard
21118 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21119 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21120 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21121 wine_fn_config_makefile dlls/winsta enable_winsta
21122 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21123 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21124 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21125 wine_fn_config_makefile dlls/wintrust enable_wintrust
21126 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21127 wine_fn_config_makefile dlls/winusb enable_winusb
21128 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21129 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21130 wine_fn_config_makefile dlls/wlanui enable_wlanui
21131 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21132 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21133 wine_fn_config_makefile dlls/wmasf enable_wmasf
21134 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21135 wine_fn_config_makefile dlls/wmi enable_wmi
21136 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21137 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21138 wine_fn_config_makefile dlls/wmp enable_wmp
21139 wine_fn_config_makefile dlls/wmp/tests enable_tests
21140 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21141 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21142 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21143 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21144 wine_fn_config_makefile dlls/wow32 enable_win16
21145 wine_fn_config_makefile dlls/wpc enable_wpc
21146 wine_fn_config_makefile dlls/wpc/tests enable_tests
21147 wine_fn_config_makefile dlls/wpcap enable_wpcap
21148 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21149 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21150 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21151 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21152 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21153 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21154 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21155 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21156 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21157 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21158 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21159 wine_fn_config_makefile dlls/wuapi enable_wuapi
21160 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21161 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21162 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21163 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21164 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21165 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21166 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21167 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21168 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21169 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21170 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21171 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21172 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21173 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21174 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21175 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21176 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21177 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21178 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21179 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21180 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21181 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21182 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21183 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21184 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21185 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21186 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21187 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21188 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21189 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21190 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21191 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21192 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21193 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21194 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21195 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21196 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21197 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21198 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21199 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21200 wine_fn_config_makefile dlls/xmllite enable_xmllite
21201 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21202 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21203 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21204 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21205 wine_fn_config_makefile fonts enable_fonts
21206 wine_fn_config_makefile include enable_include
21207 wine_fn_config_makefile libs/port enable_port
21208 wine_fn_config_makefile libs/wine enable_wine
21209 wine_fn_config_makefile libs/wpp enable_wpp
21210 wine_fn_config_makefile loader enable_loader
21211 wine_fn_config_makefile nls enable_nls
21212 wine_fn_config_makefile po enable_po
21213 wine_fn_config_makefile programs/arp enable_arp
21214 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21215 wine_fn_config_makefile programs/attrib enable_attrib
21216 wine_fn_config_makefile programs/cabarc enable_cabarc
21217 wine_fn_config_makefile programs/cacls enable_cacls
21218 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21219 wine_fn_config_makefile programs/clock enable_clock
21220 wine_fn_config_makefile programs/cmd enable_cmd
21221 wine_fn_config_makefile programs/cmd/tests enable_tests
21222 wine_fn_config_makefile programs/conhost enable_conhost
21223 wine_fn_config_makefile programs/conhost/tests enable_tests
21224 wine_fn_config_makefile programs/control enable_control
21225 wine_fn_config_makefile programs/cscript enable_cscript
21226 wine_fn_config_makefile programs/dism enable_dism
21227 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21228 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21229 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21230 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21231 wine_fn_config_makefile programs/eject enable_eject
21232 wine_fn_config_makefile programs/expand enable_expand
21233 wine_fn_config_makefile programs/explorer enable_explorer
21234 wine_fn_config_makefile programs/extrac32 enable_extrac32
21235 wine_fn_config_makefile programs/fc enable_fc
21236 wine_fn_config_makefile programs/find enable_find
21237 wine_fn_config_makefile programs/find/tests enable_tests
21238 wine_fn_config_makefile programs/findstr enable_findstr
21239 wine_fn_config_makefile programs/fsutil enable_fsutil
21240 wine_fn_config_makefile programs/fsutil/tests enable_tests
21241 wine_fn_config_makefile programs/hh enable_hh
21242 wine_fn_config_makefile programs/hostname enable_hostname
21243 wine_fn_config_makefile programs/icacls enable_icacls
21244 wine_fn_config_makefile programs/icinfo enable_icinfo
21245 wine_fn_config_makefile programs/iexplore enable_iexplore
21246 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21247 wine_fn_config_makefile programs/lodctr enable_lodctr
21248 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21249 wine_fn_config_makefile programs/mshta enable_mshta
21250 wine_fn_config_makefile programs/msidb enable_msidb
21251 wine_fn_config_makefile programs/msiexec enable_msiexec
21252 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21253 wine_fn_config_makefile programs/net enable_net
21254 wine_fn_config_makefile programs/netsh enable_netsh
21255 wine_fn_config_makefile programs/netstat enable_netstat
21256 wine_fn_config_makefile programs/ngen enable_ngen
21257 wine_fn_config_makefile programs/notepad enable_notepad
21258 wine_fn_config_makefile programs/oleview enable_oleview
21259 wine_fn_config_makefile programs/ping enable_ping
21260 wine_fn_config_makefile programs/plugplay enable_plugplay
21261 wine_fn_config_makefile programs/powershell enable_powershell
21262 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21263 wine_fn_config_makefile programs/progman enable_progman
21264 wine_fn_config_makefile programs/reg enable_reg
21265 wine_fn_config_makefile programs/reg/tests enable_tests
21266 wine_fn_config_makefile programs/regasm enable_regasm
21267 wine_fn_config_makefile programs/regedit enable_regedit
21268 wine_fn_config_makefile programs/regedit/tests enable_tests
21269 wine_fn_config_makefile programs/regini enable_regini
21270 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21271 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21272 wine_fn_config_makefile programs/rpcss enable_rpcss
21273 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21274 wine_fn_config_makefile programs/rundll32 enable_rundll32
21275 wine_fn_config_makefile programs/sc enable_sc
21276 wine_fn_config_makefile programs/schtasks enable_schtasks
21277 wine_fn_config_makefile programs/schtasks/tests enable_tests
21278 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21279 wine_fn_config_makefile programs/secedit enable_secedit
21280 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21281 wine_fn_config_makefile programs/services enable_services
21282 wine_fn_config_makefile programs/services/tests enable_tests
21283 wine_fn_config_makefile programs/shutdown enable_shutdown
21284 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21285 wine_fn_config_makefile programs/start enable_start
21286 wine_fn_config_makefile programs/subst enable_subst
21287 wine_fn_config_makefile programs/svchost enable_svchost
21288 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21289 wine_fn_config_makefile programs/taskkill enable_taskkill
21290 wine_fn_config_makefile programs/tasklist enable_tasklist
21291 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21292 wine_fn_config_makefile programs/termsv enable_termsv
21293 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21294 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21295 wine_fn_config_makefile programs/view enable_view
21296 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21297 wine_fn_config_makefile programs/where enable_where
21298 wine_fn_config_makefile programs/whoami enable_whoami
21299 wine_fn_config_makefile programs/wineboot enable_wineboot
21300 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21301 wine_fn_config_makefile programs/winecfg enable_winecfg
21302 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21303 wine_fn_config_makefile programs/winedbg enable_winedbg
21304 wine_fn_config_makefile programs/winedevice enable_winedevice
21305 wine_fn_config_makefile programs/winefile enable_winefile
21306 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21307 wine_fn_config_makefile programs/winemine enable_winemine
21308 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21309 wine_fn_config_makefile programs/winepath enable_winepath
21310 wine_fn_config_makefile programs/winetest enable_winetest
21311 wine_fn_config_makefile programs/winevdm enable_win16
21312 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21313 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21314 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21315 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21316 wine_fn_config_makefile programs/winver enable_winver
21317 wine_fn_config_makefile programs/wmic enable_wmic
21318 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21319 wine_fn_config_makefile programs/wordpad enable_wordpad
21320 wine_fn_config_makefile programs/write enable_write
21321 wine_fn_config_makefile programs/wscript enable_wscript
21322 wine_fn_config_makefile programs/wscript/tests enable_tests
21323 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21324 wine_fn_config_makefile programs/wusa enable_wusa
21325 wine_fn_config_makefile programs/xcopy enable_xcopy
21326 wine_fn_config_makefile programs/xcopy/tests enable_tests
21327 wine_fn_config_makefile server enable_server
21328 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21329 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21330 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21331 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21332 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21333 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21334 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21335 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21336 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21339 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21340 wine_fn_append_file CONFIGURE_TARGETS "tags"
21341 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21342 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21343 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21344 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21345 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21346 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21348 if test "x$enable_tools" != xno
21349 then
21350 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21351 ac_config_commands="$ac_config_commands tools/makedep"
21355 ac_config_commands="$ac_config_commands Makefile"
21358 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21362 if test "x$enable_maintainer_mode" = xyes
21363 then
21364 wine_fn_append_rule "configure: configure.ac aclocal.m4
21365 autoconf --warnings=all
21366 include/config.h.in: include/stamp-h.in
21367 include/stamp-h.in: configure.ac aclocal.m4
21368 autoheader --warnings=all
21369 @echo timestamp > \$@"
21372 if test "x$enable_tools" != xno
21373 then
21374 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21375 @./config.status tools/makedep
21376 Makefile: tools/makedep$ac_exeext"
21377 else
21378 wine_fn_append_rule "\$(MAKEDEP):
21379 @echo \"You need to run make in $TOOLSDIR first\" && false"
21382 if test -n "$with_wine64"
21383 then
21384 case "$with_wine64" in
21385 /*) reldir="" ;;
21386 *) reldir="../" ;;
21387 esac
21388 rm -f fonts server 2>/dev/null
21389 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21390 loader/wine64 loader/wine64-preloader:
21391 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21392 $with_wine64/loader/wine:
21393 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21394 $with_wine64/loader/wine-preloader:
21395 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21396 clean::
21397 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21398 else
21399 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21400 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21401 fonts \
21402 loader/wine.inf \
21403 loader/winebus.inf \
21404 loader/winehid.inf \
21405 loader/wineusb.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 5.20, 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 5.20
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" && 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