mfplay: Fix output argument handling in CreateMediaItemFromURL().
[wine.git] / configure
blob389b83e931e0d9a88ae284b11346e1e5e8c5553c
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 6.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='6.20'
584 PACKAGE_STRING='Wine 6.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 TOOLSEXT
632 MSVCRTFLAGS
633 VKD3D_SHADER_LIBS
634 VKD3D_SHADER_CFLAGS
635 VKD3D_LIBS
636 VKD3D_CFLAGS
637 NETAPI_LIBS
638 NETAPI_CFLAGS
639 PROCSTAT_LIBS
640 JPEG_LIBS
641 JPEG_CFLAGS
642 GSSAPI_LIBS
643 GSSAPI_CFLAGS
644 KRB5_LIBS
645 KRB5_CFLAGS
646 FONTCONFIG_LIBS
647 FONTCONFIG_CFLAGS
648 CUPS_LIBS
649 CUPS_CFLAGS
650 CAPI20_LIBS
651 CAPI20_CFLAGS
652 SDL2_LIBS
653 SDL2_CFLAGS
654 UNWIND_LIBS
655 UNWIND_CFLAGS
656 UDEV_LIBS
657 UDEV_CFLAGS
658 OSS4_LIBS
659 OSS4_CFLAGS
660 ALSA_LIBS
661 GSTREAMER_LIBS
662 GSTREAMER_CFLAGS
663 PULSE_LIBS
664 PULSE_CFLAGS
665 GETTEXTPO_LIBS
666 FREETYPE_LIBS
667 FREETYPE_CFLAGS
668 RESOLV_LIBS
669 GPHOTO2_PORT_LIBS
670 GPHOTO2_PORT_CFLAGS
671 GPHOTO2_LIBS
672 GPHOTO2_CFLAGS
673 USB_LIBS
674 USB_CFLAGS
675 SANE_LIBS
676 SANE_CFLAGS
677 GNUTLS_LIBS
678 GNUTLS_CFLAGS
679 HAL_LIBS
680 HAL_CFLAGS
681 DBUS_LIBS
682 DBUS_CFLAGS
683 INOTIFY_LIBS
684 INOTIFY_CFLAGS
685 PCAP_LIBS
686 X_EXTRA_LIBS
687 X_LIBS
688 X_PRE_LIBS
689 X_CFLAGS
690 XMKMF
691 PTHREAD_LIBS
692 ZLIB_PE_LIBS
693 ZLIB_PE_CFLAGS
694 XSLT_PE_LIBS
695 XSLT_PE_CFLAGS
696 XML2_PE_LIBS
697 XML2_PE_CFLAGS
698 TIFF_PE_LIBS
699 TIFF_PE_CFLAGS
700 PNG_PE_LIBS
701 PNG_PE_CFLAGS
702 MPG123_PE_LIBS
703 MPG123_PE_CFLAGS
704 LCMS2_PE_LIBS
705 LCMS2_PE_CFLAGS
706 JXR_PE_LIBS
707 JXR_PE_CFLAGS
708 JPEG_PE_LIBS
709 JPEG_PE_CFLAGS
710 GSM_PE_LIBS
711 GSM_PE_CFLAGS
712 FAUDIO_PE_LIBS
713 FAUDIO_PE_CFLAGS
714 EXCESS_PRECISION_CFLAGS
715 CROSSDEBUG
716 DELAYLOADFLAG
717 CROSSLDFLAGS
718 EXTRACROSSCFLAGS
719 CROSSCFLAGS
720 CROSSCC
721 CROSSTARGET
722 LIBWINE_DEPENDS
723 PRELINK
724 WINELOADER_DEPENDS
725 LIBWINE_LDFLAGS
726 LIBWINE_SHAREDLIB
727 METAL_LIBS
728 CARBON_LIBS
729 QUICKTIME_LIBS
730 OPENCL_LIBS
731 OPENAL_LIBS
732 COREAUDIO_LIBS
733 SECURITY_LIBS
734 DISKARBITRATION_LIBS
735 SYSTEMCONFIGURATION_LIBS
736 APPKIT_LIBS
737 CORESERVICES_LIBS
738 APPLICATIONSERVICES_LIBS
739 IOKIT_LIBS
740 COREFOUNDATION_LIBS
741 OBJCPP
742 ac_ct_OBJC
743 OBJCFLAGS
744 OBJC
745 DLLTOOL
746 WINELOADER_PROGRAMS
747 CONFIGURE_TARGETS
748 DISABLED_SUBDIRS
749 SUBDIRS
750 READELF
751 OTOOL
753 WINEPRELOADER_LDFLAGS
754 WINELOADER_LDFLAGS
755 TOP_INSTALL_DEV
756 TOP_INSTALL_LIB
757 UNIXLDFLAGS
758 UNIXDLLFLAGS
759 EXTRACFLAGS
760 LDEXECFLAGS
761 LDDLLFLAGS
762 DLLFLAGS
764 OPENGL_LIBS
765 I386_LIBS
766 ICOTOOL
767 CONVERT
768 RSVG
769 FONTFORGE
770 PKG_CONFIG
771 MSGFMT
772 LDCONFIG
773 EGREP
774 GREP
775 LN_S
776 RANLIB
777 STRIP
778 ac_ct_AR
780 BISON
781 FLEX
782 TOOLSDIR
783 TARGETFLAGS
785 CPPBIN
786 ac_ct_CXX
787 CXXFLAGS
789 OBJEXT
790 EXEEXT
791 ac_ct_CC
792 CPPFLAGS
793 LDFLAGS
794 CFLAGS
796 SET_MAKE
797 host_os
798 host_vendor
799 host_cpu
800 host
801 build_os
802 build_vendor
803 build_cpu
804 build
805 target_alias
806 host_alias
807 build_alias
808 LIBS
809 ECHO_T
810 ECHO_N
811 ECHO_C
812 DEFS
813 mandir
814 localedir
815 libdir
816 psdir
817 pdfdir
818 dvidir
819 htmldir
820 infodir
821 docdir
822 oldincludedir
823 includedir
824 runstatedir
825 localstatedir
826 sharedstatedir
827 sysconfdir
828 datadir
829 datarootdir
830 libexecdir
831 sbindir
832 bindir
833 program_transform_name
834 prefix
835 exec_prefix
836 PACKAGE_URL
837 PACKAGE_BUGREPORT
838 PACKAGE_STRING
839 PACKAGE_VERSION
840 PACKAGE_TARNAME
841 PACKAGE_NAME
842 PATH_SEPARATOR
843 SHELL'
844 ac_subst_files=''
845 ac_user_opts='
846 enable_option_checking
847 enable_win16
848 enable_win64
849 enable_tests
850 enable_build_id
851 enable_maintainer_mode
852 enable_silent_rules
853 enable_werror
854 with_alsa
855 with_capi
856 with_coreaudio
857 with_cups
858 with_dbus
859 with_float_abi
860 with_fontconfig
861 with_freetype
862 with_gettext
863 with_gettextpo
864 with_gphoto
865 with_gnutls
866 with_gssapi
867 with_gstreamer
868 with_hal
869 with_inotify
870 with_jpeg
871 with_krb5
872 with_ldap
873 with_mingw
874 with_netapi
875 with_openal
876 with_opencl
877 with_opengl
878 with_osmesa
879 with_oss
880 with_pcap
881 with_pthread
882 with_pulse
883 with_quicktime
884 with_sane
885 with_sdl
886 with_udev
887 with_unwind
888 with_usb
889 with_v4l2
890 with_vkd3d
891 with_vulkan
892 with_xcomposite
893 with_xcursor
894 with_xfixes
895 with_xinerama
896 with_xinput
897 with_xinput2
898 with_xrandr
899 with_xrender
900 with_xshape
901 with_xshm
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_adsldp
913 enable_adsldpc
914 enable_advapi32
915 enable_advpack
916 enable_amsi
917 enable_amstream
918 enable_api_ms_win_appmodel_identity_l1_1_0
919 enable_api_ms_win_appmodel_runtime_l1_1_1
920 enable_api_ms_win_appmodel_runtime_l1_1_2
921 enable_api_ms_win_core_apiquery_l1_1_0
922 enable_api_ms_win_core_appcompat_l1_1_1
923 enable_api_ms_win_core_appinit_l1_1_0
924 enable_api_ms_win_core_atoms_l1_1_0
925 enable_api_ms_win_core_bem_l1_1_0
926 enable_api_ms_win_core_com_l1_1_0
927 enable_api_ms_win_core_com_l1_1_1
928 enable_api_ms_win_core_com_private_l1_1_0
929 enable_api_ms_win_core_comm_l1_1_0
930 enable_api_ms_win_core_console_l1_1_0
931 enable_api_ms_win_core_console_l1_2_0
932 enable_api_ms_win_core_console_l2_1_0
933 enable_api_ms_win_core_console_l3_2_0
934 enable_api_ms_win_core_crt_l1_1_0
935 enable_api_ms_win_core_crt_l2_1_0
936 enable_api_ms_win_core_datetime_l1_1_0
937 enable_api_ms_win_core_datetime_l1_1_1
938 enable_api_ms_win_core_debug_l1_1_0
939 enable_api_ms_win_core_debug_l1_1_1
940 enable_api_ms_win_core_delayload_l1_1_0
941 enable_api_ms_win_core_delayload_l1_1_1
942 enable_api_ms_win_core_errorhandling_l1_1_0
943 enable_api_ms_win_core_errorhandling_l1_1_1
944 enable_api_ms_win_core_errorhandling_l1_1_2
945 enable_api_ms_win_core_errorhandling_l1_1_3
946 enable_api_ms_win_core_featurestaging_l1_1_0
947 enable_api_ms_win_core_fibers_l1_1_0
948 enable_api_ms_win_core_fibers_l1_1_1
949 enable_api_ms_win_core_file_ansi_l2_1_0
950 enable_api_ms_win_core_file_fromapp_l1_1_0
951 enable_api_ms_win_core_file_l1_1_0
952 enable_api_ms_win_core_file_l1_2_0
953 enable_api_ms_win_core_file_l1_2_1
954 enable_api_ms_win_core_file_l1_2_2
955 enable_api_ms_win_core_file_l2_1_0
956 enable_api_ms_win_core_file_l2_1_1
957 enable_api_ms_win_core_file_l2_1_2
958 enable_api_ms_win_core_handle_l1_1_0
959 enable_api_ms_win_core_heap_l1_1_0
960 enable_api_ms_win_core_heap_l1_2_0
961 enable_api_ms_win_core_heap_l2_1_0
962 enable_api_ms_win_core_heap_obsolete_l1_1_0
963 enable_api_ms_win_core_interlocked_l1_1_0
964 enable_api_ms_win_core_interlocked_l1_2_0
965 enable_api_ms_win_core_io_l1_1_0
966 enable_api_ms_win_core_io_l1_1_1
967 enable_api_ms_win_core_job_l1_1_0
968 enable_api_ms_win_core_job_l2_1_0
969 enable_api_ms_win_core_kernel32_legacy_l1_1_0
970 enable_api_ms_win_core_kernel32_legacy_l1_1_1
971 enable_api_ms_win_core_kernel32_legacy_l1_1_2
972 enable_api_ms_win_core_kernel32_legacy_l1_1_5
973 enable_api_ms_win_core_kernel32_private_l1_1_1
974 enable_api_ms_win_core_largeinteger_l1_1_0
975 enable_api_ms_win_core_libraryloader_l1_1_0
976 enable_api_ms_win_core_libraryloader_l1_1_1
977 enable_api_ms_win_core_libraryloader_l1_2_0
978 enable_api_ms_win_core_libraryloader_l1_2_1
979 enable_api_ms_win_core_libraryloader_l1_2_2
980 enable_api_ms_win_core_libraryloader_l2_1_0
981 enable_api_ms_win_core_localization_l1_1_0
982 enable_api_ms_win_core_localization_l1_2_0
983 enable_api_ms_win_core_localization_l1_2_1
984 enable_api_ms_win_core_localization_l1_2_2
985 enable_api_ms_win_core_localization_l2_1_0
986 enable_api_ms_win_core_localization_obsolete_l1_1_0
987 enable_api_ms_win_core_localization_obsolete_l1_2_0
988 enable_api_ms_win_core_localization_obsolete_l1_3_0
989 enable_api_ms_win_core_localization_private_l1_1_0
990 enable_api_ms_win_core_localregistry_l1_1_0
991 enable_api_ms_win_core_memory_l1_1_0
992 enable_api_ms_win_core_memory_l1_1_1
993 enable_api_ms_win_core_memory_l1_1_2
994 enable_api_ms_win_core_memory_l1_1_3
995 enable_api_ms_win_core_memory_l1_1_4
996 enable_api_ms_win_core_misc_l1_1_0
997 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
998 enable_api_ms_win_core_namedpipe_l1_1_0
999 enable_api_ms_win_core_namedpipe_l1_2_0
1000 enable_api_ms_win_core_namespace_l1_1_0
1001 enable_api_ms_win_core_normalization_l1_1_0
1002 enable_api_ms_win_core_path_l1_1_0
1003 enable_api_ms_win_core_privateprofile_l1_1_1
1004 enable_api_ms_win_core_processenvironment_l1_1_0
1005 enable_api_ms_win_core_processenvironment_l1_2_0
1006 enable_api_ms_win_core_processthreads_l1_1_0
1007 enable_api_ms_win_core_processthreads_l1_1_1
1008 enable_api_ms_win_core_processthreads_l1_1_2
1009 enable_api_ms_win_core_processthreads_l1_1_3
1010 enable_api_ms_win_core_processtopology_l1_1_0
1011 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1012 enable_api_ms_win_core_profile_l1_1_0
1013 enable_api_ms_win_core_psapi_ansi_l1_1_0
1014 enable_api_ms_win_core_psapi_l1_1_0
1015 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1016 enable_api_ms_win_core_psm_appnotify_l1_1_0
1017 enable_api_ms_win_core_quirks_l1_1_0
1018 enable_api_ms_win_core_realtime_l1_1_0
1019 enable_api_ms_win_core_realtime_l1_1_1
1020 enable_api_ms_win_core_registry_l1_1_0
1021 enable_api_ms_win_core_registry_l2_1_0
1022 enable_api_ms_win_core_registry_l2_2_0
1023 enable_api_ms_win_core_registryuserspecific_l1_1_0
1024 enable_api_ms_win_core_rtlsupport_l1_1_0
1025 enable_api_ms_win_core_rtlsupport_l1_2_0
1026 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1027 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1028 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1029 enable_api_ms_win_core_shutdown_l1_1_0
1030 enable_api_ms_win_core_sidebyside_l1_1_0
1031 enable_api_ms_win_core_string_l1_1_0
1032 enable_api_ms_win_core_string_l2_1_0
1033 enable_api_ms_win_core_string_obsolete_l1_1_0
1034 enable_api_ms_win_core_stringansi_l1_1_0
1035 enable_api_ms_win_core_stringloader_l1_1_1
1036 enable_api_ms_win_core_synch_ansi_l1_1_0
1037 enable_api_ms_win_core_synch_l1_1_0
1038 enable_api_ms_win_core_synch_l1_2_0
1039 enable_api_ms_win_core_synch_l1_2_1
1040 enable_api_ms_win_core_sysinfo_l1_1_0
1041 enable_api_ms_win_core_sysinfo_l1_2_0
1042 enable_api_ms_win_core_sysinfo_l1_2_1
1043 enable_api_ms_win_core_systemtopology_l1_1_0
1044 enable_api_ms_win_core_threadpool_l1_1_0
1045 enable_api_ms_win_core_threadpool_l1_2_0
1046 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1047 enable_api_ms_win_core_threadpool_private_l1_1_0
1048 enable_api_ms_win_core_timezone_l1_1_0
1049 enable_api_ms_win_core_toolhelp_l1_1_0
1050 enable_api_ms_win_core_url_l1_1_0
1051 enable_api_ms_win_core_util_l1_1_0
1052 enable_api_ms_win_core_version_l1_1_0
1053 enable_api_ms_win_core_version_l1_1_1
1054 enable_api_ms_win_core_version_private_l1_1_0
1055 enable_api_ms_win_core_versionansi_l1_1_0
1056 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1057 enable_api_ms_win_core_winrt_error_l1_1_0
1058 enable_api_ms_win_core_winrt_error_l1_1_1
1059 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1060 enable_api_ms_win_core_winrt_l1_1_0
1061 enable_api_ms_win_core_winrt_registration_l1_1_0
1062 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1063 enable_api_ms_win_core_winrt_string_l1_1_0
1064 enable_api_ms_win_core_winrt_string_l1_1_1
1065 enable_api_ms_win_core_wow64_l1_1_0
1066 enable_api_ms_win_core_wow64_l1_1_1
1067 enable_api_ms_win_core_xstate_l1_1_0
1068 enable_api_ms_win_core_xstate_l2_1_0
1069 enable_api_ms_win_crt_conio_l1_1_0
1070 enable_api_ms_win_crt_convert_l1_1_0
1071 enable_api_ms_win_crt_environment_l1_1_0
1072 enable_api_ms_win_crt_filesystem_l1_1_0
1073 enable_api_ms_win_crt_heap_l1_1_0
1074 enable_api_ms_win_crt_locale_l1_1_0
1075 enable_api_ms_win_crt_math_l1_1_0
1076 enable_api_ms_win_crt_multibyte_l1_1_0
1077 enable_api_ms_win_crt_private_l1_1_0
1078 enable_api_ms_win_crt_process_l1_1_0
1079 enable_api_ms_win_crt_runtime_l1_1_0
1080 enable_api_ms_win_crt_stdio_l1_1_0
1081 enable_api_ms_win_crt_string_l1_1_0
1082 enable_api_ms_win_crt_time_l1_1_0
1083 enable_api_ms_win_crt_utility_l1_1_0
1084 enable_api_ms_win_devices_config_l1_1_0
1085 enable_api_ms_win_devices_config_l1_1_1
1086 enable_api_ms_win_devices_query_l1_1_1
1087 enable_api_ms_win_downlevel_advapi32_l1_1_0
1088 enable_api_ms_win_downlevel_advapi32_l2_1_0
1089 enable_api_ms_win_downlevel_kernel32_l2_1_0
1090 enable_api_ms_win_downlevel_normaliz_l1_1_0
1091 enable_api_ms_win_downlevel_ole32_l1_1_0
1092 enable_api_ms_win_downlevel_shell32_l1_1_0
1093 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1094 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1095 enable_api_ms_win_downlevel_user32_l1_1_0
1096 enable_api_ms_win_downlevel_version_l1_1_0
1097 enable_api_ms_win_dx_d3dkmt_l1_1_0
1098 enable_api_ms_win_eventing_classicprovider_l1_1_0
1099 enable_api_ms_win_eventing_consumer_l1_1_0
1100 enable_api_ms_win_eventing_controller_l1_1_0
1101 enable_api_ms_win_eventing_legacy_l1_1_0
1102 enable_api_ms_win_eventing_provider_l1_1_0
1103 enable_api_ms_win_eventlog_legacy_l1_1_0
1104 enable_api_ms_win_gaming_tcui_l1_1_0
1105 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1106 enable_api_ms_win_mm_joystick_l1_1_0
1107 enable_api_ms_win_mm_misc_l1_1_1
1108 enable_api_ms_win_mm_mme_l1_1_0
1109 enable_api_ms_win_mm_time_l1_1_0
1110 enable_api_ms_win_ntuser_dc_access_l1_1_0
1111 enable_api_ms_win_ntuser_rectangle_l1_1_0
1112 enable_api_ms_win_ntuser_sysparams_l1_1_0
1113 enable_api_ms_win_perf_legacy_l1_1_0
1114 enable_api_ms_win_power_base_l1_1_0
1115 enable_api_ms_win_power_setting_l1_1_0
1116 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1117 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1118 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1119 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1120 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1121 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1122 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1123 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1124 enable_api_ms_win_security_audit_l1_1_1
1125 enable_api_ms_win_security_base_l1_1_0
1126 enable_api_ms_win_security_base_l1_2_0
1127 enable_api_ms_win_security_base_private_l1_1_1
1128 enable_api_ms_win_security_credentials_l1_1_0
1129 enable_api_ms_win_security_cryptoapi_l1_1_0
1130 enable_api_ms_win_security_grouppolicy_l1_1_0
1131 enable_api_ms_win_security_lsalookup_l1_1_0
1132 enable_api_ms_win_security_lsalookup_l1_1_1
1133 enable_api_ms_win_security_lsalookup_l2_1_0
1134 enable_api_ms_win_security_lsalookup_l2_1_1
1135 enable_api_ms_win_security_lsapolicy_l1_1_0
1136 enable_api_ms_win_security_provider_l1_1_0
1137 enable_api_ms_win_security_sddl_l1_1_0
1138 enable_api_ms_win_security_systemfunctions_l1_1_0
1139 enable_api_ms_win_service_core_l1_1_0
1140 enable_api_ms_win_service_core_l1_1_1
1141 enable_api_ms_win_service_management_l1_1_0
1142 enable_api_ms_win_service_management_l2_1_0
1143 enable_api_ms_win_service_private_l1_1_1
1144 enable_api_ms_win_service_winsvc_l1_1_0
1145 enable_api_ms_win_service_winsvc_l1_2_0
1146 enable_api_ms_win_shcore_obsolete_l1_1_0
1147 enable_api_ms_win_shcore_scaling_l1_1_0
1148 enable_api_ms_win_shcore_scaling_l1_1_1
1149 enable_api_ms_win_shcore_stream_l1_1_0
1150 enable_api_ms_win_shcore_stream_winrt_l1_1_0
1151 enable_api_ms_win_shcore_thread_l1_1_0
1152 enable_api_ms_win_shell_shellcom_l1_1_0
1153 enable_api_ms_win_shell_shellfolders_l1_1_0
1154 enable_apphelp
1155 enable_appwiz_cpl
1156 enable_atl
1157 enable_atl100
1158 enable_atl110
1159 enable_atl80
1160 enable_atl90
1161 enable_atlthunk
1162 enable_atmlib
1163 enable_authz
1164 enable_avicap32
1165 enable_avifil32
1166 enable_avrt
1167 enable_bcrypt
1168 enable_bluetoothapis
1169 enable_browseui
1170 enable_bthprops_cpl
1171 enable_cabinet
1172 enable_capi2032
1173 enable_cards
1174 enable_cdosys
1175 enable_cfgmgr32
1176 enable_clusapi
1177 enable_combase
1178 enable_comcat
1179 enable_comctl32
1180 enable_comdlg32
1181 enable_compstui
1182 enable_comsvcs
1183 enable_concrt140
1184 enable_connect
1185 enable_credui
1186 enable_crtdll
1187 enable_crypt32
1188 enable_cryptdlg
1189 enable_cryptdll
1190 enable_cryptext
1191 enable_cryptnet
1192 enable_cryptsp
1193 enable_cryptui
1194 enable_ctapi32
1195 enable_ctl3d32
1196 enable_d2d1
1197 enable_d3d10
1198 enable_d3d10_1
1199 enable_d3d10core
1200 enable_d3d11
1201 enable_d3d12
1202 enable_d3d8
1203 enable_d3d8thk
1204 enable_d3d9
1205 enable_d3dcompiler_33
1206 enable_d3dcompiler_34
1207 enable_d3dcompiler_35
1208 enable_d3dcompiler_36
1209 enable_d3dcompiler_37
1210 enable_d3dcompiler_38
1211 enable_d3dcompiler_39
1212 enable_d3dcompiler_40
1213 enable_d3dcompiler_41
1214 enable_d3dcompiler_42
1215 enable_d3dcompiler_43
1216 enable_d3dcompiler_46
1217 enable_d3dcompiler_47
1218 enable_d3dim
1219 enable_d3dim700
1220 enable_d3drm
1221 enable_d3dx10_33
1222 enable_d3dx10_34
1223 enable_d3dx10_35
1224 enable_d3dx10_36
1225 enable_d3dx10_37
1226 enable_d3dx10_38
1227 enable_d3dx10_39
1228 enable_d3dx10_40
1229 enable_d3dx10_41
1230 enable_d3dx10_42
1231 enable_d3dx10_43
1232 enable_d3dx11_42
1233 enable_d3dx11_43
1234 enable_d3dx9_24
1235 enable_d3dx9_25
1236 enable_d3dx9_26
1237 enable_d3dx9_27
1238 enable_d3dx9_28
1239 enable_d3dx9_29
1240 enable_d3dx9_30
1241 enable_d3dx9_31
1242 enable_d3dx9_32
1243 enable_d3dx9_33
1244 enable_d3dx9_34
1245 enable_d3dx9_35
1246 enable_d3dx9_36
1247 enable_d3dx9_37
1248 enable_d3dx9_38
1249 enable_d3dx9_39
1250 enable_d3dx9_40
1251 enable_d3dx9_41
1252 enable_d3dx9_42
1253 enable_d3dx9_43
1254 enable_d3dxof
1255 enable_davclnt
1256 enable_dbgeng
1257 enable_dbghelp
1258 enable_dciman32
1259 enable_dcomp
1260 enable_ddraw
1261 enable_ddrawex
1262 enable_devenum
1263 enable_dhcpcsvc
1264 enable_dhcpcsvc6
1265 enable_dhtmled_ocx
1266 enable_difxapi
1267 enable_dinput
1268 enable_dinput8
1269 enable_directmanipulation
1270 enable_dispex
1271 enable_dmband
1272 enable_dmcompos
1273 enable_dmime
1274 enable_dmloader
1275 enable_dmscript
1276 enable_dmstyle
1277 enable_dmsynth
1278 enable_dmusic
1279 enable_dmusic32
1280 enable_dnsapi
1281 enable_dplay
1282 enable_dplayx
1283 enable_dpnaddr
1284 enable_dpnet
1285 enable_dpnhpast
1286 enable_dpnhupnp
1287 enable_dpnlobby
1288 enable_dpvoice
1289 enable_dpwsockx
1290 enable_drmclien
1291 enable_dsdmo
1292 enable_dsound
1293 enable_dsquery
1294 enable_dssenh
1295 enable_dsuiext
1296 enable_dswave
1297 enable_dwmapi
1298 enable_dwrite
1299 enable_dx8vb
1300 enable_dxdiagn
1301 enable_dxgi
1302 enable_dxtrans
1303 enable_dxva2
1304 enable_esent
1305 enable_evr
1306 enable_explorerframe
1307 enable_ext_ms_win_authz_context_l1_1_0
1308 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1309 enable_ext_ms_win_dwmapi_ext_l1_1_0
1310 enable_ext_ms_win_gdi_dc_create_l1_1_0
1311 enable_ext_ms_win_gdi_dc_create_l1_1_1
1312 enable_ext_ms_win_gdi_dc_l1_2_0
1313 enable_ext_ms_win_gdi_devcaps_l1_1_0
1314 enable_ext_ms_win_gdi_draw_l1_1_0
1315 enable_ext_ms_win_gdi_draw_l1_1_1
1316 enable_ext_ms_win_gdi_font_l1_1_0
1317 enable_ext_ms_win_gdi_font_l1_1_1
1318 enable_ext_ms_win_gdi_render_l1_1_0
1319 enable_ext_ms_win_kernel32_package_current_l1_1_0
1320 enable_ext_ms_win_kernel32_package_l1_1_1
1321 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1322 enable_ext_ms_win_ntuser_draw_l1_1_0
1323 enable_ext_ms_win_ntuser_gui_l1_1_0
1324 enable_ext_ms_win_ntuser_gui_l1_3_0
1325 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1326 enable_ext_ms_win_ntuser_message_l1_1_0
1327 enable_ext_ms_win_ntuser_message_l1_1_1
1328 enable_ext_ms_win_ntuser_misc_l1_1_0
1329 enable_ext_ms_win_ntuser_misc_l1_2_0
1330 enable_ext_ms_win_ntuser_misc_l1_5_1
1331 enable_ext_ms_win_ntuser_mouse_l1_1_0
1332 enable_ext_ms_win_ntuser_private_l1_1_1
1333 enable_ext_ms_win_ntuser_private_l1_3_1
1334 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1335 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1336 enable_ext_ms_win_ntuser_window_l1_1_0
1337 enable_ext_ms_win_ntuser_window_l1_1_1
1338 enable_ext_ms_win_ntuser_window_l1_1_4
1339 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1340 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1341 enable_ext_ms_win_oleacc_l1_1_0
1342 enable_ext_ms_win_ras_rasapi32_l1_1_0
1343 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1344 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1345 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1346 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1347 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1348 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1349 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1350 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1351 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1352 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1353 enable_ext_ms_win_security_credui_l1_1_0
1354 enable_ext_ms_win_security_cryptui_l1_1_0
1355 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1356 enable_ext_ms_win_shell_comdlg32_l1_1_0
1357 enable_ext_ms_win_shell_shell32_l1_2_0
1358 enable_ext_ms_win_uxtheme_themes_l1_1_0
1359 enable_faultrep
1360 enable_feclient
1361 enable_fltlib
1362 enable_fltmgr_sys
1363 enable_fntcache
1364 enable_fontsub
1365 enable_fusion
1366 enable_fwpuclnt
1367 enable_gameux
1368 enable_gamingtcui
1369 enable_gdi32
1370 enable_gdiplus
1371 enable_glu32
1372 enable_gphoto2_ds
1373 enable_gpkcsp
1374 enable_hal
1375 enable_hhctrl_ocx
1376 enable_hid
1377 enable_hidclass_sys
1378 enable_hidparse_sys
1379 enable_hlink
1380 enable_hnetcfg
1381 enable_http_sys
1382 enable_httpapi
1383 enable_iccvid
1384 enable_icmp
1385 enable_ieframe
1386 enable_ieproxy
1387 enable_imaadp32_acm
1388 enable_imagehlp
1389 enable_imm32
1390 enable_inetcomm
1391 enable_inetcpl_cpl
1392 enable_inetmib1
1393 enable_infosoft
1394 enable_initpki
1395 enable_inkobj
1396 enable_inseng
1397 enable_iphlpapi
1398 enable_iprop
1399 enable_irprops_cpl
1400 enable_itircl
1401 enable_itss
1402 enable_joy_cpl
1403 enable_jscript
1404 enable_jsproxy
1405 enable_kerberos
1406 enable_kernel32
1407 enable_kernelbase
1408 enable_ksecdd_sys
1409 enable_ksproxy_ax
1410 enable_ksuser
1411 enable_ktmw32
1412 enable_l3codeca_acm
1413 enable_light_msstyles
1414 enable_loadperf
1415 enable_localspl
1416 enable_localui
1417 enable_lz32
1418 enable_mapi32
1419 enable_mapistub
1420 enable_mciavi32
1421 enable_mcicda
1422 enable_mciqtz32
1423 enable_mciseq
1424 enable_mciwave
1425 enable_mf
1426 enable_mf3216
1427 enable_mferror
1428 enable_mfmediaengine
1429 enable_mfplat
1430 enable_mfplay
1431 enable_mfreadwrite
1432 enable_mgmtapi
1433 enable_midimap
1434 enable_mlang
1435 enable_mmcndmgr
1436 enable_mmdevapi
1437 enable_mountmgr_sys
1438 enable_mp3dmod
1439 enable_mpr
1440 enable_mprapi
1441 enable_msacm32_drv
1442 enable_msacm32
1443 enable_msado15
1444 enable_msadp32_acm
1445 enable_msasn1
1446 enable_mscat32
1447 enable_mscms
1448 enable_mscoree
1449 enable_mscorwks
1450 enable_msctf
1451 enable_msctfp
1452 enable_msdaps
1453 enable_msdelta
1454 enable_msdmo
1455 enable_msdrm
1456 enable_msftedit
1457 enable_msg711_acm
1458 enable_msgsm32_acm
1459 enable_mshtml_tlb
1460 enable_mshtml
1461 enable_msi
1462 enable_msident
1463 enable_msimg32
1464 enable_msimsg
1465 enable_msimtf
1466 enable_msisip
1467 enable_msisys_ocx
1468 enable_msls31
1469 enable_msnet32
1470 enable_mspatcha
1471 enable_msports
1472 enable_msrle32
1473 enable_msscript_ocx
1474 enable_mssign32
1475 enable_mssip32
1476 enable_mstask
1477 enable_msv1_0
1478 enable_msvcirt
1479 enable_msvcm80
1480 enable_msvcm90
1481 enable_msvcp100
1482 enable_msvcp110
1483 enable_msvcp120
1484 enable_msvcp120_app
1485 enable_msvcp140
1486 enable_msvcp140_1
1487 enable_msvcp60
1488 enable_msvcp70
1489 enable_msvcp71
1490 enable_msvcp80
1491 enable_msvcp90
1492 enable_msvcr100
1493 enable_msvcr110
1494 enable_msvcr120
1495 enable_msvcr120_app
1496 enable_msvcr70
1497 enable_msvcr71
1498 enable_msvcr80
1499 enable_msvcr90
1500 enable_msvcrt
1501 enable_msvcrt20
1502 enable_msvcrt40
1503 enable_msvcrtd
1504 enable_msvfw32
1505 enable_msvidc32
1506 enable_mswsock
1507 enable_msxml
1508 enable_msxml2
1509 enable_msxml3
1510 enable_msxml4
1511 enable_msxml6
1512 enable_mtxdm
1513 enable_ncrypt
1514 enable_nddeapi
1515 enable_ndis_sys
1516 enable_netapi32
1517 enable_netcfgx
1518 enable_netio_sys
1519 enable_netprofm
1520 enable_netutils
1521 enable_newdev
1522 enable_ninput
1523 enable_normaliz
1524 enable_npmshtml
1525 enable_npptools
1526 enable_nsi
1527 enable_nsiproxy_sys
1528 enable_ntdll
1529 enable_ntdsapi
1530 enable_ntoskrnl_exe
1531 enable_ntprint
1532 enable_objsel
1533 enable_odbc32
1534 enable_odbcbcp
1535 enable_odbccp32
1536 enable_odbccu32
1537 enable_ole32
1538 enable_oleacc
1539 enable_oleaut32
1540 enable_olecli32
1541 enable_oledb32
1542 enable_oledlg
1543 enable_olepro32
1544 enable_olesvr32
1545 enable_olethk32
1546 enable_opcservices
1547 enable_openal32
1548 enable_opencl
1549 enable_opengl32
1550 enable_packager
1551 enable_pdh
1552 enable_photometadatahandler
1553 enable_pidgen
1554 enable_powrprof
1555 enable_printui
1556 enable_prntvpt
1557 enable_propsys
1558 enable_psapi
1559 enable_pstorec
1560 enable_pwrshplugin
1561 enable_qasf
1562 enable_qcap
1563 enable_qdvd
1564 enable_qedit
1565 enable_qmgr
1566 enable_qmgrprxy
1567 enable_quartz
1568 enable_query
1569 enable_qwave
1570 enable_rasapi32
1571 enable_rasdlg
1572 enable_regapi
1573 enable_resutils
1574 enable_riched20
1575 enable_riched32
1576 enable_rpcrt4
1577 enable_rsabase
1578 enable_rsaenh
1579 enable_rstrtmgr
1580 enable_rtutils
1581 enable_rtworkq
1582 enable_samlib
1583 enable_sane_ds
1584 enable_sapi
1585 enable_sas
1586 enable_scarddlg
1587 enable_sccbase
1588 enable_schannel
1589 enable_schedsvc
1590 enable_scrobj
1591 enable_scrrun
1592 enable_scsiport_sys
1593 enable_sechost
1594 enable_secur32
1595 enable_security
1596 enable_sensapi
1597 enable_serialui
1598 enable_setupapi
1599 enable_sfc
1600 enable_sfc_os
1601 enable_shcore
1602 enable_shdoclc
1603 enable_shdocvw
1604 enable_shell32
1605 enable_shfolder
1606 enable_shlwapi
1607 enable_slbcsp
1608 enable_slc
1609 enable_snmpapi
1610 enable_softpub
1611 enable_spoolss
1612 enable_sppc
1613 enable_srclient
1614 enable_srvcli
1615 enable_sspicli
1616 enable_stdole2_tlb
1617 enable_stdole32_tlb
1618 enable_sti
1619 enable_strmbase
1620 enable_strmdll
1621 enable_svrapi
1622 enable_sxs
1623 enable_t2embed
1624 enable_tapi32
1625 enable_taskschd
1626 enable_tbs
1627 enable_tdh
1628 enable_tdi_sys
1629 enable_traffic
1630 enable_twain_32
1631 enable_tzres
1632 enable_ucrtbase
1633 enable_uianimation
1634 enable_uiautomationcore
1635 enable_uiribbon
1636 enable_unicows
1637 enable_updspapi
1638 enable_url
1639 enable_urlmon
1640 enable_usbd_sys
1641 enable_user32
1642 enable_userenv
1643 enable_usp10
1644 enable_utildll
1645 enable_uxtheme
1646 enable_vbscript
1647 enable_vcomp
1648 enable_vcomp100
1649 enable_vcomp110
1650 enable_vcomp120
1651 enable_vcomp140
1652 enable_vcomp90
1653 enable_vcruntime140
1654 enable_vcruntime140_1
1655 enable_vdmdbg
1656 enable_version
1657 enable_vga
1658 enable_virtdisk
1659 enable_vssapi
1660 enable_vulkan_1
1661 enable_wbemdisp
1662 enable_wbemprox
1663 enable_wdscore
1664 enable_webservices
1665 enable_websocket
1666 enable_wer
1667 enable_wevtapi
1668 enable_wevtsvc
1669 enable_wiaservc
1670 enable_wimgapi
1671 enable_win32u
1672 enable_windows_devices_enumeration
1673 enable_windows_gaming_input
1674 enable_windows_globalization
1675 enable_windows_media_devices
1676 enable_windows_media_speech
1677 enable_windowscodecs
1678 enable_windowscodecsext
1679 enable_winealsa_drv
1680 enable_wineandroid_drv
1681 enable_winebus_sys
1682 enable_winecoreaudio_drv
1683 enable_winecrt0
1684 enable_wined3d
1685 enable_winegstreamer
1686 enable_winehid_sys
1687 enable_winejoystick_drv
1688 enable_winemac_drv
1689 enable_winemapi
1690 enable_wineoss_drv
1691 enable_wineps_drv
1692 enable_winepulse_drv
1693 enable_wineqtdecoder
1694 enable_wineusb_sys
1695 enable_winevulkan
1696 enable_winex11_drv
1697 enable_winexinput_sys
1698 enable_wing32
1699 enable_winhttp
1700 enable_wininet
1701 enable_winmm
1702 enable_winnls32
1703 enable_winscard
1704 enable_winspool_drv
1705 enable_winsta
1706 enable_wintab32
1707 enable_wintrust
1708 enable_winusb
1709 enable_wlanapi
1710 enable_wlanui
1711 enable_wldap32
1712 enable_wmasf
1713 enable_wmi
1714 enable_wmiutils
1715 enable_wmp
1716 enable_wmphoto
1717 enable_wmvcore
1718 enable_wnaspi32
1719 enable_wow64
1720 enable_wow64cpu
1721 enable_wow64win
1722 enable_wpc
1723 enable_wpcap
1724 enable_ws2_32
1725 enable_wsdapi
1726 enable_wshom_ocx
1727 enable_wsnmp32
1728 enable_wsock32
1729 enable_wtsapi32
1730 enable_wuapi
1731 enable_wuaueng
1732 enable_x3daudio1_0
1733 enable_x3daudio1_1
1734 enable_x3daudio1_2
1735 enable_x3daudio1_3
1736 enable_x3daudio1_4
1737 enable_x3daudio1_5
1738 enable_x3daudio1_6
1739 enable_x3daudio1_7
1740 enable_xactengine2_0
1741 enable_xactengine2_4
1742 enable_xactengine2_7
1743 enable_xactengine2_9
1744 enable_xactengine3_0
1745 enable_xactengine3_1
1746 enable_xactengine3_2
1747 enable_xactengine3_3
1748 enable_xactengine3_4
1749 enable_xactengine3_5
1750 enable_xactengine3_6
1751 enable_xactengine3_7
1752 enable_xapofx1_1
1753 enable_xapofx1_2
1754 enable_xapofx1_3
1755 enable_xapofx1_4
1756 enable_xapofx1_5
1757 enable_xaudio2_0
1758 enable_xaudio2_1
1759 enable_xaudio2_2
1760 enable_xaudio2_3
1761 enable_xaudio2_4
1762 enable_xaudio2_5
1763 enable_xaudio2_6
1764 enable_xaudio2_7
1765 enable_xaudio2_8
1766 enable_xaudio2_9
1767 enable_xinput1_1
1768 enable_xinput1_2
1769 enable_xinput1_3
1770 enable_xinput1_4
1771 enable_xinput9_1_0
1772 enable_xmllite
1773 enable_xolehlp
1774 enable_xpsprint
1775 enable_xpssvcs
1776 enable_fonts
1777 enable_include
1778 enable_adsiid
1779 enable_dmoguids
1780 enable_dxerr8
1781 enable_dxerr9
1782 enable_dxguid
1783 enable_faudio
1784 enable_gsm
1785 enable_jpeg
1786 enable_jxr
1787 enable_lcms2
1788 enable_mfuuid
1789 enable_mpg123
1790 enable_png
1791 enable_strmiids
1792 enable_tiff
1793 enable_uuid
1794 enable_wbemuuid
1795 enable_wine
1796 enable_wmcodecdspuuid
1797 enable_xml2
1798 enable_xslt
1799 enable_zlib
1800 enable_loader
1801 enable_nls
1802 enable_po
1803 enable_arp
1804 enable_aspnet_regiis
1805 enable_attrib
1806 enable_cabarc
1807 enable_cacls
1808 enable_chcp_com
1809 enable_clock
1810 enable_cmd
1811 enable_conhost
1812 enable_control
1813 enable_cscript
1814 enable_dism
1815 enable_dplaysvr
1816 enable_dpnsvr
1817 enable_dpvsetup
1818 enable_dxdiag
1819 enable_eject
1820 enable_expand
1821 enable_explorer
1822 enable_extrac32
1823 enable_fc
1824 enable_find
1825 enable_findstr
1826 enable_fsutil
1827 enable_hh
1828 enable_hostname
1829 enable_icacls
1830 enable_icinfo
1831 enable_iexplore
1832 enable_ipconfig
1833 enable_lodctr
1834 enable_mofcomp
1835 enable_mshta
1836 enable_msidb
1837 enable_msiexec
1838 enable_msinfo32
1839 enable_net
1840 enable_netsh
1841 enable_netstat
1842 enable_ngen
1843 enable_notepad
1844 enable_oleview
1845 enable_ping
1846 enable_plugplay
1847 enable_powershell
1848 enable_presentationfontcache
1849 enable_progman
1850 enable_reg
1851 enable_regasm
1852 enable_regedit
1853 enable_regini
1854 enable_regsvcs
1855 enable_regsvr32
1856 enable_robocopy
1857 enable_rpcss
1858 enable_rundll32
1859 enable_sc
1860 enable_schtasks
1861 enable_sdbinst
1862 enable_secedit
1863 enable_servicemodelreg
1864 enable_services
1865 enable_shutdown
1866 enable_spoolsv
1867 enable_start
1868 enable_subst
1869 enable_svchost
1870 enable_systeminfo
1871 enable_taskkill
1872 enable_tasklist
1873 enable_taskmgr
1874 enable_termsv
1875 enable_uninstaller
1876 enable_unlodctr
1877 enable_view
1878 enable_wevtutil
1879 enable_where
1880 enable_whoami
1881 enable_wineboot
1882 enable_winebrowser
1883 enable_winecfg
1884 enable_wineconsole
1885 enable_winedbg
1886 enable_winedevice
1887 enable_winefile
1888 enable_winemenubuilder
1889 enable_winemine
1890 enable_winemsibuilder
1891 enable_winepath
1892 enable_winetest
1893 enable_winhlp32
1894 enable_winmgmt
1895 enable_winver
1896 enable_wmic
1897 enable_wmplayer
1898 enable_wordpad
1899 enable_write
1900 enable_wscript
1901 enable_wuauserv
1902 enable_wusa
1903 enable_xcopy
1904 enable_server
1905 enable_tools
1906 enable_sfnt2fon
1907 enable_widl
1908 enable_winebuild
1909 enable_winedump
1910 enable_winegcc
1911 enable_winemaker
1912 enable_wmc
1913 enable_wrc
1915 ac_precious_vars='build_alias
1916 host_alias
1917 target_alias
1919 CFLAGS
1920 LDFLAGS
1921 LIBS
1922 CPPFLAGS
1924 CXXFLAGS
1927 OBJC
1928 OBJCFLAGS
1929 OBJCPP
1930 FAUDIO_PE_CFLAGS
1931 FAUDIO_PE_LIBS
1932 GSM_PE_CFLAGS
1933 GSM_PE_LIBS
1934 JPEG_PE_CFLAGS
1935 JPEG_PE_LIBS
1936 JXR_PE_CFLAGS
1937 JXR_PE_LIBS
1938 LCMS2_PE_CFLAGS
1939 LCMS2_PE_LIBS
1940 MPG123_PE_CFLAGS
1941 MPG123_PE_LIBS
1942 PNG_PE_CFLAGS
1943 PNG_PE_LIBS
1944 TIFF_PE_CFLAGS
1945 TIFF_PE_LIBS
1946 XML2_PE_CFLAGS
1947 XML2_PE_LIBS
1948 XSLT_PE_CFLAGS
1949 XSLT_PE_LIBS
1950 ZLIB_PE_CFLAGS
1951 ZLIB_PE_LIBS
1952 XMKMF
1953 INOTIFY_CFLAGS
1954 INOTIFY_LIBS
1955 DBUS_CFLAGS
1956 DBUS_LIBS
1957 HAL_CFLAGS
1958 HAL_LIBS
1959 GNUTLS_CFLAGS
1960 GNUTLS_LIBS
1961 SANE_CFLAGS
1962 SANE_LIBS
1963 USB_CFLAGS
1964 USB_LIBS
1965 GPHOTO2_CFLAGS
1966 GPHOTO2_LIBS
1967 GPHOTO2_PORT_CFLAGS
1968 GPHOTO2_PORT_LIBS
1969 FREETYPE_CFLAGS
1970 FREETYPE_LIBS
1971 PULSE_CFLAGS
1972 PULSE_LIBS
1973 GSTREAMER_CFLAGS
1974 GSTREAMER_LIBS
1975 UDEV_CFLAGS
1976 UDEV_LIBS
1977 UNWIND_CFLAGS
1978 UNWIND_LIBS
1979 SDL2_CFLAGS
1980 SDL2_LIBS
1981 CAPI20_CFLAGS
1982 CAPI20_LIBS
1983 CUPS_CFLAGS
1984 CUPS_LIBS
1985 FONTCONFIG_CFLAGS
1986 FONTCONFIG_LIBS
1987 KRB5_CFLAGS
1988 KRB5_LIBS
1989 GSSAPI_CFLAGS
1990 GSSAPI_LIBS
1991 JPEG_CFLAGS
1992 JPEG_LIBS
1993 NETAPI_CFLAGS
1994 NETAPI_LIBS
1995 VKD3D_CFLAGS
1996 VKD3D_LIBS
1997 VKD3D_SHADER_CFLAGS
1998 VKD3D_SHADER_LIBS
1999 LDAP_CFLAGS
2000 LDAP_LIBS'
2003 # Initialize some variables set by options.
2004 ac_init_help=
2005 ac_init_version=false
2006 ac_unrecognized_opts=
2007 ac_unrecognized_sep=
2008 # The variables have the same names as the options, with
2009 # dashes changed to underlines.
2010 cache_file=/dev/null
2011 exec_prefix=NONE
2012 no_create=
2013 no_recursion=
2014 prefix=NONE
2015 program_prefix=NONE
2016 program_suffix=NONE
2017 program_transform_name=s,x,x,
2018 silent=
2019 site=
2020 srcdir=
2021 verbose=
2022 x_includes=NONE
2023 x_libraries=NONE
2025 # Installation directory options.
2026 # These are left unexpanded so users can "make install exec_prefix=/foo"
2027 # and all the variables that are supposed to be based on exec_prefix
2028 # by default will actually change.
2029 # Use braces instead of parens because sh, perl, etc. also accept them.
2030 # (The list follows the same order as the GNU Coding Standards.)
2031 bindir='${exec_prefix}/bin'
2032 sbindir='${exec_prefix}/sbin'
2033 libexecdir='${exec_prefix}/libexec'
2034 datarootdir='${prefix}/share'
2035 datadir='${datarootdir}'
2036 sysconfdir='${prefix}/etc'
2037 sharedstatedir='${prefix}/com'
2038 localstatedir='${prefix}/var'
2039 runstatedir='${localstatedir}/run'
2040 includedir='${prefix}/include'
2041 oldincludedir='/usr/include'
2042 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2043 infodir='${datarootdir}/info'
2044 htmldir='${docdir}'
2045 dvidir='${docdir}'
2046 pdfdir='${docdir}'
2047 psdir='${docdir}'
2048 libdir='${exec_prefix}/lib'
2049 localedir='${datarootdir}/locale'
2050 mandir='${datarootdir}/man'
2052 ac_prev=
2053 ac_dashdash=
2054 for ac_option
2056 # If the previous option needs an argument, assign it.
2057 if test -n "$ac_prev"; then
2058 eval $ac_prev=\$ac_option
2059 ac_prev=
2060 continue
2063 case $ac_option in
2064 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2065 *=) ac_optarg= ;;
2066 *) ac_optarg=yes ;;
2067 esac
2069 # Accept the important Cygnus configure options, so we can diagnose typos.
2071 case $ac_dashdash$ac_option in
2073 ac_dashdash=yes ;;
2075 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2076 ac_prev=bindir ;;
2077 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2078 bindir=$ac_optarg ;;
2080 -build | --build | --buil | --bui | --bu)
2081 ac_prev=build_alias ;;
2082 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2083 build_alias=$ac_optarg ;;
2085 -cache-file | --cache-file | --cache-fil | --cache-fi \
2086 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2087 ac_prev=cache_file ;;
2088 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2089 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2090 cache_file=$ac_optarg ;;
2092 --config-cache | -C)
2093 cache_file=config.cache ;;
2095 -datadir | --datadir | --datadi | --datad)
2096 ac_prev=datadir ;;
2097 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2098 datadir=$ac_optarg ;;
2100 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2101 | --dataroo | --dataro | --datar)
2102 ac_prev=datarootdir ;;
2103 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2104 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2105 datarootdir=$ac_optarg ;;
2107 -disable-* | --disable-*)
2108 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2109 # Reject names that are not valid shell variable names.
2110 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2111 as_fn_error $? "invalid feature name: $ac_useropt"
2112 ac_useropt_orig=$ac_useropt
2113 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2114 case $ac_user_opts in
2116 "enable_$ac_useropt"
2117 "*) ;;
2118 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2119 ac_unrecognized_sep=', ';;
2120 esac
2121 eval enable_$ac_useropt=no ;;
2123 -docdir | --docdir | --docdi | --doc | --do)
2124 ac_prev=docdir ;;
2125 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2126 docdir=$ac_optarg ;;
2128 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2129 ac_prev=dvidir ;;
2130 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2131 dvidir=$ac_optarg ;;
2133 -enable-* | --enable-*)
2134 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2135 # Reject names that are not valid shell variable names.
2136 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2137 as_fn_error $? "invalid feature name: $ac_useropt"
2138 ac_useropt_orig=$ac_useropt
2139 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2140 case $ac_user_opts in
2142 "enable_$ac_useropt"
2143 "*) ;;
2144 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2145 ac_unrecognized_sep=', ';;
2146 esac
2147 eval enable_$ac_useropt=\$ac_optarg ;;
2149 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2150 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2151 | --exec | --exe | --ex)
2152 ac_prev=exec_prefix ;;
2153 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2154 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2155 | --exec=* | --exe=* | --ex=*)
2156 exec_prefix=$ac_optarg ;;
2158 -gas | --gas | --ga | --g)
2159 # Obsolete; use --with-gas.
2160 with_gas=yes ;;
2162 -help | --help | --hel | --he | -h)
2163 ac_init_help=long ;;
2164 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2165 ac_init_help=recursive ;;
2166 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2167 ac_init_help=short ;;
2169 -host | --host | --hos | --ho)
2170 ac_prev=host_alias ;;
2171 -host=* | --host=* | --hos=* | --ho=*)
2172 host_alias=$ac_optarg ;;
2174 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2175 ac_prev=htmldir ;;
2176 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2177 | --ht=*)
2178 htmldir=$ac_optarg ;;
2180 -includedir | --includedir | --includedi | --included | --include \
2181 | --includ | --inclu | --incl | --inc)
2182 ac_prev=includedir ;;
2183 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2184 | --includ=* | --inclu=* | --incl=* | --inc=*)
2185 includedir=$ac_optarg ;;
2187 -infodir | --infodir | --infodi | --infod | --info | --inf)
2188 ac_prev=infodir ;;
2189 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2190 infodir=$ac_optarg ;;
2192 -libdir | --libdir | --libdi | --libd)
2193 ac_prev=libdir ;;
2194 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2195 libdir=$ac_optarg ;;
2197 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2198 | --libexe | --libex | --libe)
2199 ac_prev=libexecdir ;;
2200 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2201 | --libexe=* | --libex=* | --libe=*)
2202 libexecdir=$ac_optarg ;;
2204 -localedir | --localedir | --localedi | --localed | --locale)
2205 ac_prev=localedir ;;
2206 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2207 localedir=$ac_optarg ;;
2209 -localstatedir | --localstatedir | --localstatedi | --localstated \
2210 | --localstate | --localstat | --localsta | --localst | --locals)
2211 ac_prev=localstatedir ;;
2212 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2213 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2214 localstatedir=$ac_optarg ;;
2216 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2217 ac_prev=mandir ;;
2218 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2219 mandir=$ac_optarg ;;
2221 -nfp | --nfp | --nf)
2222 # Obsolete; use --without-fp.
2223 with_fp=no ;;
2225 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2226 | --no-cr | --no-c | -n)
2227 no_create=yes ;;
2229 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2230 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2231 no_recursion=yes ;;
2233 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2234 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2235 | --oldin | --oldi | --old | --ol | --o)
2236 ac_prev=oldincludedir ;;
2237 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2238 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2239 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2240 oldincludedir=$ac_optarg ;;
2242 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2243 ac_prev=prefix ;;
2244 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2245 prefix=$ac_optarg ;;
2247 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2248 | --program-pre | --program-pr | --program-p)
2249 ac_prev=program_prefix ;;
2250 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2251 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2252 program_prefix=$ac_optarg ;;
2254 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2255 | --program-suf | --program-su | --program-s)
2256 ac_prev=program_suffix ;;
2257 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2258 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2259 program_suffix=$ac_optarg ;;
2261 -program-transform-name | --program-transform-name \
2262 | --program-transform-nam | --program-transform-na \
2263 | --program-transform-n | --program-transform- \
2264 | --program-transform | --program-transfor \
2265 | --program-transfo | --program-transf \
2266 | --program-trans | --program-tran \
2267 | --progr-tra | --program-tr | --program-t)
2268 ac_prev=program_transform_name ;;
2269 -program-transform-name=* | --program-transform-name=* \
2270 | --program-transform-nam=* | --program-transform-na=* \
2271 | --program-transform-n=* | --program-transform-=* \
2272 | --program-transform=* | --program-transfor=* \
2273 | --program-transfo=* | --program-transf=* \
2274 | --program-trans=* | --program-tran=* \
2275 | --progr-tra=* | --program-tr=* | --program-t=*)
2276 program_transform_name=$ac_optarg ;;
2278 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2279 ac_prev=pdfdir ;;
2280 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2281 pdfdir=$ac_optarg ;;
2283 -psdir | --psdir | --psdi | --psd | --ps)
2284 ac_prev=psdir ;;
2285 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2286 psdir=$ac_optarg ;;
2288 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2289 | -silent | --silent | --silen | --sile | --sil)
2290 silent=yes ;;
2292 -runstatedir | --runstatedir | --runstatedi | --runstated \
2293 | --runstate | --runstat | --runsta | --runst | --runs \
2294 | --run | --ru | --r)
2295 ac_prev=runstatedir ;;
2296 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2297 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2298 | --run=* | --ru=* | --r=*)
2299 runstatedir=$ac_optarg ;;
2301 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2302 ac_prev=sbindir ;;
2303 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2304 | --sbi=* | --sb=*)
2305 sbindir=$ac_optarg ;;
2307 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2308 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2309 | --sharedst | --shareds | --shared | --share | --shar \
2310 | --sha | --sh)
2311 ac_prev=sharedstatedir ;;
2312 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2313 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2314 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2315 | --sha=* | --sh=*)
2316 sharedstatedir=$ac_optarg ;;
2318 -site | --site | --sit)
2319 ac_prev=site ;;
2320 -site=* | --site=* | --sit=*)
2321 site=$ac_optarg ;;
2323 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2324 ac_prev=srcdir ;;
2325 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2326 srcdir=$ac_optarg ;;
2328 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2329 | --syscon | --sysco | --sysc | --sys | --sy)
2330 ac_prev=sysconfdir ;;
2331 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2332 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2333 sysconfdir=$ac_optarg ;;
2335 -target | --target | --targe | --targ | --tar | --ta | --t)
2336 ac_prev=target_alias ;;
2337 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2338 target_alias=$ac_optarg ;;
2340 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2341 verbose=yes ;;
2343 -version | --version | --versio | --versi | --vers | -V)
2344 ac_init_version=: ;;
2346 -with-* | --with-*)
2347 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2348 # Reject names that are not valid shell variable names.
2349 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2350 as_fn_error $? "invalid package name: $ac_useropt"
2351 ac_useropt_orig=$ac_useropt
2352 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2353 case $ac_user_opts in
2355 "with_$ac_useropt"
2356 "*) ;;
2357 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2358 ac_unrecognized_sep=', ';;
2359 esac
2360 eval with_$ac_useropt=\$ac_optarg ;;
2362 -without-* | --without-*)
2363 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2364 # Reject names that are not valid shell variable names.
2365 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2366 as_fn_error $? "invalid package name: $ac_useropt"
2367 ac_useropt_orig=$ac_useropt
2368 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2369 case $ac_user_opts in
2371 "with_$ac_useropt"
2372 "*) ;;
2373 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2374 ac_unrecognized_sep=', ';;
2375 esac
2376 eval with_$ac_useropt=no ;;
2378 --x)
2379 # Obsolete; use --with-x.
2380 with_x=yes ;;
2382 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2383 | --x-incl | --x-inc | --x-in | --x-i)
2384 ac_prev=x_includes ;;
2385 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2386 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2387 x_includes=$ac_optarg ;;
2389 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2390 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2391 ac_prev=x_libraries ;;
2392 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2393 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2394 x_libraries=$ac_optarg ;;
2396 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2397 Try \`$0 --help' for more information"
2400 *=*)
2401 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2402 # Reject names that are not valid shell variable names.
2403 case $ac_envvar in #(
2404 '' | [0-9]* | *[!_$as_cr_alnum]* )
2405 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2406 esac
2407 eval $ac_envvar=\$ac_optarg
2408 export $ac_envvar ;;
2411 # FIXME: should be removed in autoconf 3.0.
2412 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2413 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2414 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2415 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2418 esac
2419 done
2421 if test -n "$ac_prev"; then
2422 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2423 as_fn_error $? "missing argument to $ac_option"
2426 if test -n "$ac_unrecognized_opts"; then
2427 case $enable_option_checking in
2428 no) ;;
2429 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2430 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2431 esac
2434 # Check all directory arguments for consistency.
2435 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2436 datadir sysconfdir sharedstatedir localstatedir includedir \
2437 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2438 libdir localedir mandir runstatedir
2440 eval ac_val=\$$ac_var
2441 # Remove trailing slashes.
2442 case $ac_val in
2443 */ )
2444 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2445 eval $ac_var=\$ac_val;;
2446 esac
2447 # Be sure to have absolute directory names.
2448 case $ac_val in
2449 [\\/$]* | ?:[\\/]* ) continue;;
2450 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2451 esac
2452 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2453 done
2455 # There might be people who depend on the old broken behavior: `$host'
2456 # used to hold the argument of --host etc.
2457 # FIXME: To remove some day.
2458 build=$build_alias
2459 host=$host_alias
2460 target=$target_alias
2462 # FIXME: To remove some day.
2463 if test "x$host_alias" != x; then
2464 if test "x$build_alias" = x; then
2465 cross_compiling=maybe
2466 elif test "x$build_alias" != "x$host_alias"; then
2467 cross_compiling=yes
2471 ac_tool_prefix=
2472 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2474 test "$silent" = yes && exec 6>/dev/null
2477 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2478 ac_ls_di=`ls -di .` &&
2479 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2480 as_fn_error $? "working directory cannot be determined"
2481 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2482 as_fn_error $? "pwd does not report name of working directory"
2485 # Find the source files, if location was not specified.
2486 if test -z "$srcdir"; then
2487 ac_srcdir_defaulted=yes
2488 # Try the directory containing this script, then the parent directory.
2489 ac_confdir=`$as_dirname -- "$as_myself" ||
2490 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2491 X"$as_myself" : 'X\(//\)[^/]' \| \
2492 X"$as_myself" : 'X\(//\)$' \| \
2493 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2494 $as_echo X"$as_myself" |
2495 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2496 s//\1/
2499 /^X\(\/\/\)[^/].*/{
2500 s//\1/
2503 /^X\(\/\/\)$/{
2504 s//\1/
2507 /^X\(\/\).*/{
2508 s//\1/
2511 s/.*/./; q'`
2512 srcdir=$ac_confdir
2513 if test ! -r "$srcdir/$ac_unique_file"; then
2514 srcdir=..
2516 else
2517 ac_srcdir_defaulted=no
2519 if test ! -r "$srcdir/$ac_unique_file"; then
2520 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2521 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2523 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2524 ac_abs_confdir=`(
2525 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2526 pwd)`
2527 # When building in place, set srcdir=.
2528 if test "$ac_abs_confdir" = "$ac_pwd"; then
2529 srcdir=.
2531 # Remove unnecessary trailing slashes from srcdir.
2532 # Double slashes in file names in object file debugging info
2533 # mess up M-x gdb in Emacs.
2534 case $srcdir in
2535 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2536 esac
2537 for ac_var in $ac_precious_vars; do
2538 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2539 eval ac_env_${ac_var}_value=\$${ac_var}
2540 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2541 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2542 done
2545 # Report the --help message.
2547 if test "$ac_init_help" = "long"; then
2548 # Omit some internal or obsolete options to make the list less imposing.
2549 # This message is too long to be a string in the A/UX 3.1 sh.
2550 cat <<_ACEOF
2551 \`configure' configures Wine 6.20 to adapt to many kinds of systems.
2553 Usage: $0 [OPTION]... [VAR=VALUE]...
2555 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2556 VAR=VALUE. See below for descriptions of some of the useful variables.
2558 Defaults for the options are specified in brackets.
2560 Configuration:
2561 -h, --help display this help and exit
2562 --help=short display options specific to this package
2563 --help=recursive display the short help of all the included packages
2564 -V, --version display version information and exit
2565 -q, --quiet, --silent do not print \`checking ...' messages
2566 --cache-file=FILE cache test results in FILE [disabled]
2567 -C, --config-cache alias for \`--cache-file=config.cache'
2568 -n, --no-create do not create output files
2569 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2571 Installation directories:
2572 --prefix=PREFIX install architecture-independent files in PREFIX
2573 [$ac_default_prefix]
2574 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2575 [PREFIX]
2577 By default, \`make install' will install all the files in
2578 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2579 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2580 for instance \`--prefix=\$HOME'.
2582 For better control, use the options below.
2584 Fine tuning of the installation directories:
2585 --bindir=DIR user executables [EPREFIX/bin]
2586 --sbindir=DIR system admin executables [EPREFIX/sbin]
2587 --libexecdir=DIR program executables [EPREFIX/libexec]
2588 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2589 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2590 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2591 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2592 --libdir=DIR object code libraries [EPREFIX/lib]
2593 --includedir=DIR C header files [PREFIX/include]
2594 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2595 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2596 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2597 --infodir=DIR info documentation [DATAROOTDIR/info]
2598 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2599 --mandir=DIR man documentation [DATAROOTDIR/man]
2600 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2601 --htmldir=DIR html documentation [DOCDIR]
2602 --dvidir=DIR dvi documentation [DOCDIR]
2603 --pdfdir=DIR pdf documentation [DOCDIR]
2604 --psdir=DIR ps documentation [DOCDIR]
2605 _ACEOF
2607 cat <<\_ACEOF
2609 X features:
2610 --x-includes=DIR X include files are in DIR
2611 --x-libraries=DIR X library files are in DIR
2613 System types:
2614 --build=BUILD configure for building on BUILD [guessed]
2615 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2616 _ACEOF
2619 if test -n "$ac_init_help"; then
2620 case $ac_init_help in
2621 short | recursive ) echo "Configuration of Wine 6.20:";;
2622 esac
2623 cat <<\_ACEOF
2625 Optional Features:
2626 --disable-option-checking ignore unrecognized --enable/--with options
2627 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2628 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2629 --disable-win16 do not include Win16 support
2630 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2631 binaries)
2632 --disable-tests do not build the regression tests
2633 --enable-build-id include .buildid section in output objects
2634 --enable-maintainer-mode
2635 enable maintainer-specific build rules
2636 --enable-silent-rules use silent build rules (override: "make V=1")
2637 --enable-werror treat compilation warnings as errors
2638 --disable-largefile omit support for large files
2640 Optional Packages:
2641 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2642 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2643 --without-alsa do not use the Alsa sound support
2644 --without-capi do not use CAPI (ISDN support)
2645 --without-coreaudio do not use the CoreAudio sound support
2646 --without-cups do not use CUPS
2647 --without-dbus do not use DBus (dynamic device support)
2648 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2649 --without-fontconfig do not use fontconfig
2650 --without-freetype do not use the FreeType library
2651 --without-gettext do not use gettext
2652 --with-gettextpo use the GetTextPO library to rebuild po files
2653 --without-gphoto do not use gphoto (Digital Camera support)
2654 --without-gnutls do not use GnuTLS (schannel support)
2655 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2656 --without-gstreamer do not use GStreamer (codecs support)
2657 --without-hal do not use HAL (dynamic device support)
2658 --without-inotify do not use inotify (filesystem change notifications)
2659 --without-jpeg do not use JPEG
2660 --without-krb5 do not use krb5 (Kerberos)
2661 --without-ldap do not use LDAP
2662 --without-mingw do not use the MinGW cross-compiler
2663 --without-netapi do not use the Samba NetAPI library
2664 --without-openal do not use OpenAL
2665 --without-opencl do not use OpenCL
2666 --without-opengl do not use OpenGL
2667 --without-osmesa do not use the OSMesa library
2668 --without-oss do not use the OSS sound support
2669 --without-pcap do not use the Packet Capture library
2670 --without-pthread do not use the pthread library
2671 --without-pulse do not use PulseAudio sound support
2672 --without-quicktime do not use QuickTime support
2673 --without-sane do not use SANE (scanner support)
2674 --without-sdl do not use SDL
2675 --without-udev do not use udev (plug and play support)
2676 --without-unwind do not use the libunwind library (exception
2677 handling)
2678 --without-usb do not use the libusb library
2679 --without-v4l2 do not use v4l2 (video capture)
2680 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2681 --without-vulkan do not use Vulkan
2682 --without-xcomposite do not use the Xcomposite extension
2683 --without-xcursor do not use the Xcursor extension
2684 --without-xfixes do not use Xfixes for clipboard change notifications
2685 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2686 --without-xinput do not use the Xinput extension
2687 --without-xinput2 do not use the Xinput 2 extension
2688 --without-xrandr do not use Xrandr (multi-monitor support)
2689 --without-xrender do not use the Xrender extension
2690 --without-xshape do not use the Xshape extension
2691 --without-xshm do not use XShm (shared memory extension)
2692 --without-xxf86vm do not use XFree video mode extension
2693 --with-wine-tools=DIR use Wine tools from directory DIR
2694 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2695 --with-x use the X Window System
2697 Some influential environment variables:
2698 CC C compiler command
2699 CFLAGS C compiler flags
2700 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2701 nonstandard directory <lib dir>
2702 LIBS libraries to pass to the linker, e.g. -l<library>
2703 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2704 you have headers in a nonstandard directory <include dir>
2705 CXX C++ compiler command
2706 CXXFLAGS C++ compiler flags
2707 CPP C preprocessor
2708 OBJC Objective C compiler command
2709 OBJCFLAGS Objective C compiler flags
2710 OBJCPP Objective C preprocessor
2711 FAUDIO_PE_CFLAGS
2712 C compiler flags for the PE faudio, overriding the bundled
2713 version
2714 FAUDIO_PE_LIBS
2715 Linker flags for the PE faudio, overriding the bundled version
2716 GSM_PE_CFLAGS
2717 C compiler flags for the PE gsm, overriding the bundled version
2718 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2719 JPEG_PE_CFLAGS
2720 C compiler flags for the PE jpeg, overriding the bundled version
2721 JPEG_PE_LIBS
2722 Linker flags for the PE jpeg, overriding the bundled version
2723 JXR_PE_CFLAGS
2724 C compiler flags for the PE jxr, overriding the bundled version
2725 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2726 LCMS2_PE_CFLAGS
2727 C compiler flags for the PE lcms2, overriding the bundled
2728 version
2729 LCMS2_PE_LIBS
2730 Linker flags for the PE lcms2, overriding the bundled version
2731 MPG123_PE_CFLAGS
2732 C compiler flags for the PE mpg123, overriding the bundled
2733 version
2734 MPG123_PE_LIBS
2735 Linker flags for the PE mpg123, overriding the bundled version
2736 PNG_PE_CFLAGS
2737 C compiler flags for the PE png, overriding the bundled version
2738 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2739 TIFF_PE_CFLAGS
2740 C compiler flags for the PE tiff, overriding the bundled version
2741 TIFF_PE_LIBS
2742 Linker flags for the PE tiff, overriding the bundled version
2743 XML2_PE_CFLAGS
2744 C compiler flags for the PE libxml2, overriding the bundled
2745 version
2746 XML2_PE_LIBS
2747 Linker flags for the PE libxml2, overriding the bundled version
2748 XSLT_PE_CFLAGS
2749 C compiler flags for the PE libxslt, overriding the bundled
2750 version
2751 XSLT_PE_LIBS
2752 Linker flags for the PE libxslt, overriding the bundled version
2753 ZLIB_PE_CFLAGS
2754 C compiler flags for the PE zlib, overriding the bundled version
2755 ZLIB_PE_LIBS
2756 Linker flags for the PE zlib, overriding the bundled version
2757 XMKMF Path to xmkmf, Makefile generator for X Window System
2758 INOTIFY_CFLAGS
2759 C compiler flags for libinotify, overriding pkg-config
2760 INOTIFY_LIBS
2761 Linker flags for libinotify, overriding pkg-config
2762 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2763 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2764 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2765 HAL_LIBS Linker flags for hal, overriding pkg-config
2766 GNUTLS_CFLAGS
2767 C compiler flags for gnutls, overriding pkg-config
2768 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2769 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2770 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2771 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2772 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2773 GPHOTO2_CFLAGS
2774 C compiler flags for libgphoto2, overriding pkg-config
2775 GPHOTO2_LIBS
2776 Linker flags for libgphoto2, overriding pkg-config
2777 GPHOTO2_PORT_CFLAGS
2778 C compiler flags for libgphoto2_port, overriding pkg-config
2779 GPHOTO2_PORT_LIBS
2780 Linker flags for libgphoto2_port, overriding pkg-config
2781 FREETYPE_CFLAGS
2782 C compiler flags for freetype2, overriding pkg-config
2783 FREETYPE_LIBS
2784 Linker flags for freetype2, overriding pkg-config
2785 PULSE_CFLAGS
2786 C compiler flags for libpulse, overriding pkg-config
2787 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2788 GSTREAMER_CFLAGS
2789 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2790 gstreamer-audio-1.0, overriding pkg-config
2791 GSTREAMER_LIBS
2792 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2793 gstreamer-audio-1.0, overriding pkg-config
2794 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2795 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2796 UNWIND_CFLAGS
2797 C compiler flags for libunwind, overriding pkg-config
2798 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2799 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2800 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2801 CAPI20_CFLAGS
2802 C compiler flags for capi20, overriding pkg-config
2803 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2804 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2805 CUPS_LIBS Linker flags for cups, overriding pkg-config
2806 FONTCONFIG_CFLAGS
2807 C compiler flags for fontconfig, overriding pkg-config
2808 FONTCONFIG_LIBS
2809 Linker flags for fontconfig, overriding pkg-config
2810 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2811 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2812 GSSAPI_CFLAGS
2813 C compiler flags for krb5-gssapi, overriding pkg-config
2814 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2815 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2816 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2817 NETAPI_CFLAGS
2818 C compiler flags for netapi, overriding pkg-config
2819 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2820 VKD3D_CFLAGS
2821 C compiler flags for libvkd3d, overriding pkg-config
2822 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2823 VKD3D_SHADER_CFLAGS
2824 C compiler flags for libvkd3d-shader, overriding pkg-config
2825 VKD3D_SHADER_LIBS
2826 Linker flags for libvkd3d-shader, overriding pkg-config
2827 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2828 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2830 Use these variables to override the choices made by `configure' or to help
2831 it to find libraries and programs with nonstandard names/locations.
2833 Report bugs to <wine-devel@winehq.org>.
2834 Wine home page: <https://www.winehq.org>.
2835 _ACEOF
2836 ac_status=$?
2839 if test "$ac_init_help" = "recursive"; then
2840 # If there are subdirs, report their specific --help.
2841 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2842 test -d "$ac_dir" ||
2843 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2844 continue
2845 ac_builddir=.
2847 case "$ac_dir" in
2848 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2850 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2851 # A ".." for each directory in $ac_dir_suffix.
2852 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2853 case $ac_top_builddir_sub in
2854 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2855 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2856 esac ;;
2857 esac
2858 ac_abs_top_builddir=$ac_pwd
2859 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2860 # for backward compatibility:
2861 ac_top_builddir=$ac_top_build_prefix
2863 case $srcdir in
2864 .) # We are building in place.
2865 ac_srcdir=.
2866 ac_top_srcdir=$ac_top_builddir_sub
2867 ac_abs_top_srcdir=$ac_pwd ;;
2868 [\\/]* | ?:[\\/]* ) # Absolute name.
2869 ac_srcdir=$srcdir$ac_dir_suffix;
2870 ac_top_srcdir=$srcdir
2871 ac_abs_top_srcdir=$srcdir ;;
2872 *) # Relative name.
2873 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2874 ac_top_srcdir=$ac_top_build_prefix$srcdir
2875 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2876 esac
2877 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2879 cd "$ac_dir" || { ac_status=$?; continue; }
2880 # Check for guested configure.
2881 if test -f "$ac_srcdir/configure.gnu"; then
2882 echo &&
2883 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2884 elif test -f "$ac_srcdir/configure"; then
2885 echo &&
2886 $SHELL "$ac_srcdir/configure" --help=recursive
2887 else
2888 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2889 fi || ac_status=$?
2890 cd "$ac_pwd" || { ac_status=$?; break; }
2891 done
2894 test -n "$ac_init_help" && exit $ac_status
2895 if $ac_init_version; then
2896 cat <<\_ACEOF
2897 Wine configure 6.20
2898 generated by GNU Autoconf 2.69
2900 Copyright (C) 2012 Free Software Foundation, Inc.
2901 This configure script is free software; the Free Software Foundation
2902 gives unlimited permission to copy, distribute and modify it.
2903 _ACEOF
2904 exit
2907 ## ------------------------ ##
2908 ## Autoconf initialization. ##
2909 ## ------------------------ ##
2911 # ac_fn_c_try_compile LINENO
2912 # --------------------------
2913 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2914 ac_fn_c_try_compile ()
2916 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2917 rm -f conftest.$ac_objext
2918 if { { ac_try="$ac_compile"
2919 case "(($ac_try" in
2920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2921 *) ac_try_echo=$ac_try;;
2922 esac
2923 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2924 $as_echo "$ac_try_echo"; } >&5
2925 (eval "$ac_compile") 2>conftest.err
2926 ac_status=$?
2927 if test -s conftest.err; then
2928 grep -v '^ *+' conftest.err >conftest.er1
2929 cat conftest.er1 >&5
2930 mv -f conftest.er1 conftest.err
2932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2933 test $ac_status = 0; } && {
2934 test -z "$ac_c_werror_flag" ||
2935 test ! -s conftest.err
2936 } && test -s conftest.$ac_objext; then :
2937 ac_retval=0
2938 else
2939 $as_echo "$as_me: failed program was:" >&5
2940 sed 's/^/| /' conftest.$ac_ext >&5
2942 ac_retval=1
2944 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2945 as_fn_set_status $ac_retval
2947 } # ac_fn_c_try_compile
2949 # ac_fn_cxx_try_compile LINENO
2950 # ----------------------------
2951 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2952 ac_fn_cxx_try_compile ()
2954 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2955 rm -f conftest.$ac_objext
2956 if { { ac_try="$ac_compile"
2957 case "(($ac_try" in
2958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2959 *) ac_try_echo=$ac_try;;
2960 esac
2961 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2962 $as_echo "$ac_try_echo"; } >&5
2963 (eval "$ac_compile") 2>conftest.err
2964 ac_status=$?
2965 if test -s conftest.err; then
2966 grep -v '^ *+' conftest.err >conftest.er1
2967 cat conftest.er1 >&5
2968 mv -f conftest.er1 conftest.err
2970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2971 test $ac_status = 0; } && {
2972 test -z "$ac_cxx_werror_flag" ||
2973 test ! -s conftest.err
2974 } && test -s conftest.$ac_objext; then :
2975 ac_retval=0
2976 else
2977 $as_echo "$as_me: failed program was:" >&5
2978 sed 's/^/| /' conftest.$ac_ext >&5
2980 ac_retval=1
2982 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2983 as_fn_set_status $ac_retval
2985 } # ac_fn_cxx_try_compile
2987 # ac_fn_c_try_link LINENO
2988 # -----------------------
2989 # Try to link conftest.$ac_ext, and return whether this succeeded.
2990 ac_fn_c_try_link ()
2992 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2993 rm -f conftest.$ac_objext conftest$ac_exeext
2994 if { { ac_try="$ac_link"
2995 case "(($ac_try" in
2996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2997 *) ac_try_echo=$ac_try;;
2998 esac
2999 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3000 $as_echo "$ac_try_echo"; } >&5
3001 (eval "$ac_link") 2>conftest.err
3002 ac_status=$?
3003 if test -s conftest.err; then
3004 grep -v '^ *+' conftest.err >conftest.er1
3005 cat conftest.er1 >&5
3006 mv -f conftest.er1 conftest.err
3008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3009 test $ac_status = 0; } && {
3010 test -z "$ac_c_werror_flag" ||
3011 test ! -s conftest.err
3012 } && test -s conftest$ac_exeext && {
3013 test "$cross_compiling" = yes ||
3014 test -x conftest$ac_exeext
3015 }; then :
3016 ac_retval=0
3017 else
3018 $as_echo "$as_me: failed program was:" >&5
3019 sed 's/^/| /' conftest.$ac_ext >&5
3021 ac_retval=1
3023 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
3024 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
3025 # interfere with the next link command; also delete a directory that is
3026 # left behind by Apple's compiler. We do this before executing the actions.
3027 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3028 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3029 as_fn_set_status $ac_retval
3031 } # ac_fn_c_try_link
3033 # ac_fn_c_try_cpp LINENO
3034 # ----------------------
3035 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3036 ac_fn_c_try_cpp ()
3038 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3039 if { { ac_try="$ac_cpp conftest.$ac_ext"
3040 case "(($ac_try" in
3041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3042 *) ac_try_echo=$ac_try;;
3043 esac
3044 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3045 $as_echo "$ac_try_echo"; } >&5
3046 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3047 ac_status=$?
3048 if test -s conftest.err; then
3049 grep -v '^ *+' conftest.err >conftest.er1
3050 cat conftest.er1 >&5
3051 mv -f conftest.er1 conftest.err
3053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3054 test $ac_status = 0; } > conftest.i && {
3055 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3056 test ! -s conftest.err
3057 }; then :
3058 ac_retval=0
3059 else
3060 $as_echo "$as_me: failed program was:" >&5
3061 sed 's/^/| /' conftest.$ac_ext >&5
3063 ac_retval=1
3065 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3066 as_fn_set_status $ac_retval
3068 } # ac_fn_c_try_cpp
3070 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
3071 # -------------------------------------------------------
3072 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3073 # the include files in INCLUDES and setting the cache variable VAR
3074 # accordingly.
3075 ac_fn_c_check_header_mongrel ()
3077 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3078 if eval \${$3+:} false; then :
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3080 $as_echo_n "checking for $2... " >&6; }
3081 if eval \${$3+:} false; then :
3082 $as_echo_n "(cached) " >&6
3084 eval ac_res=\$$3
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3086 $as_echo "$ac_res" >&6; }
3087 else
3088 # Is the header compilable?
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3090 $as_echo_n "checking $2 usability... " >&6; }
3091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3092 /* end confdefs.h. */
3094 #include <$2>
3095 _ACEOF
3096 if ac_fn_c_try_compile "$LINENO"; then :
3097 ac_header_compiler=yes
3098 else
3099 ac_header_compiler=no
3101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3103 $as_echo "$ac_header_compiler" >&6; }
3105 # Is the header present?
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3107 $as_echo_n "checking $2 presence... " >&6; }
3108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3109 /* end confdefs.h. */
3110 #include <$2>
3111 _ACEOF
3112 if ac_fn_c_try_cpp "$LINENO"; then :
3113 ac_header_preproc=yes
3114 else
3115 ac_header_preproc=no
3117 rm -f conftest.err conftest.i conftest.$ac_ext
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3119 $as_echo "$ac_header_preproc" >&6; }
3121 # So? What about this header?
3122 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3123 yes:no: )
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3125 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3127 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3129 no:yes:* )
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3131 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3133 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3135 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3137 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3139 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3140 ( $as_echo "## ------------------------------------ ##
3141 ## Report this to wine-devel@winehq.org ##
3142 ## ------------------------------------ ##"
3143 ) | sed "s/^/$as_me: WARNING: /" >&2
3145 esac
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3147 $as_echo_n "checking for $2... " >&6; }
3148 if eval \${$3+:} false; then :
3149 $as_echo_n "(cached) " >&6
3150 else
3151 eval "$3=\$ac_header_compiler"
3153 eval ac_res=\$$3
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3155 $as_echo "$ac_res" >&6; }
3157 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3159 } # ac_fn_c_check_header_mongrel
3161 # ac_fn_c_try_run LINENO
3162 # ----------------------
3163 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3164 # that executables *can* be run.
3165 ac_fn_c_try_run ()
3167 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3168 if { { ac_try="$ac_link"
3169 case "(($ac_try" in
3170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3171 *) ac_try_echo=$ac_try;;
3172 esac
3173 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3174 $as_echo "$ac_try_echo"; } >&5
3175 (eval "$ac_link") 2>&5
3176 ac_status=$?
3177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3178 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3179 { { case "(($ac_try" in
3180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3181 *) ac_try_echo=$ac_try;;
3182 esac
3183 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3184 $as_echo "$ac_try_echo"; } >&5
3185 (eval "$ac_try") 2>&5
3186 ac_status=$?
3187 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3188 test $ac_status = 0; }; }; then :
3189 ac_retval=0
3190 else
3191 $as_echo "$as_me: program exited with status $ac_status" >&5
3192 $as_echo "$as_me: failed program was:" >&5
3193 sed 's/^/| /' conftest.$ac_ext >&5
3195 ac_retval=$ac_status
3197 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3198 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3199 as_fn_set_status $ac_retval
3201 } # ac_fn_c_try_run
3203 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3204 # -------------------------------------------------------
3205 # Tests whether HEADER exists and can be compiled using the include files in
3206 # INCLUDES, setting the cache variable VAR accordingly.
3207 ac_fn_c_check_header_compile ()
3209 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3211 $as_echo_n "checking for $2... " >&6; }
3212 if eval \${$3+:} false; then :
3213 $as_echo_n "(cached) " >&6
3214 else
3215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3216 /* end confdefs.h. */
3218 #include <$2>
3219 _ACEOF
3220 if ac_fn_c_try_compile "$LINENO"; then :
3221 eval "$3=yes"
3222 else
3223 eval "$3=no"
3225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3227 eval ac_res=\$$3
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3229 $as_echo "$ac_res" >&6; }
3230 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3232 } # ac_fn_c_check_header_compile
3234 # ac_fn_objc_try_compile LINENO
3235 # -----------------------------
3236 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3237 ac_fn_objc_try_compile ()
3239 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3240 rm -f conftest.$ac_objext
3241 if { { ac_try="$ac_compile"
3242 case "(($ac_try" in
3243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3244 *) ac_try_echo=$ac_try;;
3245 esac
3246 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3247 $as_echo "$ac_try_echo"; } >&5
3248 (eval "$ac_compile") 2>conftest.err
3249 ac_status=$?
3250 if test -s conftest.err; then
3251 grep -v '^ *+' conftest.err >conftest.er1
3252 cat conftest.er1 >&5
3253 mv -f conftest.er1 conftest.err
3255 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3256 test $ac_status = 0; } && {
3257 test -z "$ac_objc_werror_flag" ||
3258 test ! -s conftest.err
3259 } && test -s conftest.$ac_objext; then :
3260 ac_retval=0
3261 else
3262 $as_echo "$as_me: failed program was:" >&5
3263 sed 's/^/| /' conftest.$ac_ext >&5
3265 ac_retval=1
3267 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3268 as_fn_set_status $ac_retval
3270 } # ac_fn_objc_try_compile
3272 # ac_fn_objc_try_cpp LINENO
3273 # -------------------------
3274 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3275 ac_fn_objc_try_cpp ()
3277 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3278 if { { ac_try="$ac_cpp conftest.$ac_ext"
3279 case "(($ac_try" in
3280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3281 *) ac_try_echo=$ac_try;;
3282 esac
3283 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3284 $as_echo "$ac_try_echo"; } >&5
3285 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3286 ac_status=$?
3287 if test -s conftest.err; then
3288 grep -v '^ *+' conftest.err >conftest.er1
3289 cat conftest.er1 >&5
3290 mv -f conftest.er1 conftest.err
3292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3293 test $ac_status = 0; } > conftest.i && {
3294 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3295 test ! -s conftest.err
3296 }; then :
3297 ac_retval=0
3298 else
3299 $as_echo "$as_me: failed program was:" >&5
3300 sed 's/^/| /' conftest.$ac_ext >&5
3302 ac_retval=1
3304 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3305 as_fn_set_status $ac_retval
3307 } # ac_fn_objc_try_cpp
3309 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3310 # ----------------------------------------------------------
3311 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3312 # the include files in INCLUDES and setting the cache variable VAR
3313 # accordingly.
3314 ac_fn_objc_check_header_mongrel ()
3316 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3317 if eval \${$3+:} false; then :
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3319 $as_echo_n "checking for $2... " >&6; }
3320 if eval \${$3+:} false; then :
3321 $as_echo_n "(cached) " >&6
3323 eval ac_res=\$$3
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3325 $as_echo "$ac_res" >&6; }
3326 else
3327 # Is the header compilable?
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3329 $as_echo_n "checking $2 usability... " >&6; }
3330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3331 /* end confdefs.h. */
3333 #include <$2>
3334 _ACEOF
3335 if ac_fn_objc_try_compile "$LINENO"; then :
3336 ac_header_compiler=yes
3337 else
3338 ac_header_compiler=no
3340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3342 $as_echo "$ac_header_compiler" >&6; }
3344 # Is the header present?
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3346 $as_echo_n "checking $2 presence... " >&6; }
3347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3348 /* end confdefs.h. */
3349 #include <$2>
3350 _ACEOF
3351 if ac_fn_objc_try_cpp "$LINENO"; then :
3352 ac_header_preproc=yes
3353 else
3354 ac_header_preproc=no
3356 rm -f conftest.err conftest.i conftest.$ac_ext
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3358 $as_echo "$ac_header_preproc" >&6; }
3360 # So? What about this header?
3361 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3362 yes:no: )
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3364 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3366 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3368 no:yes:* )
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3370 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3372 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3374 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3376 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3378 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3379 ( $as_echo "## ------------------------------------ ##
3380 ## Report this to wine-devel@winehq.org ##
3381 ## ------------------------------------ ##"
3382 ) | sed "s/^/$as_me: WARNING: /" >&2
3384 esac
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3386 $as_echo_n "checking for $2... " >&6; }
3387 if eval \${$3+:} false; then :
3388 $as_echo_n "(cached) " >&6
3389 else
3390 eval "$3=\$ac_header_compiler"
3392 eval ac_res=\$$3
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3394 $as_echo "$ac_res" >&6; }
3396 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3398 } # ac_fn_objc_check_header_mongrel
3400 # ac_fn_c_check_func LINENO FUNC VAR
3401 # ----------------------------------
3402 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3403 ac_fn_c_check_func ()
3405 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3407 $as_echo_n "checking for $2... " >&6; }
3408 if eval \${$3+:} false; then :
3409 $as_echo_n "(cached) " >&6
3410 else
3411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3412 /* end confdefs.h. */
3413 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3414 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3415 #define $2 innocuous_$2
3417 /* System header to define __stub macros and hopefully few prototypes,
3418 which can conflict with char $2 (); below.
3419 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3420 <limits.h> exists even on freestanding compilers. */
3422 #ifdef __STDC__
3423 # include <limits.h>
3424 #else
3425 # include <assert.h>
3426 #endif
3428 #undef $2
3430 /* Override any GCC internal prototype to avoid an error.
3431 Use char because int might match the return type of a GCC
3432 builtin and then its argument prototype would still apply. */
3433 #ifdef __cplusplus
3434 extern "C"
3435 #endif
3436 char $2 ();
3437 /* The GNU C library defines this for functions which it implements
3438 to always fail with ENOSYS. Some functions are actually named
3439 something starting with __ and the normal name is an alias. */
3440 #if defined __stub_$2 || defined __stub___$2
3441 choke me
3442 #endif
3445 main ()
3447 return $2 ();
3449 return 0;
3451 _ACEOF
3452 if ac_fn_c_try_link "$LINENO"; then :
3453 eval "$3=yes"
3454 else
3455 eval "$3=no"
3457 rm -f core conftest.err conftest.$ac_objext \
3458 conftest$ac_exeext conftest.$ac_ext
3460 eval ac_res=\$$3
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3462 $as_echo "$ac_res" >&6; }
3463 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3465 } # ac_fn_c_check_func
3467 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3468 # ----------------------------------------------------
3469 # Tries to find if the field MEMBER exists in type AGGR, after including
3470 # INCLUDES, setting cache variable VAR accordingly.
3471 ac_fn_c_check_member ()
3473 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3475 $as_echo_n "checking for $2.$3... " >&6; }
3476 if eval \${$4+:} false; then :
3477 $as_echo_n "(cached) " >&6
3478 else
3479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3480 /* end confdefs.h. */
3483 main ()
3485 static $2 ac_aggr;
3486 if (ac_aggr.$3)
3487 return 0;
3489 return 0;
3491 _ACEOF
3492 if ac_fn_c_try_compile "$LINENO"; then :
3493 eval "$4=yes"
3494 else
3495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3496 /* end confdefs.h. */
3499 main ()
3501 static $2 ac_aggr;
3502 if (sizeof ac_aggr.$3)
3503 return 0;
3505 return 0;
3507 _ACEOF
3508 if ac_fn_c_try_compile "$LINENO"; then :
3509 eval "$4=yes"
3510 else
3511 eval "$4=no"
3513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3517 eval ac_res=\$$4
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3519 $as_echo "$ac_res" >&6; }
3520 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3522 } # ac_fn_c_check_member
3524 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3525 # -------------------------------------------
3526 # Tests whether TYPE exists after having included INCLUDES, setting cache
3527 # variable VAR accordingly.
3528 ac_fn_c_check_type ()
3530 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3532 $as_echo_n "checking for $2... " >&6; }
3533 if eval \${$3+:} false; then :
3534 $as_echo_n "(cached) " >&6
3535 else
3536 eval "$3=no"
3537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3538 /* end confdefs.h. */
3541 main ()
3543 if (sizeof ($2))
3544 return 0;
3546 return 0;
3548 _ACEOF
3549 if ac_fn_c_try_compile "$LINENO"; then :
3550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3551 /* end confdefs.h. */
3554 main ()
3556 if (sizeof (($2)))
3557 return 0;
3559 return 0;
3561 _ACEOF
3562 if ac_fn_c_try_compile "$LINENO"; then :
3564 else
3565 eval "$3=yes"
3567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3571 eval ac_res=\$$3
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3573 $as_echo "$ac_res" >&6; }
3574 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3576 } # ac_fn_c_check_type
3577 cat >config.log <<_ACEOF
3578 This file contains any messages produced by compilers while
3579 running configure, to aid debugging if configure makes a mistake.
3581 It was created by Wine $as_me 6.20, which was
3582 generated by GNU Autoconf 2.69. Invocation command line was
3584 $ $0 $@
3586 _ACEOF
3587 exec 5>>config.log
3589 cat <<_ASUNAME
3590 ## --------- ##
3591 ## Platform. ##
3592 ## --------- ##
3594 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3595 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3596 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3597 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3598 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3600 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3601 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3603 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3604 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3605 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3606 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3607 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3608 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3609 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3611 _ASUNAME
3613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3614 for as_dir in $PATH
3616 IFS=$as_save_IFS
3617 test -z "$as_dir" && as_dir=.
3618 $as_echo "PATH: $as_dir"
3619 done
3620 IFS=$as_save_IFS
3622 } >&5
3624 cat >&5 <<_ACEOF
3627 ## ----------- ##
3628 ## Core tests. ##
3629 ## ----------- ##
3631 _ACEOF
3634 # Keep a trace of the command line.
3635 # Strip out --no-create and --no-recursion so they do not pile up.
3636 # Strip out --silent because we don't want to record it for future runs.
3637 # Also quote any args containing shell meta-characters.
3638 # Make two passes to allow for proper duplicate-argument suppression.
3639 ac_configure_args=
3640 ac_configure_args0=
3641 ac_configure_args1=
3642 ac_must_keep_next=false
3643 for ac_pass in 1 2
3645 for ac_arg
3647 case $ac_arg in
3648 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3649 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3650 | -silent | --silent | --silen | --sile | --sil)
3651 continue ;;
3652 *\'*)
3653 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3654 esac
3655 case $ac_pass in
3656 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3658 as_fn_append ac_configure_args1 " '$ac_arg'"
3659 if test $ac_must_keep_next = true; then
3660 ac_must_keep_next=false # Got value, back to normal.
3661 else
3662 case $ac_arg in
3663 *=* | --config-cache | -C | -disable-* | --disable-* \
3664 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3665 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3666 | -with-* | --with-* | -without-* | --without-* | --x)
3667 case "$ac_configure_args0 " in
3668 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3669 esac
3671 -* ) ac_must_keep_next=true ;;
3672 esac
3674 as_fn_append ac_configure_args " '$ac_arg'"
3676 esac
3677 done
3678 done
3679 { ac_configure_args0=; unset ac_configure_args0;}
3680 { ac_configure_args1=; unset ac_configure_args1;}
3682 # When interrupted or exit'd, cleanup temporary files, and complete
3683 # config.log. We remove comments because anyway the quotes in there
3684 # would cause problems or look ugly.
3685 # WARNING: Use '\'' to represent an apostrophe within the trap.
3686 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3687 trap 'exit_status=$?
3688 # Save into config.log some information that might help in debugging.
3690 echo
3692 $as_echo "## ---------------- ##
3693 ## Cache variables. ##
3694 ## ---------------- ##"
3695 echo
3696 # The following way of writing the cache mishandles newlines in values,
3698 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3699 eval ac_val=\$$ac_var
3700 case $ac_val in #(
3701 *${as_nl}*)
3702 case $ac_var in #(
3703 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3704 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3705 esac
3706 case $ac_var in #(
3707 _ | IFS | as_nl) ;; #(
3708 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3709 *) { eval $ac_var=; unset $ac_var;} ;;
3710 esac ;;
3711 esac
3712 done
3713 (set) 2>&1 |
3714 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3715 *${as_nl}ac_space=\ *)
3716 sed -n \
3717 "s/'\''/'\''\\\\'\'''\''/g;
3718 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3719 ;; #(
3721 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3723 esac |
3724 sort
3726 echo
3728 $as_echo "## ----------------- ##
3729 ## Output variables. ##
3730 ## ----------------- ##"
3731 echo
3732 for ac_var in $ac_subst_vars
3734 eval ac_val=\$$ac_var
3735 case $ac_val in
3736 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3737 esac
3738 $as_echo "$ac_var='\''$ac_val'\''"
3739 done | sort
3740 echo
3742 if test -n "$ac_subst_files"; then
3743 $as_echo "## ------------------- ##
3744 ## File substitutions. ##
3745 ## ------------------- ##"
3746 echo
3747 for ac_var in $ac_subst_files
3749 eval ac_val=\$$ac_var
3750 case $ac_val in
3751 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3752 esac
3753 $as_echo "$ac_var='\''$ac_val'\''"
3754 done | sort
3755 echo
3758 if test -s confdefs.h; then
3759 $as_echo "## ----------- ##
3760 ## confdefs.h. ##
3761 ## ----------- ##"
3762 echo
3763 cat confdefs.h
3764 echo
3766 test "$ac_signal" != 0 &&
3767 $as_echo "$as_me: caught signal $ac_signal"
3768 $as_echo "$as_me: exit $exit_status"
3769 } >&5
3770 rm -f core *.core core.conftest.* &&
3771 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3772 exit $exit_status
3774 for ac_signal in 1 2 13 15; do
3775 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3776 done
3777 ac_signal=0
3779 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3780 rm -f -r conftest* confdefs.h
3782 $as_echo "/* confdefs.h */" > confdefs.h
3784 # Predefined preprocessor variables.
3786 cat >>confdefs.h <<_ACEOF
3787 #define PACKAGE_NAME "$PACKAGE_NAME"
3788 _ACEOF
3790 cat >>confdefs.h <<_ACEOF
3791 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3792 _ACEOF
3794 cat >>confdefs.h <<_ACEOF
3795 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3796 _ACEOF
3798 cat >>confdefs.h <<_ACEOF
3799 #define PACKAGE_STRING "$PACKAGE_STRING"
3800 _ACEOF
3802 cat >>confdefs.h <<_ACEOF
3803 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3804 _ACEOF
3806 cat >>confdefs.h <<_ACEOF
3807 #define PACKAGE_URL "$PACKAGE_URL"
3808 _ACEOF
3811 # Let the site file select an alternate cache file if it wants to.
3812 # Prefer an explicitly selected file to automatically selected ones.
3813 ac_site_file1=NONE
3814 ac_site_file2=NONE
3815 if test -n "$CONFIG_SITE"; then
3816 # We do not want a PATH search for config.site.
3817 case $CONFIG_SITE in #((
3818 -*) ac_site_file1=./$CONFIG_SITE;;
3819 */*) ac_site_file1=$CONFIG_SITE;;
3820 *) ac_site_file1=./$CONFIG_SITE;;
3821 esac
3822 elif test "x$prefix" != xNONE; then
3823 ac_site_file1=$prefix/share/config.site
3824 ac_site_file2=$prefix/etc/config.site
3825 else
3826 ac_site_file1=$ac_default_prefix/share/config.site
3827 ac_site_file2=$ac_default_prefix/etc/config.site
3829 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3831 test "x$ac_site_file" = xNONE && continue
3832 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3834 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3835 sed 's/^/| /' "$ac_site_file" >&5
3836 . "$ac_site_file" \
3837 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3838 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3839 as_fn_error $? "failed to load site script $ac_site_file
3840 See \`config.log' for more details" "$LINENO" 5; }
3842 done
3844 if test -r "$cache_file"; then
3845 # Some versions of bash will fail to source /dev/null (special files
3846 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3847 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3849 $as_echo "$as_me: loading cache $cache_file" >&6;}
3850 case $cache_file in
3851 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3852 *) . "./$cache_file";;
3853 esac
3855 else
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3857 $as_echo "$as_me: creating cache $cache_file" >&6;}
3858 >$cache_file
3861 # Check that the precious variables saved in the cache have kept the same
3862 # value.
3863 ac_cache_corrupted=false
3864 for ac_var in $ac_precious_vars; do
3865 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3866 eval ac_new_set=\$ac_env_${ac_var}_set
3867 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3868 eval ac_new_val=\$ac_env_${ac_var}_value
3869 case $ac_old_set,$ac_new_set in
3870 set,)
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3872 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3873 ac_cache_corrupted=: ;;
3874 ,set)
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3876 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3877 ac_cache_corrupted=: ;;
3878 ,);;
3880 if test "x$ac_old_val" != "x$ac_new_val"; then
3881 # differences in whitespace do not lead to failure.
3882 ac_old_val_w=`echo x $ac_old_val`
3883 ac_new_val_w=`echo x $ac_new_val`
3884 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3886 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3887 ac_cache_corrupted=:
3888 else
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3890 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3891 eval $ac_var=\$ac_old_val
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3894 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3896 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3897 fi;;
3898 esac
3899 # Pass precious variables to config.status.
3900 if test "$ac_new_set" = set; then
3901 case $ac_new_val in
3902 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3903 *) ac_arg=$ac_var=$ac_new_val ;;
3904 esac
3905 case " $ac_configure_args " in
3906 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3907 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3908 esac
3910 done
3911 if $ac_cache_corrupted; then
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3913 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3915 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3916 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3918 ## -------------------- ##
3919 ## Main body of script. ##
3920 ## -------------------- ##
3922 ac_ext=c
3923 ac_cpp='$CPP $CPPFLAGS'
3924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3930 ac_config_headers="$ac_config_headers include/config.h"
3932 ac_aux_dir=
3933 for ac_dir in tools "$srcdir"/tools; do
3934 if test -f "$ac_dir/install-sh"; then
3935 ac_aux_dir=$ac_dir
3936 ac_install_sh="$ac_aux_dir/install-sh -c"
3937 break
3938 elif test -f "$ac_dir/install.sh"; then
3939 ac_aux_dir=$ac_dir
3940 ac_install_sh="$ac_aux_dir/install.sh -c"
3941 break
3942 elif test -f "$ac_dir/shtool"; then
3943 ac_aux_dir=$ac_dir
3944 ac_install_sh="$ac_aux_dir/shtool install -c"
3945 break
3947 done
3948 if test -z "$ac_aux_dir"; then
3949 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3952 # These three variables are undocumented and unsupported,
3953 # and are intended to be withdrawn in a future Autoconf release.
3954 # They can cause serious problems if a builder's source tree is in a directory
3955 # whose full name contains unusual characters.
3956 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3957 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3958 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3962 libwine_version="1.0"
3966 # Check whether --enable-win16 was given.
3967 if test "${enable_win16+set}" = set; then :
3968 enableval=$enable_win16;
3971 # Check whether --enable-win64 was given.
3972 if test "${enable_win64+set}" = set; then :
3973 enableval=$enable_win64;
3976 # Check whether --enable-tests was given.
3977 if test "${enable_tests+set}" = set; then :
3978 enableval=$enable_tests;
3981 # Check whether --enable-build-id was given.
3982 if test "${enable_build_id+set}" = set; then :
3983 enableval=$enable_build_id;
3986 # Check whether --enable-maintainer-mode was given.
3987 if test "${enable_maintainer_mode+set}" = set; then :
3988 enableval=$enable_maintainer_mode;
3991 # Check whether --enable-silent-rules was given.
3992 if test "${enable_silent_rules+set}" = set; then :
3993 enableval=$enable_silent_rules;
3996 # Check whether --enable-werror was given.
3997 if test "${enable_werror+set}" = set; then :
3998 enableval=$enable_werror;
4003 # Check whether --with-alsa was given.
4004 if test "${with_alsa+set}" = set; then :
4005 withval=$with_alsa;
4009 # Check whether --with-capi was given.
4010 if test "${with_capi+set}" = set; then :
4011 withval=$with_capi;
4015 # Check whether --with-coreaudio was given.
4016 if test "${with_coreaudio+set}" = set; then :
4017 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
4021 # Check whether --with-cups was given.
4022 if test "${with_cups+set}" = set; then :
4023 withval=$with_cups;
4027 # Check whether --with-dbus was given.
4028 if test "${with_dbus+set}" = set; then :
4029 withval=$with_dbus;
4033 # Check whether --with-float-abi was given.
4034 if test "${with_float_abi+set}" = set; then :
4035 withval=$with_float_abi;
4039 # Check whether --with-fontconfig was given.
4040 if test "${with_fontconfig+set}" = set; then :
4041 withval=$with_fontconfig;
4045 # Check whether --with-freetype was given.
4046 if test "${with_freetype+set}" = set; then :
4047 withval=$with_freetype;
4051 # Check whether --with-gettext was given.
4052 if test "${with_gettext+set}" = set; then :
4053 withval=$with_gettext;
4057 # Check whether --with-gettextpo was given.
4058 if test "${with_gettextpo+set}" = set; then :
4059 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4063 # Check whether --with-gphoto was given.
4064 if test "${with_gphoto+set}" = set; then :
4065 withval=$with_gphoto;
4069 # Check whether --with-gnutls was given.
4070 if test "${with_gnutls+set}" = set; then :
4071 withval=$with_gnutls;
4075 # Check whether --with-gssapi was given.
4076 if test "${with_gssapi+set}" = set; then :
4077 withval=$with_gssapi;
4081 # Check whether --with-gstreamer was given.
4082 if test "${with_gstreamer+set}" = set; then :
4083 withval=$with_gstreamer;
4087 # Check whether --with-hal was given.
4088 if test "${with_hal+set}" = set; then :
4089 withval=$with_hal;
4093 # Check whether --with-inotify was given.
4094 if test "${with_inotify+set}" = set; then :
4095 withval=$with_inotify;
4099 # Check whether --with-jpeg was given.
4100 if test "${with_jpeg+set}" = set; then :
4101 withval=$with_jpeg;
4105 # Check whether --with-krb5 was given.
4106 if test "${with_krb5+set}" = set; then :
4107 withval=$with_krb5;
4111 # Check whether --with-ldap was given.
4112 if test "${with_ldap+set}" = set; then :
4113 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4117 # Check whether --with-mingw was given.
4118 if test "${with_mingw+set}" = set; then :
4119 withval=$with_mingw;
4123 # Check whether --with-netapi was given.
4124 if test "${with_netapi+set}" = set; then :
4125 withval=$with_netapi;
4129 # Check whether --with-openal was given.
4130 if test "${with_openal+set}" = set; then :
4131 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4135 # Check whether --with-opencl was given.
4136 if test "${with_opencl+set}" = set; then :
4137 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4141 # Check whether --with-opengl was given.
4142 if test "${with_opengl+set}" = set; then :
4143 withval=$with_opengl;
4147 # Check whether --with-osmesa was given.
4148 if test "${with_osmesa+set}" = set; then :
4149 withval=$with_osmesa;
4153 # Check whether --with-oss was given.
4154 if test "${with_oss+set}" = set; then :
4155 withval=$with_oss;
4159 # Check whether --with-pcap was given.
4160 if test "${with_pcap+set}" = set; then :
4161 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4165 # Check whether --with-pthread was given.
4166 if test "${with_pthread+set}" = set; then :
4167 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4171 # Check whether --with-pulse was given.
4172 if test "${with_pulse+set}" = set; then :
4173 withval=$with_pulse;
4177 # Check whether --with-quicktime was given.
4178 if test "${with_quicktime+set}" = set; then :
4179 withval=$with_quicktime;
4183 # Check whether --with-sane was given.
4184 if test "${with_sane+set}" = set; then :
4185 withval=$with_sane;
4189 # Check whether --with-sdl was given.
4190 if test "${with_sdl+set}" = set; then :
4191 withval=$with_sdl;
4195 # Check whether --with-udev was given.
4196 if test "${with_udev+set}" = set; then :
4197 withval=$with_udev;
4201 # Check whether --with-unwind was given.
4202 if test "${with_unwind+set}" = set; then :
4203 withval=$with_unwind;
4207 # Check whether --with-usb was given.
4208 if test "${with_usb+set}" = set; then :
4209 withval=$with_usb;
4213 # Check whether --with-v4l2 was given.
4214 if test "${with_v4l2+set}" = set; then :
4215 withval=$with_v4l2;
4219 # Check whether --with-vkd3d was given.
4220 if test "${with_vkd3d+set}" = set; then :
4221 withval=$with_vkd3d;
4225 # Check whether --with-vulkan was given.
4226 if test "${with_vulkan+set}" = set; then :
4227 withval=$with_vulkan;
4231 # Check whether --with-xcomposite was given.
4232 if test "${with_xcomposite+set}" = set; then :
4233 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4237 # Check whether --with-xcursor was given.
4238 if test "${with_xcursor+set}" = set; then :
4239 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4243 # Check whether --with-xfixes was given.
4244 if test "${with_xfixes+set}" = set; then :
4245 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4249 # Check whether --with-xinerama was given.
4250 if test "${with_xinerama+set}" = set; then :
4251 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4255 # Check whether --with-xinput was given.
4256 if test "${with_xinput+set}" = set; then :
4257 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4261 # Check whether --with-xinput2 was given.
4262 if test "${with_xinput2+set}" = set; then :
4263 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4267 # Check whether --with-xrandr was given.
4268 if test "${with_xrandr+set}" = set; then :
4269 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4273 # Check whether --with-xrender was given.
4274 if test "${with_xrender+set}" = set; then :
4275 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4279 # Check whether --with-xshape was given.
4280 if test "${with_xshape+set}" = set; then :
4281 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4285 # Check whether --with-xshm was given.
4286 if test "${with_xshm+set}" = set; then :
4287 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4291 # Check whether --with-xxf86vm was given.
4292 if test "${with_xxf86vm+set}" = set; then :
4293 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
4298 # Check whether --with-wine-tools was given.
4299 if test "${with_wine_tools+set}" = set; then :
4300 withval=$with_wine_tools;
4304 # Check whether --with-wine64 was given.
4305 if test "${with_wine64+set}" = set; then :
4306 withval=$with_wine64;
4310 # Make sure we can run config.sub.
4311 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4312 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4315 $as_echo_n "checking build system type... " >&6; }
4316 if ${ac_cv_build+:} false; then :
4317 $as_echo_n "(cached) " >&6
4318 else
4319 ac_build_alias=$build_alias
4320 test "x$ac_build_alias" = x &&
4321 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4322 test "x$ac_build_alias" = x &&
4323 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4324 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4325 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4329 $as_echo "$ac_cv_build" >&6; }
4330 case $ac_cv_build in
4331 *-*-*) ;;
4332 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4333 esac
4334 build=$ac_cv_build
4335 ac_save_IFS=$IFS; IFS='-'
4336 set x $ac_cv_build
4337 shift
4338 build_cpu=$1
4339 build_vendor=$2
4340 shift; shift
4341 # Remember, the first character of IFS is used to create $*,
4342 # except with old shells:
4343 build_os=$*
4344 IFS=$ac_save_IFS
4345 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4349 $as_echo_n "checking host system type... " >&6; }
4350 if ${ac_cv_host+:} false; then :
4351 $as_echo_n "(cached) " >&6
4352 else
4353 if test "x$host_alias" = x; then
4354 ac_cv_host=$ac_cv_build
4355 else
4356 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4357 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4362 $as_echo "$ac_cv_host" >&6; }
4363 case $ac_cv_host in
4364 *-*-*) ;;
4365 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4366 esac
4367 host=$ac_cv_host
4368 ac_save_IFS=$IFS; IFS='-'
4369 set x $ac_cv_host
4370 shift
4371 host_cpu=$1
4372 host_vendor=$2
4373 shift; shift
4374 # Remember, the first character of IFS is used to create $*,
4375 # except with old shells:
4376 host_os=$*
4377 IFS=$ac_save_IFS
4378 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4384 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4385 set x ${MAKE-make}
4386 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4387 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4388 $as_echo_n "(cached) " >&6
4389 else
4390 cat >conftest.make <<\_ACEOF
4391 SHELL = /bin/sh
4392 all:
4393 @echo '@@@%%%=$(MAKE)=@@@%%%'
4394 _ACEOF
4395 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4396 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4397 *@@@%%%=?*=@@@%%%*)
4398 eval ac_cv_prog_make_${ac_make}_set=yes;;
4400 eval ac_cv_prog_make_${ac_make}_set=no;;
4401 esac
4402 rm -f conftest.make
4404 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4406 $as_echo "yes" >&6; }
4407 SET_MAKE=
4408 else
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4410 $as_echo "no" >&6; }
4411 SET_MAKE="MAKE=${MAKE-make}"
4414 ac_ext=c
4415 ac_cpp='$CPP $CPPFLAGS'
4416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4419 if test -n "$ac_tool_prefix"; then
4420 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4421 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4423 $as_echo_n "checking for $ac_word... " >&6; }
4424 if ${ac_cv_prog_CC+:} false; then :
4425 $as_echo_n "(cached) " >&6
4426 else
4427 if test -n "$CC"; then
4428 ac_cv_prog_CC="$CC" # Let the user override the test.
4429 else
4430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4431 for as_dir in $PATH
4433 IFS=$as_save_IFS
4434 test -z "$as_dir" && as_dir=.
4435 for ac_exec_ext in '' $ac_executable_extensions; do
4436 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4437 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4439 break 2
4441 done
4442 done
4443 IFS=$as_save_IFS
4447 CC=$ac_cv_prog_CC
4448 if test -n "$CC"; then
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4450 $as_echo "$CC" >&6; }
4451 else
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4453 $as_echo "no" >&6; }
4458 if test -z "$ac_cv_prog_CC"; then
4459 ac_ct_CC=$CC
4460 # Extract the first word of "gcc", so it can be a program name with args.
4461 set dummy gcc; ac_word=$2
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4463 $as_echo_n "checking for $ac_word... " >&6; }
4464 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4465 $as_echo_n "(cached) " >&6
4466 else
4467 if test -n "$ac_ct_CC"; then
4468 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4469 else
4470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4471 for as_dir in $PATH
4473 IFS=$as_save_IFS
4474 test -z "$as_dir" && as_dir=.
4475 for ac_exec_ext in '' $ac_executable_extensions; do
4476 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4477 ac_cv_prog_ac_ct_CC="gcc"
4478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4479 break 2
4481 done
4482 done
4483 IFS=$as_save_IFS
4487 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4488 if test -n "$ac_ct_CC"; then
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4490 $as_echo "$ac_ct_CC" >&6; }
4491 else
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4493 $as_echo "no" >&6; }
4496 if test "x$ac_ct_CC" = x; then
4497 CC=""
4498 else
4499 case $cross_compiling:$ac_tool_warned in
4500 yes:)
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4502 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4503 ac_tool_warned=yes ;;
4504 esac
4505 CC=$ac_ct_CC
4507 else
4508 CC="$ac_cv_prog_CC"
4511 if test -z "$CC"; then
4512 if test -n "$ac_tool_prefix"; then
4513 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4514 set dummy ${ac_tool_prefix}cc; ac_word=$2
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4516 $as_echo_n "checking for $ac_word... " >&6; }
4517 if ${ac_cv_prog_CC+:} false; then :
4518 $as_echo_n "(cached) " >&6
4519 else
4520 if test -n "$CC"; then
4521 ac_cv_prog_CC="$CC" # Let the user override the test.
4522 else
4523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4524 for as_dir in $PATH
4526 IFS=$as_save_IFS
4527 test -z "$as_dir" && as_dir=.
4528 for ac_exec_ext in '' $ac_executable_extensions; do
4529 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4530 ac_cv_prog_CC="${ac_tool_prefix}cc"
4531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4532 break 2
4534 done
4535 done
4536 IFS=$as_save_IFS
4540 CC=$ac_cv_prog_CC
4541 if test -n "$CC"; then
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4543 $as_echo "$CC" >&6; }
4544 else
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4546 $as_echo "no" >&6; }
4552 if test -z "$CC"; then
4553 # Extract the first word of "cc", so it can be a program name with args.
4554 set dummy cc; ac_word=$2
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4556 $as_echo_n "checking for $ac_word... " >&6; }
4557 if ${ac_cv_prog_CC+:} false; then :
4558 $as_echo_n "(cached) " >&6
4559 else
4560 if test -n "$CC"; then
4561 ac_cv_prog_CC="$CC" # Let the user override the test.
4562 else
4563 ac_prog_rejected=no
4564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4565 for as_dir in $PATH
4567 IFS=$as_save_IFS
4568 test -z "$as_dir" && as_dir=.
4569 for ac_exec_ext in '' $ac_executable_extensions; do
4570 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4571 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4572 ac_prog_rejected=yes
4573 continue
4575 ac_cv_prog_CC="cc"
4576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4577 break 2
4579 done
4580 done
4581 IFS=$as_save_IFS
4583 if test $ac_prog_rejected = yes; then
4584 # We found a bogon in the path, so make sure we never use it.
4585 set dummy $ac_cv_prog_CC
4586 shift
4587 if test $# != 0; then
4588 # We chose a different compiler from the bogus one.
4589 # However, it has the same basename, so the bogon will be chosen
4590 # first if we set CC to just the basename; use the full file name.
4591 shift
4592 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4597 CC=$ac_cv_prog_CC
4598 if test -n "$CC"; then
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4600 $as_echo "$CC" >&6; }
4601 else
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4603 $as_echo "no" >&6; }
4608 if test -z "$CC"; then
4609 if test -n "$ac_tool_prefix"; then
4610 for ac_prog in cl.exe
4612 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4613 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4615 $as_echo_n "checking for $ac_word... " >&6; }
4616 if ${ac_cv_prog_CC+:} false; then :
4617 $as_echo_n "(cached) " >&6
4618 else
4619 if test -n "$CC"; then
4620 ac_cv_prog_CC="$CC" # Let the user override the test.
4621 else
4622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4623 for as_dir in $PATH
4625 IFS=$as_save_IFS
4626 test -z "$as_dir" && as_dir=.
4627 for ac_exec_ext in '' $ac_executable_extensions; do
4628 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4629 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4631 break 2
4633 done
4634 done
4635 IFS=$as_save_IFS
4639 CC=$ac_cv_prog_CC
4640 if test -n "$CC"; then
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4642 $as_echo "$CC" >&6; }
4643 else
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4645 $as_echo "no" >&6; }
4649 test -n "$CC" && break
4650 done
4652 if test -z "$CC"; then
4653 ac_ct_CC=$CC
4654 for ac_prog in cl.exe
4656 # Extract the first word of "$ac_prog", so it can be a program name with args.
4657 set dummy $ac_prog; ac_word=$2
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4659 $as_echo_n "checking for $ac_word... " >&6; }
4660 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4661 $as_echo_n "(cached) " >&6
4662 else
4663 if test -n "$ac_ct_CC"; then
4664 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4665 else
4666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4667 for as_dir in $PATH
4669 IFS=$as_save_IFS
4670 test -z "$as_dir" && as_dir=.
4671 for ac_exec_ext in '' $ac_executable_extensions; do
4672 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4673 ac_cv_prog_ac_ct_CC="$ac_prog"
4674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4675 break 2
4677 done
4678 done
4679 IFS=$as_save_IFS
4683 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4684 if test -n "$ac_ct_CC"; then
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4686 $as_echo "$ac_ct_CC" >&6; }
4687 else
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4689 $as_echo "no" >&6; }
4693 test -n "$ac_ct_CC" && break
4694 done
4696 if test "x$ac_ct_CC" = x; then
4697 CC=""
4698 else
4699 case $cross_compiling:$ac_tool_warned in
4700 yes:)
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4702 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4703 ac_tool_warned=yes ;;
4704 esac
4705 CC=$ac_ct_CC
4712 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4713 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4714 as_fn_error $? "no acceptable C compiler found in \$PATH
4715 See \`config.log' for more details" "$LINENO" 5; }
4717 # Provide some information about the compiler.
4718 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4719 set X $ac_compile
4720 ac_compiler=$2
4721 for ac_option in --version -v -V -qversion; do
4722 { { ac_try="$ac_compiler $ac_option >&5"
4723 case "(($ac_try" in
4724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4725 *) ac_try_echo=$ac_try;;
4726 esac
4727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4728 $as_echo "$ac_try_echo"; } >&5
4729 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4730 ac_status=$?
4731 if test -s conftest.err; then
4732 sed '10a\
4733 ... rest of stderr output deleted ...
4734 10q' conftest.err >conftest.er1
4735 cat conftest.er1 >&5
4737 rm -f conftest.er1 conftest.err
4738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4739 test $ac_status = 0; }
4740 done
4742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4743 /* end confdefs.h. */
4746 main ()
4750 return 0;
4752 _ACEOF
4753 ac_clean_files_save=$ac_clean_files
4754 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4755 # Try to create an executable without -o first, disregard a.out.
4756 # It will help us diagnose broken compilers, and finding out an intuition
4757 # of exeext.
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4759 $as_echo_n "checking whether the C compiler works... " >&6; }
4760 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4762 # The possible output files:
4763 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4765 ac_rmfiles=
4766 for ac_file in $ac_files
4768 case $ac_file in
4769 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4770 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4771 esac
4772 done
4773 rm -f $ac_rmfiles
4775 if { { ac_try="$ac_link_default"
4776 case "(($ac_try" in
4777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4778 *) ac_try_echo=$ac_try;;
4779 esac
4780 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4781 $as_echo "$ac_try_echo"; } >&5
4782 (eval "$ac_link_default") 2>&5
4783 ac_status=$?
4784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4785 test $ac_status = 0; }; then :
4786 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4787 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4788 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4789 # so that the user can short-circuit this test for compilers unknown to
4790 # Autoconf.
4791 for ac_file in $ac_files ''
4793 test -f "$ac_file" || continue
4794 case $ac_file in
4795 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4797 [ab].out )
4798 # We found the default executable, but exeext='' is most
4799 # certainly right.
4800 break;;
4801 *.* )
4802 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4803 then :; else
4804 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4806 # We set ac_cv_exeext here because the later test for it is not
4807 # safe: cross compilers may not add the suffix if given an `-o'
4808 # argument, so we may need to know it at that point already.
4809 # Even if this section looks crufty: it has the advantage of
4810 # actually working.
4811 break;;
4813 break;;
4814 esac
4815 done
4816 test "$ac_cv_exeext" = no && ac_cv_exeext=
4818 else
4819 ac_file=''
4821 if test -z "$ac_file"; then :
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4823 $as_echo "no" >&6; }
4824 $as_echo "$as_me: failed program was:" >&5
4825 sed 's/^/| /' conftest.$ac_ext >&5
4827 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4828 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4829 as_fn_error 77 "C compiler cannot create executables
4830 See \`config.log' for more details" "$LINENO" 5; }
4831 else
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4833 $as_echo "yes" >&6; }
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4836 $as_echo_n "checking for C compiler default output file name... " >&6; }
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4838 $as_echo "$ac_file" >&6; }
4839 ac_exeext=$ac_cv_exeext
4841 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4842 ac_clean_files=$ac_clean_files_save
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4844 $as_echo_n "checking for suffix of executables... " >&6; }
4845 if { { ac_try="$ac_link"
4846 case "(($ac_try" in
4847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4848 *) ac_try_echo=$ac_try;;
4849 esac
4850 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4851 $as_echo "$ac_try_echo"; } >&5
4852 (eval "$ac_link") 2>&5
4853 ac_status=$?
4854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4855 test $ac_status = 0; }; then :
4856 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4857 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4858 # work properly (i.e., refer to `conftest.exe'), while it won't with
4859 # `rm'.
4860 for ac_file in conftest.exe conftest conftest.*; do
4861 test -f "$ac_file" || continue
4862 case $ac_file in
4863 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4864 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4865 break;;
4866 * ) break;;
4867 esac
4868 done
4869 else
4870 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4871 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4872 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4873 See \`config.log' for more details" "$LINENO" 5; }
4875 rm -f conftest conftest$ac_cv_exeext
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4877 $as_echo "$ac_cv_exeext" >&6; }
4879 rm -f conftest.$ac_ext
4880 EXEEXT=$ac_cv_exeext
4881 ac_exeext=$EXEEXT
4882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4883 /* end confdefs.h. */
4884 #include <stdio.h>
4886 main ()
4888 FILE *f = fopen ("conftest.out", "w");
4889 return ferror (f) || fclose (f) != 0;
4892 return 0;
4894 _ACEOF
4895 ac_clean_files="$ac_clean_files conftest.out"
4896 # Check that the compiler produces executables we can run. If not, either
4897 # the compiler is broken, or we cross compile.
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4899 $as_echo_n "checking whether we are cross compiling... " >&6; }
4900 if test "$cross_compiling" != yes; then
4901 { { ac_try="$ac_link"
4902 case "(($ac_try" in
4903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4904 *) ac_try_echo=$ac_try;;
4905 esac
4906 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4907 $as_echo "$ac_try_echo"; } >&5
4908 (eval "$ac_link") 2>&5
4909 ac_status=$?
4910 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4911 test $ac_status = 0; }
4912 if { ac_try='./conftest$ac_cv_exeext'
4913 { { case "(($ac_try" in
4914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4915 *) ac_try_echo=$ac_try;;
4916 esac
4917 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4918 $as_echo "$ac_try_echo"; } >&5
4919 (eval "$ac_try") 2>&5
4920 ac_status=$?
4921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4922 test $ac_status = 0; }; }; then
4923 cross_compiling=no
4924 else
4925 if test "$cross_compiling" = maybe; then
4926 cross_compiling=yes
4927 else
4928 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4929 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4930 as_fn_error $? "cannot run C compiled programs.
4931 If you meant to cross compile, use \`--host'.
4932 See \`config.log' for more details" "$LINENO" 5; }
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4937 $as_echo "$cross_compiling" >&6; }
4939 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4940 ac_clean_files=$ac_clean_files_save
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4942 $as_echo_n "checking for suffix of object files... " >&6; }
4943 if ${ac_cv_objext+:} false; then :
4944 $as_echo_n "(cached) " >&6
4945 else
4946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4947 /* end confdefs.h. */
4950 main ()
4954 return 0;
4956 _ACEOF
4957 rm -f conftest.o conftest.obj
4958 if { { ac_try="$ac_compile"
4959 case "(($ac_try" in
4960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4961 *) ac_try_echo=$ac_try;;
4962 esac
4963 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4964 $as_echo "$ac_try_echo"; } >&5
4965 (eval "$ac_compile") 2>&5
4966 ac_status=$?
4967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4968 test $ac_status = 0; }; then :
4969 for ac_file in conftest.o conftest.obj conftest.*; do
4970 test -f "$ac_file" || continue;
4971 case $ac_file in
4972 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4973 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4974 break;;
4975 esac
4976 done
4977 else
4978 $as_echo "$as_me: failed program was:" >&5
4979 sed 's/^/| /' conftest.$ac_ext >&5
4981 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4982 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4983 as_fn_error $? "cannot compute suffix of object files: cannot compile
4984 See \`config.log' for more details" "$LINENO" 5; }
4986 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4989 $as_echo "$ac_cv_objext" >&6; }
4990 OBJEXT=$ac_cv_objext
4991 ac_objext=$OBJEXT
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4993 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4994 if ${ac_cv_c_compiler_gnu+:} false; then :
4995 $as_echo_n "(cached) " >&6
4996 else
4997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4998 /* end confdefs.h. */
5001 main ()
5003 #ifndef __GNUC__
5004 choke me
5005 #endif
5008 return 0;
5010 _ACEOF
5011 if ac_fn_c_try_compile "$LINENO"; then :
5012 ac_compiler_gnu=yes
5013 else
5014 ac_compiler_gnu=no
5016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5017 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5021 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5022 if test $ac_compiler_gnu = yes; then
5023 GCC=yes
5024 else
5025 GCC=
5027 ac_test_CFLAGS=${CFLAGS+set}
5028 ac_save_CFLAGS=$CFLAGS
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5030 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5031 if ${ac_cv_prog_cc_g+:} false; then :
5032 $as_echo_n "(cached) " >&6
5033 else
5034 ac_save_c_werror_flag=$ac_c_werror_flag
5035 ac_c_werror_flag=yes
5036 ac_cv_prog_cc_g=no
5037 CFLAGS="-g"
5038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5039 /* end confdefs.h. */
5042 main ()
5046 return 0;
5048 _ACEOF
5049 if ac_fn_c_try_compile "$LINENO"; then :
5050 ac_cv_prog_cc_g=yes
5051 else
5052 CFLAGS=""
5053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5054 /* end confdefs.h. */
5057 main ()
5061 return 0;
5063 _ACEOF
5064 if ac_fn_c_try_compile "$LINENO"; then :
5066 else
5067 ac_c_werror_flag=$ac_save_c_werror_flag
5068 CFLAGS="-g"
5069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5070 /* end confdefs.h. */
5073 main ()
5077 return 0;
5079 _ACEOF
5080 if ac_fn_c_try_compile "$LINENO"; then :
5081 ac_cv_prog_cc_g=yes
5083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5088 ac_c_werror_flag=$ac_save_c_werror_flag
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5091 $as_echo "$ac_cv_prog_cc_g" >&6; }
5092 if test "$ac_test_CFLAGS" = set; then
5093 CFLAGS=$ac_save_CFLAGS
5094 elif test $ac_cv_prog_cc_g = yes; then
5095 if test "$GCC" = yes; then
5096 CFLAGS="-g -O2"
5097 else
5098 CFLAGS="-g"
5100 else
5101 if test "$GCC" = yes; then
5102 CFLAGS="-O2"
5103 else
5104 CFLAGS=
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5108 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5109 if ${ac_cv_prog_cc_c89+:} false; then :
5110 $as_echo_n "(cached) " >&6
5111 else
5112 ac_cv_prog_cc_c89=no
5113 ac_save_CC=$CC
5114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5115 /* end confdefs.h. */
5116 #include <stdarg.h>
5117 #include <stdio.h>
5118 struct stat;
5119 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5120 struct buf { int x; };
5121 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5122 static char *e (p, i)
5123 char **p;
5124 int i;
5126 return p[i];
5128 static char *f (char * (*g) (char **, int), char **p, ...)
5130 char *s;
5131 va_list v;
5132 va_start (v,p);
5133 s = g (p, va_arg (v,int));
5134 va_end (v);
5135 return s;
5138 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5139 function prototypes and stuff, but not '\xHH' hex character constants.
5140 These don't provoke an error unfortunately, instead are silently treated
5141 as 'x'. The following induces an error, until -std is added to get
5142 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5143 array size at least. It's necessary to write '\x00'==0 to get something
5144 that's true only with -std. */
5145 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5147 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5148 inside strings and character constants. */
5149 #define FOO(x) 'x'
5150 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5152 int test (int i, double x);
5153 struct s1 {int (*f) (int a);};
5154 struct s2 {int (*f) (double a);};
5155 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5156 int argc;
5157 char **argv;
5159 main ()
5161 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5163 return 0;
5165 _ACEOF
5166 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5167 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5169 CC="$ac_save_CC $ac_arg"
5170 if ac_fn_c_try_compile "$LINENO"; then :
5171 ac_cv_prog_cc_c89=$ac_arg
5173 rm -f core conftest.err conftest.$ac_objext
5174 test "x$ac_cv_prog_cc_c89" != "xno" && break
5175 done
5176 rm -f conftest.$ac_ext
5177 CC=$ac_save_CC
5180 # AC_CACHE_VAL
5181 case "x$ac_cv_prog_cc_c89" in
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5184 $as_echo "none needed" >&6; } ;;
5185 xno)
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5187 $as_echo "unsupported" >&6; } ;;
5189 CC="$CC $ac_cv_prog_cc_c89"
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5191 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5192 esac
5193 if test "x$ac_cv_prog_cc_c89" != xno; then :
5197 ac_ext=c
5198 ac_cpp='$CPP $CPPFLAGS'
5199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5203 ac_ext=cpp
5204 ac_cpp='$CXXCPP $CPPFLAGS'
5205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5208 if test -z "$CXX"; then
5209 if test -n "$CCC"; then
5210 CXX=$CCC
5211 else
5212 if test -n "$ac_tool_prefix"; then
5213 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5215 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5216 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5218 $as_echo_n "checking for $ac_word... " >&6; }
5219 if ${ac_cv_prog_CXX+:} false; then :
5220 $as_echo_n "(cached) " >&6
5221 else
5222 if test -n "$CXX"; then
5223 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5224 else
5225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5226 for as_dir in $PATH
5228 IFS=$as_save_IFS
5229 test -z "$as_dir" && as_dir=.
5230 for ac_exec_ext in '' $ac_executable_extensions; do
5231 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5232 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5234 break 2
5236 done
5237 done
5238 IFS=$as_save_IFS
5242 CXX=$ac_cv_prog_CXX
5243 if test -n "$CXX"; then
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5245 $as_echo "$CXX" >&6; }
5246 else
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5248 $as_echo "no" >&6; }
5252 test -n "$CXX" && break
5253 done
5255 if test -z "$CXX"; then
5256 ac_ct_CXX=$CXX
5257 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5259 # Extract the first word of "$ac_prog", so it can be a program name with args.
5260 set dummy $ac_prog; ac_word=$2
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5262 $as_echo_n "checking for $ac_word... " >&6; }
5263 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5264 $as_echo_n "(cached) " >&6
5265 else
5266 if test -n "$ac_ct_CXX"; then
5267 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5268 else
5269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5270 for as_dir in $PATH
5272 IFS=$as_save_IFS
5273 test -z "$as_dir" && as_dir=.
5274 for ac_exec_ext in '' $ac_executable_extensions; do
5275 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5276 ac_cv_prog_ac_ct_CXX="$ac_prog"
5277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5278 break 2
5280 done
5281 done
5282 IFS=$as_save_IFS
5286 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5287 if test -n "$ac_ct_CXX"; then
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5289 $as_echo "$ac_ct_CXX" >&6; }
5290 else
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5292 $as_echo "no" >&6; }
5296 test -n "$ac_ct_CXX" && break
5297 done
5299 if test "x$ac_ct_CXX" = x; then
5300 CXX="g++"
5301 else
5302 case $cross_compiling:$ac_tool_warned in
5303 yes:)
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5305 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5306 ac_tool_warned=yes ;;
5307 esac
5308 CXX=$ac_ct_CXX
5314 # Provide some information about the compiler.
5315 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5316 set X $ac_compile
5317 ac_compiler=$2
5318 for ac_option in --version -v -V -qversion; do
5319 { { ac_try="$ac_compiler $ac_option >&5"
5320 case "(($ac_try" in
5321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5322 *) ac_try_echo=$ac_try;;
5323 esac
5324 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5325 $as_echo "$ac_try_echo"; } >&5
5326 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5327 ac_status=$?
5328 if test -s conftest.err; then
5329 sed '10a\
5330 ... rest of stderr output deleted ...
5331 10q' conftest.err >conftest.er1
5332 cat conftest.er1 >&5
5334 rm -f conftest.er1 conftest.err
5335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5336 test $ac_status = 0; }
5337 done
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5340 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5341 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5342 $as_echo_n "(cached) " >&6
5343 else
5344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5345 /* end confdefs.h. */
5348 main ()
5350 #ifndef __GNUC__
5351 choke me
5352 #endif
5355 return 0;
5357 _ACEOF
5358 if ac_fn_cxx_try_compile "$LINENO"; then :
5359 ac_compiler_gnu=yes
5360 else
5361 ac_compiler_gnu=no
5363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5364 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5368 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5369 if test $ac_compiler_gnu = yes; then
5370 GXX=yes
5371 else
5372 GXX=
5374 ac_test_CXXFLAGS=${CXXFLAGS+set}
5375 ac_save_CXXFLAGS=$CXXFLAGS
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5377 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5378 if ${ac_cv_prog_cxx_g+:} false; then :
5379 $as_echo_n "(cached) " >&6
5380 else
5381 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5382 ac_cxx_werror_flag=yes
5383 ac_cv_prog_cxx_g=no
5384 CXXFLAGS="-g"
5385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5386 /* end confdefs.h. */
5389 main ()
5393 return 0;
5395 _ACEOF
5396 if ac_fn_cxx_try_compile "$LINENO"; then :
5397 ac_cv_prog_cxx_g=yes
5398 else
5399 CXXFLAGS=""
5400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5401 /* end confdefs.h. */
5404 main ()
5408 return 0;
5410 _ACEOF
5411 if ac_fn_cxx_try_compile "$LINENO"; then :
5413 else
5414 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5415 CXXFLAGS="-g"
5416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5417 /* end confdefs.h. */
5420 main ()
5424 return 0;
5426 _ACEOF
5427 if ac_fn_cxx_try_compile "$LINENO"; then :
5428 ac_cv_prog_cxx_g=yes
5430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5435 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5438 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5439 if test "$ac_test_CXXFLAGS" = set; then
5440 CXXFLAGS=$ac_save_CXXFLAGS
5441 elif test $ac_cv_prog_cxx_g = yes; then
5442 if test "$GXX" = yes; then
5443 CXXFLAGS="-g -O2"
5444 else
5445 CXXFLAGS="-g"
5447 else
5448 if test "$GXX" = yes; then
5449 CXXFLAGS="-O2"
5450 else
5451 CXXFLAGS=
5454 ac_ext=c
5455 ac_cpp='$CPP $CPPFLAGS'
5456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5460 if test -n "$ac_tool_prefix"; then
5461 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5462 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5464 $as_echo_n "checking for $ac_word... " >&6; }
5465 if ${ac_cv_prog_CPPBIN+:} false; then :
5466 $as_echo_n "(cached) " >&6
5467 else
5468 if test -n "$CPPBIN"; then
5469 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5470 else
5471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5472 for as_dir in $PATH
5474 IFS=$as_save_IFS
5475 test -z "$as_dir" && as_dir=.
5476 for ac_exec_ext in '' $ac_executable_extensions; do
5477 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5478 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5480 break 2
5482 done
5483 done
5484 IFS=$as_save_IFS
5488 CPPBIN=$ac_cv_prog_CPPBIN
5489 if test -n "$CPPBIN"; then
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5491 $as_echo "$CPPBIN" >&6; }
5492 else
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5494 $as_echo "no" >&6; }
5499 if test -z "$ac_cv_prog_CPPBIN"; then
5500 ac_ct_CPPBIN=$CPPBIN
5501 # Extract the first word of "cpp", so it can be a program name with args.
5502 set dummy cpp; ac_word=$2
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5504 $as_echo_n "checking for $ac_word... " >&6; }
5505 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5506 $as_echo_n "(cached) " >&6
5507 else
5508 if test -n "$ac_ct_CPPBIN"; then
5509 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5510 else
5511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5512 for as_dir in $PATH
5514 IFS=$as_save_IFS
5515 test -z "$as_dir" && as_dir=.
5516 for ac_exec_ext in '' $ac_executable_extensions; do
5517 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5518 ac_cv_prog_ac_ct_CPPBIN="cpp"
5519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5520 break 2
5522 done
5523 done
5524 IFS=$as_save_IFS
5528 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5529 if test -n "$ac_ct_CPPBIN"; then
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5531 $as_echo "$ac_ct_CPPBIN" >&6; }
5532 else
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5534 $as_echo "no" >&6; }
5537 if test "x$ac_ct_CPPBIN" = x; then
5538 CPPBIN="cpp"
5539 else
5540 case $cross_compiling:$ac_tool_warned in
5541 yes:)
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5543 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5544 ac_tool_warned=yes ;;
5545 esac
5546 CPPBIN=$ac_ct_CPPBIN
5548 else
5549 CPPBIN="$ac_cv_prog_CPPBIN"
5553 cat >>confdefs.h <<_ACEOF
5554 #define EXEEXT "$ac_exeext"
5555 _ACEOF
5557 if test -n "$ac_tool_prefix"; then
5558 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5559 set dummy ${ac_tool_prefix}ld; ac_word=$2
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5561 $as_echo_n "checking for $ac_word... " >&6; }
5562 if ${ac_cv_prog_LD+:} false; then :
5563 $as_echo_n "(cached) " >&6
5564 else
5565 if test -n "$LD"; then
5566 ac_cv_prog_LD="$LD" # Let the user override the test.
5567 else
5568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5569 for as_dir in $PATH
5571 IFS=$as_save_IFS
5572 test -z "$as_dir" && as_dir=.
5573 for ac_exec_ext in '' $ac_executable_extensions; do
5574 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5575 ac_cv_prog_LD="${ac_tool_prefix}ld"
5576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5577 break 2
5579 done
5580 done
5581 IFS=$as_save_IFS
5585 LD=$ac_cv_prog_LD
5586 if test -n "$LD"; then
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5588 $as_echo "$LD" >&6; }
5589 else
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5591 $as_echo "no" >&6; }
5596 if test -z "$ac_cv_prog_LD"; then
5597 ac_ct_LD=$LD
5598 # Extract the first word of "ld", so it can be a program name with args.
5599 set dummy ld; ac_word=$2
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5601 $as_echo_n "checking for $ac_word... " >&6; }
5602 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5603 $as_echo_n "(cached) " >&6
5604 else
5605 if test -n "$ac_ct_LD"; then
5606 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5607 else
5608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5609 for as_dir in $PATH
5611 IFS=$as_save_IFS
5612 test -z "$as_dir" && as_dir=.
5613 for ac_exec_ext in '' $ac_executable_extensions; do
5614 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5615 ac_cv_prog_ac_ct_LD="ld"
5616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5617 break 2
5619 done
5620 done
5621 IFS=$as_save_IFS
5625 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5626 if test -n "$ac_ct_LD"; then
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5628 $as_echo "$ac_ct_LD" >&6; }
5629 else
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5631 $as_echo "no" >&6; }
5634 if test "x$ac_ct_LD" = x; then
5635 LD=""
5636 else
5637 case $cross_compiling:$ac_tool_warned in
5638 yes:)
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5640 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5641 ac_tool_warned=yes ;;
5642 esac
5643 LD=$ac_ct_LD
5645 else
5646 LD="$ac_cv_prog_LD"
5650 case $host in
5651 *-darwin*)
5652 with_fontconfig=${with_fontconfig:-no}
5654 *-mingw32*|*-cygwin*)
5655 enable_win16=${enable_win16:-no}
5656 with_mingw=${with_mingw:-no}
5658 esac
5661 case $host in
5662 x86_64*|amd64*)
5663 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5664 then
5665 CC="$CC -m32"
5666 CXX="$CXX -m32"
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5669 $as_echo_n "checking whether $CC works... " >&6; }
5670 if ${wine_cv_cc_m32+:} false; then :
5671 $as_echo_n "(cached) " >&6
5672 else
5673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5674 /* end confdefs.h. */
5677 main ()
5681 return 0;
5683 _ACEOF
5684 if ac_fn_c_try_link "$LINENO"; then :
5685 wine_cv_cc_m32=yes
5686 else
5687 wine_cv_cc_m32=no
5689 rm -f core conftest.err conftest.$ac_objext \
5690 conftest$ac_exeext conftest.$ac_ext
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5693 $as_echo "$wine_cv_cc_m32" >&6; }
5694 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
5695 host_cpu="i386"
5696 notice_platform="32-bit "
5697 TARGETFLAGS="$TARGETFLAGS -m32"
5698 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5699 export PKG_CONFIG_PATH
5700 enable_win16=${enable_win16:-yes}
5701 with_unwind=${with_unwind:-no}
5702 else
5703 if test "x${GCC}" = "xyes"
5704 then
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5706 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5707 if ${wine_cv_builtin_ms_va_list+:} false; then :
5708 $as_echo_n "(cached) " >&6
5709 else
5710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5711 /* end confdefs.h. */
5712 #include <stdarg.h>
5714 main ()
5716 void func(__builtin_ms_va_list *args);
5718 return 0;
5720 _ACEOF
5721 if ac_fn_c_try_compile "$LINENO"; then :
5722 wine_cv_builtin_ms_va_list=yes
5723 else
5724 wine_cv_builtin_ms_va_list=no
5726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5729 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5730 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
5732 CC="$CC -m64"
5733 CXX="$CXX -m64"
5734 host_cpu="x86_64"
5735 notice_platform="64-bit "
5736 TARGETFLAGS="$TARGETFLAGS -m64"
5737 enable_wow64=${enable_wow64:-yes}
5738 enable_wow64win=${enable_wow64win:-yes}
5739 enable_wow64cpu=${enable_wow64cpu:-yes}
5742 arm*)
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
5744 $as_echo_n "checking whether $CC supports Thumb-2... " >&6; }
5745 if ${wine_cv_thumb2+:} 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(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
5756 return 0;
5758 _ACEOF
5759 if ac_fn_c_try_link "$LINENO"; then :
5760 wine_cv_thumb2=yes
5761 else
5762 wine_cv_thumb2=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_thumb2" >&5
5768 $as_echo "$wine_cv_thumb2" >&6; }
5769 if test x"$wine_cv_thumb2" = xyes
5770 then
5771 CFLAGS="$CFLAGS -mthumb"
5772 TARGETFLAGS="$TARGETFLAGS -mthumb"
5773 else
5774 CFLAGS="$CFLAGS -marm"
5775 TARGETFLAGS="$TARGETFLAGS -marm"
5777 case $with_float_abi in
5778 soft|softfp|hard)
5779 float_abi=$with_float_abi ;;
5781 case $host_os in
5782 *eabihf)
5783 float_abi=hard ;;
5785 float_abi=softfp
5786 saved_CFLAGS=$CFLAGS
5787 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5789 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5790 if ${wine_cv_float_abi+:} false; then :
5791 $as_echo_n "(cached) " >&6
5792 else
5793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5794 /* end confdefs.h. */
5797 main ()
5799 asm("vmrs r2,fpscr");
5801 return 0;
5803 _ACEOF
5804 if ac_fn_c_try_link "$LINENO"; then :
5805 wine_cv_float_abi=yes
5806 else
5807 wine_cv_float_abi=no
5809 rm -f core conftest.err conftest.$ac_objext \
5810 conftest$ac_exeext conftest.$ac_ext
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5813 $as_echo "$wine_cv_float_abi" >&6; }
5814 if test $wine_cv_float_abi = no
5815 then
5816 float_abi=soft
5817 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5819 CFLAGS=$saved_CFLAGS
5820 esac
5822 esac
5823 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5824 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
5826 aarch64*)
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5828 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5829 if ${wine_cv_builtin_ms_va_list+:} false; then :
5830 $as_echo_n "(cached) " >&6
5831 else
5832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5833 /* end confdefs.h. */
5834 #include <stdarg.h>
5836 main ()
5838 void func(__builtin_ms_va_list *args);
5840 return 0;
5842 _ACEOF
5843 if ac_fn_c_try_compile "$LINENO"; then :
5844 wine_cv_builtin_ms_va_list=yes
5845 else
5846 wine_cv_builtin_ms_va_list=no
5848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5851 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5852 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5853 enable_wow64=${enable_wow64:-yes}
5854 enable_wow64win=${enable_wow64win:-yes}
5856 i[3456789]86*)
5857 enable_win16=${enable_win16:-yes}
5858 with_unwind=${with_unwind:-no}
5860 esac
5862 enable_win16=${enable_win16:-no}
5863 enable_win64=${enable_win64:-no}
5864 enable_wow64=${enable_wow64:-no}
5865 enable_wow64win=${enable_wow64win:-no}
5866 enable_wow64cpu=${enable_wow64cpu:-no}
5868 enable_winetest=${enable_winetest:-$enable_tests}
5870 if test "x$enable_win64" = "xyes"
5871 then
5872 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5873 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5877 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5878 if ${wine_cv_toolsdir+:} false; then :
5879 $as_echo_n "(cached) " >&6
5880 else
5881 wine_cv_toolsdir="$with_wine_tools"
5882 if test -z "$with_wine_tools"; then
5883 if test "$cross_compiling" = "yes"; then
5884 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5885 elif test -n "$with_wine64"; then
5886 wine_cv_toolsdir="$with_wine64"
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5891 $as_echo "$wine_cv_toolsdir" >&6; }
5892 if test -z "$wine_cv_toolsdir"; then
5893 wine_makedep=tools/makedep
5894 TOOLSDIR="."
5896 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5897 wine_makedep=$wine_cv_toolsdir/tools/makedep
5898 TOOLSDIR=$wine_cv_toolsdir
5900 enable_tools=${enable_tools:-no}
5901 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5902 else
5903 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5905 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5906 then
5907 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5910 for ac_prog in flex
5912 # Extract the first word of "$ac_prog", so it can be a program name with args.
5913 set dummy $ac_prog; ac_word=$2
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5915 $as_echo_n "checking for $ac_word... " >&6; }
5916 if ${ac_cv_prog_FLEX+:} false; then :
5917 $as_echo_n "(cached) " >&6
5918 else
5919 if test -n "$FLEX"; then
5920 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5921 else
5922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5923 for as_dir in $PATH
5925 IFS=$as_save_IFS
5926 test -z "$as_dir" && as_dir=.
5927 for ac_exec_ext in '' $ac_executable_extensions; do
5928 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5929 ac_cv_prog_FLEX="$ac_prog"
5930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5931 break 2
5933 done
5934 done
5935 IFS=$as_save_IFS
5939 FLEX=$ac_cv_prog_FLEX
5940 if test -n "$FLEX"; then
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5942 $as_echo "$FLEX" >&6; }
5943 else
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5945 $as_echo "no" >&6; }
5949 test -n "$FLEX" && break
5950 done
5951 test -n "$FLEX" || FLEX="none"
5953 if test "$FLEX" = "none"
5954 then
5955 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5958 $as_echo_n "checking whether flex is recent enough... " >&6; }
5959 if ${wine_cv_recent_flex+:} false; then :
5960 $as_echo_n "(cached) " >&6
5961 else
5962 cat >conftest.l <<EOF
5963 %top{
5964 #include "prediluvian.h"
5968 if $FLEX -t conftest.l >/dev/null 2>&5
5969 then
5970 wine_cv_recent_flex=yes
5971 else
5972 wine_cv_recent_flex=no
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5976 $as_echo "$wine_cv_recent_flex" >&6; }
5977 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
5979 for ac_prog in bison
5981 # Extract the first word of "$ac_prog", so it can be a program name with args.
5982 set dummy $ac_prog; ac_word=$2
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5984 $as_echo_n "checking for $ac_word... " >&6; }
5985 if ${ac_cv_prog_BISON+:} false; then :
5986 $as_echo_n "(cached) " >&6
5987 else
5988 if test -n "$BISON"; then
5989 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5990 else
5991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5992 for as_dir in $PATH
5994 IFS=$as_save_IFS
5995 test -z "$as_dir" && as_dir=.
5996 for ac_exec_ext in '' $ac_executable_extensions; do
5997 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5998 ac_cv_prog_BISON="$ac_prog"
5999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6000 break 2
6002 done
6003 done
6004 IFS=$as_save_IFS
6008 BISON=$ac_cv_prog_BISON
6009 if test -n "$BISON"; then
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6011 $as_echo "$BISON" >&6; }
6012 else
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6014 $as_echo "no" >&6; }
6018 test -n "$BISON" && break
6019 done
6020 test -n "$BISON" || BISON="none"
6022 if test "$BISON" = "none"
6023 then
6024 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6027 $as_echo_n "checking whether bison is recent enough... " >&6; }
6028 if ${wine_cv_recent_bison+:} false; then :
6029 $as_echo_n "(cached) " >&6
6030 else
6031 cat >conftest.y <<EOF
6032 %define parse.error verbose
6034 empty: ;
6036 if $BISON conftest.y >/dev/null 2>&5
6037 then
6038 wine_cv_recent_bison=yes
6039 else
6040 wine_cv_recent_bison=no
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6044 $as_echo "$wine_cv_recent_bison" >&6; }
6045 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
6047 if test -n "$ac_tool_prefix"; then
6048 for ac_prog in ar gar
6050 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6051 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6053 $as_echo_n "checking for $ac_word... " >&6; }
6054 if ${ac_cv_prog_AR+:} false; then :
6055 $as_echo_n "(cached) " >&6
6056 else
6057 if test -n "$AR"; then
6058 ac_cv_prog_AR="$AR" # Let the user override the test.
6059 else
6060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6061 for as_dir in $PATH
6063 IFS=$as_save_IFS
6064 test -z "$as_dir" && as_dir=.
6065 for ac_exec_ext in '' $ac_executable_extensions; do
6066 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6067 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6069 break 2
6071 done
6072 done
6073 IFS=$as_save_IFS
6077 AR=$ac_cv_prog_AR
6078 if test -n "$AR"; then
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6080 $as_echo "$AR" >&6; }
6081 else
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6083 $as_echo "no" >&6; }
6087 test -n "$AR" && break
6088 done
6090 if test -z "$AR"; then
6091 ac_ct_AR=$AR
6092 for ac_prog in ar gar
6094 # Extract the first word of "$ac_prog", so it can be a program name with args.
6095 set dummy $ac_prog; ac_word=$2
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6097 $as_echo_n "checking for $ac_word... " >&6; }
6098 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6099 $as_echo_n "(cached) " >&6
6100 else
6101 if test -n "$ac_ct_AR"; then
6102 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6103 else
6104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6105 for as_dir in $PATH
6107 IFS=$as_save_IFS
6108 test -z "$as_dir" && as_dir=.
6109 for ac_exec_ext in '' $ac_executable_extensions; do
6110 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6111 ac_cv_prog_ac_ct_AR="$ac_prog"
6112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6113 break 2
6115 done
6116 done
6117 IFS=$as_save_IFS
6121 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6122 if test -n "$ac_ct_AR"; then
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6124 $as_echo "$ac_ct_AR" >&6; }
6125 else
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6127 $as_echo "no" >&6; }
6131 test -n "$ac_ct_AR" && break
6132 done
6134 if test "x$ac_ct_AR" = x; then
6135 AR="ar"
6136 else
6137 case $cross_compiling:$ac_tool_warned in
6138 yes:)
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6140 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6141 ac_tool_warned=yes ;;
6142 esac
6143 AR=$ac_ct_AR
6147 if test -n "$ac_tool_prefix"; then
6148 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6149 set dummy ${ac_tool_prefix}strip; ac_word=$2
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6151 $as_echo_n "checking for $ac_word... " >&6; }
6152 if ${ac_cv_prog_STRIP+:} false; then :
6153 $as_echo_n "(cached) " >&6
6154 else
6155 if test -n "$STRIP"; then
6156 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6157 else
6158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6159 for as_dir in $PATH
6161 IFS=$as_save_IFS
6162 test -z "$as_dir" && as_dir=.
6163 for ac_exec_ext in '' $ac_executable_extensions; do
6164 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6165 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6167 break 2
6169 done
6170 done
6171 IFS=$as_save_IFS
6175 STRIP=$ac_cv_prog_STRIP
6176 if test -n "$STRIP"; then
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6178 $as_echo "$STRIP" >&6; }
6179 else
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6181 $as_echo "no" >&6; }
6186 if test -z "$ac_cv_prog_STRIP"; then
6187 ac_ct_STRIP=$STRIP
6188 # Extract the first word of "strip", so it can be a program name with args.
6189 set dummy strip; ac_word=$2
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6191 $as_echo_n "checking for $ac_word... " >&6; }
6192 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6193 $as_echo_n "(cached) " >&6
6194 else
6195 if test -n "$ac_ct_STRIP"; then
6196 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6197 else
6198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6199 for as_dir in $PATH
6201 IFS=$as_save_IFS
6202 test -z "$as_dir" && as_dir=.
6203 for ac_exec_ext in '' $ac_executable_extensions; do
6204 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6205 ac_cv_prog_ac_ct_STRIP="strip"
6206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6207 break 2
6209 done
6210 done
6211 IFS=$as_save_IFS
6215 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6216 if test -n "$ac_ct_STRIP"; then
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6218 $as_echo "$ac_ct_STRIP" >&6; }
6219 else
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6221 $as_echo "no" >&6; }
6224 if test "x$ac_ct_STRIP" = x; then
6225 STRIP="strip"
6226 else
6227 case $cross_compiling:$ac_tool_warned in
6228 yes:)
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6230 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6231 ac_tool_warned=yes ;;
6232 esac
6233 STRIP=$ac_ct_STRIP
6235 else
6236 STRIP="$ac_cv_prog_STRIP"
6239 if test -n "$ac_tool_prefix"; then
6240 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6241 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6243 $as_echo_n "checking for $ac_word... " >&6; }
6244 if ${ac_cv_prog_RANLIB+:} false; then :
6245 $as_echo_n "(cached) " >&6
6246 else
6247 if test -n "$RANLIB"; then
6248 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6249 else
6250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6251 for as_dir in $PATH
6253 IFS=$as_save_IFS
6254 test -z "$as_dir" && as_dir=.
6255 for ac_exec_ext in '' $ac_executable_extensions; do
6256 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6257 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6259 break 2
6261 done
6262 done
6263 IFS=$as_save_IFS
6267 RANLIB=$ac_cv_prog_RANLIB
6268 if test -n "$RANLIB"; then
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6270 $as_echo "$RANLIB" >&6; }
6271 else
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6273 $as_echo "no" >&6; }
6278 if test -z "$ac_cv_prog_RANLIB"; then
6279 ac_ct_RANLIB=$RANLIB
6280 # Extract the first word of "ranlib", so it can be a program name with args.
6281 set dummy ranlib; ac_word=$2
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6283 $as_echo_n "checking for $ac_word... " >&6; }
6284 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6285 $as_echo_n "(cached) " >&6
6286 else
6287 if test -n "$ac_ct_RANLIB"; then
6288 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6289 else
6290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6291 for as_dir in $PATH
6293 IFS=$as_save_IFS
6294 test -z "$as_dir" && as_dir=.
6295 for ac_exec_ext in '' $ac_executable_extensions; do
6296 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6297 ac_cv_prog_ac_ct_RANLIB="ranlib"
6298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6299 break 2
6301 done
6302 done
6303 IFS=$as_save_IFS
6307 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6308 if test -n "$ac_ct_RANLIB"; then
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6310 $as_echo "$ac_ct_RANLIB" >&6; }
6311 else
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6313 $as_echo "no" >&6; }
6316 if test "x$ac_ct_RANLIB" = x; then
6317 RANLIB=":"
6318 else
6319 case $cross_compiling:$ac_tool_warned in
6320 yes:)
6321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6322 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6323 ac_tool_warned=yes ;;
6324 esac
6325 RANLIB=$ac_ct_RANLIB
6327 else
6328 RANLIB="$ac_cv_prog_RANLIB"
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6332 $as_echo_n "checking whether ln -s works... " >&6; }
6333 LN_S=$as_ln_s
6334 if test "$LN_S" = "ln -s"; then
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6336 $as_echo "yes" >&6; }
6337 else
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6339 $as_echo "no, using $LN_S" >&6; }
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6343 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6344 if ${ac_cv_path_GREP+:} false; then :
6345 $as_echo_n "(cached) " >&6
6346 else
6347 if test -z "$GREP"; then
6348 ac_path_GREP_found=false
6349 # Loop through the user's path and test for each of PROGNAME-LIST
6350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6351 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6353 IFS=$as_save_IFS
6354 test -z "$as_dir" && as_dir=.
6355 for ac_prog in grep ggrep; do
6356 for ac_exec_ext in '' $ac_executable_extensions; do
6357 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6358 as_fn_executable_p "$ac_path_GREP" || continue
6359 # Check for GNU ac_path_GREP and select it if it is found.
6360 # Check for GNU $ac_path_GREP
6361 case `"$ac_path_GREP" --version 2>&1` in
6362 *GNU*)
6363 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6365 ac_count=0
6366 $as_echo_n 0123456789 >"conftest.in"
6367 while :
6369 cat "conftest.in" "conftest.in" >"conftest.tmp"
6370 mv "conftest.tmp" "conftest.in"
6371 cp "conftest.in" "conftest.nl"
6372 $as_echo 'GREP' >> "conftest.nl"
6373 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6374 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6375 as_fn_arith $ac_count + 1 && ac_count=$as_val
6376 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6377 # Best one so far, save it but keep looking for a better one
6378 ac_cv_path_GREP="$ac_path_GREP"
6379 ac_path_GREP_max=$ac_count
6381 # 10*(2^10) chars as input seems more than enough
6382 test $ac_count -gt 10 && break
6383 done
6384 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6385 esac
6387 $ac_path_GREP_found && break 3
6388 done
6389 done
6390 done
6391 IFS=$as_save_IFS
6392 if test -z "$ac_cv_path_GREP"; then
6393 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6395 else
6396 ac_cv_path_GREP=$GREP
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6401 $as_echo "$ac_cv_path_GREP" >&6; }
6402 GREP="$ac_cv_path_GREP"
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6406 $as_echo_n "checking for egrep... " >&6; }
6407 if ${ac_cv_path_EGREP+:} false; then :
6408 $as_echo_n "(cached) " >&6
6409 else
6410 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6411 then ac_cv_path_EGREP="$GREP -E"
6412 else
6413 if test -z "$EGREP"; then
6414 ac_path_EGREP_found=false
6415 # Loop through the user's path and test for each of PROGNAME-LIST
6416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6417 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6419 IFS=$as_save_IFS
6420 test -z "$as_dir" && as_dir=.
6421 for ac_prog in egrep; do
6422 for ac_exec_ext in '' $ac_executable_extensions; do
6423 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6424 as_fn_executable_p "$ac_path_EGREP" || continue
6425 # Check for GNU ac_path_EGREP and select it if it is found.
6426 # Check for GNU $ac_path_EGREP
6427 case `"$ac_path_EGREP" --version 2>&1` in
6428 *GNU*)
6429 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6431 ac_count=0
6432 $as_echo_n 0123456789 >"conftest.in"
6433 while :
6435 cat "conftest.in" "conftest.in" >"conftest.tmp"
6436 mv "conftest.tmp" "conftest.in"
6437 cp "conftest.in" "conftest.nl"
6438 $as_echo 'EGREP' >> "conftest.nl"
6439 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6440 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6441 as_fn_arith $ac_count + 1 && ac_count=$as_val
6442 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6443 # Best one so far, save it but keep looking for a better one
6444 ac_cv_path_EGREP="$ac_path_EGREP"
6445 ac_path_EGREP_max=$ac_count
6447 # 10*(2^10) chars as input seems more than enough
6448 test $ac_count -gt 10 && break
6449 done
6450 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6451 esac
6453 $ac_path_EGREP_found && break 3
6454 done
6455 done
6456 done
6457 IFS=$as_save_IFS
6458 if test -z "$ac_cv_path_EGREP"; then
6459 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6461 else
6462 ac_cv_path_EGREP=$EGREP
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6468 $as_echo "$ac_cv_path_EGREP" >&6; }
6469 EGREP="$ac_cv_path_EGREP"
6472 # Extract the first word of "ldconfig", so it can be a program name with args.
6473 set dummy ldconfig; ac_word=$2
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6475 $as_echo_n "checking for $ac_word... " >&6; }
6476 if ${ac_cv_path_LDCONFIG+:} false; then :
6477 $as_echo_n "(cached) " >&6
6478 else
6479 case $LDCONFIG in
6480 [\\/]* | ?:[\\/]*)
6481 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6485 for as_dir in /sbin /usr/sbin $PATH
6487 IFS=$as_save_IFS
6488 test -z "$as_dir" && as_dir=.
6489 for ac_exec_ext in '' $ac_executable_extensions; do
6490 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6491 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6493 break 2
6495 done
6496 done
6497 IFS=$as_save_IFS
6499 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6501 esac
6503 LDCONFIG=$ac_cv_path_LDCONFIG
6504 if test -n "$LDCONFIG"; then
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6506 $as_echo "$LDCONFIG" >&6; }
6507 else
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6509 $as_echo "no" >&6; }
6513 for ac_prog in msgfmt
6515 # Extract the first word of "$ac_prog", so it can be a program name with args.
6516 set dummy $ac_prog; ac_word=$2
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6518 $as_echo_n "checking for $ac_word... " >&6; }
6519 if ${ac_cv_prog_MSGFMT+:} false; then :
6520 $as_echo_n "(cached) " >&6
6521 else
6522 if test -n "$MSGFMT"; then
6523 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6524 else
6525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6526 for as_dir in $PATH
6528 IFS=$as_save_IFS
6529 test -z "$as_dir" && as_dir=.
6530 for ac_exec_ext in '' $ac_executable_extensions; do
6531 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6532 ac_cv_prog_MSGFMT="$ac_prog"
6533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6534 break 2
6536 done
6537 done
6538 IFS=$as_save_IFS
6542 MSGFMT=$ac_cv_prog_MSGFMT
6543 if test -n "$MSGFMT"; then
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6545 $as_echo "$MSGFMT" >&6; }
6546 else
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6548 $as_echo "no" >&6; }
6552 test -n "$MSGFMT" && break
6553 done
6554 test -n "$MSGFMT" || MSGFMT="false"
6556 if ${ac_tool_prefix+:} false; then :
6557 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6558 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6560 $as_echo_n "checking for $ac_word... " >&6; }
6561 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6562 $as_echo_n "(cached) " >&6
6563 else
6564 if test -n "$PKG_CONFIG"; then
6565 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6566 else
6567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6568 for as_dir in $PATH
6570 IFS=$as_save_IFS
6571 test -z "$as_dir" && as_dir=.
6572 for ac_exec_ext in '' $ac_executable_extensions; do
6573 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6574 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6576 break 2
6578 done
6579 done
6580 IFS=$as_save_IFS
6584 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6585 if test -n "$PKG_CONFIG"; then
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6587 $as_echo "$PKG_CONFIG" >&6; }
6588 else
6589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6590 $as_echo "no" >&6; }
6595 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6596 if test "x$cross_compiling" = xyes; then :
6598 else
6599 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6600 # Extract the first word of "pkg-config", so it can be a program name with args.
6601 set dummy pkg-config; ac_word=$2
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6603 $as_echo_n "checking for $ac_word... " >&6; }
6604 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6605 $as_echo_n "(cached) " >&6
6606 else
6607 if test -n "$PKG_CONFIG"; then
6608 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6609 else
6610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6611 for as_dir in $PATH
6613 IFS=$as_save_IFS
6614 test -z "$as_dir" && as_dir=.
6615 for ac_exec_ext in '' $ac_executable_extensions; do
6616 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6617 ac_cv_prog_PKG_CONFIG="pkg-config"
6618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6619 break 2
6621 done
6622 done
6623 IFS=$as_save_IFS
6627 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6628 if test -n "$PKG_CONFIG"; then
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6630 $as_echo "$PKG_CONFIG" >&6; }
6631 else
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6633 $as_echo "no" >&6; }
6638 else
6639 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6642 if test "x$enable_maintainer_mode" != "xyes"
6643 then
6644 FONTFORGE=""
6645 RSVG=""
6646 CONVERT=""
6647 ICOTOOL=""
6648 else
6649 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6650 for ac_prog in fontforge
6652 # Extract the first word of "$ac_prog", so it can be a program name with args.
6653 set dummy $ac_prog; ac_word=$2
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6655 $as_echo_n "checking for $ac_word... " >&6; }
6656 if ${ac_cv_prog_FONTFORGE+:} false; then :
6657 $as_echo_n "(cached) " >&6
6658 else
6659 if test -n "$FONTFORGE"; then
6660 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6661 else
6662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6663 for as_dir in $PATH
6665 IFS=$as_save_IFS
6666 test -z "$as_dir" && as_dir=.
6667 for ac_exec_ext in '' $ac_executable_extensions; do
6668 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6669 ac_cv_prog_FONTFORGE="$ac_prog"
6670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6671 break 2
6673 done
6674 done
6675 IFS=$as_save_IFS
6679 FONTFORGE=$ac_cv_prog_FONTFORGE
6680 if test -n "$FONTFORGE"; then
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6682 $as_echo "$FONTFORGE" >&6; }
6683 else
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6685 $as_echo "no" >&6; }
6689 test -n "$FONTFORGE" && break
6690 done
6691 test -n "$FONTFORGE" || FONTFORGE="false"
6693 for ac_prog in rsvg-convert rsvg
6695 # Extract the first word of "$ac_prog", so it can be a program name with args.
6696 set dummy $ac_prog; ac_word=$2
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6698 $as_echo_n "checking for $ac_word... " >&6; }
6699 if ${ac_cv_prog_RSVG+:} false; then :
6700 $as_echo_n "(cached) " >&6
6701 else
6702 if test -n "$RSVG"; then
6703 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6704 else
6705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6706 for as_dir in $PATH
6708 IFS=$as_save_IFS
6709 test -z "$as_dir" && as_dir=.
6710 for ac_exec_ext in '' $ac_executable_extensions; do
6711 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6712 ac_cv_prog_RSVG="$ac_prog"
6713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6714 break 2
6716 done
6717 done
6718 IFS=$as_save_IFS
6722 RSVG=$ac_cv_prog_RSVG
6723 if test -n "$RSVG"; then
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6725 $as_echo "$RSVG" >&6; }
6726 else
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6728 $as_echo "no" >&6; }
6732 test -n "$RSVG" && break
6733 done
6734 test -n "$RSVG" || RSVG="false"
6736 for ac_prog in convert
6738 # Extract the first word of "$ac_prog", so it can be a program name with args.
6739 set dummy $ac_prog; ac_word=$2
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6741 $as_echo_n "checking for $ac_word... " >&6; }
6742 if ${ac_cv_prog_CONVERT+:} false; then :
6743 $as_echo_n "(cached) " >&6
6744 else
6745 if test -n "$CONVERT"; then
6746 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6747 else
6748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6749 for as_dir in $PATH
6751 IFS=$as_save_IFS
6752 test -z "$as_dir" && as_dir=.
6753 for ac_exec_ext in '' $ac_executable_extensions; do
6754 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6755 ac_cv_prog_CONVERT="$ac_prog"
6756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6757 break 2
6759 done
6760 done
6761 IFS=$as_save_IFS
6765 CONVERT=$ac_cv_prog_CONVERT
6766 if test -n "$CONVERT"; then
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6768 $as_echo "$CONVERT" >&6; }
6769 else
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6771 $as_echo "no" >&6; }
6775 test -n "$CONVERT" && break
6776 done
6777 test -n "$CONVERT" || CONVERT="false"
6779 for ac_prog in icotool
6781 # Extract the first word of "$ac_prog", so it can be a program name with args.
6782 set dummy $ac_prog; ac_word=$2
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6784 $as_echo_n "checking for $ac_word... " >&6; }
6785 if ${ac_cv_prog_ICOTOOL+:} false; then :
6786 $as_echo_n "(cached) " >&6
6787 else
6788 if test -n "$ICOTOOL"; then
6789 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6790 else
6791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6792 for as_dir in $PATH
6794 IFS=$as_save_IFS
6795 test -z "$as_dir" && as_dir=.
6796 for ac_exec_ext in '' $ac_executable_extensions; do
6797 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6798 ac_cv_prog_ICOTOOL="$ac_prog"
6799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6800 break 2
6802 done
6803 done
6804 IFS=$as_save_IFS
6808 ICOTOOL=$ac_cv_prog_ICOTOOL
6809 if test -n "$ICOTOOL"; then
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6811 $as_echo "$ICOTOOL" >&6; }
6812 else
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6814 $as_echo "no" >&6; }
6818 test -n "$ICOTOOL" && break
6819 done
6820 test -n "$ICOTOOL" || ICOTOOL="false"
6822 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6823 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6825 if test "$CONVERT" = false
6826 then
6827 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6828 else
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6830 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6831 convert_version=`convert --version | head -n1`
6832 if test "x$convert_version" != "x"
6833 then
6834 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6835 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6836 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6837 then
6838 CONVERT=false
6841 if test "$CONVERT" = false
6842 then
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6844 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6845 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6846 else
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6848 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6852 if test "$ICOTOOL" = false
6853 then
6854 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6855 else
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6857 $as_echo_n "checking for recent enough icotool... " >&6; }
6858 icotool_version=`icotool --version | head -n1`
6859 if test "x$icotool_version" != "x"
6860 then
6861 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6862 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6863 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6864 then
6865 ICOTOOL=false
6866 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6869 if test "$ICOTOOL" = false
6870 then
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6872 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6873 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6874 else
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6876 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6880 with_gettext=yes
6881 with_gettextpo=yes
6883 enable_werror=yes
6886 test "x$with_gettext" != xno || MSGFMT=false
6887 if test "$MSGFMT" != "false"
6888 then
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6890 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6891 if ${wine_cv_msgfmt_contexts+:} false; then :
6892 $as_echo_n "(cached) " >&6
6893 else
6894 cat >conftest.po <<EOF
6895 # comment
6896 msgctxt "ctxt"
6897 msgid "id"
6898 msgstr "str"
6900 if $MSGFMT -o /dev/null conftest.po 2>&5
6901 then
6902 wine_cv_msgfmt_contexts=yes
6903 else
6904 wine_cv_msgfmt_contexts=no
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6908 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6909 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6911 if test "$MSGFMT" = false; then :
6912 case "x$with_gettext" in
6913 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6914 xno) ;;
6915 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6916 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6917 esac
6918 enable_po=${enable_po:-no}
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6923 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6924 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6925 $as_echo_n "(cached) " >&6
6926 else
6927 ac_check_lib_save_LIBS=$LIBS
6928 LIBS="-li386 $LIBS"
6929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6930 /* end confdefs.h. */
6932 /* Override any GCC internal prototype to avoid an error.
6933 Use char because int might match the return type of a GCC
6934 builtin and then its argument prototype would still apply. */
6935 #ifdef __cplusplus
6936 extern "C"
6937 #endif
6938 char i386_set_ldt ();
6940 main ()
6942 return i386_set_ldt ();
6944 return 0;
6946 _ACEOF
6947 if ac_fn_c_try_link "$LINENO"; then :
6948 ac_cv_lib_i386_i386_set_ldt=yes
6949 else
6950 ac_cv_lib_i386_i386_set_ldt=no
6952 rm -f core conftest.err conftest.$ac_objext \
6953 conftest$ac_exeext conftest.$ac_ext
6954 LIBS=$ac_check_lib_save_LIBS
6956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6957 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6958 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6959 I386_LIBS="-li386"
6964 OPENGL_LIBS=""
6968 # Check whether --enable-largefile was given.
6969 if test "${enable_largefile+set}" = set; then :
6970 enableval=$enable_largefile;
6973 if test "$enable_largefile" != no; then
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6976 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6977 if ${ac_cv_sys_largefile_CC+:} false; then :
6978 $as_echo_n "(cached) " >&6
6979 else
6980 ac_cv_sys_largefile_CC=no
6981 if test "$GCC" != yes; then
6982 ac_save_CC=$CC
6983 while :; do
6984 # IRIX 6.2 and later do not support large files by default,
6985 # so use the C compiler's -n32 option if that helps.
6986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6987 /* end confdefs.h. */
6988 #include <sys/types.h>
6989 /* Check that off_t can represent 2**63 - 1 correctly.
6990 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6991 since some C++ compilers masquerading as C compilers
6992 incorrectly reject 9223372036854775807. */
6993 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6994 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6995 && LARGE_OFF_T % 2147483647 == 1)
6996 ? 1 : -1];
6998 main ()
7002 return 0;
7004 _ACEOF
7005 if ac_fn_c_try_compile "$LINENO"; then :
7006 break
7008 rm -f core conftest.err conftest.$ac_objext
7009 CC="$CC -n32"
7010 if ac_fn_c_try_compile "$LINENO"; then :
7011 ac_cv_sys_largefile_CC=' -n32'; break
7013 rm -f core conftest.err conftest.$ac_objext
7014 break
7015 done
7016 CC=$ac_save_CC
7017 rm -f conftest.$ac_ext
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7021 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
7022 if test "$ac_cv_sys_largefile_CC" != no; then
7023 CC=$CC$ac_cv_sys_largefile_CC
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7027 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7028 if ${ac_cv_sys_file_offset_bits+:} false; then :
7029 $as_echo_n "(cached) " >&6
7030 else
7031 while :; do
7032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7033 /* end confdefs.h. */
7034 #include <sys/types.h>
7035 /* Check that off_t can represent 2**63 - 1 correctly.
7036 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7037 since some C++ compilers masquerading as C compilers
7038 incorrectly reject 9223372036854775807. */
7039 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7040 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7041 && LARGE_OFF_T % 2147483647 == 1)
7042 ? 1 : -1];
7044 main ()
7048 return 0;
7050 _ACEOF
7051 if ac_fn_c_try_compile "$LINENO"; then :
7052 ac_cv_sys_file_offset_bits=no; break
7054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7056 /* end confdefs.h. */
7057 #define _FILE_OFFSET_BITS 64
7058 #include <sys/types.h>
7059 /* Check that off_t can represent 2**63 - 1 correctly.
7060 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7061 since some C++ compilers masquerading as C compilers
7062 incorrectly reject 9223372036854775807. */
7063 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7064 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7065 && LARGE_OFF_T % 2147483647 == 1)
7066 ? 1 : -1];
7068 main ()
7072 return 0;
7074 _ACEOF
7075 if ac_fn_c_try_compile "$LINENO"; then :
7076 ac_cv_sys_file_offset_bits=64; break
7078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7079 ac_cv_sys_file_offset_bits=unknown
7080 break
7081 done
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7084 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7085 case $ac_cv_sys_file_offset_bits in #(
7086 no | unknown) ;;
7088 cat >>confdefs.h <<_ACEOF
7089 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7090 _ACEOF
7092 esac
7093 rm -rf conftest*
7094 if test $ac_cv_sys_file_offset_bits = unknown; then
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7096 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7097 if ${ac_cv_sys_large_files+:} false; then :
7098 $as_echo_n "(cached) " >&6
7099 else
7100 while :; do
7101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7102 /* end confdefs.h. */
7103 #include <sys/types.h>
7104 /* Check that off_t can represent 2**63 - 1 correctly.
7105 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7106 since some C++ compilers masquerading as C compilers
7107 incorrectly reject 9223372036854775807. */
7108 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7109 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7110 && LARGE_OFF_T % 2147483647 == 1)
7111 ? 1 : -1];
7113 main ()
7117 return 0;
7119 _ACEOF
7120 if ac_fn_c_try_compile "$LINENO"; then :
7121 ac_cv_sys_large_files=no; break
7123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7125 /* end confdefs.h. */
7126 #define _LARGE_FILES 1
7127 #include <sys/types.h>
7128 /* Check that off_t can represent 2**63 - 1 correctly.
7129 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7130 since some C++ compilers masquerading as C compilers
7131 incorrectly reject 9223372036854775807. */
7132 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7133 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7134 && LARGE_OFF_T % 2147483647 == 1)
7135 ? 1 : -1];
7137 main ()
7141 return 0;
7143 _ACEOF
7144 if ac_fn_c_try_compile "$LINENO"; then :
7145 ac_cv_sys_large_files=1; break
7147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7148 ac_cv_sys_large_files=unknown
7149 break
7150 done
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7153 $as_echo "$ac_cv_sys_large_files" >&6; }
7154 case $ac_cv_sys_large_files in #(
7155 no | unknown) ;;
7157 cat >>confdefs.h <<_ACEOF
7158 #define _LARGE_FILES $ac_cv_sys_large_files
7159 _ACEOF
7161 esac
7162 rm -rf conftest*
7169 ac_ext=c
7170 ac_cpp='$CPP $CPPFLAGS'
7171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7175 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7176 # On Suns, sometimes $CPP names a directory.
7177 if test -n "$CPP" && test -d "$CPP"; then
7178 CPP=
7180 if test -z "$CPP"; then
7181 if ${ac_cv_prog_CPP+:} false; then :
7182 $as_echo_n "(cached) " >&6
7183 else
7184 # Double quotes because CPP needs to be expanded
7185 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7187 ac_preproc_ok=false
7188 for ac_c_preproc_warn_flag in '' yes
7190 # Use a header file that comes with gcc, so configuring glibc
7191 # with a fresh cross-compiler works.
7192 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7193 # <limits.h> exists even on freestanding compilers.
7194 # On the NeXT, cc -E runs the code through the compiler's parser,
7195 # not just through cpp. "Syntax error" is here to catch this case.
7196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7197 /* end confdefs.h. */
7198 #ifdef __STDC__
7199 # include <limits.h>
7200 #else
7201 # include <assert.h>
7202 #endif
7203 Syntax error
7204 _ACEOF
7205 if ac_fn_c_try_cpp "$LINENO"; then :
7207 else
7208 # Broken: fails on valid input.
7209 continue
7211 rm -f conftest.err conftest.i conftest.$ac_ext
7213 # OK, works on sane cases. Now check whether nonexistent headers
7214 # can be detected and how.
7215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7216 /* end confdefs.h. */
7217 #include <ac_nonexistent.h>
7218 _ACEOF
7219 if ac_fn_c_try_cpp "$LINENO"; then :
7220 # Broken: success on invalid input.
7221 continue
7222 else
7223 # Passes both tests.
7224 ac_preproc_ok=:
7225 break
7227 rm -f conftest.err conftest.i conftest.$ac_ext
7229 done
7230 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7231 rm -f conftest.i conftest.err conftest.$ac_ext
7232 if $ac_preproc_ok; then :
7233 break
7236 done
7237 ac_cv_prog_CPP=$CPP
7240 CPP=$ac_cv_prog_CPP
7241 else
7242 ac_cv_prog_CPP=$CPP
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7245 $as_echo "$CPP" >&6; }
7246 ac_preproc_ok=false
7247 for ac_c_preproc_warn_flag in '' yes
7249 # Use a header file that comes with gcc, so configuring glibc
7250 # with a fresh cross-compiler works.
7251 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7252 # <limits.h> exists even on freestanding compilers.
7253 # On the NeXT, cc -E runs the code through the compiler's parser,
7254 # not just through cpp. "Syntax error" is here to catch this case.
7255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7256 /* end confdefs.h. */
7257 #ifdef __STDC__
7258 # include <limits.h>
7259 #else
7260 # include <assert.h>
7261 #endif
7262 Syntax error
7263 _ACEOF
7264 if ac_fn_c_try_cpp "$LINENO"; then :
7266 else
7267 # Broken: fails on valid input.
7268 continue
7270 rm -f conftest.err conftest.i conftest.$ac_ext
7272 # OK, works on sane cases. Now check whether nonexistent headers
7273 # can be detected and how.
7274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7275 /* end confdefs.h. */
7276 #include <ac_nonexistent.h>
7277 _ACEOF
7278 if ac_fn_c_try_cpp "$LINENO"; then :
7279 # Broken: success on invalid input.
7280 continue
7281 else
7282 # Passes both tests.
7283 ac_preproc_ok=:
7284 break
7286 rm -f conftest.err conftest.i conftest.$ac_ext
7288 done
7289 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7290 rm -f conftest.i conftest.err conftest.$ac_ext
7291 if $ac_preproc_ok; then :
7293 else
7294 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7295 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7296 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7297 See \`config.log' for more details" "$LINENO" 5; }
7300 ac_ext=c
7301 ac_cpp='$CPP $CPPFLAGS'
7302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7308 $as_echo_n "checking for ANSI C header files... " >&6; }
7309 if ${ac_cv_header_stdc+:} false; then :
7310 $as_echo_n "(cached) " >&6
7311 else
7312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7313 /* end confdefs.h. */
7314 #include <stdlib.h>
7315 #include <stdarg.h>
7316 #include <string.h>
7317 #include <float.h>
7320 main ()
7324 return 0;
7326 _ACEOF
7327 if ac_fn_c_try_compile "$LINENO"; then :
7328 ac_cv_header_stdc=yes
7329 else
7330 ac_cv_header_stdc=no
7332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7334 if test $ac_cv_header_stdc = yes; then
7335 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7337 /* end confdefs.h. */
7338 #include <string.h>
7340 _ACEOF
7341 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7342 $EGREP "memchr" >/dev/null 2>&1; then :
7344 else
7345 ac_cv_header_stdc=no
7347 rm -f conftest*
7351 if test $ac_cv_header_stdc = yes; then
7352 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7354 /* end confdefs.h. */
7355 #include <stdlib.h>
7357 _ACEOF
7358 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7359 $EGREP "free" >/dev/null 2>&1; then :
7361 else
7362 ac_cv_header_stdc=no
7364 rm -f conftest*
7368 if test $ac_cv_header_stdc = yes; then
7369 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7370 if test "$cross_compiling" = yes; then :
7372 else
7373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7374 /* end confdefs.h. */
7375 #include <ctype.h>
7376 #include <stdlib.h>
7377 #if ((' ' & 0x0FF) == 0x020)
7378 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7379 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7380 #else
7381 # define ISLOWER(c) \
7382 (('a' <= (c) && (c) <= 'i') \
7383 || ('j' <= (c) && (c) <= 'r') \
7384 || ('s' <= (c) && (c) <= 'z'))
7385 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7386 #endif
7388 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7390 main ()
7392 int i;
7393 for (i = 0; i < 256; i++)
7394 if (XOR (islower (i), ISLOWER (i))
7395 || toupper (i) != TOUPPER (i))
7396 return 2;
7397 return 0;
7399 _ACEOF
7400 if ac_fn_c_try_run "$LINENO"; then :
7402 else
7403 ac_cv_header_stdc=no
7405 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7406 conftest.$ac_objext conftest.beam conftest.$ac_ext
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7412 $as_echo "$ac_cv_header_stdc" >&6; }
7413 if test $ac_cv_header_stdc = yes; then
7415 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7419 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7420 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7421 inttypes.h stdint.h unistd.h
7422 do :
7423 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7424 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7426 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7427 cat >>confdefs.h <<_ACEOF
7428 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7429 _ACEOF
7433 done
7436 for ac_header in \
7437 AL/al.h \
7438 ApplicationServices/ApplicationServices.h \
7439 CL/cl.h \
7440 Carbon/Carbon.h \
7441 CoreAudio/CoreAudio.h \
7442 DiskArbitration/DiskArbitration.h \
7443 EGL/egl.h \
7444 IOKit/IOKitLib.h \
7445 IOKit/hid/IOHIDLib.h \
7446 OpenAL/al.h \
7447 OpenCL/opencl.h \
7448 QuickTime/ImageCompression.h \
7449 Security/Security.h \
7450 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7451 SystemConfiguration/SCNetworkConfiguration.h \
7452 alias.h \
7453 arpa/inet.h \
7454 arpa/nameser.h \
7455 asm/types.h \
7456 asm/user.h \
7457 dirent.h \
7458 elf.h \
7459 float.h \
7460 gettext-po.h \
7461 ieeefp.h \
7462 libproc.h \
7463 link.h \
7464 linux/cdrom.h \
7465 linux/filter.h \
7466 linux/hdreg.h \
7467 linux/hidraw.h \
7468 linux/input.h \
7469 linux/ioctl.h \
7470 linux/joystick.h \
7471 linux/major.h \
7472 linux/param.h \
7473 linux/serial.h \
7474 linux/types.h \
7475 linux/ucdrom.h \
7476 lwp.h \
7477 mach-o/loader.h \
7478 mach/mach.h \
7479 machine/cpu.h \
7480 machine/sysarch.h \
7481 mntent.h \
7482 netdb.h \
7483 netinet/in.h \
7484 netinet/in_systm.h \
7485 netinet/tcp.h \
7486 netinet/tcp_fsm.h \
7487 pcap/pcap.h \
7488 poll.h \
7489 port.h \
7490 pthread.h \
7491 pwd.h \
7492 sasl/sasl.h \
7493 sched.h \
7494 scsi/scsi.h \
7495 scsi/scsi_ioctl.h \
7496 scsi/sg.h \
7497 stdint.h \
7498 sys/attr.h \
7499 sys/auxv.h \
7500 sys/cdio.h \
7501 sys/epoll.h \
7502 sys/event.h \
7503 sys/filio.h \
7504 sys/ioctl.h \
7505 sys/ipc.h \
7506 sys/link.h \
7507 sys/mman.h \
7508 sys/modem.h \
7509 sys/mtio.h \
7510 sys/param.h \
7511 sys/poll.h \
7512 sys/prctl.h \
7513 sys/protosw.h \
7514 sys/ptrace.h \
7515 sys/queue.h \
7516 sys/random.h \
7517 sys/resource.h \
7518 sys/scsiio.h \
7519 sys/shm.h \
7520 sys/signal.h \
7521 sys/socket.h \
7522 sys/socketvar.h \
7523 sys/sockio.h \
7524 sys/statvfs.h \
7525 sys/strtio.h \
7526 sys/syscall.h \
7527 sys/sysinfo.h \
7528 sys/time.h \
7529 sys/timeout.h \
7530 sys/times.h \
7531 sys/uio.h \
7532 sys/user.h \
7533 sys/utsname.h \
7534 sys/vnode.h \
7535 sys/wait.h \
7536 syscall.h \
7537 termios.h \
7538 unistd.h \
7539 utime.h \
7540 valgrind/memcheck.h \
7541 valgrind/valgrind.h
7543 do :
7544 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7545 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7546 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7547 cat >>confdefs.h <<_ACEOF
7548 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7549 _ACEOF
7553 done
7555 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7556 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7558 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7563 if test $ac_cv_header_sys_mkdev_h = no; then
7564 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7565 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7567 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7574 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7575 if ${ac_cv_header_stat_broken+:} false; then :
7576 $as_echo_n "(cached) " >&6
7577 else
7578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7579 /* end confdefs.h. */
7580 #include <sys/types.h>
7581 #include <sys/stat.h>
7583 #if defined S_ISBLK && defined S_IFDIR
7584 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7585 #endif
7587 #if defined S_ISBLK && defined S_IFCHR
7588 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7589 #endif
7591 #if defined S_ISLNK && defined S_IFREG
7592 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7593 #endif
7595 #if defined S_ISSOCK && defined S_IFREG
7596 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7597 #endif
7599 _ACEOF
7600 if ac_fn_c_try_compile "$LINENO"; then :
7601 ac_cv_header_stat_broken=no
7602 else
7603 ac_cv_header_stat_broken=yes
7605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7608 $as_echo "$ac_cv_header_stat_broken" >&6; }
7609 if test $ac_cv_header_stat_broken = yes; then
7611 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7617 for ac_header in sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7618 do :
7619 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7620 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7621 #ifdef HAVE_SYS_PARAM_H
7622 # include <sys/param.h>
7623 #endif
7625 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7626 cat >>confdefs.h <<_ACEOF
7627 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7628 _ACEOF
7632 done
7635 saved_sysctl_h_CFLAGS=$CFLAGS
7636 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7637 for ac_header in sys/sysctl.h
7638 do :
7639 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7640 #ifdef HAVE_SYS_PARAM_H
7641 # include <sys/param.h>
7642 #endif
7644 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7645 cat >>confdefs.h <<_ACEOF
7646 #define HAVE_SYS_SYSCTL_H 1
7647 _ACEOF
7651 done
7653 CFLAGS=$saved_sysctl_h_CFLAGS
7655 for ac_header in \
7656 netinet/ip.h \
7657 net/if.h \
7658 net/if_arp.h \
7659 net/if_dl.h \
7660 net/if_types.h \
7661 net/route.h \
7662 netinet/if_ether.h \
7663 netinet/if_inarp.h \
7664 netinet/in_pcb.h \
7665 netinet/ip_icmp.h \
7666 netinet/ip_var.h \
7667 netinet/udp.h \
7668 netipx/ipx.h \
7669 sys/un.h \
7671 do :
7672 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7673 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7674 #ifdef HAVE_SYS_SOCKET_H
7675 # include <sys/socket.h>
7676 #endif
7677 #ifdef HAVE_SYS_SOCKETVAR_H
7678 # include <sys/socketvar.h>
7679 #endif
7680 #ifdef HAVE_NET_ROUTE_H
7681 # include <net/route.h>
7682 #endif
7683 #ifdef HAVE_NETINET_IN_H
7684 # include <netinet/in.h>
7685 #endif
7686 #ifdef HAVE_NETINET_IN_SYSTM_H
7687 # include <netinet/in_systm.h>
7688 #endif
7689 #ifdef HAVE_NET_IF_H
7690 # include <net/if.h>
7691 #endif
7692 #ifdef HAVE_NETINET_IP_H
7693 # include <netinet/ip.h>
7694 #endif
7696 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7697 cat >>confdefs.h <<_ACEOF
7698 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7699 _ACEOF
7703 done
7706 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7707 do :
7708 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7709 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7710 #ifdef HAVE_ALIAS_H
7711 # include <alias.h>
7712 #endif
7713 #ifdef HAVE_SYS_SOCKET_H
7714 # include <sys/socket.h>
7715 #endif
7716 #ifdef HAVE_SYS_SOCKETVAR_H
7717 # include <sys/socketvar.h>
7718 #endif
7719 #ifdef HAVE_SYS_TIMEOUT_H
7720 # include <sys/timeout.h>
7721 #endif
7722 #ifdef HAVE_NETINET_IN_H
7723 # include <netinet/in.h>
7724 #endif
7725 #ifdef HAVE_NETINET_IN_SYSTM_H
7726 # include <netinet/in_systm.h>
7727 #endif
7728 #ifdef HAVE_NETINET_IP_H
7729 # include <netinet/ip.h>
7730 #endif
7731 #ifdef HAVE_NETINET_IP_VAR_H
7732 # include <netinet/ip_var.h>
7733 #endif
7734 #ifdef HAVE_NETINET_IP_ICMP_H
7735 # include <netinet/ip_icmp.h>
7736 #endif
7737 #ifdef HAVE_NETINET_UDP_H
7738 # include <netinet/udp.h>
7739 #endif
7740 #ifdef HAVE_NETINET_TCP_H
7741 # include <netinet/tcp.h>
7742 #endif
7743 #ifdef HAVE_NETINET_TCP_TIMER_H
7744 #include <netinet/tcp_timer.h>
7745 #endif
7747 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7748 cat >>confdefs.h <<_ACEOF
7749 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7750 _ACEOF
7754 done
7757 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7758 do :
7759 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7760 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7761 #ifdef HAVE_ASM_TYPES_H
7762 # include <asm/types.h>
7763 #endif
7764 #ifdef HAVE_SYS_SOCKET_H
7765 # include <sys/socket.h>
7766 #endif
7767 #ifdef HAVE_LINUX_TYPES_H
7768 # include <linux/types.h>
7769 #endif
7771 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7772 cat >>confdefs.h <<_ACEOF
7773 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7774 _ACEOF
7778 done
7781 for ac_header in resolv.h
7782 do :
7783 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7784 #ifdef HAVE_SYS_SOCKET_H
7785 # include <sys/socket.h>
7786 #endif
7787 #ifdef HAVE_NETINET_IN_H
7788 # include <netinet/in.h>
7789 #endif
7790 #ifdef HAVE_ARPA_NAMESER_H
7791 # include <arpa/nameser.h>
7792 #endif
7794 if test "x$ac_cv_header_resolv_h" = xyes; then :
7795 cat >>confdefs.h <<_ACEOF
7796 #define HAVE_RESOLV_H 1
7797 _ACEOF
7801 done
7804 for ac_header in ifaddrs.h
7805 do :
7806 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7808 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7809 cat >>confdefs.h <<_ACEOF
7810 #define HAVE_IFADDRS_H 1
7811 _ACEOF
7815 done
7818 for ac_header in sys/ucontext.h
7819 do :
7820 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7822 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7823 cat >>confdefs.h <<_ACEOF
7824 #define HAVE_SYS_UCONTEXT_H 1
7825 _ACEOF
7829 done
7832 for ac_header in sys/thr.h
7833 do :
7834 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7835 #ifdef HAVE_SYS_UCONTEXT_H
7836 #include <sys/ucontext.h>
7837 #endif
7839 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7840 cat >>confdefs.h <<_ACEOF
7841 #define HAVE_SYS_THR_H 1
7842 _ACEOF
7846 done
7849 for ac_header in pthread_np.h
7850 do :
7851 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7852 #include <pthread.h>
7853 #endif
7855 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7856 cat >>confdefs.h <<_ACEOF
7857 #define HAVE_PTHREAD_NP_H 1
7858 _ACEOF
7862 done
7865 for ac_header in linux/videodev2.h
7866 do :
7867 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7868 #include <sys/time.h>
7869 #endif
7870 #include <sys/types.h>
7871 #ifdef HAVE_ASM_TYPES_H
7872 #include <asm/types.h>
7873 #endif
7875 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7876 cat >>confdefs.h <<_ACEOF
7877 #define HAVE_LINUX_VIDEODEV2_H 1
7878 _ACEOF
7882 done
7885 for ac_header in libprocstat.h
7886 do :
7887 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7888 #include <sys/param.h>
7889 #endif
7890 #ifdef HAVE_SYS_QUEUE_H
7891 #include <sys/queue.h>
7892 #endif
7893 #ifdef HAVE_SYS_SOCKET_H
7894 #include <sys/socket.h>
7895 #endif
7897 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7898 cat >>confdefs.h <<_ACEOF
7899 #define HAVE_LIBPROCSTAT_H 1
7900 _ACEOF
7904 done
7908 DLLFLAGS=""
7910 LDDLLFLAGS=""
7912 LDEXECFLAGS=""
7914 EXTRACFLAGS=""
7916 UNIXDLLFLAGS="-fPIC"
7918 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
7920 TOP_INSTALL_LIB=""
7922 TOP_INSTALL_DEV=""
7924 WINELOADER_LDFLAGS=""
7926 WINEPRELOADER_LDFLAGS=""
7928 LIBEXT="so"
7929 # Extract the first word of "ldd", so it can be a program name with args.
7930 set dummy ldd; ac_word=$2
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7932 $as_echo_n "checking for $ac_word... " >&6; }
7933 if ${ac_cv_path_LDD+:} false; then :
7934 $as_echo_n "(cached) " >&6
7935 else
7936 case $LDD in
7937 [\\/]* | ?:[\\/]*)
7938 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7942 as_dummy="/sbin:/usr/sbin:$PATH"
7943 for as_dir in $as_dummy
7945 IFS=$as_save_IFS
7946 test -z "$as_dir" && as_dir=.
7947 for ac_exec_ext in '' $ac_executable_extensions; do
7948 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7949 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7951 break 2
7953 done
7954 done
7955 IFS=$as_save_IFS
7957 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7959 esac
7961 LDD=$ac_cv_path_LDD
7962 if test -n "$LDD"; then
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7964 $as_echo "$LDD" >&6; }
7965 else
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7967 $as_echo "no" >&6; }
7971 if test -n "$ac_tool_prefix"; then
7972 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7973 set dummy ${ac_tool_prefix}otool; ac_word=$2
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7975 $as_echo_n "checking for $ac_word... " >&6; }
7976 if ${ac_cv_prog_OTOOL+:} false; then :
7977 $as_echo_n "(cached) " >&6
7978 else
7979 if test -n "$OTOOL"; then
7980 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7981 else
7982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7983 for as_dir in $PATH
7985 IFS=$as_save_IFS
7986 test -z "$as_dir" && as_dir=.
7987 for ac_exec_ext in '' $ac_executable_extensions; do
7988 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7989 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7991 break 2
7993 done
7994 done
7995 IFS=$as_save_IFS
7999 OTOOL=$ac_cv_prog_OTOOL
8000 if test -n "$OTOOL"; then
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8002 $as_echo "$OTOOL" >&6; }
8003 else
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8005 $as_echo "no" >&6; }
8010 if test -z "$ac_cv_prog_OTOOL"; then
8011 ac_ct_OTOOL=$OTOOL
8012 # Extract the first word of "otool", so it can be a program name with args.
8013 set dummy otool; ac_word=$2
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8015 $as_echo_n "checking for $ac_word... " >&6; }
8016 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8017 $as_echo_n "(cached) " >&6
8018 else
8019 if test -n "$ac_ct_OTOOL"; then
8020 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8021 else
8022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8023 for as_dir in $PATH
8025 IFS=$as_save_IFS
8026 test -z "$as_dir" && as_dir=.
8027 for ac_exec_ext in '' $ac_executable_extensions; do
8028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8029 ac_cv_prog_ac_ct_OTOOL="otool"
8030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8031 break 2
8033 done
8034 done
8035 IFS=$as_save_IFS
8039 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8040 if test -n "$ac_ct_OTOOL"; then
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8042 $as_echo "$ac_ct_OTOOL" >&6; }
8043 else
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8045 $as_echo "no" >&6; }
8048 if test "x$ac_ct_OTOOL" = x; then
8049 OTOOL="otool"
8050 else
8051 case $cross_compiling:$ac_tool_warned in
8052 yes:)
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8054 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8055 ac_tool_warned=yes ;;
8056 esac
8057 OTOOL=$ac_ct_OTOOL
8059 else
8060 OTOOL="$ac_cv_prog_OTOOL"
8063 if test -n "$ac_tool_prefix"; then
8064 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8065 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8067 $as_echo_n "checking for $ac_word... " >&6; }
8068 if ${ac_cv_prog_READELF+:} false; then :
8069 $as_echo_n "(cached) " >&6
8070 else
8071 if test -n "$READELF"; then
8072 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8073 else
8074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8075 for as_dir in $PATH
8077 IFS=$as_save_IFS
8078 test -z "$as_dir" && as_dir=.
8079 for ac_exec_ext in '' $ac_executable_extensions; do
8080 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8081 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8083 break 2
8085 done
8086 done
8087 IFS=$as_save_IFS
8091 READELF=$ac_cv_prog_READELF
8092 if test -n "$READELF"; then
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8094 $as_echo "$READELF" >&6; }
8095 else
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8097 $as_echo "no" >&6; }
8102 if test -z "$ac_cv_prog_READELF"; then
8103 ac_ct_READELF=$READELF
8104 # Extract the first word of "readelf", so it can be a program name with args.
8105 set dummy readelf; ac_word=$2
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8107 $as_echo_n "checking for $ac_word... " >&6; }
8108 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8109 $as_echo_n "(cached) " >&6
8110 else
8111 if test -n "$ac_ct_READELF"; then
8112 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8113 else
8114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8115 for as_dir in $PATH
8117 IFS=$as_save_IFS
8118 test -z "$as_dir" && as_dir=.
8119 for ac_exec_ext in '' $ac_executable_extensions; do
8120 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8121 ac_cv_prog_ac_ct_READELF="readelf"
8122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8123 break 2
8125 done
8126 done
8127 IFS=$as_save_IFS
8131 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8132 if test -n "$ac_ct_READELF"; then
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8134 $as_echo "$ac_ct_READELF" >&6; }
8135 else
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8137 $as_echo "no" >&6; }
8140 if test "x$ac_ct_READELF" = x; then
8141 READELF="true"
8142 else
8143 case $cross_compiling:$ac_tool_warned in
8144 yes:)
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8146 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8147 ac_tool_warned=yes ;;
8148 esac
8149 READELF=$ac_ct_READELF
8151 else
8152 READELF="$ac_cv_prog_READELF"
8155 wine_rules_file=conf$$rules.make
8156 rm -f $wine_rules_file
8157 SUBDIRS=""
8159 DISABLED_SUBDIRS=""
8161 CONFIGURE_TARGETS=""
8164 wine_fn_append_file ()
8166 as_fn_append $1 " \\$as_nl $2"
8169 wine_fn_append_rule ()
8171 $as_echo "$1" >>$wine_rules_file
8174 wine_fn_config_makefile ()
8176 wine_fn_append_file SUBDIRS $1
8177 if eval test \"x\$"$2"\" = x"no"; then :
8178 wine_fn_append_file DISABLED_SUBDIRS $1
8182 wine_fn_config_symlink ()
8184 ac_links=$@
8185 wine_fn_append_rule \
8186 "$ac_links:
8187 @./config.status \$@"
8188 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8191 wine_binary="wine"
8192 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8193 WINELOADER_PROGRAMS="$wine_binary"
8195 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8197 case $host_os in
8198 cygwin*|mingw32*)
8199 if test -n "$ac_tool_prefix"; then
8200 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8201 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8203 $as_echo_n "checking for $ac_word... " >&6; }
8204 if ${ac_cv_prog_DLLTOOL+:} false; then :
8205 $as_echo_n "(cached) " >&6
8206 else
8207 if test -n "$DLLTOOL"; then
8208 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8209 else
8210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8211 for as_dir in $PATH
8213 IFS=$as_save_IFS
8214 test -z "$as_dir" && as_dir=.
8215 for ac_exec_ext in '' $ac_executable_extensions; do
8216 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8217 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8219 break 2
8221 done
8222 done
8223 IFS=$as_save_IFS
8227 DLLTOOL=$ac_cv_prog_DLLTOOL
8228 if test -n "$DLLTOOL"; then
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8230 $as_echo "$DLLTOOL" >&6; }
8231 else
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8233 $as_echo "no" >&6; }
8238 if test -z "$ac_cv_prog_DLLTOOL"; then
8239 ac_ct_DLLTOOL=$DLLTOOL
8240 # Extract the first word of "dlltool", so it can be a program name with args.
8241 set dummy dlltool; ac_word=$2
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8243 $as_echo_n "checking for $ac_word... " >&6; }
8244 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8245 $as_echo_n "(cached) " >&6
8246 else
8247 if test -n "$ac_ct_DLLTOOL"; then
8248 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8249 else
8250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8251 for as_dir in $PATH
8253 IFS=$as_save_IFS
8254 test -z "$as_dir" && as_dir=.
8255 for ac_exec_ext in '' $ac_executable_extensions; do
8256 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8257 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8259 break 2
8261 done
8262 done
8263 IFS=$as_save_IFS
8267 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8268 if test -n "$ac_ct_DLLTOOL"; then
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8270 $as_echo "$ac_ct_DLLTOOL" >&6; }
8271 else
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8273 $as_echo "no" >&6; }
8276 if test "x$ac_ct_DLLTOOL" = x; then
8277 DLLTOOL="false"
8278 else
8279 case $cross_compiling:$ac_tool_warned in
8280 yes:)
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8282 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8283 ac_tool_warned=yes ;;
8284 esac
8285 DLLTOOL=$ac_ct_DLLTOOL
8287 else
8288 DLLTOOL="$ac_cv_prog_DLLTOOL"
8291 LIBEXT="dll"
8292 EXTRACFLAGS="-D__WINE_PE_BUILD"
8293 case $host_cpu in
8294 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8295 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8296 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8297 $as_echo_n "(cached) " >&6
8298 else
8299 ac_wine_try_cflags_saved=$CFLAGS
8300 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8302 /* end confdefs.h. */
8303 int main(int argc, char **argv) { return 0; }
8304 _ACEOF
8305 if ac_fn_c_try_link "$LINENO"; then :
8306 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8307 else
8308 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8310 rm -f core conftest.err conftest.$ac_objext \
8311 conftest$ac_exeext conftest.$ac_ext
8312 CFLAGS=$ac_wine_try_cflags_saved
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8315 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8316 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8317 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8318 fi ;;
8319 esac
8320 enable_mountmgr_sys=${enable_mountmgr_sys:-no}
8321 enable_loader=${enable_loader:-no}
8322 enable_server=${enable_server:-no}
8323 with_x=${with_x:-no}
8324 with_pthread=${with_pthread:-no}
8327 darwin*|macosx*)
8328 ac_ext=m
8329 ac_cpp='$OBJCPP $CPPFLAGS'
8330 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8331 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8332 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8334 ac_ext=m
8335 ac_cpp='$OBJCPP $CPPFLAGS'
8336 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8337 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8338 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8339 if test -n "$ac_tool_prefix"; then
8340 for ac_prog in gcc objcc objc cc CC
8342 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8343 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8345 $as_echo_n "checking for $ac_word... " >&6; }
8346 if ${ac_cv_prog_OBJC+:} false; then :
8347 $as_echo_n "(cached) " >&6
8348 else
8349 if test -n "$OBJC"; then
8350 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8351 else
8352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8353 for as_dir in $PATH
8355 IFS=$as_save_IFS
8356 test -z "$as_dir" && as_dir=.
8357 for ac_exec_ext in '' $ac_executable_extensions; do
8358 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8359 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8361 break 2
8363 done
8364 done
8365 IFS=$as_save_IFS
8369 OBJC=$ac_cv_prog_OBJC
8370 if test -n "$OBJC"; then
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8372 $as_echo "$OBJC" >&6; }
8373 else
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8375 $as_echo "no" >&6; }
8379 test -n "$OBJC" && break
8380 done
8382 if test -z "$OBJC"; then
8383 ac_ct_OBJC=$OBJC
8384 for ac_prog in gcc objcc objc cc CC
8386 # Extract the first word of "$ac_prog", so it can be a program name with args.
8387 set dummy $ac_prog; ac_word=$2
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8389 $as_echo_n "checking for $ac_word... " >&6; }
8390 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8391 $as_echo_n "(cached) " >&6
8392 else
8393 if test -n "$ac_ct_OBJC"; then
8394 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8395 else
8396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8397 for as_dir in $PATH
8399 IFS=$as_save_IFS
8400 test -z "$as_dir" && as_dir=.
8401 for ac_exec_ext in '' $ac_executable_extensions; do
8402 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8403 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8405 break 2
8407 done
8408 done
8409 IFS=$as_save_IFS
8413 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8414 if test -n "$ac_ct_OBJC"; then
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8416 $as_echo "$ac_ct_OBJC" >&6; }
8417 else
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8419 $as_echo "no" >&6; }
8423 test -n "$ac_ct_OBJC" && break
8424 done
8426 if test "x$ac_ct_OBJC" = x; then
8427 OBJC="gcc"
8428 else
8429 case $cross_compiling:$ac_tool_warned in
8430 yes:)
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8432 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8433 ac_tool_warned=yes ;;
8434 esac
8435 OBJC=$ac_ct_OBJC
8439 # Provide some information about the compiler.
8440 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8441 set X $ac_compile
8442 ac_compiler=$2
8443 for ac_option in --version -v -V -qversion; do
8444 { { ac_try="$ac_compiler $ac_option >&5"
8445 case "(($ac_try" in
8446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8447 *) ac_try_echo=$ac_try;;
8448 esac
8449 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8450 $as_echo "$ac_try_echo"; } >&5
8451 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8452 ac_status=$?
8453 if test -s conftest.err; then
8454 sed '10a\
8455 ... rest of stderr output deleted ...
8456 10q' conftest.err >conftest.er1
8457 cat conftest.er1 >&5
8459 rm -f conftest.er1 conftest.err
8460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8461 test $ac_status = 0; }
8462 done
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8465 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8466 if ${ac_cv_objc_compiler_gnu+:} false; then :
8467 $as_echo_n "(cached) " >&6
8468 else
8469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8470 /* end confdefs.h. */
8473 main ()
8475 #ifndef __GNUC__
8476 choke me
8477 #endif
8480 return 0;
8482 _ACEOF
8483 if ac_fn_objc_try_compile "$LINENO"; then :
8484 ac_compiler_gnu=yes
8485 else
8486 ac_compiler_gnu=no
8488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8489 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8493 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8494 if test $ac_compiler_gnu = yes; then
8495 GOBJC=yes
8496 else
8497 GOBJC=
8499 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8500 ac_save_OBJCFLAGS=$OBJCFLAGS
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8502 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8503 if ${ac_cv_prog_objc_g+:} false; then :
8504 $as_echo_n "(cached) " >&6
8505 else
8506 ac_save_objc_werror_flag=$ac_objc_werror_flag
8507 ac_objc_werror_flag=yes
8508 ac_cv_prog_objc_g=no
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
8523 else
8524 OBJCFLAGS=""
8525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8526 /* end confdefs.h. */
8529 main ()
8533 return 0;
8535 _ACEOF
8536 if ac_fn_objc_try_compile "$LINENO"; then :
8538 else
8539 ac_objc_werror_flag=$ac_save_objc_werror_flag
8540 OBJCFLAGS="-g"
8541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8542 /* end confdefs.h. */
8545 main ()
8549 return 0;
8551 _ACEOF
8552 if ac_fn_objc_try_compile "$LINENO"; then :
8553 ac_cv_prog_objc_g=yes
8555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8560 ac_objc_werror_flag=$ac_save_objc_werror_flag
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8563 $as_echo "$ac_cv_prog_objc_g" >&6; }
8564 if test "$ac_test_OBJCFLAGS" = set; then
8565 OBJCFLAGS=$ac_save_OBJCFLAGS
8566 elif test $ac_cv_prog_objc_g = yes; then
8567 if test "$GOBJC" = yes; then
8568 OBJCFLAGS="-g -O2"
8569 else
8570 OBJCFLAGS="-g"
8572 else
8573 if test "$GOBJC" = yes; then
8574 OBJCFLAGS="-O2"
8575 else
8576 OBJCFLAGS=
8579 ac_ext=m
8580 ac_cpp='$OBJCPP $CPPFLAGS'
8581 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8582 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8583 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8586 ac_ext=m
8587 ac_cpp='$OBJCPP $CPPFLAGS'
8588 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8589 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8590 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8592 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8593 if test -z "$OBJCPP"; then
8594 if ${ac_cv_prog_OBJCPP+:} false; then :
8595 $as_echo_n "(cached) " >&6
8596 else
8597 # Double quotes because OBJCPP needs to be expanded
8598 for OBJCPP in "$OBJC -E" "/lib/cpp"
8600 ac_preproc_ok=false
8601 for ac_objc_preproc_warn_flag in '' yes
8603 # Use a header file that comes with gcc, so configuring glibc
8604 # with a fresh cross-compiler works.
8605 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8606 # <limits.h> exists even on freestanding compilers.
8607 # On the NeXT, cc -E runs the code through the compiler's parser,
8608 # not just through cpp. "Syntax error" is here to catch this case.
8609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8610 /* end confdefs.h. */
8611 #ifdef __STDC__
8612 # include <limits.h>
8613 #else
8614 # include <assert.h>
8615 #endif
8616 Syntax error
8617 _ACEOF
8618 if ac_fn_objc_try_cpp "$LINENO"; then :
8620 else
8621 # Broken: fails on valid input.
8622 continue
8624 rm -f conftest.err conftest.i conftest.$ac_ext
8626 # OK, works on sane cases. Now check whether nonexistent headers
8627 # can be detected and how.
8628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8629 /* end confdefs.h. */
8630 #include <ac_nonexistent.h>
8631 _ACEOF
8632 if ac_fn_objc_try_cpp "$LINENO"; then :
8633 # Broken: success on invalid input.
8634 continue
8635 else
8636 # Passes both tests.
8637 ac_preproc_ok=:
8638 break
8640 rm -f conftest.err conftest.i conftest.$ac_ext
8642 done
8643 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8644 rm -f conftest.i conftest.err conftest.$ac_ext
8645 if $ac_preproc_ok; then :
8646 break
8649 done
8650 ac_cv_prog_OBJCPP=$OBJCPP
8653 OBJCPP=$ac_cv_prog_OBJCPP
8654 else
8655 ac_cv_prog_OBJCPP=$OBJCPP
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8658 $as_echo "$OBJCPP" >&6; }
8659 ac_preproc_ok=false
8660 for ac_objc_preproc_warn_flag in '' yes
8662 # Use a header file that comes with gcc, so configuring glibc
8663 # with a fresh cross-compiler works.
8664 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8665 # <limits.h> exists even on freestanding compilers.
8666 # On the NeXT, cc -E runs the code through the compiler's parser,
8667 # not just through cpp. "Syntax error" is here to catch this case.
8668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8669 /* end confdefs.h. */
8670 #ifdef __STDC__
8671 # include <limits.h>
8672 #else
8673 # include <assert.h>
8674 #endif
8675 Syntax error
8676 _ACEOF
8677 if ac_fn_objc_try_cpp "$LINENO"; then :
8679 else
8680 # Broken: fails on valid input.
8681 continue
8683 rm -f conftest.err conftest.i conftest.$ac_ext
8685 # OK, works on sane cases. Now check whether nonexistent headers
8686 # can be detected and how.
8687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8688 /* end confdefs.h. */
8689 #include <ac_nonexistent.h>
8690 _ACEOF
8691 if ac_fn_objc_try_cpp "$LINENO"; then :
8692 # Broken: success on invalid input.
8693 continue
8694 else
8695 # Passes both tests.
8696 ac_preproc_ok=:
8697 break
8699 rm -f conftest.err conftest.i conftest.$ac_ext
8701 done
8702 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8703 rm -f conftest.i conftest.err conftest.$ac_ext
8704 if $ac_preproc_ok; then :
8706 else
8707 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8708 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8709 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8710 See \`config.log' for more details" "$LINENO" 5; }
8713 ac_ext=m
8714 ac_cpp='$OBJCPP $CPPFLAGS'
8715 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8716 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8717 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8720 for ac_header in Metal/Metal.h
8721 do :
8722 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8723 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8724 cat >>confdefs.h <<_ACEOF
8725 #define HAVE_METAL_METAL_H 1
8726 _ACEOF
8730 done
8732 ac_ext=c
8733 ac_cpp='$CPP $CPPFLAGS'
8734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8738 LIBEXT="dylib"
8739 DLLFLAGS="$DLLFLAGS -fPIC"
8740 LDDLLFLAGS="-fPIC"
8741 COREFOUNDATION_LIBS="-framework CoreFoundation"
8743 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8745 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8747 CORESERVICES_LIBS="-framework CoreServices"
8749 APPKIT_LIBS="-framework AppKit"
8751 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8754 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8756 wine_can_build_preloader=yes
8757 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist,-segaddr,WINE_4GB_RESERVE,0x100000000"
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8759 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8760 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8761 $as_echo_n "(cached) " >&6
8762 else
8763 ac_wine_try_cflags_saved=$CFLAGS
8764 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8766 /* end confdefs.h. */
8767 int main(int argc, char **argv) { return 0; }
8768 _ACEOF
8769 if ac_fn_c_try_link "$LINENO"; then :
8770 ac_cv_cflags__Wl__no_new_main__e__main=yes
8771 else
8772 ac_cv_cflags__Wl__no_new_main__e__main=no
8774 rm -f core conftest.err conftest.$ac_objext \
8775 conftest$ac_exeext conftest.$ac_ext
8776 CFLAGS=$ac_wine_try_cflags_saved
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8779 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8780 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8781 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8783 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8784 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8785 $as_echo_n "(cached) " >&6
8786 else
8787 ac_wine_try_cflags_saved=$CFLAGS
8788 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8790 /* end confdefs.h. */
8791 int main(int argc, char **argv) { return 0; }
8792 _ACEOF
8793 if ac_fn_c_try_link "$LINENO"; then :
8794 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8795 else
8796 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8798 rm -f core conftest.err conftest.$ac_objext \
8799 conftest$ac_exeext conftest.$ac_ext
8800 CFLAGS=$ac_wine_try_cflags_saved
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8803 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8804 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8805 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8806 else
8807 { $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
8808 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8809 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8810 $as_echo_n "(cached) " >&6
8811 else
8812 ac_wine_try_cflags_saved=$CFLAGS
8813 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -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__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8820 else
8821 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__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__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8828 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8829 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8830 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8831 else
8832 wine_can_build_preloader=no
8835 else
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8837 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8838 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8839 $as_echo_n "(cached) " >&6
8840 else
8841 ac_wine_try_cflags_saved=$CFLAGS
8842 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8844 /* end confdefs.h. */
8845 int main(int argc, char **argv) { return 0; }
8846 _ACEOF
8847 if ac_fn_c_try_link "$LINENO"; then :
8848 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8849 else
8850 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8852 rm -f core conftest.err conftest.$ac_objext \
8853 conftest$ac_exeext conftest.$ac_ext
8854 CFLAGS=$ac_wine_try_cflags_saved
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8857 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8858 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8859 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8860 else
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8862 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8863 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8864 $as_echo_n "(cached) " >&6
8865 else
8866 ac_wine_try_cflags_saved=$CFLAGS
8867 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8869 /* end confdefs.h. */
8870 int main(int argc, char **argv) { return 0; }
8871 _ACEOF
8872 if ac_fn_c_try_link "$LINENO"; then :
8873 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8874 else
8875 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8877 rm -f core conftest.err conftest.$ac_objext \
8878 conftest$ac_exeext conftest.$ac_ext
8879 CFLAGS=$ac_wine_try_cflags_saved
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8882 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8883 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8884 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8885 else
8886 wine_can_build_preloader=no
8890 if test "$wine_can_build_preloader" = "yes"
8891 then
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8893 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8894 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8895 $as_echo_n "(cached) " >&6
8896 else
8897 ac_wine_try_cflags_saved=$CFLAGS
8898 CFLAGS="$CFLAGS -Wl,-no_pie"
8899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8900 /* end confdefs.h. */
8901 int main(int argc, char **argv) { return 0; }
8902 _ACEOF
8903 if ac_fn_c_try_link "$LINENO"; then :
8904 ac_cv_cflags__Wl__no_pie=yes
8905 else
8906 ac_cv_cflags__Wl__no_pie=no
8908 rm -f core conftest.err conftest.$ac_objext \
8909 conftest$ac_exeext conftest.$ac_ext
8910 CFLAGS=$ac_wine_try_cflags_saved
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8913 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8914 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8915 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8917 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8918 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8919 else
8920 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8923 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8924 then
8925 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8928 if test "$ac_cv_header_Security_Security_h" = "yes"
8929 then
8930 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8933 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
8934 then
8935 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8937 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8939 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8940 then
8941 OPENAL_LIBS="-framework OpenAL"
8944 cat >>confdefs.h <<_ACEOF
8945 #define HAVE_OPENAL 1
8946 _ACEOF
8948 ac_cv_lib_openal=yes
8950 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8951 then
8952 OPENCL_LIBS="-framework OpenCL"
8954 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8956 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8957 then
8958 ac_save_LIBS="$LIBS"
8959 LIBS="$LIBS $IOKIT_LIBS"
8960 for ac_func in IOHIDManagerCreate
8961 do :
8962 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8963 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8964 cat >>confdefs.h <<_ACEOF
8965 #define HAVE_IOHIDMANAGERCREATE 1
8966 _ACEOF
8969 done
8971 LIBS="$ac_save_LIBS"
8974 if test "x$with_quicktime" != "xno"
8975 then
8976 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8977 then
8978 ac_save_LIBS="$LIBS"
8979 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8981 $as_echo_n "checking for the QuickTime framework... " >&6; }
8982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8983 /* end confdefs.h. */
8984 #include <QuickTime/ImageCompression.h>
8986 main ()
8988 CodecManagerVersion(NULL);
8990 return 0;
8992 _ACEOF
8993 if ac_fn_c_try_link "$LINENO"; then :
8994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8995 $as_echo "yes" >&6; }
8996 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8998 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8999 else
9000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9001 $as_echo "no" >&6; }
9002 ac_cv_header_QuickTime_ImageCompression_h=no
9004 rm -f core conftest.err conftest.$ac_objext \
9005 conftest$ac_exeext conftest.$ac_ext
9006 LIBS="$ac_save_LIBS"
9009 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9010 case "x$with_quicktime" in
9011 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9012 xno) ;;
9013 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9014 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9015 esac
9019 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9020 then
9021 CARBON_LIBS="-framework Carbon"
9024 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9025 then
9026 METAL_LIBS="-framework Metal -framework QuartzCore"
9030 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9031 then
9032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9033 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9034 ac_ext=m
9035 ac_cpp='$OBJCPP $CPPFLAGS'
9036 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9037 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9038 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9041 /* end confdefs.h. */
9042 #include <Metal/Metal.h>
9044 main ()
9046 id<MTLDevice> device; device.registryID;
9048 return 0;
9050 _ACEOF
9051 if ac_fn_objc_try_compile "$LINENO"; then :
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9053 $as_echo "yes" >&6; }
9055 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9057 else
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9059 $as_echo "no" >&6; }
9061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9062 ac_ext=c
9063 ac_cpp='$CPP $CPPFLAGS'
9064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9070 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9071 then
9072 ac_save_LIBS="$LIBS"
9073 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9074 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9075 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9076 enable_winemac_drv=${enable_winemac_drv:-yes}
9079 LIBS="$ac_save_LIBS"
9082 UNIXLDFLAGS="-dynamiclib -install_name @loader_path/\$(UNIXLIB)"
9083 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9085 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9087 WINELOADER_DEPENDS="wine_info.plist"
9089 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9092 linux-android*)
9094 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
9096 DLLFLAGS="$DLLFLAGS -fPIC"
9097 LDDLLFLAGS="-fPIC"
9098 LDEXECFLAGS="-Wl,-pie"
9099 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9101 $as_echo_n "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9102 if ${ac_cv_cflags__Wl__z_defs+:} false; then :
9103 $as_echo_n "(cached) " >&6
9104 else
9105 ac_wine_try_cflags_saved=$CFLAGS
9106 CFLAGS="$CFLAGS -Wl,-z,defs"
9107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9108 /* end confdefs.h. */
9109 int main(int argc, char **argv) { return 0; }
9110 _ACEOF
9111 if ac_fn_c_try_link "$LINENO"; then :
9112 ac_cv_cflags__Wl__z_defs=yes
9113 else
9114 ac_cv_cflags__Wl__z_defs=no
9116 rm -f core conftest.err conftest.$ac_objext \
9117 conftest$ac_exeext conftest.$ac_ext
9118 CFLAGS=$ac_wine_try_cflags_saved
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9121 $as_echo "$ac_cv_cflags__Wl__z_defs" >&6; }
9122 if test "x$ac_cv_cflags__Wl__z_defs" = xyes; then :
9123 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9126 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9127 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9128 $as_echo_n "(cached) " >&6
9129 else
9130 ac_wine_try_cflags_saved=$CFLAGS
9131 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9133 /* end confdefs.h. */
9134 int main(int argc, char **argv) { return 0; }
9135 _ACEOF
9136 if ac_fn_c_try_link "$LINENO"; then :
9137 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9138 else
9139 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9141 rm -f core conftest.err conftest.$ac_objext \
9142 conftest$ac_exeext conftest.$ac_ext
9143 CFLAGS=$ac_wine_try_cflags_saved
9145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9146 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9147 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9148 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9150 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9153 $as_echo_n "checking for -lEGL... " >&6; }
9154 if ${ac_cv_lib_soname_EGL+:} false; then :
9155 $as_echo_n "(cached) " >&6
9156 else
9157 ac_check_soname_save_LIBS=$LIBS
9158 LIBS="-lEGL $LIBS"
9159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9160 /* end confdefs.h. */
9162 /* Override any GCC internal prototype to avoid an error.
9163 Use char because int might match the return type of a GCC
9164 builtin and then its argument prototype would still apply. */
9165 #ifdef __cplusplus
9166 extern "C"
9167 #endif
9168 char eglGetProcAddress ();
9170 main ()
9172 return eglGetProcAddress ();
9174 return 0;
9176 _ACEOF
9177 if ac_fn_c_try_link "$LINENO"; then :
9178 case "$LIBEXT" in
9179 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9180 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'` ;;
9181 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9182 if ${ac_cv_lib_soname_EGL:+false} :; then :
9183 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9184 fi ;;
9185 esac
9186 else
9187 ac_cv_lib_soname_EGL=
9189 rm -f core conftest.err conftest.$ac_objext \
9190 conftest$ac_exeext conftest.$ac_ext
9191 LIBS=$ac_check_soname_save_LIBS
9193 if ${ac_cv_lib_soname_EGL:+false} :; then :
9194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9195 $as_echo "not found" >&6; }
9197 else
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9199 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9201 cat >>confdefs.h <<_ACEOF
9202 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9203 _ACEOF
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9208 $as_echo_n "checking for -lGLESv2... " >&6; }
9209 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9210 $as_echo_n "(cached) " >&6
9211 else
9212 ac_check_soname_save_LIBS=$LIBS
9213 LIBS="-lGLESv2 $LIBS"
9214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9215 /* end confdefs.h. */
9217 /* Override any GCC internal prototype to avoid an error.
9218 Use char because int might match the return type of a GCC
9219 builtin and then its argument prototype would still apply. */
9220 #ifdef __cplusplus
9221 extern "C"
9222 #endif
9223 char glFlush ();
9225 main ()
9227 return glFlush ();
9229 return 0;
9231 _ACEOF
9232 if ac_fn_c_try_link "$LINENO"; then :
9233 case "$LIBEXT" in
9234 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9235 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'` ;;
9236 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9237 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9238 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9239 fi ;;
9240 esac
9241 else
9242 ac_cv_lib_soname_GLESv2=
9244 rm -f core conftest.err conftest.$ac_objext \
9245 conftest$ac_exeext conftest.$ac_ext
9246 LIBS=$ac_check_soname_save_LIBS
9248 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9250 $as_echo "not found" >&6; }
9252 else
9253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9254 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9256 cat >>confdefs.h <<_ACEOF
9257 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9258 _ACEOF
9263 if test "x$exec_prefix" = xNONE
9264 then
9265 case $host_cpu in
9266 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9267 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9268 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9269 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9270 esac
9276 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
9278 case $host_cpu in
9279 *i[3456789]86*)
9280 DLLFLAGS="$DLLFLAGS -fno-PIC"
9281 LDDLLFLAGS="-fno-PIC"
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
9283 $as_echo_n "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
9284 if ${ac_cv_cflags__fno_PIC__Wl__z_notext+:} false; then :
9285 $as_echo_n "(cached) " >&6
9286 else
9287 ac_wine_try_cflags_saved=$CFLAGS
9288 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
9289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9290 /* end confdefs.h. */
9291 int main(int argc, char **argv) { return 0; }
9292 _ACEOF
9293 if ac_fn_c_try_link "$LINENO"; then :
9294 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
9295 else
9296 ac_cv_cflags__fno_PIC__Wl__z_notext=no
9298 rm -f core conftest.err conftest.$ac_objext \
9299 conftest$ac_exeext conftest.$ac_ext
9300 CFLAGS=$ac_wine_try_cflags_saved
9302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
9303 $as_echo "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
9304 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes; then :
9305 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
9309 DLLFLAGS="$DLLFLAGS -fPIC"
9310 LDDLLFLAGS="-fPIC" ;;
9311 esac
9312 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9314 echo '{ global: *; };' >conftest.map
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9316 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9317 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9318 $as_echo_n "(cached) " >&6
9319 else
9320 ac_wine_try_cflags_saved=$CFLAGS
9321 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9323 /* end confdefs.h. */
9324 int main(int argc, char **argv) { return 0; }
9325 _ACEOF
9326 if ac_fn_c_try_link "$LINENO"; then :
9327 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9328 else
9329 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9331 rm -f core conftest.err conftest.$ac_objext \
9332 conftest$ac_exeext conftest.$ac_ext
9333 CFLAGS=$ac_wine_try_cflags_saved
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9336 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9337 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9338 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9340 rm -f conftest.map
9342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9343 $as_echo_n "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9344 if ${ac_cv_cflags__Wl__z_defs+:} false; then :
9345 $as_echo_n "(cached) " >&6
9346 else
9347 ac_wine_try_cflags_saved=$CFLAGS
9348 CFLAGS="$CFLAGS -Wl,-z,defs"
9349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9350 /* end confdefs.h. */
9351 int main(int argc, char **argv) { return 0; }
9352 _ACEOF
9353 if ac_fn_c_try_link "$LINENO"; then :
9354 ac_cv_cflags__Wl__z_defs=yes
9355 else
9356 ac_cv_cflags__Wl__z_defs=no
9358 rm -f core conftest.err conftest.$ac_objext \
9359 conftest$ac_exeext conftest.$ac_ext
9360 CFLAGS=$ac_wine_try_cflags_saved
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9363 $as_echo "$ac_cv_cflags__Wl__z_defs" >&6; }
9364 if test "x$ac_cv_cflags__Wl__z_defs" = xyes; then :
9365 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9368 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9369 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9370 $as_echo_n "(cached) " >&6
9371 else
9372 ac_wine_try_cflags_saved=$CFLAGS
9373 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9375 /* end confdefs.h. */
9376 int main(int argc, char **argv) { return 0; }
9377 _ACEOF
9378 if ac_fn_c_try_link "$LINENO"; then :
9379 ac_cv_cflags__Wl___export_dynamic=yes
9380 else
9381 ac_cv_cflags__Wl___export_dynamic=no
9383 rm -f core conftest.err conftest.$ac_objext \
9384 conftest$ac_exeext conftest.$ac_ext
9385 CFLAGS=$ac_wine_try_cflags_saved
9387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9388 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9389 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9390 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9392 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9394 case $host_cpu in
9395 *i[3456789]86* | x86_64 | *aarch64* | arm*)
9396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9397 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9398 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9399 $as_echo_n "(cached) " >&6
9400 else
9401 ac_wine_try_cflags_saved=$CFLAGS
9402 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9404 /* end confdefs.h. */
9405 int main(int argc, char **argv) { return 0; }
9406 _ACEOF
9407 if ac_fn_c_try_link "$LINENO"; then :
9408 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9409 else
9410 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9412 rm -f core conftest.err conftest.$ac_objext \
9413 conftest$ac_exeext conftest.$ac_ext
9414 CFLAGS=$ac_wine_try_cflags_saved
9416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9417 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9418 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9419 case $host_os in
9420 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9421 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9422 esac
9423 else
9424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9425 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9426 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9427 $as_echo_n "(cached) " >&6
9428 else
9429 ac_wine_try_cflags_saved=$CFLAGS
9430 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9432 /* end confdefs.h. */
9433 int main(int argc, char **argv) { return 0; }
9434 _ACEOF
9435 if ac_fn_c_try_link "$LINENO"; then :
9436 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9437 else
9438 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9440 rm -f core conftest.err conftest.$ac_objext \
9441 conftest$ac_exeext conftest.$ac_ext
9442 CFLAGS=$ac_wine_try_cflags_saved
9444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9445 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9446 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9447 case $host_os in
9448 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9449 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9450 esac
9452 # Extract the first word of "prelink", so it can be a program name with args.
9453 set dummy prelink; ac_word=$2
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9455 $as_echo_n "checking for $ac_word... " >&6; }
9456 if ${ac_cv_path_PRELINK+:} false; then :
9457 $as_echo_n "(cached) " >&6
9458 else
9459 case $PRELINK in
9460 [\\/]* | ?:[\\/]*)
9461 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9465 for as_dir in /sbin /usr/sbin $PATH
9467 IFS=$as_save_IFS
9468 test -z "$as_dir" && as_dir=.
9469 for ac_exec_ext in '' $ac_executable_extensions; do
9470 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9471 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9473 break 2
9475 done
9476 done
9477 IFS=$as_save_IFS
9479 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9481 esac
9483 PRELINK=$ac_cv_path_PRELINK
9484 if test -n "$PRELINK"; then
9485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9486 $as_echo "$PRELINK" >&6; }
9487 else
9488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9489 $as_echo "no" >&6; }
9493 if test "x$PRELINK" = xfalse
9494 then
9495 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9499 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9500 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9501 $as_echo_n "(cached) " >&6
9502 else
9503 ac_wine_try_cflags_saved=$CFLAGS
9504 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9506 /* end confdefs.h. */
9507 int main(int argc, char **argv) { return 0; }
9508 _ACEOF
9509 if ac_fn_c_try_link "$LINENO"; then :
9510 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9511 else
9512 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9514 rm -f core conftest.err conftest.$ac_objext \
9515 conftest$ac_exeext conftest.$ac_ext
9516 CFLAGS=$ac_wine_try_cflags_saved
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9519 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9520 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9521 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9524 esac
9525 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9527 LIBWINE_DEPENDS="wine.map"
9529 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9531 esac
9533 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9534 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9535 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9536 enable_winemac_drv=${enable_winemac_drv:-no}
9537 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9540 if test "x$with_mingw" != xno
9541 then
9542 case "x$with_mingw" in
9543 x|xyes) case "$host_cpu" in
9544 aarch64*)
9545 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
9546 arm*)
9547 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
9548 i[3456789]86*)
9549 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
9550 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9551 mingw32-gcc clang" ;;
9552 x86_64)
9553 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
9554 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
9556 ac_prefix_list="" ;;
9557 esac
9558 for ac_prog in $ac_prefix_list
9560 # Extract the first word of "$ac_prog", so it can be a program name with args.
9561 set dummy $ac_prog; ac_word=$2
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9563 $as_echo_n "checking for $ac_word... " >&6; }
9564 if ${ac_cv_prog_CROSSCC+:} false; then :
9565 $as_echo_n "(cached) " >&6
9566 else
9567 if test -n "$CROSSCC"; then
9568 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9569 else
9570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9571 for as_dir in $PATH
9573 IFS=$as_save_IFS
9574 test -z "$as_dir" && as_dir=.
9575 for ac_exec_ext in '' $ac_executable_extensions; do
9576 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9577 ac_cv_prog_CROSSCC="$ac_prog"
9578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9579 break 2
9581 done
9582 done
9583 IFS=$as_save_IFS
9587 CROSSCC=$ac_cv_prog_CROSSCC
9588 if test -n "$CROSSCC"; then
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9590 $as_echo "$CROSSCC" >&6; }
9591 else
9592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9593 $as_echo "no" >&6; }
9597 test -n "$CROSSCC" && break
9598 done
9599 test -n "$CROSSCC" || CROSSCC="false"
9601 *) CROSSCC=$with_mingw ;;
9602 esac
9603 if test "$CROSSCC" != "false"
9604 then
9605 ac_save_CC="$CC"
9606 saved_CFLAGS=$CFLAGS
9607 saved_LDFLAGS=$LDFLAGS
9608 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9610 EXTRACROSSCFLAGS="-D__WINE_PE_BUILD -Wall"
9614 CC="$CROSSCC"
9615 CFLAGS=$CROSSCFLAGS
9616 LDFLAGS=$CROSSLDFLAGS
9617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9618 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9619 if ${wine_cv_crosscc+:} false; then :
9620 $as_echo_n "(cached) " >&6
9621 else
9622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9623 /* end confdefs.h. */
9626 main ()
9630 return 0;
9632 _ACEOF
9633 if ac_fn_c_try_compile "$LINENO"; then :
9634 wine_cv_crosscc=yes
9635 else
9636 wine_cv_crosscc=no
9638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9641 $as_echo "$wine_cv_crosscc" >&6; }
9642 if test $wine_cv_crosscc = yes
9643 then
9644 set x $CROSSCC
9645 shift
9646 while test $# -ge 1
9648 case "$1" in
9649 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9650 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9651 esac
9652 shift
9653 done
9655 llvm_target=$CROSSTARGET
9656 llvm_cflags="-fuse-ld=lld"
9657 if test -z "$llvm_target"
9658 then
9659 case $host_cpu in
9660 *i[3456789]86*) llvm_target=i686-windows ;;
9661 *) llvm_target=$host_cpu-windows ;;
9662 esac
9664 case $llvm_target in
9665 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9666 esac
9667 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9669 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9670 if eval \${$as_ac_var+:} false; then :
9671 $as_echo_n "(cached) " >&6
9672 else
9673 ac_wine_try_cflags_saved=$CFLAGS
9674 ac_wine_try_cflags_saved_cc=$CC
9675 ac_wine_try_cflags_saved_exeext=$ac_exeext
9676 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9677 CC="$CROSSCC"
9678 ac_exeext=".exe"
9679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9680 /* end confdefs.h. */
9681 int __cdecl mainCRTStartup(void) { return 0; }
9682 _ACEOF
9683 if ac_fn_c_try_link "$LINENO"; then :
9684 eval "$as_ac_var=yes"
9685 else
9686 eval "$as_ac_var=no"
9688 rm -f core conftest.err conftest.$ac_objext \
9689 conftest$ac_exeext conftest.$ac_ext
9690 CFLAGS=$ac_wine_try_cflags_saved
9691 CC=$ac_wine_try_cflags_saved_cc
9692 ac_exeext=$ac_wine_try_cflags_saved_exeext
9694 eval ac_res=\$$as_ac_var
9695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9696 $as_echo "$ac_res" >&6; }
9697 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9698 CROSSTARGET=$llvm_target
9699 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9700 DELAYLOADFLAG="-Wl,-delayload,"
9702 CFLAGS="$CFLAGS $llvm_cflags"
9705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9706 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9707 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9708 $as_echo_n "(cached) " >&6
9709 else
9710 ac_wine_try_cflags_saved=$CFLAGS
9711 ac_wine_try_cflags_saved_cc=$CC
9712 ac_wine_try_cflags_saved_exeext=$ac_exeext
9713 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9714 CC="$CROSSCC"
9715 ac_exeext=".exe"
9716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9717 /* end confdefs.h. */
9718 int __cdecl mainCRTStartup(void) { return 0; }
9719 _ACEOF
9720 if ac_fn_c_try_link "$LINENO"; then :
9721 ac_cv_crosscflags__fno_strict_aliasing=yes
9722 else
9723 ac_cv_crosscflags__fno_strict_aliasing=no
9725 rm -f core conftest.err conftest.$ac_objext \
9726 conftest$ac_exeext conftest.$ac_ext
9727 CFLAGS=$ac_wine_try_cflags_saved
9728 CC=$ac_wine_try_cflags_saved_cc
9729 ac_exeext=$ac_wine_try_cflags_saved_exeext
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9732 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9733 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9734 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9737 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9738 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9739 $as_echo_n "(cached) " >&6
9740 else
9741 ac_wine_try_cflags_saved=$CFLAGS
9742 ac_wine_try_cflags_saved_cc=$CC
9743 ac_wine_try_cflags_saved_exeext=$ac_exeext
9744 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9745 CC="$CROSSCC"
9746 ac_exeext=".exe"
9747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9748 /* end confdefs.h. */
9749 int __cdecl mainCRTStartup(void) { return 0; }
9750 _ACEOF
9751 if ac_fn_c_try_link "$LINENO"; then :
9752 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9753 else
9754 ac_cv_crosscflags__Werror_unknown_warning_option=no
9756 rm -f core conftest.err conftest.$ac_objext \
9757 conftest$ac_exeext conftest.$ac_ext
9758 CFLAGS=$ac_wine_try_cflags_saved
9759 CC=$ac_wine_try_cflags_saved_cc
9760 ac_exeext=$ac_wine_try_cflags_saved_exeext
9762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9763 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9764 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9765 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9768 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9769 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9770 $as_echo_n "(cached) " >&6
9771 else
9772 ac_wine_try_cflags_saved=$CFLAGS
9773 ac_wine_try_cflags_saved_cc=$CC
9774 ac_wine_try_cflags_saved_exeext=$ac_exeext
9775 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9776 CC="$CROSSCC"
9777 ac_exeext=".exe"
9778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9779 /* end confdefs.h. */
9780 int __cdecl mainCRTStartup(void) { return 0; }
9781 _ACEOF
9782 if ac_fn_c_try_link "$LINENO"; then :
9783 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9784 else
9785 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9787 rm -f core conftest.err conftest.$ac_objext \
9788 conftest$ac_exeext conftest.$ac_ext
9789 CFLAGS=$ac_wine_try_cflags_saved
9790 CC=$ac_wine_try_cflags_saved_cc
9791 ac_exeext=$ac_wine_try_cflags_saved_exeext
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9794 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9795 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9796 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9799 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9800 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9801 $as_echo_n "(cached) " >&6
9802 else
9803 ac_wine_try_cflags_saved=$CFLAGS
9804 ac_wine_try_cflags_saved_cc=$CC
9805 ac_wine_try_cflags_saved_exeext=$ac_exeext
9806 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9807 CC="$CROSSCC"
9808 ac_exeext=".exe"
9809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9810 /* end confdefs.h. */
9811 int __cdecl mainCRTStartup(void) { return 0; }
9812 _ACEOF
9813 if ac_fn_c_try_link "$LINENO"; then :
9814 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9815 else
9816 ac_cv_crosscflags__Wdeclaration_after_statement=no
9818 rm -f core conftest.err conftest.$ac_objext \
9819 conftest$ac_exeext conftest.$ac_ext
9820 CFLAGS=$ac_wine_try_cflags_saved
9821 CC=$ac_wine_try_cflags_saved_cc
9822 ac_exeext=$ac_wine_try_cflags_saved_exeext
9824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9825 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9826 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9827 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9830 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9831 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9832 $as_echo_n "(cached) " >&6
9833 else
9834 ac_wine_try_cflags_saved=$CFLAGS
9835 ac_wine_try_cflags_saved_cc=$CC
9836 ac_wine_try_cflags_saved_exeext=$ac_exeext
9837 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9838 CC="$CROSSCC"
9839 ac_exeext=".exe"
9840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9841 /* end confdefs.h. */
9842 int __cdecl mainCRTStartup(void) { return 0; }
9843 _ACEOF
9844 if ac_fn_c_try_link "$LINENO"; then :
9845 ac_cv_crosscflags__Wempty_body=yes
9846 else
9847 ac_cv_crosscflags__Wempty_body=no
9849 rm -f core conftest.err conftest.$ac_objext \
9850 conftest$ac_exeext conftest.$ac_ext
9851 CFLAGS=$ac_wine_try_cflags_saved
9852 CC=$ac_wine_try_cflags_saved_cc
9853 ac_exeext=$ac_wine_try_cflags_saved_exeext
9855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9856 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9857 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9858 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9861 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9862 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9863 $as_echo_n "(cached) " >&6
9864 else
9865 ac_wine_try_cflags_saved=$CFLAGS
9866 ac_wine_try_cflags_saved_cc=$CC
9867 ac_wine_try_cflags_saved_exeext=$ac_exeext
9868 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9869 CC="$CROSSCC"
9870 ac_exeext=".exe"
9871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9872 /* end confdefs.h. */
9873 int __cdecl mainCRTStartup(void) { return 0; }
9874 _ACEOF
9875 if ac_fn_c_try_link "$LINENO"; then :
9876 ac_cv_crosscflags__Wignored_qualifiers=yes
9877 else
9878 ac_cv_crosscflags__Wignored_qualifiers=no
9880 rm -f core conftest.err conftest.$ac_objext \
9881 conftest$ac_exeext conftest.$ac_ext
9882 CFLAGS=$ac_wine_try_cflags_saved
9883 CC=$ac_wine_try_cflags_saved_cc
9884 ac_exeext=$ac_wine_try_cflags_saved_exeext
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9887 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9888 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9889 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
9892 $as_echo_n "checking whether the cross-compiler supports -Winit-self... " >&6; }
9893 if ${ac_cv_crosscflags__Winit_self+:} false; then :
9894 $as_echo_n "(cached) " >&6
9895 else
9896 ac_wine_try_cflags_saved=$CFLAGS
9897 ac_wine_try_cflags_saved_cc=$CC
9898 ac_wine_try_cflags_saved_exeext=$ac_exeext
9899 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
9900 CC="$CROSSCC"
9901 ac_exeext=".exe"
9902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9903 /* end confdefs.h. */
9904 int __cdecl mainCRTStartup(void) { return 0; }
9905 _ACEOF
9906 if ac_fn_c_try_link "$LINENO"; then :
9907 ac_cv_crosscflags__Winit_self=yes
9908 else
9909 ac_cv_crosscflags__Winit_self=no
9911 rm -f core conftest.err conftest.$ac_objext \
9912 conftest$ac_exeext conftest.$ac_ext
9913 CFLAGS=$ac_wine_try_cflags_saved
9914 CC=$ac_wine_try_cflags_saved_cc
9915 ac_exeext=$ac_wine_try_cflags_saved_exeext
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
9918 $as_echo "$ac_cv_crosscflags__Winit_self" >&6; }
9919 if test "x$ac_cv_crosscflags__Winit_self" = xyes; then :
9920 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9923 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9924 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9925 $as_echo_n "(cached) " >&6
9926 else
9927 ac_wine_try_cflags_saved=$CFLAGS
9928 ac_wine_try_cflags_saved_cc=$CC
9929 ac_wine_try_cflags_saved_exeext=$ac_exeext
9930 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
9931 CC="$CROSSCC"
9932 ac_exeext=".exe"
9933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9934 /* end confdefs.h. */
9935 int __cdecl mainCRTStartup(void) { return 0; }
9936 _ACEOF
9937 if ac_fn_c_try_link "$LINENO"; then :
9938 ac_cv_crosscflags__Wpacked_not_aligned=yes
9939 else
9940 ac_cv_crosscflags__Wpacked_not_aligned=no
9942 rm -f core conftest.err conftest.$ac_objext \
9943 conftest$ac_exeext conftest.$ac_ext
9944 CFLAGS=$ac_wine_try_cflags_saved
9945 CC=$ac_wine_try_cflags_saved_cc
9946 ac_exeext=$ac_wine_try_cflags_saved_exeext
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
9949 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
9950 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
9951 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
9954 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
9955 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
9956 $as_echo_n "(cached) " >&6
9957 else
9958 ac_wine_try_cflags_saved=$CFLAGS
9959 ac_wine_try_cflags_saved_cc=$CC
9960 ac_wine_try_cflags_saved_exeext=$ac_exeext
9961 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
9962 CC="$CROSSCC"
9963 ac_exeext=".exe"
9964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9965 /* end confdefs.h. */
9966 int __cdecl mainCRTStartup(void) { return 0; }
9967 _ACEOF
9968 if ac_fn_c_try_link "$LINENO"; then :
9969 ac_cv_crosscflags__Wpragma_pack=yes
9970 else
9971 ac_cv_crosscflags__Wpragma_pack=no
9973 rm -f core conftest.err conftest.$ac_objext \
9974 conftest$ac_exeext conftest.$ac_ext
9975 CFLAGS=$ac_wine_try_cflags_saved
9976 CC=$ac_wine_try_cflags_saved_cc
9977 ac_exeext=$ac_wine_try_cflags_saved_exeext
9979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
9980 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
9981 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
9982 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
9985 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
9986 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
9987 $as_echo_n "(cached) " >&6
9988 else
9989 ac_wine_try_cflags_saved=$CFLAGS
9990 ac_wine_try_cflags_saved_cc=$CC
9991 ac_wine_try_cflags_saved_exeext=$ac_exeext
9992 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
9993 CC="$CROSSCC"
9994 ac_exeext=".exe"
9995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9996 /* end confdefs.h. */
9997 int __cdecl mainCRTStartup(void) { return 0; }
9998 _ACEOF
9999 if ac_fn_c_try_link "$LINENO"; then :
10000 ac_cv_crosscflags__Wshift_overflow_2=yes
10001 else
10002 ac_cv_crosscflags__Wshift_overflow_2=no
10004 rm -f core conftest.err conftest.$ac_objext \
10005 conftest$ac_exeext conftest.$ac_ext
10006 CFLAGS=$ac_wine_try_cflags_saved
10007 CC=$ac_wine_try_cflags_saved_cc
10008 ac_exeext=$ac_wine_try_cflags_saved_exeext
10010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10011 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10012 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10013 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10016 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10017 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10018 $as_echo_n "(cached) " >&6
10019 else
10020 ac_wine_try_cflags_saved=$CFLAGS
10021 ac_wine_try_cflags_saved_cc=$CC
10022 ac_wine_try_cflags_saved_exeext=$ac_exeext
10023 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10024 CC="$CROSSCC"
10025 ac_exeext=".exe"
10026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10027 /* end confdefs.h. */
10028 int __cdecl mainCRTStartup(void) { return 0; }
10029 _ACEOF
10030 if ac_fn_c_try_link "$LINENO"; then :
10031 ac_cv_crosscflags__Wstrict_prototypes=yes
10032 else
10033 ac_cv_crosscflags__Wstrict_prototypes=no
10035 rm -f core conftest.err conftest.$ac_objext \
10036 conftest$ac_exeext conftest.$ac_ext
10037 CFLAGS=$ac_wine_try_cflags_saved
10038 CC=$ac_wine_try_cflags_saved_cc
10039 ac_exeext=$ac_wine_try_cflags_saved_exeext
10041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10042 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10043 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10044 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10047 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10048 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10049 $as_echo_n "(cached) " >&6
10050 else
10051 ac_wine_try_cflags_saved=$CFLAGS
10052 ac_wine_try_cflags_saved_cc=$CC
10053 ac_wine_try_cflags_saved_exeext=$ac_exeext
10054 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10055 CC="$CROSSCC"
10056 ac_exeext=".exe"
10057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10058 /* end confdefs.h. */
10059 int __cdecl mainCRTStartup(void) { return 0; }
10060 _ACEOF
10061 if ac_fn_c_try_link "$LINENO"; then :
10062 ac_cv_crosscflags__Wtype_limits=yes
10063 else
10064 ac_cv_crosscflags__Wtype_limits=no
10066 rm -f core conftest.err conftest.$ac_objext \
10067 conftest$ac_exeext conftest.$ac_ext
10068 CFLAGS=$ac_wine_try_cflags_saved
10069 CC=$ac_wine_try_cflags_saved_cc
10070 ac_exeext=$ac_wine_try_cflags_saved_exeext
10072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10073 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10074 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10075 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10078 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10079 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10080 $as_echo_n "(cached) " >&6
10081 else
10082 ac_wine_try_cflags_saved=$CFLAGS
10083 ac_wine_try_cflags_saved_cc=$CC
10084 ac_wine_try_cflags_saved_exeext=$ac_exeext
10085 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10086 CC="$CROSSCC"
10087 ac_exeext=".exe"
10088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10089 /* end confdefs.h. */
10090 int __cdecl mainCRTStartup(void) { return 0; }
10091 _ACEOF
10092 if ac_fn_c_try_link "$LINENO"; then :
10093 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10094 else
10095 ac_cv_crosscflags__Wunused_but_set_parameter=no
10097 rm -f core conftest.err conftest.$ac_objext \
10098 conftest$ac_exeext conftest.$ac_ext
10099 CFLAGS=$ac_wine_try_cflags_saved
10100 CC=$ac_wine_try_cflags_saved_cc
10101 ac_exeext=$ac_wine_try_cflags_saved_exeext
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10104 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10105 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10106 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10109 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10110 if ${ac_cv_crosscflags__Wvla+:} false; then :
10111 $as_echo_n "(cached) " >&6
10112 else
10113 ac_wine_try_cflags_saved=$CFLAGS
10114 ac_wine_try_cflags_saved_cc=$CC
10115 ac_wine_try_cflags_saved_exeext=$ac_exeext
10116 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10117 CC="$CROSSCC"
10118 ac_exeext=".exe"
10119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10120 /* end confdefs.h. */
10121 int __cdecl mainCRTStartup(void) { return 0; }
10122 _ACEOF
10123 if ac_fn_c_try_link "$LINENO"; then :
10124 ac_cv_crosscflags__Wvla=yes
10125 else
10126 ac_cv_crosscflags__Wvla=no
10128 rm -f core conftest.err conftest.$ac_objext \
10129 conftest$ac_exeext conftest.$ac_ext
10130 CFLAGS=$ac_wine_try_cflags_saved
10131 CC=$ac_wine_try_cflags_saved_cc
10132 ac_exeext=$ac_wine_try_cflags_saved_exeext
10134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10135 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10136 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10137 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10140 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10141 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10142 $as_echo_n "(cached) " >&6
10143 else
10144 ac_wine_try_cflags_saved=$CFLAGS
10145 ac_wine_try_cflags_saved_cc=$CC
10146 ac_wine_try_cflags_saved_exeext=$ac_exeext
10147 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10148 CC="$CROSSCC"
10149 ac_exeext=".exe"
10150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10151 /* end confdefs.h. */
10152 int __cdecl mainCRTStartup(void) { return 0; }
10153 _ACEOF
10154 if ac_fn_c_try_link "$LINENO"; then :
10155 ac_cv_crosscflags__Wwrite_strings=yes
10156 else
10157 ac_cv_crosscflags__Wwrite_strings=no
10159 rm -f core conftest.err conftest.$ac_objext \
10160 conftest$ac_exeext conftest.$ac_ext
10161 CFLAGS=$ac_wine_try_cflags_saved
10162 CC=$ac_wine_try_cflags_saved_cc
10163 ac_exeext=$ac_wine_try_cflags_saved_exeext
10165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10166 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10167 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10168 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10171 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10172 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10173 $as_echo_n "(cached) " >&6
10174 else
10175 ac_wine_try_cflags_saved=$CFLAGS
10176 ac_wine_try_cflags_saved_cc=$CC
10177 ac_wine_try_cflags_saved_exeext=$ac_exeext
10178 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10179 CC="$CROSSCC"
10180 ac_exeext=".exe"
10181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10182 /* end confdefs.h. */
10183 int __cdecl mainCRTStartup(void) { return 0; }
10184 _ACEOF
10185 if ac_fn_c_try_link "$LINENO"; then :
10186 ac_cv_crosscflags__Wpointer_arith=yes
10187 else
10188 ac_cv_crosscflags__Wpointer_arith=no
10190 rm -f core conftest.err conftest.$ac_objext \
10191 conftest$ac_exeext conftest.$ac_ext
10192 CFLAGS=$ac_wine_try_cflags_saved
10193 CC=$ac_wine_try_cflags_saved_cc
10194 ac_exeext=$ac_wine_try_cflags_saved_exeext
10196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10197 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10198 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10199 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10202 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10203 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10204 $as_echo_n "(cached) " >&6
10205 else
10206 ac_wine_try_cflags_saved=$CFLAGS
10207 ac_wine_try_cflags_saved_cc=$CC
10208 ac_wine_try_cflags_saved_exeext=$ac_exeext
10209 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10210 CC="$CROSSCC"
10211 ac_exeext=".exe"
10212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10213 /* end confdefs.h. */
10214 int __cdecl mainCRTStartup(void) { return 0; }
10215 _ACEOF
10216 if ac_fn_c_try_link "$LINENO"; then :
10217 ac_cv_crosscflags__Wlogical_op=yes
10218 else
10219 ac_cv_crosscflags__Wlogical_op=no
10221 rm -f core conftest.err conftest.$ac_objext \
10222 conftest$ac_exeext conftest.$ac_ext
10223 CFLAGS=$ac_wine_try_cflags_saved
10224 CC=$ac_wine_try_cflags_saved_cc
10225 ac_exeext=$ac_wine_try_cflags_saved_exeext
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10228 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10229 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10230 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10233 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10234 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10235 $as_echo_n "(cached) " >&6
10236 else
10237 ac_wine_try_cflags_saved=$CFLAGS
10238 ac_wine_try_cflags_saved_cc=$CC
10239 ac_wine_try_cflags_saved_exeext=$ac_exeext
10240 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10241 CC="$CROSSCC"
10242 ac_exeext=".exe"
10243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10244 /* end confdefs.h. */
10245 int __cdecl mainCRTStartup(void) { return 0; }
10246 _ACEOF
10247 if ac_fn_c_try_link "$LINENO"; then :
10248 ac_cv_crosscflags__Wabsolute_value=yes
10249 else
10250 ac_cv_crosscflags__Wabsolute_value=no
10252 rm -f core conftest.err conftest.$ac_objext \
10253 conftest$ac_exeext conftest.$ac_ext
10254 CFLAGS=$ac_wine_try_cflags_saved
10255 CC=$ac_wine_try_cflags_saved_cc
10256 ac_exeext=$ac_wine_try_cflags_saved_exeext
10258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10259 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10260 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10261 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10264 case $host_cpu in
10265 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10266 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10267 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10268 $as_echo_n "(cached) " >&6
10269 else
10270 ac_wine_try_cflags_saved=$CFLAGS
10271 ac_wine_try_cflags_saved_cc=$CC
10272 ac_wine_try_cflags_saved_exeext=$ac_exeext
10273 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10274 CC="$CROSSCC"
10275 ac_exeext=".exe"
10276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10277 /* end confdefs.h. */
10278 int __cdecl mainCRTStartup(void) { return 0; }
10279 _ACEOF
10280 if ac_fn_c_try_link "$LINENO"; then :
10281 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10282 else
10283 ac_cv_crosscflags__fno_omit_frame_pointer=no
10285 rm -f core conftest.err conftest.$ac_objext \
10286 conftest$ac_exeext conftest.$ac_ext
10287 CFLAGS=$ac_wine_try_cflags_saved
10288 CC=$ac_wine_try_cflags_saved_cc
10289 ac_exeext=$ac_wine_try_cflags_saved_exeext
10291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10292 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10293 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10294 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10295 fi ;;
10296 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10297 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10298 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10299 $as_echo_n "(cached) " >&6
10300 else
10301 ac_wine_try_cflags_saved=$CFLAGS
10302 ac_wine_try_cflags_saved_cc=$CC
10303 ac_wine_try_cflags_saved_exeext=$ac_exeext
10304 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10305 CC="$CROSSCC"
10306 ac_exeext=".exe"
10307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10308 /* end confdefs.h. */
10309 int __cdecl mainCRTStartup(void) { return 0; }
10310 _ACEOF
10311 if ac_fn_c_try_link "$LINENO"; then :
10312 ac_cv_crosscflags__Wno_format=yes
10313 else
10314 ac_cv_crosscflags__Wno_format=no
10316 rm -f core conftest.err conftest.$ac_objext \
10317 conftest$ac_exeext conftest.$ac_ext
10318 CFLAGS=$ac_wine_try_cflags_saved
10319 CC=$ac_wine_try_cflags_saved_cc
10320 ac_exeext=$ac_wine_try_cflags_saved_exeext
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10323 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10324 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10325 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10328 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10329 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10330 $as_echo_n "(cached) " >&6
10331 else
10332 ac_wine_try_cflags_saved=$CFLAGS
10333 ac_wine_try_cflags_saved_cc=$CC
10334 ac_wine_try_cflags_saved_exeext=$ac_exeext
10335 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10336 CC="$CROSSCC"
10337 ac_exeext=".exe"
10338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10339 /* end confdefs.h. */
10340 int __cdecl mainCRTStartup(void) { return 0; }
10341 _ACEOF
10342 if ac_fn_c_try_link "$LINENO"; then :
10343 ac_cv_crosscflags__Wformat_overflow=yes
10344 else
10345 ac_cv_crosscflags__Wformat_overflow=no
10347 rm -f core conftest.err conftest.$ac_objext \
10348 conftest$ac_exeext conftest.$ac_ext
10349 CFLAGS=$ac_wine_try_cflags_saved
10350 CC=$ac_wine_try_cflags_saved_cc
10351 ac_exeext=$ac_wine_try_cflags_saved_exeext
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10354 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10355 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10356 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10359 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10360 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10361 $as_echo_n "(cached) " >&6
10362 else
10363 ac_wine_try_cflags_saved=$CFLAGS
10364 ac_wine_try_cflags_saved_cc=$CC
10365 ac_wine_try_cflags_saved_exeext=$ac_exeext
10366 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10367 CC="$CROSSCC"
10368 ac_exeext=".exe"
10369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10370 /* end confdefs.h. */
10371 int __cdecl mainCRTStartup(void) { return 0; }
10372 _ACEOF
10373 if ac_fn_c_try_link "$LINENO"; then :
10374 ac_cv_crosscflags__Wnonnull=yes
10375 else
10376 ac_cv_crosscflags__Wnonnull=no
10378 rm -f core conftest.err conftest.$ac_objext \
10379 conftest$ac_exeext conftest.$ac_ext
10380 CFLAGS=$ac_wine_try_cflags_saved
10381 CC=$ac_wine_try_cflags_saved_cc
10382 ac_exeext=$ac_wine_try_cflags_saved_exeext
10384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10385 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10386 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10387 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10390 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10391 if ${ac_cv_crosscflags__mcx16+:} false; then :
10392 $as_echo_n "(cached) " >&6
10393 else
10394 ac_wine_try_cflags_saved=$CFLAGS
10395 ac_wine_try_cflags_saved_cc=$CC
10396 ac_wine_try_cflags_saved_exeext=$ac_exeext
10397 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10398 CC="$CROSSCC"
10399 ac_exeext=".exe"
10400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10401 /* end confdefs.h. */
10402 int __cdecl mainCRTStartup(void) { return 0; }
10403 _ACEOF
10404 if ac_fn_c_try_link "$LINENO"; then :
10405 ac_cv_crosscflags__mcx16=yes
10406 else
10407 ac_cv_crosscflags__mcx16=no
10409 rm -f core conftest.err conftest.$ac_objext \
10410 conftest$ac_exeext conftest.$ac_ext
10411 CFLAGS=$ac_wine_try_cflags_saved
10412 CC=$ac_wine_try_cflags_saved_cc
10413 ac_exeext=$ac_wine_try_cflags_saved_exeext
10415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10416 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10417 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10418 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10419 fi ;;
10420 aarch64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10421 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10422 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10423 $as_echo_n "(cached) " >&6
10424 else
10425 ac_wine_try_cflags_saved=$CFLAGS
10426 ac_wine_try_cflags_saved_cc=$CC
10427 ac_wine_try_cflags_saved_exeext=$ac_exeext
10428 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10429 CC="$CROSSCC"
10430 ac_exeext=".exe"
10431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10432 /* end confdefs.h. */
10433 int __cdecl mainCRTStartup(void) { return 0; }
10434 _ACEOF
10435 if ac_fn_c_try_link "$LINENO"; then :
10436 ac_cv_crosscflags__Wno_format=yes
10437 else
10438 ac_cv_crosscflags__Wno_format=no
10440 rm -f core conftest.err conftest.$ac_objext \
10441 conftest$ac_exeext conftest.$ac_ext
10442 CFLAGS=$ac_wine_try_cflags_saved
10443 CC=$ac_wine_try_cflags_saved_cc
10444 ac_exeext=$ac_wine_try_cflags_saved_exeext
10446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10447 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10448 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10449 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10450 fi ;;
10451 esac
10454 if test -z "$CROSSDEBUG"
10455 then
10456 for ac_flag in $CROSSCFLAGS; do
10457 case $ac_flag in
10458 -gdwarf*) CROSSDEBUG=dwarf ;;
10459 -gcodeview) CROSSDEBUG=pdb ;;
10460 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10461 esac
10462 done
10464 case $CROSSDEBUG in
10465 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10466 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10467 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10468 $as_echo_n "(cached) " >&6
10469 else
10470 ac_wine_try_cflags_saved=$CFLAGS
10471 ac_wine_try_cflags_saved_cc=$CC
10472 ac_wine_try_cflags_saved_exeext=$ac_exeext
10473 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10474 CC="$CROSSCC"
10475 ac_exeext=".exe"
10476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10477 /* end confdefs.h. */
10478 int __cdecl mainCRTStartup(void) { return 0; }
10479 _ACEOF
10480 if ac_fn_c_try_link "$LINENO"; then :
10481 ac_cv_crosscflags__gdwarf_2=yes
10482 else
10483 ac_cv_crosscflags__gdwarf_2=no
10485 rm -f core conftest.err conftest.$ac_objext \
10486 conftest$ac_exeext conftest.$ac_ext
10487 CFLAGS=$ac_wine_try_cflags_saved
10488 CC=$ac_wine_try_cflags_saved_cc
10489 ac_exeext=$ac_wine_try_cflags_saved_exeext
10491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10492 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10493 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10494 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10497 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10498 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10499 $as_echo_n "(cached) " >&6
10500 else
10501 ac_wine_try_cflags_saved=$CFLAGS
10502 ac_wine_try_cflags_saved_cc=$CC
10503 ac_wine_try_cflags_saved_exeext=$ac_exeext
10504 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10505 CC="$CROSSCC"
10506 ac_exeext=".exe"
10507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10508 /* end confdefs.h. */
10509 int __cdecl mainCRTStartup(void) { return 0; }
10510 _ACEOF
10511 if ac_fn_c_try_link "$LINENO"; then :
10512 ac_cv_crosscflags__gstrict_dwarf=yes
10513 else
10514 ac_cv_crosscflags__gstrict_dwarf=no
10516 rm -f core conftest.err conftest.$ac_objext \
10517 conftest$ac_exeext conftest.$ac_ext
10518 CFLAGS=$ac_wine_try_cflags_saved
10519 CC=$ac_wine_try_cflags_saved_cc
10520 ac_exeext=$ac_wine_try_cflags_saved_exeext
10522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10523 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10524 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10525 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10526 fi ;;
10527 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10528 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10529 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10530 $as_echo_n "(cached) " >&6
10531 else
10532 ac_wine_try_cflags_saved=$CFLAGS
10533 ac_wine_try_cflags_saved_cc=$CC
10534 ac_wine_try_cflags_saved_exeext=$ac_exeext
10535 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10536 CC="$CROSSCC"
10537 ac_exeext=".exe"
10538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10539 /* end confdefs.h. */
10540 int __cdecl mainCRTStartup(void) { return 0; }
10541 _ACEOF
10542 if ac_fn_c_try_link "$LINENO"; then :
10543 ac_cv_crosscflags__gcodeview=yes
10544 else
10545 ac_cv_crosscflags__gcodeview=no
10547 rm -f core conftest.err conftest.$ac_objext \
10548 conftest$ac_exeext conftest.$ac_ext
10549 CFLAGS=$ac_wine_try_cflags_saved
10550 CC=$ac_wine_try_cflags_saved_cc
10551 ac_exeext=$ac_wine_try_cflags_saved_exeext
10553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10554 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10555 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10556 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10557 fi ;;
10558 esac
10560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10561 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10562 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10563 $as_echo_n "(cached) " >&6
10564 else
10565 ac_wine_try_cflags_saved=$CFLAGS
10566 ac_wine_try_cflags_saved_cc=$CC
10567 ac_wine_try_cflags_saved_exeext=$ac_exeext
10568 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10569 CC="$CROSSCC"
10570 ac_exeext=".exe"
10571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10572 /* end confdefs.h. */
10573 int __cdecl mainCRTStartup(void) { return 0; }
10574 _ACEOF
10575 if ac_fn_c_try_link "$LINENO"; then :
10576 ac_cv_crosscflags__fexcess_precision_standard=yes
10577 else
10578 ac_cv_crosscflags__fexcess_precision_standard=no
10580 rm -f core conftest.err conftest.$ac_objext \
10581 conftest$ac_exeext conftest.$ac_ext
10582 CFLAGS=$ac_wine_try_cflags_saved
10583 CC=$ac_wine_try_cflags_saved_cc
10584 ac_exeext=$ac_wine_try_cflags_saved_exeext
10586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10587 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10588 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10589 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10593 if test "x$enable_werror" = "xyes"
10594 then
10595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10596 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10597 if ${ac_cv_crosscflags__Werror+:} false; then :
10598 $as_echo_n "(cached) " >&6
10599 else
10600 ac_wine_try_cflags_saved=$CFLAGS
10601 ac_wine_try_cflags_saved_cc=$CC
10602 ac_wine_try_cflags_saved_exeext=$ac_exeext
10603 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10604 CC="$CROSSCC"
10605 ac_exeext=".exe"
10606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10607 /* end confdefs.h. */
10608 int __cdecl mainCRTStartup(void) { return 0; }
10609 _ACEOF
10610 if ac_fn_c_try_link "$LINENO"; then :
10611 ac_cv_crosscflags__Werror=yes
10612 else
10613 ac_cv_crosscflags__Werror=no
10615 rm -f core conftest.err conftest.$ac_objext \
10616 conftest$ac_exeext conftest.$ac_ext
10617 CFLAGS=$ac_wine_try_cflags_saved
10618 CC=$ac_wine_try_cflags_saved_cc
10619 ac_exeext=$ac_wine_try_cflags_saved_exeext
10621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10622 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10623 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10624 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10627 if test "x$enable_build_id" = "xyes"
10628 then
10629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
10630 $as_echo_n "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
10631 if ${ac_cv_crosscflags__Wl___build_id+:} false; then :
10632 $as_echo_n "(cached) " >&6
10633 else
10634 ac_wine_try_cflags_saved=$CFLAGS
10635 ac_wine_try_cflags_saved_cc=$CC
10636 ac_wine_try_cflags_saved_exeext=$ac_exeext
10637 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
10638 CC="$CROSSCC"
10639 ac_exeext=".exe"
10640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10641 /* end confdefs.h. */
10642 int __cdecl mainCRTStartup(void) { return 0; }
10643 _ACEOF
10644 if ac_fn_c_try_link "$LINENO"; then :
10645 ac_cv_crosscflags__Wl___build_id=yes
10646 else
10647 ac_cv_crosscflags__Wl___build_id=no
10649 rm -f core conftest.err conftest.$ac_objext \
10650 conftest$ac_exeext conftest.$ac_ext
10651 CFLAGS=$ac_wine_try_cflags_saved
10652 CC=$ac_wine_try_cflags_saved_cc
10653 ac_exeext=$ac_wine_try_cflags_saved_exeext
10655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
10656 $as_echo "$ac_cv_crosscflags__Wl___build_id" >&6; }
10657 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes; then :
10658 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
10659 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
10663 CFLAGS=$saved_CFLAGS
10664 LDFLAGS=$saved_LDFLAGS
10665 CC="$ac_save_CC"
10668 if test "x$CROSSTARGET" = "x"; then :
10669 case "x$with_mingw" in
10670 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10671 xno) ;;
10672 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10673 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10674 esac
10679 if ${FAUDIO_PE_CFLAGS:+false} :; then :
10680 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
10681 else
10682 enable_faudio=no
10684 if ${FAUDIO_PE_LIBS:+false} :; then :
10685 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
10686 else
10687 enable_faudio=no
10689 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
10690 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
10692 if ${GSM_PE_CFLAGS:+false} :; then :
10693 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
10694 else
10695 enable_gsm=no
10697 if ${GSM_PE_LIBS:+false} :; then :
10698 GSM_PE_LIBS=gsm
10699 else
10700 enable_gsm=no
10702 $as_echo "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
10703 $as_echo "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
10705 if ${JPEG_PE_CFLAGS:+false} :; then :
10706 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
10707 else
10708 enable_jpeg=no
10710 if ${JPEG_PE_LIBS:+false} :; then :
10711 JPEG_PE_LIBS=jpeg
10712 else
10713 enable_jpeg=no
10715 $as_echo "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
10716 $as_echo "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
10718 if ${JXR_PE_CFLAGS:+false} :; then :
10719 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
10720 else
10721 enable_jxr=no
10723 if ${JXR_PE_LIBS:+false} :; then :
10724 JXR_PE_LIBS=jxr
10725 else
10726 enable_jxr=no
10728 $as_echo "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
10729 $as_echo "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
10731 if ${LCMS2_PE_CFLAGS:+false} :; then :
10732 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
10733 else
10734 enable_lcms2=no
10736 if ${LCMS2_PE_LIBS:+false} :; then :
10737 LCMS2_PE_LIBS=lcms2
10738 else
10739 enable_lcms2=no
10741 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
10742 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
10744 if ${MPG123_PE_CFLAGS:+false} :; then :
10745 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
10746 else
10747 enable_mpg123=no
10749 if ${MPG123_PE_LIBS:+false} :; then :
10750 MPG123_PE_LIBS=mpg123
10751 else
10752 enable_mpg123=no
10754 $as_echo "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
10755 $as_echo "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
10757 if ${PNG_PE_CFLAGS:+false} :; then :
10758 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
10759 else
10760 enable_png=no
10762 if ${PNG_PE_LIBS:+false} :; then :
10763 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
10764 else
10765 enable_png=no
10767 $as_echo "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
10768 $as_echo "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
10770 if ${TIFF_PE_CFLAGS:+false} :; then :
10771 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
10772 else
10773 enable_tiff=no
10775 if ${TIFF_PE_LIBS:+false} :; then :
10776 TIFF_PE_LIBS=tiff
10777 else
10778 enable_tiff=no
10780 $as_echo "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
10781 $as_echo "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
10783 if ${XML2_PE_CFLAGS:+false} :; then :
10784 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
10785 else
10786 enable_libxml2=no
10788 if ${XML2_PE_LIBS:+false} :; then :
10789 XML2_PE_LIBS=xml2
10790 else
10791 enable_libxml2=no
10793 $as_echo "$as_me:${as_lineno-$LINENO}: libxml2 cflags: $XML2_PE_CFLAGS" >&5
10794 $as_echo "$as_me:${as_lineno-$LINENO}: libxml2 libs: $XML2_PE_LIBS" >&5
10796 if ${XSLT_PE_CFLAGS:+false} :; then :
10797 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
10798 else
10799 enable_libxslt=no
10801 if ${XSLT_PE_LIBS:+false} :; then :
10802 XSLT_PE_LIBS=xslt
10803 else
10804 enable_libxslt=no
10806 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_PE_CFLAGS" >&5
10807 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_PE_LIBS" >&5
10809 if ${ZLIB_PE_CFLAGS:+false} :; then :
10810 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
10811 else
10812 enable_zlib=no
10814 if ${ZLIB_PE_LIBS:+false} :; then :
10815 ZLIB_PE_LIBS=z
10816 else
10817 enable_zlib=no
10819 $as_echo "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
10820 $as_echo "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
10824 if test "$ac_cv_header_pthread_h" = "yes"
10825 then
10826 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10827 if test "x$ac_cv_func_pthread_create" = xyes; then :
10829 else
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10831 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10832 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10833 $as_echo_n "(cached) " >&6
10834 else
10835 ac_check_lib_save_LIBS=$LIBS
10836 LIBS="-lpthread $LIBS"
10837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10838 /* end confdefs.h. */
10840 /* Override any GCC internal prototype to avoid an error.
10841 Use char because int might match the return type of a GCC
10842 builtin and then its argument prototype would still apply. */
10843 #ifdef __cplusplus
10844 extern "C"
10845 #endif
10846 char pthread_create ();
10848 main ()
10850 return pthread_create ();
10852 return 0;
10854 _ACEOF
10855 if ac_fn_c_try_link "$LINENO"; then :
10856 ac_cv_lib_pthread_pthread_create=yes
10857 else
10858 ac_cv_lib_pthread_pthread_create=no
10860 rm -f core conftest.err conftest.$ac_objext \
10861 conftest$ac_exeext conftest.$ac_ext
10862 LIBS=$ac_check_lib_save_LIBS
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10865 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10866 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10867 PTHREAD_LIBS="-lpthread"
10874 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10875 case "x$with_pthread" in
10876 xno) ;;
10877 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10878 Wine cannot support threads without libpthread.
10879 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10880 esac
10885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10886 $as_echo_n "checking for X... " >&6; }
10889 # Check whether --with-x was given.
10890 if test "${with_x+set}" = set; then :
10891 withval=$with_x;
10894 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10895 if test "x$with_x" = xno; then
10896 # The user explicitly disabled X.
10897 have_x=disabled
10898 else
10899 case $x_includes,$x_libraries in #(
10900 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10901 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10902 $as_echo_n "(cached) " >&6
10903 else
10904 # One or both of the vars are not set, and there is no cached value.
10905 ac_x_includes=no ac_x_libraries=no
10906 rm -f -r conftest.dir
10907 if mkdir conftest.dir; then
10908 cd conftest.dir
10909 cat >Imakefile <<'_ACEOF'
10910 incroot:
10911 @echo incroot='${INCROOT}'
10912 usrlibdir:
10913 @echo usrlibdir='${USRLIBDIR}'
10914 libdir:
10915 @echo libdir='${LIBDIR}'
10916 _ACEOF
10917 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10918 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10919 for ac_var in incroot usrlibdir libdir; do
10920 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10921 done
10922 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10923 for ac_extension in a so sl dylib la dll; do
10924 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10925 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10926 ac_im_usrlibdir=$ac_im_libdir; break
10928 done
10929 # Screen out bogus values from the imake configuration. They are
10930 # bogus both because they are the default anyway, and because
10931 # using them would break gcc on systems where it needs fixed includes.
10932 case $ac_im_incroot in
10933 /usr/include) ac_x_includes= ;;
10934 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10935 esac
10936 case $ac_im_usrlibdir in
10937 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10938 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10939 esac
10941 cd ..
10942 rm -f -r conftest.dir
10945 # Standard set of common directories for X headers.
10946 # Check X11 before X11Rn because it is often a symlink to the current release.
10947 ac_x_header_dirs='
10948 /usr/X11/include
10949 /usr/X11R7/include
10950 /usr/X11R6/include
10951 /usr/X11R5/include
10952 /usr/X11R4/include
10954 /usr/include/X11
10955 /usr/include/X11R7
10956 /usr/include/X11R6
10957 /usr/include/X11R5
10958 /usr/include/X11R4
10960 /usr/local/X11/include
10961 /usr/local/X11R7/include
10962 /usr/local/X11R6/include
10963 /usr/local/X11R5/include
10964 /usr/local/X11R4/include
10966 /usr/local/include/X11
10967 /usr/local/include/X11R7
10968 /usr/local/include/X11R6
10969 /usr/local/include/X11R5
10970 /usr/local/include/X11R4
10972 /usr/X386/include
10973 /usr/x386/include
10974 /usr/XFree86/include/X11
10976 /usr/include
10977 /usr/local/include
10978 /usr/unsupported/include
10979 /usr/athena/include
10980 /usr/local/x11r5/include
10981 /usr/lpp/Xamples/include
10983 /usr/openwin/include
10984 /usr/openwin/share/include'
10986 if test "$ac_x_includes" = no; then
10987 # Guess where to find include files, by looking for Xlib.h.
10988 # First, try using that file with no special directory specified.
10989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10990 /* end confdefs.h. */
10991 #include <X11/Xlib.h>
10992 _ACEOF
10993 if ac_fn_c_try_cpp "$LINENO"; then :
10994 # We can compile using X headers with no special include directory.
10995 ac_x_includes=
10996 else
10997 for ac_dir in $ac_x_header_dirs; do
10998 if test -r "$ac_dir/X11/Xlib.h"; then
10999 ac_x_includes=$ac_dir
11000 break
11002 done
11004 rm -f conftest.err conftest.i conftest.$ac_ext
11005 fi # $ac_x_includes = no
11007 if test "$ac_x_libraries" = no; then
11008 # Check for the libraries.
11009 # See if we find them without any special options.
11010 # Don't add to $LIBS permanently.
11011 ac_save_LIBS=$LIBS
11012 LIBS="-lX11 $LIBS"
11013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11014 /* end confdefs.h. */
11015 #include <X11/Xlib.h>
11017 main ()
11019 XrmInitialize ()
11021 return 0;
11023 _ACEOF
11024 if ac_fn_c_try_link "$LINENO"; then :
11025 LIBS=$ac_save_LIBS
11026 # We can link X programs with no special library path.
11027 ac_x_libraries=
11028 else
11029 LIBS=$ac_save_LIBS
11030 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
11032 # Don't even attempt the hair of trying to link an X program!
11033 for ac_extension in a so sl dylib la dll; do
11034 if test -r "$ac_dir/libX11.$ac_extension"; then
11035 ac_x_libraries=$ac_dir
11036 break 2
11038 done
11039 done
11041 rm -f core conftest.err conftest.$ac_objext \
11042 conftest$ac_exeext conftest.$ac_ext
11043 fi # $ac_x_libraries = no
11045 case $ac_x_includes,$ac_x_libraries in #(
11046 no,* | *,no | *\'*)
11047 # Didn't find X, or a directory has "'" in its name.
11048 ac_cv_have_x="have_x=no";; #(
11050 # Record where we found X for the cache.
11051 ac_cv_have_x="have_x=yes\
11052 ac_x_includes='$ac_x_includes'\
11053 ac_x_libraries='$ac_x_libraries'"
11054 esac
11056 ;; #(
11057 *) have_x=yes;;
11058 esac
11059 eval "$ac_cv_have_x"
11060 fi # $with_x != no
11062 if test "$have_x" != yes; then
11063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
11064 $as_echo "$have_x" >&6; }
11065 no_x=yes
11066 else
11067 # If each of the values was on the command line, it overrides each guess.
11068 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11069 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11070 # Update the cache value to reflect the command line values.
11071 ac_cv_have_x="have_x=yes\
11072 ac_x_includes='$x_includes'\
11073 ac_x_libraries='$x_libraries'"
11074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
11075 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11078 if test "$no_x" = yes; then
11079 # Not all programs may use this symbol, but it does not hurt to define it.
11081 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
11083 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11084 else
11085 if test -n "$x_includes"; then
11086 X_CFLAGS="$X_CFLAGS -I$x_includes"
11089 # It would also be nice to do this for all -L options, not just this one.
11090 if test -n "$x_libraries"; then
11091 X_LIBS="$X_LIBS -L$x_libraries"
11092 # For Solaris; some versions of Sun CC require a space after -R and
11093 # others require no space. Words are not sufficient . . . .
11094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
11095 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
11096 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11097 ac_xsave_c_werror_flag=$ac_c_werror_flag
11098 ac_c_werror_flag=yes
11099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11100 /* end confdefs.h. */
11103 main ()
11107 return 0;
11109 _ACEOF
11110 if ac_fn_c_try_link "$LINENO"; then :
11111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11112 $as_echo "no" >&6; }
11113 X_LIBS="$X_LIBS -R$x_libraries"
11114 else
11115 LIBS="$ac_xsave_LIBS -R $x_libraries"
11116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11117 /* end confdefs.h. */
11120 main ()
11124 return 0;
11126 _ACEOF
11127 if ac_fn_c_try_link "$LINENO"; then :
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11129 $as_echo "yes" >&6; }
11130 X_LIBS="$X_LIBS -R $x_libraries"
11131 else
11132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11133 $as_echo "neither works" >&6; }
11135 rm -f core conftest.err conftest.$ac_objext \
11136 conftest$ac_exeext conftest.$ac_ext
11138 rm -f core conftest.err conftest.$ac_objext \
11139 conftest$ac_exeext conftest.$ac_ext
11140 ac_c_werror_flag=$ac_xsave_c_werror_flag
11141 LIBS=$ac_xsave_LIBS
11144 # Check for system-dependent libraries X programs must link with.
11145 # Do this before checking for the system-independent R6 libraries
11146 # (-lICE), since we may need -lsocket or whatever for X linking.
11148 if test "$ISC" = yes; then
11149 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11150 else
11151 # Martyn Johnson says this is needed for Ultrix, if the X
11152 # libraries were built with DECnet support. And Karl Berry says
11153 # the Alpha needs dnet_stub (dnet does not exist).
11154 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11156 /* end confdefs.h. */
11158 /* Override any GCC internal prototype to avoid an error.
11159 Use char because int might match the return type of a GCC
11160 builtin and then its argument prototype would still apply. */
11161 #ifdef __cplusplus
11162 extern "C"
11163 #endif
11164 char XOpenDisplay ();
11166 main ()
11168 return XOpenDisplay ();
11170 return 0;
11172 _ACEOF
11173 if ac_fn_c_try_link "$LINENO"; then :
11175 else
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11177 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11178 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11179 $as_echo_n "(cached) " >&6
11180 else
11181 ac_check_lib_save_LIBS=$LIBS
11182 LIBS="-ldnet $LIBS"
11183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11184 /* end confdefs.h. */
11186 /* Override any GCC internal prototype to avoid an error.
11187 Use char because int might match the return type of a GCC
11188 builtin and then its argument prototype would still apply. */
11189 #ifdef __cplusplus
11190 extern "C"
11191 #endif
11192 char dnet_ntoa ();
11194 main ()
11196 return dnet_ntoa ();
11198 return 0;
11200 _ACEOF
11201 if ac_fn_c_try_link "$LINENO"; then :
11202 ac_cv_lib_dnet_dnet_ntoa=yes
11203 else
11204 ac_cv_lib_dnet_dnet_ntoa=no
11206 rm -f core conftest.err conftest.$ac_objext \
11207 conftest$ac_exeext conftest.$ac_ext
11208 LIBS=$ac_check_lib_save_LIBS
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11211 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11212 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11213 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11216 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11218 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11219 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11220 $as_echo_n "(cached) " >&6
11221 else
11222 ac_check_lib_save_LIBS=$LIBS
11223 LIBS="-ldnet_stub $LIBS"
11224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11225 /* end confdefs.h. */
11227 /* Override any GCC internal prototype to avoid an error.
11228 Use char because int might match the return type of a GCC
11229 builtin and then its argument prototype would still apply. */
11230 #ifdef __cplusplus
11231 extern "C"
11232 #endif
11233 char dnet_ntoa ();
11235 main ()
11237 return dnet_ntoa ();
11239 return 0;
11241 _ACEOF
11242 if ac_fn_c_try_link "$LINENO"; then :
11243 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11244 else
11245 ac_cv_lib_dnet_stub_dnet_ntoa=no
11247 rm -f core conftest.err conftest.$ac_objext \
11248 conftest$ac_exeext conftest.$ac_ext
11249 LIBS=$ac_check_lib_save_LIBS
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11252 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11253 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11254 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11259 rm -f core conftest.err conftest.$ac_objext \
11260 conftest$ac_exeext conftest.$ac_ext
11261 LIBS="$ac_xsave_LIBS"
11263 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11264 # to get the SysV transport functions.
11265 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11266 # needs -lnsl.
11267 # The nsl library prevents programs from opening the X display
11268 # on Irix 5.2, according to T.E. Dickey.
11269 # The functions gethostbyname, getservbyname, and inet_addr are
11270 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11271 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11272 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11276 if test $ac_cv_func_gethostbyname = no; then
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11278 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11279 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11280 $as_echo_n "(cached) " >&6
11281 else
11282 ac_check_lib_save_LIBS=$LIBS
11283 LIBS="-lnsl $LIBS"
11284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11285 /* end confdefs.h. */
11287 /* Override any GCC internal prototype to avoid an error.
11288 Use char because int might match the return type of a GCC
11289 builtin and then its argument prototype would still apply. */
11290 #ifdef __cplusplus
11291 extern "C"
11292 #endif
11293 char gethostbyname ();
11295 main ()
11297 return gethostbyname ();
11299 return 0;
11301 _ACEOF
11302 if ac_fn_c_try_link "$LINENO"; then :
11303 ac_cv_lib_nsl_gethostbyname=yes
11304 else
11305 ac_cv_lib_nsl_gethostbyname=no
11307 rm -f core conftest.err conftest.$ac_objext \
11308 conftest$ac_exeext conftest.$ac_ext
11309 LIBS=$ac_check_lib_save_LIBS
11311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11312 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11313 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11314 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11317 if test $ac_cv_lib_nsl_gethostbyname = no; then
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11319 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11320 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11321 $as_echo_n "(cached) " >&6
11322 else
11323 ac_check_lib_save_LIBS=$LIBS
11324 LIBS="-lbsd $LIBS"
11325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11326 /* end confdefs.h. */
11328 /* Override any GCC internal prototype to avoid an error.
11329 Use char because int might match the return type of a GCC
11330 builtin and then its argument prototype would still apply. */
11331 #ifdef __cplusplus
11332 extern "C"
11333 #endif
11334 char gethostbyname ();
11336 main ()
11338 return gethostbyname ();
11340 return 0;
11342 _ACEOF
11343 if ac_fn_c_try_link "$LINENO"; then :
11344 ac_cv_lib_bsd_gethostbyname=yes
11345 else
11346 ac_cv_lib_bsd_gethostbyname=no
11348 rm -f core conftest.err conftest.$ac_objext \
11349 conftest$ac_exeext conftest.$ac_ext
11350 LIBS=$ac_check_lib_save_LIBS
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11353 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11354 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11355 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11361 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11362 # socket/setsockopt and other routines are undefined under SCO ODT
11363 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11364 # on later versions), says Simon Leinen: it contains gethostby*
11365 # variants that don't use the name server (or something). -lsocket
11366 # must be given before -lnsl if both are needed. We assume that
11367 # if connect needs -lnsl, so does gethostbyname.
11368 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11369 if test "x$ac_cv_func_connect" = xyes; then :
11373 if test $ac_cv_func_connect = no; then
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11375 $as_echo_n "checking for connect in -lsocket... " >&6; }
11376 if ${ac_cv_lib_socket_connect+:} false; then :
11377 $as_echo_n "(cached) " >&6
11378 else
11379 ac_check_lib_save_LIBS=$LIBS
11380 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11382 /* end confdefs.h. */
11384 /* Override any GCC internal prototype to avoid an error.
11385 Use char because int might match the return type of a GCC
11386 builtin and then its argument prototype would still apply. */
11387 #ifdef __cplusplus
11388 extern "C"
11389 #endif
11390 char connect ();
11392 main ()
11394 return connect ();
11396 return 0;
11398 _ACEOF
11399 if ac_fn_c_try_link "$LINENO"; then :
11400 ac_cv_lib_socket_connect=yes
11401 else
11402 ac_cv_lib_socket_connect=no
11404 rm -f core conftest.err conftest.$ac_objext \
11405 conftest$ac_exeext conftest.$ac_ext
11406 LIBS=$ac_check_lib_save_LIBS
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11409 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11410 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11411 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11416 # Guillermo Gomez says -lposix is necessary on A/UX.
11417 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11418 if test "x$ac_cv_func_remove" = xyes; then :
11422 if test $ac_cv_func_remove = no; then
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11424 $as_echo_n "checking for remove in -lposix... " >&6; }
11425 if ${ac_cv_lib_posix_remove+:} false; then :
11426 $as_echo_n "(cached) " >&6
11427 else
11428 ac_check_lib_save_LIBS=$LIBS
11429 LIBS="-lposix $LIBS"
11430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11431 /* end confdefs.h. */
11433 /* Override any GCC internal prototype to avoid an error.
11434 Use char because int might match the return type of a GCC
11435 builtin and then its argument prototype would still apply. */
11436 #ifdef __cplusplus
11437 extern "C"
11438 #endif
11439 char remove ();
11441 main ()
11443 return remove ();
11445 return 0;
11447 _ACEOF
11448 if ac_fn_c_try_link "$LINENO"; then :
11449 ac_cv_lib_posix_remove=yes
11450 else
11451 ac_cv_lib_posix_remove=no
11453 rm -f core conftest.err conftest.$ac_objext \
11454 conftest$ac_exeext conftest.$ac_ext
11455 LIBS=$ac_check_lib_save_LIBS
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11458 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11459 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11460 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11465 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11466 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11467 if test "x$ac_cv_func_shmat" = xyes; then :
11471 if test $ac_cv_func_shmat = no; then
11472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11473 $as_echo_n "checking for shmat in -lipc... " >&6; }
11474 if ${ac_cv_lib_ipc_shmat+:} false; then :
11475 $as_echo_n "(cached) " >&6
11476 else
11477 ac_check_lib_save_LIBS=$LIBS
11478 LIBS="-lipc $LIBS"
11479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11480 /* end confdefs.h. */
11482 /* Override any GCC internal prototype to avoid an error.
11483 Use char because int might match the return type of a GCC
11484 builtin and then its argument prototype would still apply. */
11485 #ifdef __cplusplus
11486 extern "C"
11487 #endif
11488 char shmat ();
11490 main ()
11492 return shmat ();
11494 return 0;
11496 _ACEOF
11497 if ac_fn_c_try_link "$LINENO"; then :
11498 ac_cv_lib_ipc_shmat=yes
11499 else
11500 ac_cv_lib_ipc_shmat=no
11502 rm -f core conftest.err conftest.$ac_objext \
11503 conftest$ac_exeext conftest.$ac_ext
11504 LIBS=$ac_check_lib_save_LIBS
11506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11507 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11508 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11509 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11515 # Check for libraries that X11R6 Xt/Xaw programs need.
11516 ac_save_LDFLAGS=$LDFLAGS
11517 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11518 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11519 # check for ICE first), but we must link in the order -lSM -lICE or
11520 # we get undefined symbols. So assume we have SM if we have ICE.
11521 # These have to be linked with before -lX11, unlike the other
11522 # libraries we check for below, so use a different variable.
11523 # John Interrante, Karl Berry
11524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11525 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11526 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11527 $as_echo_n "(cached) " >&6
11528 else
11529 ac_check_lib_save_LIBS=$LIBS
11530 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11532 /* end confdefs.h. */
11534 /* Override any GCC internal prototype to avoid an error.
11535 Use char because int might match the return type of a GCC
11536 builtin and then its argument prototype would still apply. */
11537 #ifdef __cplusplus
11538 extern "C"
11539 #endif
11540 char IceConnectionNumber ();
11542 main ()
11544 return IceConnectionNumber ();
11546 return 0;
11548 _ACEOF
11549 if ac_fn_c_try_link "$LINENO"; then :
11550 ac_cv_lib_ICE_IceConnectionNumber=yes
11551 else
11552 ac_cv_lib_ICE_IceConnectionNumber=no
11554 rm -f core conftest.err conftest.$ac_objext \
11555 conftest$ac_exeext conftest.$ac_ext
11556 LIBS=$ac_check_lib_save_LIBS
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11559 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11560 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11561 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11564 LDFLAGS=$ac_save_LDFLAGS
11569 if test "$have_x" = "yes"
11570 then
11571 ac_save_CPPFLAGS="$CPPFLAGS"
11572 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11575 $as_echo_n "checking for -lX11... " >&6; }
11576 if ${ac_cv_lib_soname_X11+:} false; then :
11577 $as_echo_n "(cached) " >&6
11578 else
11579 ac_check_soname_save_LIBS=$LIBS
11580 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11582 /* end confdefs.h. */
11584 /* Override any GCC internal prototype to avoid an error.
11585 Use char because int might match the return type of a GCC
11586 builtin and then its argument prototype would still apply. */
11587 #ifdef __cplusplus
11588 extern "C"
11589 #endif
11590 char XCreateWindow ();
11592 main ()
11594 return XCreateWindow ();
11596 return 0;
11598 _ACEOF
11599 if ac_fn_c_try_link "$LINENO"; then :
11600 case "$LIBEXT" in
11601 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11602 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'` ;;
11603 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11604 if ${ac_cv_lib_soname_X11:+false} :; then :
11605 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11606 fi ;;
11607 esac
11608 else
11609 ac_cv_lib_soname_X11=
11611 rm -f core conftest.err conftest.$ac_objext \
11612 conftest$ac_exeext conftest.$ac_ext
11613 LIBS=$ac_check_soname_save_LIBS
11615 if ${ac_cv_lib_soname_X11:+false} :; then :
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11617 $as_echo "not found" >&6; }
11619 else
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11621 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11623 cat >>confdefs.h <<_ACEOF
11624 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11625 _ACEOF
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11630 $as_echo_n "checking for -lXext... " >&6; }
11631 if ${ac_cv_lib_soname_Xext+:} false; then :
11632 $as_echo_n "(cached) " >&6
11633 else
11634 ac_check_soname_save_LIBS=$LIBS
11635 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11637 /* end confdefs.h. */
11639 /* Override any GCC internal prototype to avoid an error.
11640 Use char because int might match the return type of a GCC
11641 builtin and then its argument prototype would still apply. */
11642 #ifdef __cplusplus
11643 extern "C"
11644 #endif
11645 char XextCreateExtension ();
11647 main ()
11649 return XextCreateExtension ();
11651 return 0;
11653 _ACEOF
11654 if ac_fn_c_try_link "$LINENO"; then :
11655 case "$LIBEXT" in
11656 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11657 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'` ;;
11658 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11659 if ${ac_cv_lib_soname_Xext:+false} :; then :
11660 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11661 fi ;;
11662 esac
11663 else
11664 ac_cv_lib_soname_Xext=
11666 rm -f core conftest.err conftest.$ac_objext \
11667 conftest$ac_exeext conftest.$ac_ext
11668 LIBS=$ac_check_soname_save_LIBS
11670 if ${ac_cv_lib_soname_Xext:+false} :; then :
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11672 $as_echo "not found" >&6; }
11674 else
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11676 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11678 cat >>confdefs.h <<_ACEOF
11679 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11680 _ACEOF
11682 X_LIBS="$X_LIBS -lXext"
11684 X_LIBS="$X_LIBS -lX11"
11686 for ac_header in X11/Xlib.h \
11687 X11/XKBlib.h \
11688 X11/Xutil.h \
11689 X11/Xcursor/Xcursor.h \
11690 X11/extensions/shape.h \
11691 X11/extensions/XInput.h \
11692 X11/extensions/XInput2.h \
11693 X11/extensions/XShm.h \
11694 X11/extensions/Xcomposite.h \
11695 X11/extensions/Xfixes.h \
11696 X11/extensions/Xinerama.h \
11697 X11/extensions/Xrandr.h \
11698 X11/extensions/Xrender.h \
11699 X11/extensions/xf86vmode.h \
11700 X11/extensions/xf86vmproto.h
11701 do :
11702 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11703 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11704 # include <X11/Xlib.h>
11705 #endif
11706 #ifdef HAVE_X11_XUTIL_H
11707 # include <X11/Xutil.h>
11708 #endif
11710 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11711 cat >>confdefs.h <<_ACEOF
11712 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11713 _ACEOF
11717 done
11720 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11721 then
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11723 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11724 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11725 $as_echo_n "(cached) " >&6
11726 else
11727 ac_check_lib_save_LIBS=$LIBS
11728 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11730 /* end confdefs.h. */
11732 /* Override any GCC internal prototype to avoid an error.
11733 Use char because int might match the return type of a GCC
11734 builtin and then its argument prototype would still apply. */
11735 #ifdef __cplusplus
11736 extern "C"
11737 #endif
11738 char XkbQueryExtension ();
11740 main ()
11742 return XkbQueryExtension ();
11744 return 0;
11746 _ACEOF
11747 if ac_fn_c_try_link "$LINENO"; then :
11748 ac_cv_lib_X11_XkbQueryExtension=yes
11749 else
11750 ac_cv_lib_X11_XkbQueryExtension=no
11752 rm -f core conftest.err conftest.$ac_objext \
11753 conftest$ac_exeext conftest.$ac_ext
11754 LIBS=$ac_check_lib_save_LIBS
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11757 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11758 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11760 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11766 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11767 then
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11769 $as_echo_n "checking for -lXcursor... " >&6; }
11770 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11771 $as_echo_n "(cached) " >&6
11772 else
11773 ac_check_soname_save_LIBS=$LIBS
11774 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11776 /* end confdefs.h. */
11778 /* Override any GCC internal prototype to avoid an error.
11779 Use char because int might match the return type of a GCC
11780 builtin and then its argument prototype would still apply. */
11781 #ifdef __cplusplus
11782 extern "C"
11783 #endif
11784 char XcursorImageLoadCursor ();
11786 main ()
11788 return XcursorImageLoadCursor ();
11790 return 0;
11792 _ACEOF
11793 if ac_fn_c_try_link "$LINENO"; then :
11794 case "$LIBEXT" in
11795 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11796 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'` ;;
11797 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11798 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11799 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11800 fi ;;
11801 esac
11802 else
11803 ac_cv_lib_soname_Xcursor=
11805 rm -f core conftest.err conftest.$ac_objext \
11806 conftest$ac_exeext conftest.$ac_ext
11807 LIBS=$ac_check_soname_save_LIBS
11809 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11811 $as_echo "not found" >&6; }
11813 else
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11815 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11817 cat >>confdefs.h <<_ACEOF
11818 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11819 _ACEOF
11824 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11825 case "x$with_xcursor" in
11826 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11827 xno) ;;
11828 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11829 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11830 esac
11834 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11835 then
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11837 $as_echo_n "checking for -lXi... " >&6; }
11838 if ${ac_cv_lib_soname_Xi+:} false; then :
11839 $as_echo_n "(cached) " >&6
11840 else
11841 ac_check_soname_save_LIBS=$LIBS
11842 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11844 /* end confdefs.h. */
11846 /* Override any GCC internal prototype to avoid an error.
11847 Use char because int might match the return type of a GCC
11848 builtin and then its argument prototype would still apply. */
11849 #ifdef __cplusplus
11850 extern "C"
11851 #endif
11852 char XOpenDevice ();
11854 main ()
11856 return XOpenDevice ();
11858 return 0;
11860 _ACEOF
11861 if ac_fn_c_try_link "$LINENO"; then :
11862 case "$LIBEXT" in
11863 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11864 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'` ;;
11865 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11866 if ${ac_cv_lib_soname_Xi:+false} :; then :
11867 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11868 fi ;;
11869 esac
11870 else
11871 ac_cv_lib_soname_Xi=
11873 rm -f core conftest.err conftest.$ac_objext \
11874 conftest$ac_exeext conftest.$ac_ext
11875 LIBS=$ac_check_soname_save_LIBS
11877 if ${ac_cv_lib_soname_Xi:+false} :; then :
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11879 $as_echo "not found" >&6; }
11881 else
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11883 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11885 cat >>confdefs.h <<_ACEOF
11886 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11887 _ACEOF
11892 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11893 case "x$with_xinput" in
11894 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11895 xno) ;;
11896 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11897 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11898 esac
11902 if test "x$ac_cv_lib_soname_Xi" != x
11903 then
11904 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11905 case "x$with_xinput2" in
11906 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11907 xno) ;;
11908 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11909 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11910 esac
11915 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11916 then
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11918 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11919 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11920 $as_echo_n "(cached) " >&6
11921 else
11922 ac_check_lib_save_LIBS=$LIBS
11923 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11925 /* end confdefs.h. */
11927 /* Override any GCC internal prototype to avoid an error.
11928 Use char because int might match the return type of a GCC
11929 builtin and then its argument prototype would still apply. */
11930 #ifdef __cplusplus
11931 extern "C"
11932 #endif
11933 char XShmQueryExtension ();
11935 main ()
11937 return XShmQueryExtension ();
11939 return 0;
11941 _ACEOF
11942 if ac_fn_c_try_link "$LINENO"; then :
11943 ac_cv_lib_Xext_XShmQueryExtension=yes
11944 else
11945 ac_cv_lib_Xext_XShmQueryExtension=no
11947 rm -f core conftest.err conftest.$ac_objext \
11948 conftest$ac_exeext conftest.$ac_ext
11949 LIBS=$ac_check_lib_save_LIBS
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11952 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11953 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11955 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11960 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11961 case "x$with_xshm" in
11962 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11963 xno) ;;
11964 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11965 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11966 esac
11970 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11971 then
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11973 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11974 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11975 $as_echo_n "(cached) " >&6
11976 else
11977 ac_check_lib_save_LIBS=$LIBS
11978 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11980 /* end confdefs.h. */
11982 /* Override any GCC internal prototype to avoid an error.
11983 Use char because int might match the return type of a GCC
11984 builtin and then its argument prototype would still apply. */
11985 #ifdef __cplusplus
11986 extern "C"
11987 #endif
11988 char XShapeQueryExtension ();
11990 main ()
11992 return XShapeQueryExtension ();
11994 return 0;
11996 _ACEOF
11997 if ac_fn_c_try_link "$LINENO"; then :
11998 ac_cv_lib_Xext_XShapeQueryExtension=yes
11999 else
12000 ac_cv_lib_Xext_XShapeQueryExtension=no
12002 rm -f core conftest.err conftest.$ac_objext \
12003 conftest$ac_exeext conftest.$ac_ext
12004 LIBS=$ac_check_lib_save_LIBS
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
12007 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
12008 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
12010 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
12015 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
12016 case "x$with_xshape" in
12017 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
12018 xno) ;;
12019 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
12020 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
12021 esac
12025 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
12026 then
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
12028 $as_echo_n "checking for -lXxf86vm... " >&6; }
12029 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
12030 $as_echo_n "(cached) " >&6
12031 else
12032 ac_check_soname_save_LIBS=$LIBS
12033 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
12034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12035 /* end confdefs.h. */
12037 /* Override any GCC internal prototype to avoid an error.
12038 Use char because int might match the return type of a GCC
12039 builtin and then its argument prototype would still apply. */
12040 #ifdef __cplusplus
12041 extern "C"
12042 #endif
12043 char XF86VidModeQueryExtension ();
12045 main ()
12047 return XF86VidModeQueryExtension ();
12049 return 0;
12051 _ACEOF
12052 if ac_fn_c_try_link "$LINENO"; then :
12053 case "$LIBEXT" in
12054 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12055 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'` ;;
12056 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12057 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12058 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12059 fi ;;
12060 esac
12061 else
12062 ac_cv_lib_soname_Xxf86vm=
12064 rm -f core conftest.err conftest.$ac_objext \
12065 conftest$ac_exeext conftest.$ac_ext
12066 LIBS=$ac_check_soname_save_LIBS
12068 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12070 $as_echo "not found" >&6; }
12072 else
12073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
12074 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
12076 cat >>confdefs.h <<_ACEOF
12077 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
12078 _ACEOF
12083 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
12084 case "x$with_xxf86vm" in
12085 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
12086 xno) ;;
12087 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
12088 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
12089 esac
12093 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
12094 then
12095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
12096 $as_echo_n "checking for -lXrender... " >&6; }
12097 if ${ac_cv_lib_soname_Xrender+:} false; then :
12098 $as_echo_n "(cached) " >&6
12099 else
12100 ac_check_soname_save_LIBS=$LIBS
12101 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12103 /* end confdefs.h. */
12105 /* Override any GCC internal prototype to avoid an error.
12106 Use char because int might match the return type of a GCC
12107 builtin and then its argument prototype would still apply. */
12108 #ifdef __cplusplus
12109 extern "C"
12110 #endif
12111 char XRenderQueryExtension ();
12113 main ()
12115 return XRenderQueryExtension ();
12117 return 0;
12119 _ACEOF
12120 if ac_fn_c_try_link "$LINENO"; then :
12121 case "$LIBEXT" in
12122 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12123 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'` ;;
12124 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12125 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12126 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12127 fi ;;
12128 esac
12129 else
12130 ac_cv_lib_soname_Xrender=
12132 rm -f core conftest.err conftest.$ac_objext \
12133 conftest$ac_exeext conftest.$ac_ext
12134 LIBS=$ac_check_soname_save_LIBS
12136 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12138 $as_echo "not found" >&6; }
12140 else
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12142 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12144 cat >>confdefs.h <<_ACEOF
12145 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12146 _ACEOF
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12149 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12150 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12151 $as_echo_n "(cached) " >&6
12152 else
12153 ac_check_lib_save_LIBS=$LIBS
12154 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12156 /* end confdefs.h. */
12158 /* Override any GCC internal prototype to avoid an error.
12159 Use char because int might match the return type of a GCC
12160 builtin and then its argument prototype would still apply. */
12161 #ifdef __cplusplus
12162 extern "C"
12163 #endif
12164 char XRenderSetPictureTransform ();
12166 main ()
12168 return XRenderSetPictureTransform ();
12170 return 0;
12172 _ACEOF
12173 if ac_fn_c_try_link "$LINENO"; then :
12174 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12175 else
12176 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12178 rm -f core conftest.err conftest.$ac_objext \
12179 conftest$ac_exeext conftest.$ac_ext
12180 LIBS=$ac_check_lib_save_LIBS
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12183 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12184 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12186 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12191 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12192 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12193 $as_echo_n "(cached) " >&6
12194 else
12195 ac_check_lib_save_LIBS=$LIBS
12196 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12198 /* end confdefs.h. */
12200 /* Override any GCC internal prototype to avoid an error.
12201 Use char because int might match the return type of a GCC
12202 builtin and then its argument prototype would still apply. */
12203 #ifdef __cplusplus
12204 extern "C"
12205 #endif
12206 char XRenderCreateLinearGradient ();
12208 main ()
12210 return XRenderCreateLinearGradient ();
12212 return 0;
12214 _ACEOF
12215 if ac_fn_c_try_link "$LINENO"; then :
12216 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12217 else
12218 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12220 rm -f core conftest.err conftest.$ac_objext \
12221 conftest$ac_exeext conftest.$ac_ext
12222 LIBS=$ac_check_lib_save_LIBS
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12225 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12226 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12228 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12235 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12236 case "x$with_xrender" in
12237 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12238 xno) ;;
12239 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12240 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12241 esac
12245 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12246 then
12247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12248 /* end confdefs.h. */
12249 #include <X11/Xlib.h>
12250 #include <X11/extensions/Xrandr.h>
12252 main ()
12254 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12256 return 0;
12258 _ACEOF
12259 if ac_fn_c_try_compile "$LINENO"; then :
12260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12261 $as_echo_n "checking for -lXrandr... " >&6; }
12262 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12263 $as_echo_n "(cached) " >&6
12264 else
12265 ac_check_soname_save_LIBS=$LIBS
12266 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12268 /* end confdefs.h. */
12270 /* Override any GCC internal prototype to avoid an error.
12271 Use char because int might match the return type of a GCC
12272 builtin and then its argument prototype would still apply. */
12273 #ifdef __cplusplus
12274 extern "C"
12275 #endif
12276 char XRRQueryExtension ();
12278 main ()
12280 return XRRQueryExtension ();
12282 return 0;
12284 _ACEOF
12285 if ac_fn_c_try_link "$LINENO"; then :
12286 case "$LIBEXT" in
12287 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12288 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'` ;;
12289 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12290 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12291 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12292 fi ;;
12293 esac
12294 else
12295 ac_cv_lib_soname_Xrandr=
12297 rm -f core conftest.err conftest.$ac_objext \
12298 conftest$ac_exeext conftest.$ac_ext
12299 LIBS=$ac_check_soname_save_LIBS
12301 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12303 $as_echo "not found" >&6; }
12305 else
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12307 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12309 cat >>confdefs.h <<_ACEOF
12310 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12311 _ACEOF
12313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12314 /* end confdefs.h. */
12315 #include <X11/Xlib.h>
12316 #include <X11/extensions/Xrandr.h>
12318 main ()
12320 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12322 return 0;
12324 _ACEOF
12325 if ac_fn_c_try_compile "$LINENO"; then :
12327 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12329 else
12330 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12337 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12338 case "x$with_xrandr" in
12339 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12340 xno) ;;
12341 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12342 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12343 esac
12347 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12348 then
12349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12350 /* end confdefs.h. */
12351 #include <X11/Xlib.h>
12352 #include <X11/extensions/Xfixes.h>
12354 main ()
12356 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12358 return 0;
12360 _ACEOF
12361 if ac_fn_c_try_compile "$LINENO"; then :
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12363 $as_echo_n "checking for -lXfixes... " >&6; }
12364 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12365 $as_echo_n "(cached) " >&6
12366 else
12367 ac_check_soname_save_LIBS=$LIBS
12368 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12370 /* end confdefs.h. */
12372 /* Override any GCC internal prototype to avoid an error.
12373 Use char because int might match the return type of a GCC
12374 builtin and then its argument prototype would still apply. */
12375 #ifdef __cplusplus
12376 extern "C"
12377 #endif
12378 char XFixesQueryVersion ();
12380 main ()
12382 return XFixesQueryVersion ();
12384 return 0;
12386 _ACEOF
12387 if ac_fn_c_try_link "$LINENO"; then :
12388 case "$LIBEXT" in
12389 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12390 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'` ;;
12391 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12392 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12393 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12394 fi ;;
12395 esac
12396 else
12397 ac_cv_lib_soname_Xfixes=
12399 rm -f core conftest.err conftest.$ac_objext \
12400 conftest$ac_exeext conftest.$ac_ext
12401 LIBS=$ac_check_soname_save_LIBS
12403 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12405 $as_echo "not found" >&6; }
12407 else
12408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12409 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12411 cat >>confdefs.h <<_ACEOF
12412 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12413 _ACEOF
12418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12420 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12421 case "x$with_xfixes" in
12422 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12423 xno) ;;
12424 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12425 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12426 esac
12430 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12431 then
12432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12433 /* end confdefs.h. */
12434 #include <X11/Xlib.h>
12435 #include <X11/extensions/Xinerama.h>
12437 main ()
12439 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12441 return 0;
12443 _ACEOF
12444 if ac_fn_c_try_compile "$LINENO"; then :
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12446 $as_echo_n "checking for -lXinerama... " >&6; }
12447 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12448 $as_echo_n "(cached) " >&6
12449 else
12450 ac_check_soname_save_LIBS=$LIBS
12451 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12453 /* end confdefs.h. */
12455 /* Override any GCC internal prototype to avoid an error.
12456 Use char because int might match the return type of a GCC
12457 builtin and then its argument prototype would still apply. */
12458 #ifdef __cplusplus
12459 extern "C"
12460 #endif
12461 char XineramaQueryScreens ();
12463 main ()
12465 return XineramaQueryScreens ();
12467 return 0;
12469 _ACEOF
12470 if ac_fn_c_try_link "$LINENO"; then :
12471 case "$LIBEXT" in
12472 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12473 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'` ;;
12474 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12475 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12476 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12477 fi ;;
12478 esac
12479 else
12480 ac_cv_lib_soname_Xinerama=
12482 rm -f core conftest.err conftest.$ac_objext \
12483 conftest$ac_exeext conftest.$ac_ext
12484 LIBS=$ac_check_soname_save_LIBS
12486 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12488 $as_echo "not found" >&6; }
12490 else
12491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12492 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12494 cat >>confdefs.h <<_ACEOF
12495 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12496 _ACEOF
12501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12503 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12504 case "x$with_xinerama" in
12505 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12506 xno) ;;
12507 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12508 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12509 esac
12513 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12514 then
12515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12516 $as_echo_n "checking for -lXcomposite... " >&6; }
12517 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12518 $as_echo_n "(cached) " >&6
12519 else
12520 ac_check_soname_save_LIBS=$LIBS
12521 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12523 /* end confdefs.h. */
12525 /* Override any GCC internal prototype to avoid an error.
12526 Use char because int might match the return type of a GCC
12527 builtin and then its argument prototype would still apply. */
12528 #ifdef __cplusplus
12529 extern "C"
12530 #endif
12531 char XCompositeRedirectWindow ();
12533 main ()
12535 return XCompositeRedirectWindow ();
12537 return 0;
12539 _ACEOF
12540 if ac_fn_c_try_link "$LINENO"; then :
12541 case "$LIBEXT" in
12542 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12543 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'` ;;
12544 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12545 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12546 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12547 fi ;;
12548 esac
12549 else
12550 ac_cv_lib_soname_Xcomposite=
12552 rm -f core conftest.err conftest.$ac_objext \
12553 conftest$ac_exeext conftest.$ac_ext
12554 LIBS=$ac_check_soname_save_LIBS
12556 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12558 $as_echo "not found" >&6; }
12560 else
12561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12562 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12564 cat >>confdefs.h <<_ACEOF
12565 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12566 _ACEOF
12571 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12572 case "x$with_xcomposite" in
12573 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12574 xno) ;;
12575 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12576 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12577 esac
12581 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12582 #include <X11/Xlib.h>
12583 #endif
12585 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12587 cat >>confdefs.h <<_ACEOF
12588 #define HAVE_XICCALLBACK_CALLBACK 1
12589 _ACEOF
12593 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12594 #include <X11/Xlib.h>
12595 #endif
12597 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12599 cat >>confdefs.h <<_ACEOF
12600 #define HAVE_XEVENT_XCOOKIE 1
12601 _ACEOF
12608 opengl_msg=""
12609 if test "x$with_opengl" != "xno"
12610 then
12611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12612 $as_echo_n "checking for -lGL... " >&6; }
12613 if ${ac_cv_lib_soname_GL+:} false; then :
12614 $as_echo_n "(cached) " >&6
12615 else
12616 ac_check_soname_save_LIBS=$LIBS
12617 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12619 /* end confdefs.h. */
12621 /* Override any GCC internal prototype to avoid an error.
12622 Use char because int might match the return type of a GCC
12623 builtin and then its argument prototype would still apply. */
12624 #ifdef __cplusplus
12625 extern "C"
12626 #endif
12627 char glXCreateContext ();
12629 main ()
12631 return glXCreateContext ();
12633 return 0;
12635 _ACEOF
12636 if ac_fn_c_try_link "$LINENO"; then :
12637 case "$LIBEXT" in
12638 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12639 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'` ;;
12640 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12641 if ${ac_cv_lib_soname_GL:+false} :; then :
12642 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12643 fi ;;
12644 esac
12645 else
12646 ac_cv_lib_soname_GL=
12648 rm -f core conftest.err conftest.$ac_objext \
12649 conftest$ac_exeext conftest.$ac_ext
12650 LIBS=$ac_check_soname_save_LIBS
12652 if ${ac_cv_lib_soname_GL:+false} :; then :
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12654 $as_echo "not found" >&6; }
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12656 $as_echo_n "checking for -lGL... " >&6; }
12657 if ${ac_cv_lib_soname_GL+:} false; then :
12658 $as_echo_n "(cached) " >&6
12659 else
12660 ac_check_soname_save_LIBS=$LIBS
12661 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"
12662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12663 /* end confdefs.h. */
12665 /* Override any GCC internal prototype to avoid an error.
12666 Use char because int might match the return type of a GCC
12667 builtin and then its argument prototype would still apply. */
12668 #ifdef __cplusplus
12669 extern "C"
12670 #endif
12671 char glXCreateContext ();
12673 main ()
12675 return glXCreateContext ();
12677 return 0;
12679 _ACEOF
12680 if ac_fn_c_try_link "$LINENO"; then :
12681 case "$LIBEXT" in
12682 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12683 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'` ;;
12684 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12685 if ${ac_cv_lib_soname_GL:+false} :; then :
12686 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12687 fi ;;
12688 esac
12689 else
12690 ac_cv_lib_soname_GL=
12692 rm -f core conftest.err conftest.$ac_objext \
12693 conftest$ac_exeext conftest.$ac_ext
12694 LIBS=$ac_check_soname_save_LIBS
12696 if ${ac_cv_lib_soname_GL:+false} :; then :
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12698 $as_echo "not found" >&6; }
12699 if test -f /usr/X11R6/lib/libGL.a
12700 then
12701 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12702 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12703 else
12704 opengl_msg="No OpenGL library found on this system."
12706 else
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12708 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12710 cat >>confdefs.h <<_ACEOF
12711 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12712 _ACEOF
12714 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"
12716 else
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12718 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12720 cat >>confdefs.h <<_ACEOF
12721 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12722 _ACEOF
12724 OPENGL_LIBS="-lGL"
12726 if test "x$with_osmesa" != "xno"
12727 then
12728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12729 $as_echo_n "checking for -lOSMesa... " >&6; }
12730 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12731 $as_echo_n "(cached) " >&6
12732 else
12733 ac_check_soname_save_LIBS=$LIBS
12734 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12736 /* end confdefs.h. */
12738 /* Override any GCC internal prototype to avoid an error.
12739 Use char because int might match the return type of a GCC
12740 builtin and then its argument prototype would still apply. */
12741 #ifdef __cplusplus
12742 extern "C"
12743 #endif
12744 char OSMesaGetProcAddress ();
12746 main ()
12748 return OSMesaGetProcAddress ();
12750 return 0;
12752 _ACEOF
12753 if ac_fn_c_try_link "$LINENO"; then :
12754 case "$LIBEXT" in
12755 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12756 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'` ;;
12757 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12758 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12759 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12760 fi ;;
12761 esac
12762 else
12763 ac_cv_lib_soname_OSMesa=
12765 rm -f core conftest.err conftest.$ac_objext \
12766 conftest$ac_exeext conftest.$ac_ext
12767 LIBS=$ac_check_soname_save_LIBS
12769 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12771 $as_echo "not found" >&6; }
12773 else
12774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12775 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12777 cat >>confdefs.h <<_ACEOF
12778 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12779 _ACEOF
12783 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12784 case "x$with_osmesa" in
12785 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12786 xno) ;;
12787 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12788 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12789 esac
12794 if test -n "$opengl_msg"; then :
12795 case "x$with_opengl" in
12796 x) as_fn_append wine_warnings "|$opengl_msg
12797 OpenGL and Direct3D won't be supported." ;;
12798 xno) ;;
12799 *) as_fn_error $? "$opengl_msg
12800 OpenGL and Direct3D won't be supported.
12801 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12802 esac
12806 CPPFLAGS="$ac_save_CPPFLAGS"
12807 else
12808 X_CFLAGS=""
12809 X_LIBS=""
12812 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12813 then
12814 if test "x$X_LIBS" = "x"; then :
12815 case "x$with_x" in
12816 xno) ;;
12817 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12818 without X support, which probably isn't what you want. You will need
12819 to install ${notice_platform}development packages of Xlib at the very least.
12820 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12821 esac
12822 enable_winex11_drv=${enable_winex11_drv:-no}
12824 else
12825 if test "x$X_LIBS" = "x"; then :
12826 case "x$with_x" in
12827 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12828 xno) ;;
12829 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12830 This is an error since --with-x was requested." "$LINENO" 5 ;;
12831 esac
12832 enable_winex11_drv=${enable_winex11_drv:-no}
12836 if test "$ac_cv_header_CL_cl_h" = "yes"
12837 then
12838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12839 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12840 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12841 $as_echo_n "(cached) " >&6
12842 else
12843 ac_check_lib_save_LIBS=$LIBS
12844 LIBS="-lOpenCL $LIBS"
12845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12846 /* end confdefs.h. */
12848 /* Override any GCC internal prototype to avoid an error.
12849 Use char because int might match the return type of a GCC
12850 builtin and then its argument prototype would still apply. */
12851 #ifdef __cplusplus
12852 extern "C"
12853 #endif
12854 char clGetPlatformInfo ();
12856 main ()
12858 return clGetPlatformInfo ();
12860 return 0;
12862 _ACEOF
12863 if ac_fn_c_try_link "$LINENO"; then :
12864 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12865 else
12866 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12868 rm -f core conftest.err conftest.$ac_objext \
12869 conftest$ac_exeext conftest.$ac_ext
12870 LIBS=$ac_check_lib_save_LIBS
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12873 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12874 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12875 OPENCL_LIBS="-lOpenCL"
12880 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12881 case "x$with_opencl" in
12882 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12883 xno) ;;
12884 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12885 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12886 esac
12887 enable_opencl=${enable_opencl:-no}
12890 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12891 then
12892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12893 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12894 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12895 $as_echo_n "(cached) " >&6
12896 else
12897 ac_check_lib_save_LIBS=$LIBS
12898 LIBS="-lpcap $LIBS"
12899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12900 /* end confdefs.h. */
12902 /* Override any GCC internal prototype to avoid an error.
12903 Use char because int might match the return type of a GCC
12904 builtin and then its argument prototype would still apply. */
12905 #ifdef __cplusplus
12906 extern "C"
12907 #endif
12908 char pcap_create ();
12910 main ()
12912 return pcap_create ();
12914 return 0;
12916 _ACEOF
12917 if ac_fn_c_try_link "$LINENO"; then :
12918 ac_cv_lib_pcap_pcap_create=yes
12919 else
12920 ac_cv_lib_pcap_pcap_create=no
12922 rm -f core conftest.err conftest.$ac_objext \
12923 conftest$ac_exeext conftest.$ac_ext
12924 LIBS=$ac_check_lib_save_LIBS
12926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12927 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12928 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12929 PCAP_LIBS="-lpcap"
12934 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12935 case "x$with_pcap" in
12936 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12937 xno) ;;
12938 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12939 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12940 esac
12941 enable_wpcap=${enable_wpcap:-no}
12944 if test "x$with_inotify" != "xno"
12945 then
12946 if ${INOTIFY_CFLAGS:+false} :; then :
12947 if ${PKG_CONFIG+:} false; then :
12948 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
12952 if ${INOTIFY_LIBS:+false} :; then :
12953 if ${PKG_CONFIG+:} false; then :
12954 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
12959 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
12960 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
12961 ac_save_CPPFLAGS=$CPPFLAGS
12962 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
12963 for ac_header in sys/inotify.h
12964 do :
12965 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
12966 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
12967 cat >>confdefs.h <<_ACEOF
12968 #define HAVE_SYS_INOTIFY_H 1
12969 _ACEOF
12973 done
12975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
12976 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
12977 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
12978 $as_echo_n "(cached) " >&6
12979 else
12980 ac_check_lib_save_LIBS=$LIBS
12981 LIBS="-linotify $INOTIFY_LIBS $LIBS"
12982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12983 /* end confdefs.h. */
12985 /* Override any GCC internal prototype to avoid an error.
12986 Use char because int might match the return type of a GCC
12987 builtin and then its argument prototype would still apply. */
12988 #ifdef __cplusplus
12989 extern "C"
12990 #endif
12991 char inotify_add_watch ();
12993 main ()
12995 return inotify_add_watch ();
12997 return 0;
12999 _ACEOF
13000 if ac_fn_c_try_link "$LINENO"; then :
13001 ac_cv_lib_inotify_inotify_add_watch=yes
13002 else
13003 ac_cv_lib_inotify_inotify_add_watch=no
13005 rm -f core conftest.err conftest.$ac_objext \
13006 conftest$ac_exeext conftest.$ac_ext
13007 LIBS=$ac_check_lib_save_LIBS
13009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13010 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13011 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13013 else
13014 INOTIFY_LIBS=""
13017 CPPFLAGS=$ac_save_CPPFLAGS
13020 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13021 case "x$with_inotify" in
13022 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13023 xno) ;;
13024 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13025 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13026 esac
13030 if test "x$with_dbus" != "xno"
13031 then
13032 if ${DBUS_CFLAGS:+false} :; then :
13033 if ${PKG_CONFIG+:} false; then :
13034 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13038 if ${DBUS_LIBS:+false} :; then :
13039 if ${PKG_CONFIG+:} false; then :
13040 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13045 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13046 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13047 ac_save_CPPFLAGS=$CPPFLAGS
13048 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13049 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13050 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13052 $as_echo_n "checking for -ldbus-1... " >&6; }
13053 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13054 $as_echo_n "(cached) " >&6
13055 else
13056 ac_check_soname_save_LIBS=$LIBS
13057 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13059 /* end confdefs.h. */
13061 /* Override any GCC internal prototype to avoid an error.
13062 Use char because int might match the return type of a GCC
13063 builtin and then its argument prototype would still apply. */
13064 #ifdef __cplusplus
13065 extern "C"
13066 #endif
13067 char dbus_connection_close ();
13069 main ()
13071 return dbus_connection_close ();
13073 return 0;
13075 _ACEOF
13076 if ac_fn_c_try_link "$LINENO"; then :
13077 case "$LIBEXT" in
13078 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13079 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'` ;;
13080 *) 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'`
13081 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13082 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13083 fi ;;
13084 esac
13085 else
13086 ac_cv_lib_soname_dbus_1=
13088 rm -f core conftest.err conftest.$ac_objext \
13089 conftest$ac_exeext conftest.$ac_ext
13090 LIBS=$ac_check_soname_save_LIBS
13092 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13094 $as_echo "not found" >&6; }
13095 DBUS_CFLAGS=""
13096 else
13097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13098 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13100 cat >>confdefs.h <<_ACEOF
13101 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13102 _ACEOF
13106 else
13107 DBUS_CFLAGS=""
13111 CPPFLAGS=$ac_save_CPPFLAGS
13114 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13115 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13116 case "x$with_dbus" in
13117 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13118 xno) ;;
13119 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13120 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13121 esac
13125 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13126 then
13127 if ${HAL_CFLAGS:+false} :; then :
13128 if ${PKG_CONFIG+:} false; then :
13129 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13133 if ${HAL_LIBS:+false} :; then :
13134 if ${PKG_CONFIG+:} false; then :
13135 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13139 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13140 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13141 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13142 ac_save_CPPFLAGS=$CPPFLAGS
13143 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13144 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13145 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13147 $as_echo_n "checking for -lhal... " >&6; }
13148 if ${ac_cv_lib_soname_hal+:} false; then :
13149 $as_echo_n "(cached) " >&6
13150 else
13151 ac_check_soname_save_LIBS=$LIBS
13152 LIBS="-lhal $HAL_LIBS $LIBS"
13153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13154 /* end confdefs.h. */
13156 /* Override any GCC internal prototype to avoid an error.
13157 Use char because int might match the return type of a GCC
13158 builtin and then its argument prototype would still apply. */
13159 #ifdef __cplusplus
13160 extern "C"
13161 #endif
13162 char libhal_ctx_new ();
13164 main ()
13166 return libhal_ctx_new ();
13168 return 0;
13170 _ACEOF
13171 if ac_fn_c_try_link "$LINENO"; then :
13172 case "$LIBEXT" in
13173 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13174 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'` ;;
13175 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13176 if ${ac_cv_lib_soname_hal:+false} :; then :
13177 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13178 fi ;;
13179 esac
13180 else
13181 ac_cv_lib_soname_hal=
13183 rm -f core conftest.err conftest.$ac_objext \
13184 conftest$ac_exeext conftest.$ac_ext
13185 LIBS=$ac_check_soname_save_LIBS
13187 if ${ac_cv_lib_soname_hal:+false} :; then :
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13189 $as_echo "not found" >&6; }
13190 HAL_CFLAGS=""
13191 else
13192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13193 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13195 cat >>confdefs.h <<_ACEOF
13196 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13197 _ACEOF
13201 else
13202 HAL_CFLAGS=""
13206 CPPFLAGS=$ac_save_CPPFLAGS
13208 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13209 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13210 case "x$with_hal" in
13211 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13212 xno) ;;
13213 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13214 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13215 esac
13220 if test "x$with_gnutls" != "xno"
13221 then
13222 if ${GNUTLS_CFLAGS:+false} :; then :
13223 if ${PKG_CONFIG+:} false; then :
13224 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13228 if ${GNUTLS_LIBS:+false} :; then :
13229 if ${PKG_CONFIG+:} false; then :
13230 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13234 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13235 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13236 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13237 ac_save_CPPFLAGS=$CPPFLAGS
13238 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13239 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13240 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13242 /* end confdefs.h. */
13243 #include <gnutls/gnutls.h>
13244 #include <gnutls/crypto.h>
13246 main ()
13248 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13250 return 0;
13252 _ACEOF
13253 if ac_fn_c_try_compile "$LINENO"; then :
13254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13255 $as_echo_n "checking for -lgnutls... " >&6; }
13256 if ${ac_cv_lib_soname_gnutls+:} false; then :
13257 $as_echo_n "(cached) " >&6
13258 else
13259 ac_check_soname_save_LIBS=$LIBS
13260 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13262 /* end confdefs.h. */
13264 /* Override any GCC internal prototype to avoid an error.
13265 Use char because int might match the return type of a GCC
13266 builtin and then its argument prototype would still apply. */
13267 #ifdef __cplusplus
13268 extern "C"
13269 #endif
13270 char gnutls_global_init ();
13272 main ()
13274 return gnutls_global_init ();
13276 return 0;
13278 _ACEOF
13279 if ac_fn_c_try_link "$LINENO"; then :
13280 case "$LIBEXT" in
13281 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13282 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'` ;;
13283 *) 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'`
13284 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13285 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'`
13286 fi ;;
13287 esac
13288 else
13289 ac_cv_lib_soname_gnutls=
13291 rm -f core conftest.err conftest.$ac_objext \
13292 conftest$ac_exeext conftest.$ac_ext
13293 LIBS=$ac_check_soname_save_LIBS
13295 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13297 $as_echo "not found" >&6; }
13298 GNUTLS_CFLAGS=""
13299 else
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13301 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13303 cat >>confdefs.h <<_ACEOF
13304 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13305 _ACEOF
13309 ac_wine_check_funcs_save_LIBS="$LIBS"
13310 LIBS="$LIBS $GNUTLS_LIBS"
13311 for ac_func in gnutls_cipher_init
13312 do :
13313 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13314 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13315 cat >>confdefs.h <<_ACEOF
13316 #define HAVE_GNUTLS_CIPHER_INIT 1
13317 _ACEOF
13319 else
13320 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13322 done
13324 LIBS="$ac_wine_check_funcs_save_LIBS"
13326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13327 else
13328 GNUTLS_CFLAGS=""
13332 CPPFLAGS=$ac_save_CPPFLAGS
13335 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13336 case "x$with_gnutls" in
13337 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13338 xno) ;;
13339 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13340 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13341 esac
13345 if test "x$with_sane" != "xno"
13346 then
13347 if ${SANE_CFLAGS:+false} :; then :
13348 if ${PKG_CONFIG+:} false; then :
13349 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
13352 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13353 if ${SANE_LIBS:+false} :; then :
13354 if ${PKG_CONFIG+:} false; then :
13355 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
13358 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13360 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
13361 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
13362 ac_save_CPPFLAGS=$CPPFLAGS
13363 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13364 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13365 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13367 $as_echo_n "checking for -lsane... " >&6; }
13368 if ${ac_cv_lib_soname_sane+:} false; then :
13369 $as_echo_n "(cached) " >&6
13370 else
13371 ac_check_soname_save_LIBS=$LIBS
13372 LIBS="-lsane $SANE_LIBS $LIBS"
13373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13374 /* end confdefs.h. */
13376 /* Override any GCC internal prototype to avoid an error.
13377 Use char because int might match the return type of a GCC
13378 builtin and then its argument prototype would still apply. */
13379 #ifdef __cplusplus
13380 extern "C"
13381 #endif
13382 char sane_init ();
13384 main ()
13386 return sane_init ();
13388 return 0;
13390 _ACEOF
13391 if ac_fn_c_try_link "$LINENO"; then :
13392 case "$LIBEXT" in
13393 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13394 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'` ;;
13395 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13396 if ${ac_cv_lib_soname_sane:+false} :; then :
13397 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13398 fi ;;
13399 esac
13400 else
13401 ac_cv_lib_soname_sane=
13403 rm -f core conftest.err conftest.$ac_objext \
13404 conftest$ac_exeext conftest.$ac_ext
13405 LIBS=$ac_check_soname_save_LIBS
13407 if ${ac_cv_lib_soname_sane:+false} :; then :
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13409 $as_echo "not found" >&6; }
13410 SANE_CFLAGS=""
13411 else
13412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13413 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13415 cat >>confdefs.h <<_ACEOF
13416 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13417 _ACEOF
13421 else
13422 SANE_CFLAGS=""
13426 CPPFLAGS=$ac_save_CPPFLAGS
13429 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13430 case "x$with_sane" in
13431 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13432 xno) ;;
13433 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13434 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13435 esac
13439 if test "x$with_usb" != "xno"
13440 then
13441 if ${USB_CFLAGS:+false} :; then :
13442 if ${PKG_CONFIG+:} false; then :
13443 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13447 if ${USB_LIBS:+false} :; then :
13448 if ${PKG_CONFIG+:} false; then :
13449 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13453 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13454 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13455 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13456 ac_save_CPPFLAGS=$CPPFLAGS
13457 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13458 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13459 if test "x$ac_cv_header_libusb_h" = xyes; then :
13460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13461 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13462 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13463 $as_echo_n "(cached) " >&6
13464 else
13465 ac_check_lib_save_LIBS=$LIBS
13466 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13468 /* end confdefs.h. */
13470 /* Override any GCC internal prototype to avoid an error.
13471 Use char because int might match the return type of a GCC
13472 builtin and then its argument prototype would still apply. */
13473 #ifdef __cplusplus
13474 extern "C"
13475 #endif
13476 char libusb_interrupt_event_handler ();
13478 main ()
13480 return libusb_interrupt_event_handler ();
13482 return 0;
13484 _ACEOF
13485 if ac_fn_c_try_link "$LINENO"; then :
13486 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13487 else
13488 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13490 rm -f core conftest.err conftest.$ac_objext \
13491 conftest$ac_exeext conftest.$ac_ext
13492 LIBS=$ac_check_lib_save_LIBS
13494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13495 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13496 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13498 else
13499 USB_LIBS=""
13502 else
13503 USB_LIBS=""
13507 CPPFLAGS=$ac_save_CPPFLAGS
13510 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13511 case "x$with_usb" in
13512 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13513 xno) ;;
13514 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13515 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13516 esac
13517 enable_wineusb_sys=${enable_wineusb_sys:-no}
13520 if test "x$with_v4l2" != "xno"
13521 then
13522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13523 $as_echo_n "checking for -lv4l2... " >&6; }
13524 if ${ac_cv_lib_soname_v4l2+:} false; then :
13525 $as_echo_n "(cached) " >&6
13526 else
13527 ac_check_soname_save_LIBS=$LIBS
13528 LIBS="-lv4l2 $LIBS"
13529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13530 /* end confdefs.h. */
13532 /* Override any GCC internal prototype to avoid an error.
13533 Use char because int might match the return type of a GCC
13534 builtin and then its argument prototype would still apply. */
13535 #ifdef __cplusplus
13536 extern "C"
13537 #endif
13538 char v4l2_open ();
13540 main ()
13542 return v4l2_open ();
13544 return 0;
13546 _ACEOF
13547 if ac_fn_c_try_link "$LINENO"; then :
13548 case "$LIBEXT" in
13549 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13550 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'` ;;
13551 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13552 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13553 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13554 fi ;;
13555 esac
13556 else
13557 ac_cv_lib_soname_v4l2=
13559 rm -f core conftest.err conftest.$ac_objext \
13560 conftest$ac_exeext conftest.$ac_ext
13561 LIBS=$ac_check_soname_save_LIBS
13563 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13565 $as_echo "not found" >&6; }
13567 else
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13569 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13571 cat >>confdefs.h <<_ACEOF
13572 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13573 _ACEOF
13578 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13579 case "x$with_v4l2" in
13580 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13581 xno) ;;
13582 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13583 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13584 esac
13588 if test "x$with_gphoto" != "xno"
13589 then
13590 if ${GPHOTO2_CFLAGS:+false} :; then :
13591 if ${PKG_CONFIG+:} false; then :
13592 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13595 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13596 if ${GPHOTO2_LIBS:+false} :; then :
13597 if ${PKG_CONFIG+:} false; then :
13598 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13601 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13602 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13603 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13604 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13605 ac_save_CPPFLAGS=$CPPFLAGS
13606 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13607 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13608 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13610 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13611 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13612 $as_echo_n "(cached) " >&6
13613 else
13614 ac_check_lib_save_LIBS=$LIBS
13615 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13617 /* end confdefs.h. */
13619 /* Override any GCC internal prototype to avoid an error.
13620 Use char because int might match the return type of a GCC
13621 builtin and then its argument prototype would still apply. */
13622 #ifdef __cplusplus
13623 extern "C"
13624 #endif
13625 char gp_camera_new ();
13627 main ()
13629 return gp_camera_new ();
13631 return 0;
13633 _ACEOF
13634 if ac_fn_c_try_link "$LINENO"; then :
13635 ac_cv_lib_gphoto2_gp_camera_new=yes
13636 else
13637 ac_cv_lib_gphoto2_gp_camera_new=no
13639 rm -f core conftest.err conftest.$ac_objext \
13640 conftest$ac_exeext conftest.$ac_ext
13641 LIBS=$ac_check_lib_save_LIBS
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13644 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13645 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13647 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13649 else
13650 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13653 else
13654 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13658 CPPFLAGS=$ac_save_CPPFLAGS
13660 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13661 if ${PKG_CONFIG+:} false; then :
13662 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13665 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13666 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13667 if ${PKG_CONFIG+:} false; then :
13668 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13671 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
13672 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
13673 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
13674 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
13675 ac_save_CPPFLAGS=$CPPFLAGS
13676 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
13677 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
13678 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
13680 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
13681 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13682 $as_echo_n "(cached) " >&6
13683 else
13684 ac_check_lib_save_LIBS=$LIBS
13685 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13687 /* end confdefs.h. */
13689 /* Override any GCC internal prototype to avoid an error.
13690 Use char because int might match the return type of a GCC
13691 builtin and then its argument prototype would still apply. */
13692 #ifdef __cplusplus
13693 extern "C"
13694 #endif
13695 char gp_port_info_list_new ();
13697 main ()
13699 return gp_port_info_list_new ();
13701 return 0;
13703 _ACEOF
13704 if ac_fn_c_try_link "$LINENO"; then :
13705 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
13706 else
13707 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
13709 rm -f core conftest.err conftest.$ac_objext \
13710 conftest$ac_exeext conftest.$ac_ext
13711 LIBS=$ac_check_lib_save_LIBS
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
13714 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
13715 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
13717 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
13719 else
13720 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13723 else
13724 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13728 CPPFLAGS=$ac_save_CPPFLAGS
13731 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
13732 case "x$with_gphoto" in
13733 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
13734 xno) ;;
13735 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
13736 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13737 esac
13740 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
13741 case "x$with_gphoto" in
13742 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
13743 xno) ;;
13744 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
13745 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13746 esac
13751 if test "$ac_cv_header_resolv_h" = "yes"
13752 then
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
13754 $as_echo_n "checking for resolver library... " >&6; }
13755 if ${ac_cv_have_resolv+:} false; then :
13756 $as_echo_n "(cached) " >&6
13757 else
13758 ac_save_LIBS="$LIBS"
13759 for lib in '' -lresolv
13761 LIBS="$lib $ac_save_LIBS"
13762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13763 /* end confdefs.h. */
13764 #ifdef HAVE_NETINET_IN_H
13765 #include <netinet/in.h>
13766 #endif
13767 #include <resolv.h>
13769 main ()
13771 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
13773 return 0;
13775 _ACEOF
13776 if ac_fn_c_try_link "$LINENO"; then :
13777 ac_cv_have_resolv=${lib:-"none required"}
13778 else
13779 ac_cv_have_resolv="not found"
13781 rm -f core conftest.err conftest.$ac_objext \
13782 conftest$ac_exeext conftest.$ac_ext
13783 test "x$ac_cv_have_resolv" = "xnot found" || break
13784 done
13785 LIBS="$ac_save_LIBS"
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
13788 $as_echo "$ac_cv_have_resolv" >&6; }
13790 case "$ac_cv_have_resolv" in
13791 "not found") ;;
13792 "none required")
13794 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
13797 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
13799 RESOLV_LIBS=$ac_cv_have_resolv
13801 esac
13803 if test "x$ac_cv_have_resolv" != "xnot found"
13804 then
13805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
13806 $as_echo_n "checking for res_getservers... " >&6; }
13807 if ${ac_cv_have_res_getservers+:} false; then :
13808 $as_echo_n "(cached) " >&6
13809 else
13810 ac_save_LIBS="$LIBS"
13811 LIBS="$RESOLV_LIBS $LIBS"
13812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13813 /* end confdefs.h. */
13814 #include <resolv.h>
13816 main ()
13818 res_getservers(NULL, NULL, 0);
13820 return 0;
13822 _ACEOF
13823 if ac_fn_c_try_link "$LINENO"; then :
13824 ac_cv_have_res_getservers=yes
13825 else
13826 ac_cv_have_res_getservers=no
13828 rm -f core conftest.err conftest.$ac_objext \
13829 conftest$ac_exeext conftest.$ac_ext
13830 LIBS="$ac_save_LIBS"
13832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
13833 $as_echo "$ac_cv_have_res_getservers" >&6; }
13834 if test "$ac_cv_have_res_getservers" = "yes"
13835 then
13837 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
13843 if test "x$with_freetype" != "xno"
13844 then
13845 if ${FREETYPE_CFLAGS:+false} :; then :
13846 if ${PKG_CONFIG+:} false; then :
13847 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
13850 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
13851 if ${FREETYPE_LIBS:+false} :; then :
13852 if ${PKG_CONFIG+:} false; then :
13853 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
13856 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
13857 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
13858 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
13859 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
13860 ac_save_CPPFLAGS=$CPPFLAGS
13861 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
13862 for ac_header in ft2build.h
13863 do :
13864 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
13865 if test "x$ac_cv_header_ft2build_h" = xyes; then :
13866 cat >>confdefs.h <<_ACEOF
13867 #define HAVE_FT2BUILD_H 1
13868 _ACEOF
13872 done
13874 if test "$ac_cv_header_ft2build_h" = "yes"
13875 then
13876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
13877 $as_echo_n "checking for -lfreetype... " >&6; }
13878 if ${ac_cv_lib_soname_freetype+:} false; then :
13879 $as_echo_n "(cached) " >&6
13880 else
13881 ac_check_soname_save_LIBS=$LIBS
13882 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
13883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13884 /* end confdefs.h. */
13886 /* Override any GCC internal prototype to avoid an error.
13887 Use char because int might match the return type of a GCC
13888 builtin and then its argument prototype would still apply. */
13889 #ifdef __cplusplus
13890 extern "C"
13891 #endif
13892 char FT_Init_FreeType ();
13894 main ()
13896 return FT_Init_FreeType ();
13898 return 0;
13900 _ACEOF
13901 if ac_fn_c_try_link "$LINENO"; then :
13902 case "$LIBEXT" in
13903 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13904 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'` ;;
13905 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13906 if ${ac_cv_lib_soname_freetype:+false} :; then :
13907 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13908 fi ;;
13909 esac
13910 else
13911 ac_cv_lib_soname_freetype=
13913 rm -f core conftest.err conftest.$ac_objext \
13914 conftest$ac_exeext conftest.$ac_ext
13915 LIBS=$ac_check_soname_save_LIBS
13917 if ${ac_cv_lib_soname_freetype:+false} :; then :
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13919 $as_echo "not found" >&6; }
13920 FREETYPE_LIBS=""
13921 else
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
13923 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
13925 cat >>confdefs.h <<_ACEOF
13926 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13927 _ACEOF
13930 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
13932 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
13933 #include FT_MODULE_H
13935 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
13937 cat >>confdefs.h <<_ACEOF
13938 #define HAVE_FT_TRUETYPEENGINETYPE 1
13939 _ACEOF
13945 else
13946 FREETYPE_CFLAGS=""
13947 FREETYPE_LIBS=""
13949 CPPFLAGS=$ac_save_CPPFLAGS
13952 if test "x$ac_cv_lib_soname_freetype" = x; then :
13953 case "x$with_freetype" in
13954 xno) ;;
13955 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
13956 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
13957 esac
13958 enable_fonts=${enable_fonts:-no}
13961 ac_wine_check_funcs_save_LIBS="$LIBS"
13962 LIBS="$LIBS $PTHREAD_LIBS"
13963 for ac_func in \
13964 pthread_getthreadid_np
13965 do :
13966 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13967 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13968 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13969 cat >>confdefs.h <<_ACEOF
13970 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13971 _ACEOF
13974 done
13976 LIBS="$ac_wine_check_funcs_save_LIBS"
13978 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
13979 then
13980 if test "$ac_cv_header_gettext_po_h" = "yes"
13981 then
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
13983 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
13984 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
13985 $as_echo_n "(cached) " >&6
13986 else
13987 ac_check_lib_save_LIBS=$LIBS
13988 LIBS="-lgettextpo $LIBS"
13989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13990 /* end confdefs.h. */
13992 /* Override any GCC internal prototype to avoid an error.
13993 Use char because int might match the return type of a GCC
13994 builtin and then its argument prototype would still apply. */
13995 #ifdef __cplusplus
13996 extern "C"
13997 #endif
13998 char po_message_msgctxt ();
14000 main ()
14002 return po_message_msgctxt ();
14004 return 0;
14006 _ACEOF
14007 if ac_fn_c_try_link "$LINENO"; then :
14008 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14009 else
14010 ac_cv_lib_gettextpo_po_message_msgctxt=no
14012 rm -f core conftest.err conftest.$ac_objext \
14013 conftest$ac_exeext conftest.$ac_ext
14014 LIBS=$ac_check_lib_save_LIBS
14016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14017 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14018 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14020 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14022 GETTEXTPO_LIBS="-lgettextpo"
14027 if test "x$GETTEXTPO_LIBS" = "x"; then :
14028 case "x$with_gettextpo" in
14029 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14030 xno) ;;
14031 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14032 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14033 esac
14036 if test "$srcdir" != .; then :
14037 case "x$with_gettextpo" in
14038 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14039 xno) ;;
14040 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14041 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14042 esac
14047 if test "x$with_pulse" != "xno";
14048 then
14049 if ${PULSE_CFLAGS:+false} :; then :
14050 if ${PKG_CONFIG+:} false; then :
14051 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14055 if ${PULSE_LIBS:+false} :; then :
14056 if ${PKG_CONFIG+:} false; then :
14057 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14062 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14063 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14064 ac_save_CPPFLAGS=$CPPFLAGS
14065 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14066 for ac_header in pulse/pulseaudio.h
14067 do :
14068 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14069 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14070 cat >>confdefs.h <<_ACEOF
14071 #define HAVE_PULSE_PULSEAUDIO_H 1
14072 _ACEOF
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14074 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14075 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14076 $as_echo_n "(cached) " >&6
14077 else
14078 ac_check_lib_save_LIBS=$LIBS
14079 LIBS="-lpulse $PULSE_LIBS $LIBS"
14080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14081 /* end confdefs.h. */
14083 /* Override any GCC internal prototype to avoid an error.
14084 Use char because int might match the return type of a GCC
14085 builtin and then its argument prototype would still apply. */
14086 #ifdef __cplusplus
14087 extern "C"
14088 #endif
14089 char pa_stream_is_corked ();
14091 main ()
14093 return pa_stream_is_corked ();
14095 return 0;
14097 _ACEOF
14098 if ac_fn_c_try_link "$LINENO"; then :
14099 ac_cv_lib_pulse_pa_stream_is_corked=yes
14100 else
14101 ac_cv_lib_pulse_pa_stream_is_corked=no
14103 rm -f core conftest.err conftest.$ac_objext \
14104 conftest$ac_exeext conftest.$ac_ext
14105 LIBS=$ac_check_lib_save_LIBS
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14108 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14109 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14111 else
14112 PULSE_LIBS=""
14115 else
14116 PULSE_LIBS=""
14119 done
14121 CPPFLAGS=$ac_save_CPPFLAGS
14124 if test -z "$PULSE_LIBS"; then :
14125 case "x$with_pulse" in
14126 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14127 xno) ;;
14128 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14129 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14130 esac
14131 enable_winepulse_drv=${enable_winepulse_drv:-no}
14134 if test "x$with_gstreamer" != "xno"
14135 then
14136 if ${GSTREAMER_CFLAGS:+false} :; then :
14137 if ${PKG_CONFIG+:} false; then :
14138 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14142 if ${GSTREAMER_LIBS:+false} :; then :
14143 if ${PKG_CONFIG+:} false; then :
14144 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14149 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14150 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14151 ac_save_CPPFLAGS=$CPPFLAGS
14152 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14153 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14154 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14156 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14158 /* end confdefs.h. */
14159 #include <gst/gst.h>
14161 main ()
14163 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14165 return 0;
14167 _ACEOF
14168 if ac_fn_c_try_compile "$LINENO"; then :
14169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14170 $as_echo "yes" >&6; }
14171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14172 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14173 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14174 $as_echo_n "(cached) " >&6
14175 else
14176 ac_check_lib_save_LIBS=$LIBS
14177 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14179 /* end confdefs.h. */
14181 /* Override any GCC internal prototype to avoid an error.
14182 Use char because int might match the return type of a GCC
14183 builtin and then its argument prototype would still apply. */
14184 #ifdef __cplusplus
14185 extern "C"
14186 #endif
14187 char gst_pad_new ();
14189 main ()
14191 return gst_pad_new ();
14193 return 0;
14195 _ACEOF
14196 if ac_fn_c_try_link "$LINENO"; then :
14197 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14198 else
14199 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14201 rm -f core conftest.err conftest.$ac_objext \
14202 conftest$ac_exeext conftest.$ac_ext
14203 LIBS=$ac_check_lib_save_LIBS
14205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14206 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14207 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14211 else
14212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14213 $as_echo "no" >&6; }
14214 ac_glib2_broken=yes
14215 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14221 CPPFLAGS=$ac_save_CPPFLAGS
14224 if test "x$with_gstreamer" = xyes -o "x$with_quicktime" = xno -o "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
14225 then
14226 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes; then :
14227 case "x$with_gstreamer" in
14228 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14229 xno) ;;
14230 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14231 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14232 esac
14236 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14238 ALSA_LIBS=""
14240 if test "x$with_alsa" != "xno"
14241 then
14242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14243 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14244 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14245 $as_echo_n "(cached) " >&6
14246 else
14247 ac_check_lib_save_LIBS=$LIBS
14248 LIBS="-lasound $LIBS"
14249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14250 /* end confdefs.h. */
14252 /* Override any GCC internal prototype to avoid an error.
14253 Use char because int might match the return type of a GCC
14254 builtin and then its argument prototype would still apply. */
14255 #ifdef __cplusplus
14256 extern "C"
14257 #endif
14258 char snd_pcm_hw_params_get_access_mask ();
14260 main ()
14262 return snd_pcm_hw_params_get_access_mask ();
14264 return 0;
14266 _ACEOF
14267 if ac_fn_c_try_link "$LINENO"; then :
14268 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14269 else
14270 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14272 rm -f core conftest.err conftest.$ac_objext \
14273 conftest$ac_exeext conftest.$ac_ext
14274 LIBS=$ac_check_lib_save_LIBS
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14277 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14278 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14280 /* end confdefs.h. */
14281 #include <alsa/asoundlib.h>
14283 main ()
14285 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14287 return 0;
14289 _ACEOF
14290 if ac_fn_c_try_compile "$LINENO"; then :
14291 ALSA_LIBS="-lasound"
14293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14297 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14299 if test "x$with_oss" != xno
14300 then
14301 ac_save_CPPFLAGS="$CPPFLAGS"
14302 if test -f /etc/oss.conf
14303 then
14304 . /etc/oss.conf
14306 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14307 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14308 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14309 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14310 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14312 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14314 cat >>confdefs.h <<_ACEOF
14315 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14316 _ACEOF
14318 OSS4_CFLAGS="$ac_oss_incl"
14320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14321 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14322 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14323 $as_echo_n "(cached) " >&6
14324 else
14325 ac_check_lib_save_LIBS=$LIBS
14326 LIBS="-lossaudio $LIBS"
14327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14328 /* end confdefs.h. */
14330 /* Override any GCC internal prototype to avoid an error.
14331 Use char because int might match the return type of a GCC
14332 builtin and then its argument prototype would still apply. */
14333 #ifdef __cplusplus
14334 extern "C"
14335 #endif
14336 char _oss_ioctl ();
14338 main ()
14340 return _oss_ioctl ();
14342 return 0;
14344 _ACEOF
14345 if ac_fn_c_try_link "$LINENO"; then :
14346 ac_cv_lib_ossaudio__oss_ioctl=yes
14347 else
14348 ac_cv_lib_ossaudio__oss_ioctl=no
14350 rm -f core conftest.err conftest.$ac_objext \
14351 conftest$ac_exeext conftest.$ac_ext
14352 LIBS=$ac_check_lib_save_LIBS
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14355 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14356 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14357 OSS4_LIBS="-lossaudio"
14366 CPPFLAGS="$ac_save_CPPFLAGS"
14368 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14369 case "x$with_oss" in
14370 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14371 xno) ;;
14372 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14373 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14374 esac
14375 enable_wineoss_drv=${enable_wineoss_drv:-no}
14378 if test "x$with_udev" != "xno"
14379 then
14380 if ${UDEV_CFLAGS:+false} :; then :
14381 if ${PKG_CONFIG+:} false; then :
14382 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14386 if ${UDEV_LIBS:+false} :; then :
14387 if ${PKG_CONFIG+:} false; then :
14388 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14392 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14393 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14394 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14395 ac_save_CPPFLAGS=$CPPFLAGS
14396 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14397 for ac_header in libudev.h
14398 do :
14399 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14400 if test "x$ac_cv_header_libudev_h" = xyes; then :
14401 cat >>confdefs.h <<_ACEOF
14402 #define HAVE_LIBUDEV_H 1
14403 _ACEOF
14404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14405 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14406 if ${ac_cv_lib_udev_udev_new+:} false; then :
14407 $as_echo_n "(cached) " >&6
14408 else
14409 ac_check_lib_save_LIBS=$LIBS
14410 LIBS="-ludev $UDEV_LIBS $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 udev_new ();
14422 main ()
14424 return udev_new ();
14426 return 0;
14428 _ACEOF
14429 if ac_fn_c_try_link "$LINENO"; then :
14430 ac_cv_lib_udev_udev_new=yes
14431 else
14432 ac_cv_lib_udev_udev_new=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_udev_udev_new" >&5
14439 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14440 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14442 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14444 else
14445 UDEV_LIBS=""
14448 else
14449 UDEV_LIBS=""
14452 done
14454 CPPFLAGS=$ac_save_CPPFLAGS
14457 if test "x$UDEV_LIBS" = "x"; then :
14458 case "x$with_udev" in
14459 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14460 xno) ;;
14461 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14462 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14463 esac
14467 if test "x$with_unwind" != xno
14468 then
14469 if ${UNWIND_CFLAGS:+false} :; then :
14470 if ${PKG_CONFIG+:} false; then :
14471 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14475 if ${UNWIND_LIBS:+false} :; then :
14476 if ${PKG_CONFIG+:} false; then :
14477 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14481 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14482 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14483 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14484 ac_save_CPPFLAGS=$CPPFLAGS
14485 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14487 $as_echo_n "checking for unw_step... " >&6; }
14488 if ${wine_cv_have_unw_step+:} false; then :
14489 $as_echo_n "(cached) " >&6
14490 else
14491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14492 /* end confdefs.h. */
14493 #define UNW_LOCAL_ONLY
14494 #include <libunwind.h>
14496 main ()
14498 unw_cursor_t cursor; unw_step( &cursor );
14500 return 0;
14502 _ACEOF
14503 if ac_fn_c_try_link "$LINENO"; then :
14504 wine_cv_have_unw_step="yes"
14505 else
14506 wine_cv_have_unw_step="no"
14508 rm -f core conftest.err conftest.$ac_objext \
14509 conftest$ac_exeext conftest.$ac_ext
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14512 $as_echo "$wine_cv_have_unw_step" >&6; }
14513 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14514 then
14515 save_libs=$LIBS
14516 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
14517 LIBS="$UNWIND_LIBS $LIBS"
14518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14519 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14520 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14521 $as_echo_n "(cached) " >&6
14522 else
14523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14524 /* end confdefs.h. */
14525 #define UNW_LOCAL_ONLY
14526 #include <libunwind.h>
14528 main ()
14530 unw_cursor_t cursor; unw_step( &cursor );
14532 return 0;
14534 _ACEOF
14535 if ac_fn_c_try_link "$LINENO"; then :
14536 wine_cv_have_libunwind_unw_step="yes"
14537 else
14538 wine_cv_have_libunwind_unw_step="no"
14540 rm -f core conftest.err conftest.$ac_objext \
14541 conftest$ac_exeext conftest.$ac_ext
14543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
14544 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
14545 LIBS=$save_libs
14547 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
14548 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
14549 then
14551 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
14554 CPPFLAGS=$ac_save_CPPFLAGS
14557 case $host in
14558 aarch64*|*-darwin*)
14559 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
14560 case "x$with_unwind" in
14561 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
14562 xno) ;;
14563 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
14564 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
14565 esac
14567 fi ;;
14568 esac
14570 if test "x$with_sdl" != "xno"
14571 then
14572 if ${SDL2_CFLAGS:+false} :; then :
14573 if ${PKG_CONFIG+:} false; then :
14574 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
14578 if ${SDL2_LIBS:+false} :; then :
14579 if ${PKG_CONFIG+:} false; then :
14580 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
14584 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
14585 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
14586 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
14587 ac_save_CPPFLAGS=$CPPFLAGS
14588 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
14589 for ac_header in SDL.h
14590 do :
14591 ac_fn_c_check_header_mongrel "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
14592 if test "x$ac_cv_header_SDL_h" = xyes; then :
14593 cat >>confdefs.h <<_ACEOF
14594 #define HAVE_SDL_H 1
14595 _ACEOF
14596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
14597 $as_echo_n "checking for -lSDL2... " >&6; }
14598 if ${ac_cv_lib_soname_SDL2+:} false; then :
14599 $as_echo_n "(cached) " >&6
14600 else
14601 ac_check_soname_save_LIBS=$LIBS
14602 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
14603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14604 /* end confdefs.h. */
14606 /* Override any GCC internal prototype to avoid an error.
14607 Use char because int might match the return type of a GCC
14608 builtin and then its argument prototype would still apply. */
14609 #ifdef __cplusplus
14610 extern "C"
14611 #endif
14612 char SDL_Init ();
14614 main ()
14616 return SDL_Init ();
14618 return 0;
14620 _ACEOF
14621 if ac_fn_c_try_link "$LINENO"; then :
14622 case "$LIBEXT" in
14623 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14624 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'` ;;
14625 *) 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'`
14626 if ${ac_cv_lib_soname_SDL2:+false} :; then :
14627 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14628 fi ;;
14629 esac
14630 else
14631 ac_cv_lib_soname_SDL2=
14633 rm -f core conftest.err conftest.$ac_objext \
14634 conftest$ac_exeext conftest.$ac_ext
14635 LIBS=$ac_check_soname_save_LIBS
14637 if ${ac_cv_lib_soname_SDL2:+false} :; then :
14638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14639 $as_echo "not found" >&6; }
14641 else
14642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
14643 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
14645 cat >>confdefs.h <<_ACEOF
14646 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
14647 _ACEOF
14653 done
14655 CPPFLAGS=$ac_save_CPPFLAGS
14658 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
14659 case "x$with_sdl" in
14660 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
14661 xno) ;;
14662 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
14663 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
14664 esac
14668 if test "x$with_capi" != "xno"
14669 then
14670 if ${CAPI20_CFLAGS:+false} :; then :
14671 if ${PKG_CONFIG+:} false; then :
14672 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
14676 if ${CAPI20_LIBS:+false} :; then :
14677 if ${PKG_CONFIG+:} false; then :
14678 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
14683 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
14684 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
14685 ac_save_CPPFLAGS=$CPPFLAGS
14686 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
14687 for ac_header in capi20.h linux/capi.h
14688 do :
14689 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14690 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
14692 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14693 cat >>confdefs.h <<_ACEOF
14694 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14695 _ACEOF
14699 done
14701 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14702 then
14703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
14704 $as_echo_n "checking for -lcapi20... " >&6; }
14705 if ${ac_cv_lib_soname_capi20+:} false; then :
14706 $as_echo_n "(cached) " >&6
14707 else
14708 ac_check_soname_save_LIBS=$LIBS
14709 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
14710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14711 /* end confdefs.h. */
14713 /* Override any GCC internal prototype to avoid an error.
14714 Use char because int might match the return type of a GCC
14715 builtin and then its argument prototype would still apply. */
14716 #ifdef __cplusplus
14717 extern "C"
14718 #endif
14719 char capi20_register ();
14721 main ()
14723 return capi20_register ();
14725 return 0;
14727 _ACEOF
14728 if ac_fn_c_try_link "$LINENO"; then :
14729 case "$LIBEXT" in
14730 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14731 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'` ;;
14732 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14733 if ${ac_cv_lib_soname_capi20:+false} :; then :
14734 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14735 fi ;;
14736 esac
14737 else
14738 ac_cv_lib_soname_capi20=
14740 rm -f core conftest.err conftest.$ac_objext \
14741 conftest$ac_exeext conftest.$ac_ext
14742 LIBS=$ac_check_soname_save_LIBS
14744 if ${ac_cv_lib_soname_capi20:+false} :; then :
14745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14746 $as_echo "not found" >&6; }
14748 else
14749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
14750 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
14752 cat >>confdefs.h <<_ACEOF
14753 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14754 _ACEOF
14759 CPPFLAGS=$ac_save_CPPFLAGS
14762 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
14763 case "x$with_capi" in
14764 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
14765 xno) ;;
14766 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
14767 This is an error since --with-capi was requested." "$LINENO" 5 ;;
14768 esac
14772 if test "x$with_cups" != "xno"
14773 then
14774 if ${CUPS_CFLAGS:+false} :; then :
14775 if ${PKG_CONFIG+:} false; then :
14776 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
14779 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
14780 if ${CUPS_LIBS:+false} :; then :
14781 if ${PKG_CONFIG+:} false; then :
14782 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
14785 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
14786 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
14787 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
14788 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
14789 ac_save_CPPFLAGS=$CPPFLAGS
14790 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
14791 for ac_header in cups/cups.h cups/ppd.h
14792 do :
14793 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14794 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14795 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14796 cat >>confdefs.h <<_ACEOF
14797 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14798 _ACEOF
14802 done
14804 if test "$ac_cv_header_cups_cups_h" = "yes"
14805 then
14806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
14807 $as_echo_n "checking for -lcups... " >&6; }
14808 if ${ac_cv_lib_soname_cups+:} false; then :
14809 $as_echo_n "(cached) " >&6
14810 else
14811 ac_check_soname_save_LIBS=$LIBS
14812 LIBS="-lcups $CUPS_LIBS $LIBS"
14813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14814 /* end confdefs.h. */
14816 /* Override any GCC internal prototype to avoid an error.
14817 Use char because int might match the return type of a GCC
14818 builtin and then its argument prototype would still apply. */
14819 #ifdef __cplusplus
14820 extern "C"
14821 #endif
14822 char cupsGetDefault ();
14824 main ()
14826 return cupsGetDefault ();
14828 return 0;
14830 _ACEOF
14831 if ac_fn_c_try_link "$LINENO"; then :
14832 case "$LIBEXT" in
14833 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14834 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'` ;;
14835 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14836 if ${ac_cv_lib_soname_cups:+false} :; then :
14837 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14838 fi ;;
14839 esac
14840 else
14841 ac_cv_lib_soname_cups=
14843 rm -f core conftest.err conftest.$ac_objext \
14844 conftest$ac_exeext conftest.$ac_ext
14845 LIBS=$ac_check_soname_save_LIBS
14847 if ${ac_cv_lib_soname_cups:+false} :; then :
14848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14849 $as_echo "not found" >&6; }
14850 CUPS_LIBS=""
14851 else
14852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
14853 $as_echo "$ac_cv_lib_soname_cups" >&6; }
14855 cat >>confdefs.h <<_ACEOF
14856 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14857 _ACEOF
14861 else
14862 CUPS_CFLAGS=""
14863 CUPS_LIBS=""
14865 CPPFLAGS=$ac_save_CPPFLAGS
14868 if test "x$ac_cv_lib_soname_cups" = "x"; then :
14869 case "x$with_cups" in
14870 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
14871 xno) ;;
14872 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
14873 This is an error since --with-cups was requested." "$LINENO" 5 ;;
14874 esac
14878 if test "x$with_fontconfig" != "xno"
14879 then
14880 if ${FONTCONFIG_CFLAGS:+false} :; then :
14881 if ${PKG_CONFIG+:} false; then :
14882 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
14885 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
14886 if ${FONTCONFIG_LIBS:+false} :; then :
14887 if ${PKG_CONFIG+:} false; then :
14888 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
14891 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
14893 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
14894 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
14895 ac_save_CPPFLAGS=$CPPFLAGS
14896 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
14897 for ac_header in fontconfig/fontconfig.h
14898 do :
14899 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
14900 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
14901 cat >>confdefs.h <<_ACEOF
14902 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
14903 _ACEOF
14907 done
14909 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14910 then
14911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
14912 $as_echo_n "checking for -lfontconfig... " >&6; }
14913 if ${ac_cv_lib_soname_fontconfig+:} false; then :
14914 $as_echo_n "(cached) " >&6
14915 else
14916 ac_check_soname_save_LIBS=$LIBS
14917 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
14918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14919 /* end confdefs.h. */
14921 /* Override any GCC internal prototype to avoid an error.
14922 Use char because int might match the return type of a GCC
14923 builtin and then its argument prototype would still apply. */
14924 #ifdef __cplusplus
14925 extern "C"
14926 #endif
14927 char FcInit ();
14929 main ()
14931 return FcInit ();
14933 return 0;
14935 _ACEOF
14936 if ac_fn_c_try_link "$LINENO"; then :
14937 case "$LIBEXT" in
14938 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14939 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'` ;;
14940 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14941 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
14942 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14943 fi ;;
14944 esac
14945 else
14946 ac_cv_lib_soname_fontconfig=
14948 rm -f core conftest.err conftest.$ac_objext \
14949 conftest$ac_exeext conftest.$ac_ext
14950 LIBS=$ac_check_soname_save_LIBS
14952 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
14953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14954 $as_echo "not found" >&6; }
14955 FONTCONFIG_CFLAGS=""
14956 else
14957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
14958 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
14960 cat >>confdefs.h <<_ACEOF
14961 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14962 _ACEOF
14966 else
14967 FONTCONFIG_CFLAGS=""
14969 CPPFLAGS=$ac_save_CPPFLAGS
14972 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
14973 case "x$with_fontconfig" in
14974 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
14975 xno) ;;
14976 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
14977 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
14978 esac
14982 if test "x$with_krb5" != "xno"
14983 then
14984 if ${KRB5_CFLAGS:+false} :; then :
14985 if ${PKG_CONFIG+:} false; then :
14986 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
14989 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
14990 if ${KRB5_LIBS:+false} :; then :
14991 if ${PKG_CONFIG+:} false; then :
14992 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
14995 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
14997 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
14998 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
14999 ac_save_CPPFLAGS=$CPPFLAGS
15000 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15001 for ac_header in krb5/krb5.h
15002 do :
15003 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15004 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15005 cat >>confdefs.h <<_ACEOF
15006 #define HAVE_KRB5_KRB5_H 1
15007 _ACEOF
15011 done
15013 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15014 then
15015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15016 $as_echo_n "checking for -lkrb5... " >&6; }
15017 if ${ac_cv_lib_soname_krb5+:} false; then :
15018 $as_echo_n "(cached) " >&6
15019 else
15020 ac_check_soname_save_LIBS=$LIBS
15021 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15023 /* end confdefs.h. */
15025 /* Override any GCC internal prototype to avoid an error.
15026 Use char because int might match the return type of a GCC
15027 builtin and then its argument prototype would still apply. */
15028 #ifdef __cplusplus
15029 extern "C"
15030 #endif
15031 char krb5_is_config_principal ();
15033 main ()
15035 return krb5_is_config_principal ();
15037 return 0;
15039 _ACEOF
15040 if ac_fn_c_try_link "$LINENO"; then :
15041 case "$LIBEXT" in
15042 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15043 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'` ;;
15044 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15045 if ${ac_cv_lib_soname_krb5:+false} :; then :
15046 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15047 fi ;;
15048 esac
15049 else
15050 ac_cv_lib_soname_krb5=
15052 rm -f core conftest.err conftest.$ac_objext \
15053 conftest$ac_exeext conftest.$ac_ext
15054 LIBS=$ac_check_soname_save_LIBS
15056 if ${ac_cv_lib_soname_krb5:+false} :; then :
15057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15058 $as_echo "not found" >&6; }
15059 KRB5_CFLAGS=""
15060 else
15061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15062 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15064 cat >>confdefs.h <<_ACEOF
15065 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15066 _ACEOF
15070 else
15071 KRB5_CFLAGS=""
15073 CPPFLAGS=$ac_save_CPPFLAGS
15076 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15077 case "x$with_krb5" in
15078 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15079 xno) ;;
15080 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15081 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15082 esac
15085 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15087 if test "x$with_gssapi" != "xno"
15088 then
15089 if ${GSSAPI_CFLAGS:+false} :; then :
15090 if ${PKG_CONFIG+:} false; then :
15091 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15094 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15095 if ${GSSAPI_LIBS:+false} :; then :
15096 if ${PKG_CONFIG+:} false; then :
15097 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15100 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15102 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15103 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15104 ac_save_CPPFLAGS=$CPPFLAGS
15105 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15106 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15107 do :
15108 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15109 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15110 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15111 cat >>confdefs.h <<_ACEOF
15112 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15113 _ACEOF
15117 done
15119 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15120 then
15121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15122 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15123 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15124 $as_echo_n "(cached) " >&6
15125 else
15126 ac_check_soname_save_LIBS=$LIBS
15127 LIBS="-lgssapi_krb5 $GSSAPI_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 gss_init_sec_context ();
15139 main ()
15141 return gss_init_sec_context ();
15143 return 0;
15145 _ACEOF
15146 if ac_fn_c_try_link "$LINENO"; then :
15147 case "$LIBEXT" in
15148 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15149 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'` ;;
15150 *) 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'`
15151 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15152 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15153 fi ;;
15154 esac
15155 else
15156 ac_cv_lib_soname_gssapi_krb5=
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_gssapi_krb5:+false} :; then :
15163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15164 $as_echo "not found" >&6; }
15165 GSSAPI_CFLAGS=""
15166 else
15167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15168 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15170 cat >>confdefs.h <<_ACEOF
15171 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15172 _ACEOF
15176 else
15177 GSSAPI_CFLAGS=""
15179 CPPFLAGS=$ac_save_CPPFLAGS
15182 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15183 case "x$with_gssapi" in
15184 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15185 xno) ;;
15186 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15187 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15188 esac
15192 if test "x$with_jpeg" != "xno"
15193 then
15194 if ${JPEG_CFLAGS:+false} :; then :
15195 if ${PKG_CONFIG+:} false; then :
15196 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15200 if ${JPEG_LIBS:+false} :; then :
15201 if ${PKG_CONFIG+:} false; then :
15202 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15207 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15208 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15209 ac_save_CPPFLAGS=$CPPFLAGS
15210 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15211 for ac_header in jpeglib.h
15212 do :
15213 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15214 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15215 cat >>confdefs.h <<_ACEOF
15216 #define HAVE_JPEGLIB_H 1
15217 _ACEOF
15221 done
15223 if test "$ac_cv_header_jpeglib_h" = "yes"
15224 then
15225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15226 $as_echo_n "checking for -ljpeg... " >&6; }
15227 if ${ac_cv_lib_soname_jpeg+:} false; then :
15228 $as_echo_n "(cached) " >&6
15229 else
15230 ac_check_soname_save_LIBS=$LIBS
15231 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15233 /* end confdefs.h. */
15235 /* Override any GCC internal prototype to avoid an error.
15236 Use char because int might match the return type of a GCC
15237 builtin and then its argument prototype would still apply. */
15238 #ifdef __cplusplus
15239 extern "C"
15240 #endif
15241 char jpeg_start_decompress ();
15243 main ()
15245 return jpeg_start_decompress ();
15247 return 0;
15249 _ACEOF
15250 if ac_fn_c_try_link "$LINENO"; then :
15251 case "$LIBEXT" in
15252 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15253 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'` ;;
15254 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15255 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15256 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15257 fi ;;
15258 esac
15259 else
15260 ac_cv_lib_soname_jpeg=
15262 rm -f core conftest.err conftest.$ac_objext \
15263 conftest$ac_exeext conftest.$ac_ext
15264 LIBS=$ac_check_soname_save_LIBS
15266 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15268 $as_echo "not found" >&6; }
15269 JPEG_CFLAGS=""
15270 else
15271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15272 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15274 cat >>confdefs.h <<_ACEOF
15275 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15276 _ACEOF
15280 else
15281 JPEG_CFLAGS=""
15283 CPPFLAGS=$ac_save_CPPFLAGS
15286 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15287 case "x$with_jpeg" in
15288 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15289 xno) ;;
15290 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15291 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15292 esac
15296 if test "$ac_cv_header_AL_al_h" = "yes"
15297 then
15298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
15299 $as_echo_n "checking for -lopenal... " >&6; }
15300 if ${ac_cv_lib_soname_openal+:} false; then :
15301 $as_echo_n "(cached) " >&6
15302 else
15303 ac_check_soname_save_LIBS=$LIBS
15304 LIBS="-lopenal $LIBS"
15305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15306 /* end confdefs.h. */
15308 /* Override any GCC internal prototype to avoid an error.
15309 Use char because int might match the return type of a GCC
15310 builtin and then its argument prototype would still apply. */
15311 #ifdef __cplusplus
15312 extern "C"
15313 #endif
15314 char alGetSource3i ();
15316 main ()
15318 return alGetSource3i ();
15320 return 0;
15322 _ACEOF
15323 if ac_fn_c_try_link "$LINENO"; then :
15324 case "$LIBEXT" in
15325 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15326 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'` ;;
15327 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15328 if ${ac_cv_lib_soname_openal:+false} :; then :
15329 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15330 fi ;;
15331 esac
15332 else
15333 ac_cv_lib_soname_openal=
15335 rm -f core conftest.err conftest.$ac_objext \
15336 conftest$ac_exeext conftest.$ac_ext
15337 LIBS=$ac_check_soname_save_LIBS
15339 if ${ac_cv_lib_soname_openal:+false} :; then :
15340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15341 $as_echo "not found" >&6; }
15343 else
15344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
15345 $as_echo "$ac_cv_lib_soname_openal" >&6; }
15347 cat >>confdefs.h <<_ACEOF
15348 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
15349 _ACEOF
15351 OPENAL_LIBS="-lopenal"
15353 ac_cv_lib_openal=yes
15355 cat >>confdefs.h <<_ACEOF
15356 #define HAVE_OPENAL 1
15357 _ACEOF
15361 if test "x$ac_cv_lib_openal" != xyes; then :
15362 case "x$with_openal" in
15363 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
15364 xno) ;;
15365 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
15366 This is an error since --with-openal was requested." "$LINENO" 5 ;;
15367 esac
15368 enable_openal32=${enable_openal32:-no}
15371 if test "$ac_cv_header_libprocstat_h" = "yes"
15372 then
15373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
15374 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
15375 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
15376 $as_echo_n "(cached) " >&6
15377 else
15378 ac_check_lib_save_LIBS=$LIBS
15379 LIBS="-lprocstat $LIBS"
15380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15381 /* end confdefs.h. */
15383 /* Override any GCC internal prototype to avoid an error.
15384 Use char because int might match the return type of a GCC
15385 builtin and then its argument prototype would still apply. */
15386 #ifdef __cplusplus
15387 extern "C"
15388 #endif
15389 char procstat_open_sysctl ();
15391 main ()
15393 return procstat_open_sysctl ();
15395 return 0;
15397 _ACEOF
15398 if ac_fn_c_try_link "$LINENO"; then :
15399 ac_cv_lib_procstat_procstat_open_sysctl=yes
15400 else
15401 ac_cv_lib_procstat_procstat_open_sysctl=no
15403 rm -f core conftest.err conftest.$ac_objext \
15404 conftest$ac_exeext conftest.$ac_ext
15405 LIBS=$ac_check_lib_save_LIBS
15407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
15408 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
15409 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
15411 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
15413 PROCSTAT_LIBS="-lprocstat"
15419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
15420 $as_echo_n "checking for -lodbc... " >&6; }
15421 if ${ac_cv_lib_soname_odbc+:} false; then :
15422 $as_echo_n "(cached) " >&6
15423 else
15424 ac_check_soname_save_LIBS=$LIBS
15425 LIBS="-lodbc $LIBS"
15426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15427 /* end confdefs.h. */
15429 /* Override any GCC internal prototype to avoid an error.
15430 Use char because int might match the return type of a GCC
15431 builtin and then its argument prototype would still apply. */
15432 #ifdef __cplusplus
15433 extern "C"
15434 #endif
15435 char SQLConnect ();
15437 main ()
15439 return SQLConnect ();
15441 return 0;
15443 _ACEOF
15444 if ac_fn_c_try_link "$LINENO"; then :
15445 case "$LIBEXT" in
15446 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15447 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'` ;;
15448 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15449 if ${ac_cv_lib_soname_odbc:+false} :; then :
15450 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15451 fi ;;
15452 esac
15453 else
15454 ac_cv_lib_soname_odbc=
15456 rm -f core conftest.err conftest.$ac_objext \
15457 conftest$ac_exeext conftest.$ac_ext
15458 LIBS=$ac_check_soname_save_LIBS
15460 if ${ac_cv_lib_soname_odbc:+false} :; then :
15461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15462 $as_echo "not found" >&6; }
15463 cat >>confdefs.h <<_ACEOF
15464 #define SONAME_LIBODBC "libodbc.$LIBEXT"
15465 _ACEOF
15467 else
15468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
15469 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
15471 cat >>confdefs.h <<_ACEOF
15472 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
15473 _ACEOF
15478 if test "x$with_netapi" != "xno"
15479 then
15480 if ${NETAPI_CFLAGS:+false} :; then :
15481 if ${PKG_CONFIG+:} false; then :
15482 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
15486 if ${NETAPI_LIBS:+false} :; then :
15487 if ${PKG_CONFIG+:} false; then :
15488 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
15493 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
15494 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
15495 ac_save_CPPFLAGS=$CPPFLAGS
15496 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
15497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
15498 $as_echo_n "checking for -lnetapi... " >&6; }
15499 if ${ac_cv_lib_soname_netapi+:} false; then :
15500 $as_echo_n "(cached) " >&6
15501 else
15502 ac_check_soname_save_LIBS=$LIBS
15503 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
15504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15505 /* end confdefs.h. */
15507 /* Override any GCC internal prototype to avoid an error.
15508 Use char because int might match the return type of a GCC
15509 builtin and then its argument prototype would still apply. */
15510 #ifdef __cplusplus
15511 extern "C"
15512 #endif
15513 char libnetapi_init ();
15515 main ()
15517 return libnetapi_init ();
15519 return 0;
15521 _ACEOF
15522 if ac_fn_c_try_link "$LINENO"; then :
15523 case "$LIBEXT" in
15524 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15525 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'` ;;
15526 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15527 if ${ac_cv_lib_soname_netapi:+false} :; then :
15528 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15529 fi ;;
15530 esac
15531 else
15532 ac_cv_lib_soname_netapi=
15534 rm -f core conftest.err conftest.$ac_objext \
15535 conftest$ac_exeext conftest.$ac_ext
15536 LIBS=$ac_check_soname_save_LIBS
15538 if ${ac_cv_lib_soname_netapi:+false} :; then :
15539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15540 $as_echo "not found" >&6; }
15541 cat >>confdefs.h <<_ACEOF
15542 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
15543 _ACEOF
15545 else
15546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
15547 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
15549 cat >>confdefs.h <<_ACEOF
15550 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
15551 _ACEOF
15555 CPPFLAGS=$ac_save_CPPFLAGS
15559 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
15560 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
15561 then
15562 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
15565 if test "x$with_vulkan" != "xno"
15566 then
15567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
15568 $as_echo_n "checking for -lvulkan... " >&6; }
15569 if ${ac_cv_lib_soname_vulkan+:} false; then :
15570 $as_echo_n "(cached) " >&6
15571 else
15572 ac_check_soname_save_LIBS=$LIBS
15573 LIBS="-lvulkan $LIBS"
15574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15575 /* end confdefs.h. */
15577 /* Override any GCC internal prototype to avoid an error.
15578 Use char because int might match the return type of a GCC
15579 builtin and then its argument prototype would still apply. */
15580 #ifdef __cplusplus
15581 extern "C"
15582 #endif
15583 char vkGetInstanceProcAddr ();
15585 main ()
15587 return vkGetInstanceProcAddr ();
15589 return 0;
15591 _ACEOF
15592 if ac_fn_c_try_link "$LINENO"; then :
15593 case "$LIBEXT" in
15594 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15595 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'` ;;
15596 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15597 if ${ac_cv_lib_soname_vulkan:+false} :; then :
15598 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15599 fi ;;
15600 esac
15601 else
15602 ac_cv_lib_soname_vulkan=
15604 rm -f core conftest.err conftest.$ac_objext \
15605 conftest$ac_exeext conftest.$ac_ext
15606 LIBS=$ac_check_soname_save_LIBS
15608 if ${ac_cv_lib_soname_vulkan:+false} :; then :
15609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15610 $as_echo "not found" >&6; }
15612 else
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
15614 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
15616 cat >>confdefs.h <<_ACEOF
15617 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
15618 _ACEOF
15622 if test "x$ac_cv_lib_soname_vulkan" = "x"
15623 then
15624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
15625 $as_echo_n "checking for -lMoltenVK... " >&6; }
15626 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
15627 $as_echo_n "(cached) " >&6
15628 else
15629 ac_check_soname_save_LIBS=$LIBS
15630 LIBS="-lMoltenVK $LIBS"
15631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15632 /* end confdefs.h. */
15634 /* Override any GCC internal prototype to avoid an error.
15635 Use char because int might match the return type of a GCC
15636 builtin and then its argument prototype would still apply. */
15637 #ifdef __cplusplus
15638 extern "C"
15639 #endif
15640 char vkGetInstanceProcAddr ();
15642 main ()
15644 return vkGetInstanceProcAddr ();
15646 return 0;
15648 _ACEOF
15649 if ac_fn_c_try_link "$LINENO"; then :
15650 case "$LIBEXT" in
15651 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15652 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'` ;;
15653 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15654 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
15655 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15656 fi ;;
15657 esac
15658 else
15659 ac_cv_lib_soname_MoltenVK=
15661 rm -f core conftest.err conftest.$ac_objext \
15662 conftest$ac_exeext conftest.$ac_ext
15663 LIBS=$ac_check_soname_save_LIBS
15665 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
15666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15667 $as_echo "not found" >&6; }
15669 else
15670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
15671 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
15673 cat >>confdefs.h <<_ACEOF
15674 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
15675 _ACEOF
15681 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
15682 case "x$with_vulkan" in
15683 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
15684 xno) ;;
15685 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
15686 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
15687 esac
15691 if test "x$with_vkd3d" != "xno"
15692 then
15693 if ${VKD3D_CFLAGS:+false} :; then :
15694 if ${PKG_CONFIG+:} false; then :
15695 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
15699 if ${VKD3D_LIBS:+false} :; then :
15700 if ${PKG_CONFIG+:} false; then :
15701 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
15706 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
15707 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
15708 ac_save_CPPFLAGS=$CPPFLAGS
15709 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
15710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
15711 $as_echo_n "checking for -lvkd3d... " >&6; }
15712 if ${ac_cv_lib_soname_vkd3d+:} false; then :
15713 $as_echo_n "(cached) " >&6
15714 else
15715 ac_check_soname_save_LIBS=$LIBS
15716 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
15717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15718 /* end confdefs.h. */
15720 /* Override any GCC internal prototype to avoid an error.
15721 Use char because int might match the return type of a GCC
15722 builtin and then its argument prototype would still apply. */
15723 #ifdef __cplusplus
15724 extern "C"
15725 #endif
15726 char vkd3d_serialize_versioned_root_signature ();
15728 main ()
15730 return vkd3d_serialize_versioned_root_signature ();
15732 return 0;
15734 _ACEOF
15735 if ac_fn_c_try_link "$LINENO"; then :
15736 case "$LIBEXT" in
15737 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15738 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'` ;;
15739 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15740 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
15741 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15742 fi ;;
15743 esac
15744 else
15745 ac_cv_lib_soname_vkd3d=
15747 rm -f core conftest.err conftest.$ac_objext \
15748 conftest$ac_exeext conftest.$ac_ext
15749 LIBS=$ac_check_soname_save_LIBS
15751 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
15752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15753 $as_echo "not found" >&6; }
15755 else
15756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
15757 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
15759 cat >>confdefs.h <<_ACEOF
15760 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
15761 _ACEOF
15765 CPPFLAGS=$ac_save_CPPFLAGS
15767 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
15768 if ${PKG_CONFIG+:} false; then :
15769 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
15773 if ${VKD3D_SHADER_LIBS:+false} :; then :
15774 if ${PKG_CONFIG+:} false; then :
15775 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
15780 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
15781 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
15782 ac_save_CPPFLAGS=$CPPFLAGS
15783 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
15784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
15785 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
15786 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
15787 $as_echo_n "(cached) " >&6
15788 else
15789 ac_check_soname_save_LIBS=$LIBS
15790 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
15791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15792 /* end confdefs.h. */
15794 /* Override any GCC internal prototype to avoid an error.
15795 Use char because int might match the return type of a GCC
15796 builtin and then its argument prototype would still apply. */
15797 #ifdef __cplusplus
15798 extern "C"
15799 #endif
15800 char vkd3d_shader_compile ();
15802 main ()
15804 return vkd3d_shader_compile ();
15806 return 0;
15808 _ACEOF
15809 if ac_fn_c_try_link "$LINENO"; then :
15810 case "$LIBEXT" in
15811 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15812 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'` ;;
15813 *) 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'`
15814 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
15815 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15816 fi ;;
15817 esac
15818 else
15819 ac_cv_lib_soname_vkd3d_shader=
15821 rm -f core conftest.err conftest.$ac_objext \
15822 conftest$ac_exeext conftest.$ac_ext
15823 LIBS=$ac_check_soname_save_LIBS
15825 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
15826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15827 $as_echo "not found" >&6; }
15829 else
15830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
15831 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
15833 cat >>confdefs.h <<_ACEOF
15834 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
15835 _ACEOF
15839 CPPFLAGS=$ac_save_CPPFLAGS
15842 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
15843 case "x$with_vkd3d" in
15844 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
15845 xno) ;;
15846 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
15847 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
15848 esac
15851 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
15854 if test "x${GCC}" = "xyes"
15855 then
15856 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
15858 saved_CFLAGS=$CFLAGS
15859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
15860 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
15861 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
15862 $as_echo_n "(cached) " >&6
15863 else
15864 ac_wine_try_cflags_saved=$CFLAGS
15865 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15867 /* end confdefs.h. */
15868 int main(int argc, char **argv) { return 0; }
15869 _ACEOF
15870 if ac_fn_c_try_link "$LINENO"; then :
15871 ac_cv_cflags__Werror_unknown_warning_option=yes
15872 else
15873 ac_cv_cflags__Werror_unknown_warning_option=no
15875 rm -f core conftest.err conftest.$ac_objext \
15876 conftest$ac_exeext conftest.$ac_ext
15877 CFLAGS=$ac_wine_try_cflags_saved
15879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
15880 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
15881 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
15882 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
15885 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
15886 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
15887 $as_echo_n "(cached) " >&6
15888 else
15889 ac_wine_try_cflags_saved=$CFLAGS
15890 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
15891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15892 /* end confdefs.h. */
15893 int main(int argc, char **argv) { return 0; }
15894 _ACEOF
15895 if ac_fn_c_try_link "$LINENO"; then :
15896 ac_cv_cflags__Werror_unused_command_line_argument=yes
15897 else
15898 ac_cv_cflags__Werror_unused_command_line_argument=no
15900 rm -f core conftest.err conftest.$ac_objext \
15901 conftest$ac_exeext conftest.$ac_ext
15902 CFLAGS=$ac_wine_try_cflags_saved
15904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
15905 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
15906 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
15907 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
15909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
15910 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
15911 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
15912 $as_echo_n "(cached) " >&6
15913 else
15914 ac_wine_try_cflags_saved=$CFLAGS
15915 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
15916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15917 /* end confdefs.h. */
15918 int main(int argc, char **argv) { return 0; }
15919 _ACEOF
15920 if ac_fn_c_try_link "$LINENO"; then :
15921 ac_cv_cflags__Werror_ignored_optimization_argument=yes
15922 else
15923 ac_cv_cflags__Werror_ignored_optimization_argument=no
15925 rm -f core conftest.err conftest.$ac_objext \
15926 conftest$ac_exeext conftest.$ac_ext
15927 CFLAGS=$ac_wine_try_cflags_saved
15929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
15930 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
15931 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
15932 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
15934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
15935 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
15936 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
15937 $as_echo_n "(cached) " >&6
15938 else
15939 ac_wine_try_cflags_saved=$CFLAGS
15940 CFLAGS="$CFLAGS -fcf-protection=none"
15941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15942 /* end confdefs.h. */
15943 int main(int argc, char **argv) { return 0; }
15944 _ACEOF
15945 if ac_fn_c_try_link "$LINENO"; then :
15946 ac_cv_cflags__fcf_protection_none=yes
15947 else
15948 ac_cv_cflags__fcf_protection_none=no
15950 rm -f core conftest.err conftest.$ac_objext \
15951 conftest$ac_exeext conftest.$ac_ext
15952 CFLAGS=$ac_wine_try_cflags_saved
15954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
15955 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
15956 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
15957 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
15959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
15960 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
15961 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
15962 $as_echo_n "(cached) " >&6
15963 else
15964 ac_wine_try_cflags_saved=$CFLAGS
15965 CFLAGS="$CFLAGS -fno-stack-protector"
15966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15967 /* end confdefs.h. */
15968 int main(int argc, char **argv) { return 0; }
15969 _ACEOF
15970 if ac_fn_c_try_link "$LINENO"; then :
15971 ac_cv_cflags__fno_stack_protector=yes
15972 else
15973 ac_cv_cflags__fno_stack_protector=no
15975 rm -f core conftest.err conftest.$ac_objext \
15976 conftest$ac_exeext conftest.$ac_ext
15977 CFLAGS=$ac_wine_try_cflags_saved
15979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
15980 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
15981 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
15982 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
15984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
15985 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
15986 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
15987 $as_echo_n "(cached) " >&6
15988 else
15989 ac_wine_try_cflags_saved=$CFLAGS
15990 CFLAGS="$CFLAGS -fno-strict-aliasing"
15991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15992 /* end confdefs.h. */
15993 int main(int argc, char **argv) { return 0; }
15994 _ACEOF
15995 if ac_fn_c_try_link "$LINENO"; then :
15996 ac_cv_cflags__fno_strict_aliasing=yes
15997 else
15998 ac_cv_cflags__fno_strict_aliasing=no
16000 rm -f core conftest.err conftest.$ac_objext \
16001 conftest$ac_exeext conftest.$ac_ext
16002 CFLAGS=$ac_wine_try_cflags_saved
16004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16005 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
16006 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
16007 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16010 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
16011 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
16012 $as_echo_n "(cached) " >&6
16013 else
16014 ac_wine_try_cflags_saved=$CFLAGS
16015 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16017 /* end confdefs.h. */
16018 int main(int argc, char **argv) { return 0; }
16019 _ACEOF
16020 if ac_fn_c_try_link "$LINENO"; then :
16021 ac_cv_cflags__Wdeclaration_after_statement=yes
16022 else
16023 ac_cv_cflags__Wdeclaration_after_statement=no
16025 rm -f core conftest.err conftest.$ac_objext \
16026 conftest$ac_exeext conftest.$ac_ext
16027 CFLAGS=$ac_wine_try_cflags_saved
16029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16030 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16031 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
16032 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
16035 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
16036 if ${ac_cv_cflags__Wempty_body+:} false; then :
16037 $as_echo_n "(cached) " >&6
16038 else
16039 ac_wine_try_cflags_saved=$CFLAGS
16040 CFLAGS="$CFLAGS -Wempty-body"
16041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16042 /* end confdefs.h. */
16043 int main(int argc, char **argv) { return 0; }
16044 _ACEOF
16045 if ac_fn_c_try_link "$LINENO"; then :
16046 ac_cv_cflags__Wempty_body=yes
16047 else
16048 ac_cv_cflags__Wempty_body=no
16050 rm -f core conftest.err conftest.$ac_objext \
16051 conftest$ac_exeext conftest.$ac_ext
16052 CFLAGS=$ac_wine_try_cflags_saved
16054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
16055 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
16056 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
16057 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
16059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
16060 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
16061 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
16062 $as_echo_n "(cached) " >&6
16063 else
16064 ac_wine_try_cflags_saved=$CFLAGS
16065 CFLAGS="$CFLAGS -Wignored-qualifiers"
16066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16067 /* end confdefs.h. */
16068 int main(int argc, char **argv) { return 0; }
16069 _ACEOF
16070 if ac_fn_c_try_link "$LINENO"; then :
16071 ac_cv_cflags__Wignored_qualifiers=yes
16072 else
16073 ac_cv_cflags__Wignored_qualifiers=no
16075 rm -f core conftest.err conftest.$ac_objext \
16076 conftest$ac_exeext conftest.$ac_ext
16077 CFLAGS=$ac_wine_try_cflags_saved
16079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
16080 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
16081 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
16082 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
16084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
16085 $as_echo_n "checking whether the compiler supports -Winit-self... " >&6; }
16086 if ${ac_cv_cflags__Winit_self+:} false; then :
16087 $as_echo_n "(cached) " >&6
16088 else
16089 ac_wine_try_cflags_saved=$CFLAGS
16090 CFLAGS="$CFLAGS -Winit-self"
16091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16092 /* end confdefs.h. */
16093 int main(int argc, char **argv) { return 0; }
16094 _ACEOF
16095 if ac_fn_c_try_link "$LINENO"; then :
16096 ac_cv_cflags__Winit_self=yes
16097 else
16098 ac_cv_cflags__Winit_self=no
16100 rm -f core conftest.err conftest.$ac_objext \
16101 conftest$ac_exeext conftest.$ac_ext
16102 CFLAGS=$ac_wine_try_cflags_saved
16104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
16105 $as_echo "$ac_cv_cflags__Winit_self" >&6; }
16106 if test "x$ac_cv_cflags__Winit_self" = xyes; then :
16107 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
16109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
16110 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
16111 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
16112 $as_echo_n "(cached) " >&6
16113 else
16114 ac_wine_try_cflags_saved=$CFLAGS
16115 CFLAGS="$CFLAGS -Wpacked-not-aligned"
16116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16117 /* end confdefs.h. */
16118 int main(int argc, char **argv) { return 0; }
16119 _ACEOF
16120 if ac_fn_c_try_link "$LINENO"; then :
16121 ac_cv_cflags__Wpacked_not_aligned=yes
16122 else
16123 ac_cv_cflags__Wpacked_not_aligned=no
16125 rm -f core conftest.err conftest.$ac_objext \
16126 conftest$ac_exeext conftest.$ac_ext
16127 CFLAGS=$ac_wine_try_cflags_saved
16129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
16130 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
16131 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
16132 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
16134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
16135 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
16136 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
16137 $as_echo_n "(cached) " >&6
16138 else
16139 ac_wine_try_cflags_saved=$CFLAGS
16140 CFLAGS="$CFLAGS -Wpragma-pack"
16141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16142 /* end confdefs.h. */
16143 int main(int argc, char **argv) { return 0; }
16144 _ACEOF
16145 if ac_fn_c_try_link "$LINENO"; then :
16146 ac_cv_cflags__Wpragma_pack=yes
16147 else
16148 ac_cv_cflags__Wpragma_pack=no
16150 rm -f core conftest.err conftest.$ac_objext \
16151 conftest$ac_exeext conftest.$ac_ext
16152 CFLAGS=$ac_wine_try_cflags_saved
16154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
16155 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
16156 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
16157 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
16159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
16160 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
16161 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
16162 $as_echo_n "(cached) " >&6
16163 else
16164 ac_wine_try_cflags_saved=$CFLAGS
16165 CFLAGS="$CFLAGS -Wshift-overflow=2"
16166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16167 /* end confdefs.h. */
16168 int main(int argc, char **argv) { return 0; }
16169 _ACEOF
16170 if ac_fn_c_try_link "$LINENO"; then :
16171 ac_cv_cflags__Wshift_overflow_2=yes
16172 else
16173 ac_cv_cflags__Wshift_overflow_2=no
16175 rm -f core conftest.err conftest.$ac_objext \
16176 conftest$ac_exeext conftest.$ac_ext
16177 CFLAGS=$ac_wine_try_cflags_saved
16179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
16180 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
16181 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
16182 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
16184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
16185 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
16186 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
16187 $as_echo_n "(cached) " >&6
16188 else
16189 ac_wine_try_cflags_saved=$CFLAGS
16190 CFLAGS="$CFLAGS -Wstrict-prototypes"
16191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16192 /* end confdefs.h. */
16193 int main(int argc, char **argv) { return 0; }
16194 _ACEOF
16195 if ac_fn_c_try_link "$LINENO"; then :
16196 ac_cv_cflags__Wstrict_prototypes=yes
16197 else
16198 ac_cv_cflags__Wstrict_prototypes=no
16200 rm -f core conftest.err conftest.$ac_objext \
16201 conftest$ac_exeext conftest.$ac_ext
16202 CFLAGS=$ac_wine_try_cflags_saved
16204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
16205 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
16206 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
16207 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
16209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
16210 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
16211 if ${ac_cv_cflags__Wtype_limits+:} false; then :
16212 $as_echo_n "(cached) " >&6
16213 else
16214 ac_wine_try_cflags_saved=$CFLAGS
16215 CFLAGS="$CFLAGS -Wtype-limits"
16216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16217 /* end confdefs.h. */
16218 int main(int argc, char **argv) { return 0; }
16219 _ACEOF
16220 if ac_fn_c_try_link "$LINENO"; then :
16221 ac_cv_cflags__Wtype_limits=yes
16222 else
16223 ac_cv_cflags__Wtype_limits=no
16225 rm -f core conftest.err conftest.$ac_objext \
16226 conftest$ac_exeext conftest.$ac_ext
16227 CFLAGS=$ac_wine_try_cflags_saved
16229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
16230 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
16231 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
16232 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
16235 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
16236 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
16237 $as_echo_n "(cached) " >&6
16238 else
16239 ac_wine_try_cflags_saved=$CFLAGS
16240 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
16241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16242 /* end confdefs.h. */
16243 int main(int argc, char **argv) { return 0; }
16244 _ACEOF
16245 if ac_fn_c_try_link "$LINENO"; then :
16246 ac_cv_cflags__Wunused_but_set_parameter=yes
16247 else
16248 ac_cv_cflags__Wunused_but_set_parameter=no
16250 rm -f core conftest.err conftest.$ac_objext \
16251 conftest$ac_exeext conftest.$ac_ext
16252 CFLAGS=$ac_wine_try_cflags_saved
16254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
16255 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
16256 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
16257 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
16259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
16260 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
16261 if ${ac_cv_cflags__Wvla+:} false; then :
16262 $as_echo_n "(cached) " >&6
16263 else
16264 ac_wine_try_cflags_saved=$CFLAGS
16265 CFLAGS="$CFLAGS -Wvla"
16266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16267 /* end confdefs.h. */
16268 int main(int argc, char **argv) { return 0; }
16269 _ACEOF
16270 if ac_fn_c_try_link "$LINENO"; then :
16271 ac_cv_cflags__Wvla=yes
16272 else
16273 ac_cv_cflags__Wvla=no
16275 rm -f core conftest.err conftest.$ac_objext \
16276 conftest$ac_exeext conftest.$ac_ext
16277 CFLAGS=$ac_wine_try_cflags_saved
16279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
16280 $as_echo "$ac_cv_cflags__Wvla" >&6; }
16281 if test "x$ac_cv_cflags__Wvla" = xyes; then :
16282 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
16284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
16285 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
16286 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
16287 $as_echo_n "(cached) " >&6
16288 else
16289 ac_wine_try_cflags_saved=$CFLAGS
16290 CFLAGS="$CFLAGS -Wwrite-strings"
16291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16292 /* end confdefs.h. */
16293 int main(int argc, char **argv) { return 0; }
16294 _ACEOF
16295 if ac_fn_c_try_link "$LINENO"; then :
16296 ac_cv_cflags__Wwrite_strings=yes
16297 else
16298 ac_cv_cflags__Wwrite_strings=no
16300 rm -f core conftest.err conftest.$ac_objext \
16301 conftest$ac_exeext conftest.$ac_ext
16302 CFLAGS=$ac_wine_try_cflags_saved
16304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
16305 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
16306 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
16307 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16310 if test -z "$CROSSTARGET"
16311 then
16312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
16313 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
16314 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
16315 $as_echo_n "(cached) " >&6
16316 else
16317 ac_wine_try_cflags_saved=$CFLAGS
16318 CFLAGS="$CFLAGS -fexcess-precision=standard"
16319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16320 /* end confdefs.h. */
16321 int main(int argc, char **argv) { return 0; }
16322 _ACEOF
16323 if ac_fn_c_try_link "$LINENO"; then :
16324 ac_cv_cflags__fexcess_precision_standard=yes
16325 else
16326 ac_cv_cflags__fexcess_precision_standard=no
16328 rm -f core conftest.err conftest.$ac_objext \
16329 conftest$ac_exeext conftest.$ac_ext
16330 CFLAGS=$ac_wine_try_cflags_saved
16332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
16333 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
16334 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
16335 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
16340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
16341 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
16342 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
16343 $as_echo_n "(cached) " >&6
16344 else
16345 ac_wine_try_cflags_saved=$CFLAGS
16346 CFLAGS="$CFLAGS -Wpointer-arith"
16347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16348 /* end confdefs.h. */
16349 int main(int argc, char **argv) { return 0; }
16350 _ACEOF
16351 if ac_fn_c_try_link "$LINENO"; then :
16352 ac_cv_cflags__Wpointer_arith=yes
16353 else
16354 ac_cv_cflags__Wpointer_arith=no
16356 rm -f core conftest.err conftest.$ac_objext \
16357 conftest$ac_exeext conftest.$ac_ext
16358 CFLAGS=$ac_wine_try_cflags_saved
16360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
16361 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
16362 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
16363 saved_string_h_CFLAGS=$CFLAGS
16364 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
16366 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
16367 if ${ac_cv_c_string_h_warnings+:} false; then :
16368 $as_echo_n "(cached) " >&6
16369 else
16370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16371 /* end confdefs.h. */
16372 #include <string.h>
16374 main ()
16378 return 0;
16380 _ACEOF
16381 if ac_fn_c_try_compile "$LINENO"; then :
16382 ac_cv_c_string_h_warnings=no
16383 else
16384 ac_cv_c_string_h_warnings=yes
16386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
16389 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
16390 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16391 CFLAGS=$saved_string_h_CFLAGS
16394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
16395 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
16396 if ${ac_cv_cflags__Wlogical_op+:} false; then :
16397 $as_echo_n "(cached) " >&6
16398 else
16399 ac_wine_try_cflags_saved=$CFLAGS
16400 CFLAGS="$CFLAGS -Wlogical-op"
16401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16402 /* end confdefs.h. */
16403 int main(int argc, char **argv) { return 0; }
16404 _ACEOF
16405 if ac_fn_c_try_link "$LINENO"; then :
16406 ac_cv_cflags__Wlogical_op=yes
16407 else
16408 ac_cv_cflags__Wlogical_op=no
16410 rm -f core conftest.err conftest.$ac_objext \
16411 conftest$ac_exeext conftest.$ac_ext
16412 CFLAGS=$ac_wine_try_cflags_saved
16414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
16415 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
16416 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
16417 saved_string_h_CFLAGS=$CFLAGS
16418 CFLAGS="$CFLAGS -Wlogical-op -Werror"
16419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
16420 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
16421 if ${ac_cv_c_logicalop_noisy+:} false; then :
16422 $as_echo_n "(cached) " >&6
16423 else
16424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16425 /* end confdefs.h. */
16426 #include <string.h>
16427 char*f(const char *h,char n) {return strchr(h,n);}
16429 main ()
16433 return 0;
16435 _ACEOF
16436 if ac_fn_c_try_compile "$LINENO"; then :
16437 ac_cv_c_logicalop_noisy=no
16438 else
16439 ac_cv_c_logicalop_noisy=yes
16441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
16444 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
16445 CFLAGS=$saved_string_h_CFLAGS
16446 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
16449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
16450 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
16451 if ${wine_cv_64bit_compare_swap+:} false; then :
16452 $as_echo_n "(cached) " >&6
16453 else
16454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16455 /* end confdefs.h. */
16456 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
16457 #error no
16458 #endif
16460 main ()
16464 return 0;
16466 _ACEOF
16467 if ac_fn_c_try_compile "$LINENO"; then :
16468 wine_cv_64bit_compare_swap="none needed"
16469 else
16470 case $host_cpu in
16471 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
16472 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
16473 *) wine_cv_64bit_compare_swap="unknown" ;;
16474 esac
16475 if test "x$wine_cv_64bit_compare_swap" != xunknown
16476 then
16477 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
16478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16479 /* end confdefs.h. */
16480 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
16481 #error no
16482 #endif
16484 main ()
16488 return 0;
16490 _ACEOF
16491 if ac_fn_c_try_compile "$LINENO"; then :
16493 else
16494 wine_cv_64bit_compare_swap="unknown"
16496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16497 CFLAGS=$saved_CFLAGS
16500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
16503 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
16504 case "$wine_cv_64bit_compare_swap" in
16505 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
16506 "none needed") ;;
16507 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
16508 esac
16510 for ac_flag in $CFLAGS; do
16511 case $ac_flag in
16512 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
16513 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
16514 if ${ac_cv_cflags__gdwarf_2+:} false; then :
16515 $as_echo_n "(cached) " >&6
16516 else
16517 ac_wine_try_cflags_saved=$CFLAGS
16518 CFLAGS="$CFLAGS -gdwarf-2"
16519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16520 /* end confdefs.h. */
16521 int main(int argc, char **argv) { return 0; }
16522 _ACEOF
16523 if ac_fn_c_try_link "$LINENO"; then :
16524 ac_cv_cflags__gdwarf_2=yes
16525 else
16526 ac_cv_cflags__gdwarf_2=no
16528 rm -f core conftest.err conftest.$ac_objext \
16529 conftest$ac_exeext conftest.$ac_ext
16530 CFLAGS=$ac_wine_try_cflags_saved
16532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
16533 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
16534 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
16535 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
16537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
16538 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
16539 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
16540 $as_echo_n "(cached) " >&6
16541 else
16542 ac_wine_try_cflags_saved=$CFLAGS
16543 CFLAGS="$CFLAGS -gstrict-dwarf"
16544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16545 /* end confdefs.h. */
16546 int main(int argc, char **argv) { return 0; }
16547 _ACEOF
16548 if ac_fn_c_try_link "$LINENO"; then :
16549 ac_cv_cflags__gstrict_dwarf=yes
16550 else
16551 ac_cv_cflags__gstrict_dwarf=no
16553 rm -f core conftest.err conftest.$ac_objext \
16554 conftest$ac_exeext conftest.$ac_ext
16555 CFLAGS=$ac_wine_try_cflags_saved
16557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
16558 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
16559 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
16560 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
16561 fi ;;
16562 esac
16563 done
16565 MSVCRTFLAGS=""
16567 case $host_os in
16568 mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
16569 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
16570 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
16571 $as_echo_n "(cached) " >&6
16572 else
16573 ac_wine_try_cflags_saved=$CFLAGS
16574 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
16575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16576 /* end confdefs.h. */
16577 int main(int argc, char **argv) { return 0; }
16578 _ACEOF
16579 if ac_fn_c_try_link "$LINENO"; then :
16580 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
16581 else
16582 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
16584 rm -f core conftest.err conftest.$ac_objext \
16585 conftest$ac_exeext conftest.$ac_ext
16586 CFLAGS=$ac_wine_try_cflags_saved
16588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
16589 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
16590 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
16591 DELAYLOADFLAG="-Wl,-delayload,"
16593 fi ;;
16594 *) MSVCRTFLAGS="-D_WIN32"
16595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
16596 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
16597 if ${ac_cv_cflags__fno_builtin+:} false; then :
16598 $as_echo_n "(cached) " >&6
16599 else
16600 ac_wine_try_cflags_saved=$CFLAGS
16601 CFLAGS="$CFLAGS -fno-builtin"
16602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16603 /* end confdefs.h. */
16604 int main(int argc, char **argv) { return 0; }
16605 _ACEOF
16606 if ac_fn_c_try_link "$LINENO"; then :
16607 ac_cv_cflags__fno_builtin=yes
16608 else
16609 ac_cv_cflags__fno_builtin=no
16611 rm -f core conftest.err conftest.$ac_objext \
16612 conftest$ac_exeext conftest.$ac_ext
16613 CFLAGS=$ac_wine_try_cflags_saved
16615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
16616 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
16617 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
16618 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
16620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
16621 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
16622 if ${ac_cv_cflags__fshort_wchar+:} false; then :
16623 $as_echo_n "(cached) " >&6
16624 else
16625 ac_wine_try_cflags_saved=$CFLAGS
16626 CFLAGS="$CFLAGS -fshort-wchar"
16627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16628 /* end confdefs.h. */
16629 int main(int argc, char **argv) { return 0; }
16630 _ACEOF
16631 if ac_fn_c_try_link "$LINENO"; then :
16632 ac_cv_cflags__fshort_wchar=yes
16633 else
16634 ac_cv_cflags__fshort_wchar=no
16636 rm -f core conftest.err conftest.$ac_objext \
16637 conftest$ac_exeext conftest.$ac_ext
16638 CFLAGS=$ac_wine_try_cflags_saved
16640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
16641 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
16642 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
16643 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
16644 fi ;;
16645 esac
16647 case $host_cpu in
16648 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
16649 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
16650 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
16651 $as_echo_n "(cached) " >&6
16652 else
16653 ac_wine_try_cflags_saved=$CFLAGS
16654 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
16655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16656 /* end confdefs.h. */
16657 int main(int argc, char **argv) { return 0; }
16658 _ACEOF
16659 if ac_fn_c_try_link "$LINENO"; then :
16660 ac_cv_cflags__fno_omit_frame_pointer=yes
16661 else
16662 ac_cv_cflags__fno_omit_frame_pointer=no
16664 rm -f core conftest.err conftest.$ac_objext \
16665 conftest$ac_exeext conftest.$ac_ext
16666 CFLAGS=$ac_wine_try_cflags_saved
16668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
16669 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
16670 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
16671 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
16672 fi ;;
16673 *x86_64*)
16674 case $host_os in
16675 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
16676 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
16677 if ${ac_cv_cflags__Wno_format+:} false; then :
16678 $as_echo_n "(cached) " >&6
16679 else
16680 ac_wine_try_cflags_saved=$CFLAGS
16681 CFLAGS="$CFLAGS -Wno-format"
16682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16683 /* end confdefs.h. */
16684 int main(int argc, char **argv) { return 0; }
16685 _ACEOF
16686 if ac_fn_c_try_link "$LINENO"; then :
16687 ac_cv_cflags__Wno_format=yes
16688 else
16689 ac_cv_cflags__Wno_format=no
16691 rm -f core conftest.err conftest.$ac_objext \
16692 conftest$ac_exeext conftest.$ac_ext
16693 CFLAGS=$ac_wine_try_cflags_saved
16695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
16696 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
16697 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
16698 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
16699 fi ;;
16700 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
16701 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
16702 if ${ac_cv_cflags__mabi_ms+:} false; then :
16703 $as_echo_n "(cached) " >&6
16704 else
16705 ac_wine_try_cflags_saved=$CFLAGS
16706 CFLAGS="$CFLAGS -mabi=ms"
16707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16708 /* end confdefs.h. */
16709 int main(int argc, char **argv) { return 0; }
16710 _ACEOF
16711 if ac_fn_c_try_link "$LINENO"; then :
16712 ac_cv_cflags__mabi_ms=yes
16713 else
16714 ac_cv_cflags__mabi_ms=no
16716 rm -f core conftest.err conftest.$ac_objext \
16717 conftest$ac_exeext conftest.$ac_ext
16718 CFLAGS=$ac_wine_try_cflags_saved
16720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
16721 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
16722 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
16723 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
16724 fi ;;
16725 esac ;;
16726 esac
16728 CFLAGS=$saved_CFLAGS
16730 if test "x$enable_werror" = "xyes"
16731 then
16732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
16733 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
16734 if ${ac_cv_cflags__Werror+:} false; then :
16735 $as_echo_n "(cached) " >&6
16736 else
16737 ac_wine_try_cflags_saved=$CFLAGS
16738 CFLAGS="$CFLAGS -Werror"
16739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16740 /* end confdefs.h. */
16741 int main(int argc, char **argv) { return 0; }
16742 _ACEOF
16743 if ac_fn_c_try_link "$LINENO"; then :
16744 ac_cv_cflags__Werror=yes
16745 else
16746 ac_cv_cflags__Werror=no
16748 rm -f core conftest.err conftest.$ac_objext \
16749 conftest$ac_exeext conftest.$ac_ext
16750 CFLAGS=$ac_wine_try_cflags_saved
16752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
16753 $as_echo "$ac_cv_cflags__Werror" >&6; }
16754 if test "x$ac_cv_cflags__Werror" = xyes; then :
16755 EXTRACFLAGS="$EXTRACFLAGS -Werror"
16758 if test "x$enable_build_id" = "xyes"
16759 then
16760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
16761 $as_echo_n "checking whether the compiler supports -Wl,--build-id... " >&6; }
16762 if ${ac_cv_cflags__Wl___build_id+:} false; then :
16763 $as_echo_n "(cached) " >&6
16764 else
16765 ac_wine_try_cflags_saved=$CFLAGS
16766 CFLAGS="$CFLAGS -Wl,--build-id"
16767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16768 /* end confdefs.h. */
16769 int main(int argc, char **argv) { return 0; }
16770 _ACEOF
16771 if ac_fn_c_try_link "$LINENO"; then :
16772 ac_cv_cflags__Wl___build_id=yes
16773 else
16774 ac_cv_cflags__Wl___build_id=no
16776 rm -f core conftest.err conftest.$ac_objext \
16777 conftest$ac_exeext conftest.$ac_ext
16778 CFLAGS=$ac_wine_try_cflags_saved
16780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
16781 $as_echo "$ac_cv_cflags__Wl___build_id" >&6; }
16782 if test "x$ac_cv_cflags__Wl___build_id" = xyes; then :
16783 CFLAGS="$CFLAGS -Wl,--build-id"
16784 LDFLAGS="$LDFLAGS -Wl,--build-id"
16790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
16791 $as_echo_n "checking for the need to disable Fortify... " >&6; }
16792 if ${ac_cv_c_fortify_enabled+:} false; then :
16793 $as_echo_n "(cached) " >&6
16794 else
16795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16796 /* end confdefs.h. */
16797 #include <string.h>
16799 main ()
16801 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
16802 #error Fortify enabled
16803 #endif
16805 return 0;
16807 _ACEOF
16808 if ac_fn_c_try_compile "$LINENO"; then :
16809 ac_cv_c_fortify_enabled=no
16810 else
16811 ac_cv_c_fortify_enabled=yes
16813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
16816 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
16817 if test "$ac_cv_c_fortify_enabled" = yes
16818 then
16819 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
16823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
16824 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
16825 if ${ac_cv_c_cfi_support+:} false; then :
16826 $as_echo_n "(cached) " >&6
16827 else
16828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16829 /* end confdefs.h. */
16830 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
16832 main ()
16836 return 0;
16838 _ACEOF
16839 if ac_fn_c_try_compile "$LINENO"; then :
16840 ac_cv_c_cfi_support="yes"
16841 else
16842 ac_cv_c_cfi_support="no"
16844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
16847 $as_echo "$ac_cv_c_cfi_support" >&6; }
16848 if test "$ac_cv_c_cfi_support" = "yes"
16849 then
16850 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
16851 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
16852 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
16853 else
16854 if test "x$enable_win64" = "xyes"
16855 then
16856 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
16861 case $build_os in
16862 cygwin*|mingw32*) TOOLSEXT=".exe"
16864 esac
16866 case $host_os in
16867 linux*)
16868 case $host_cpu in
16869 *i[3456789]86*|x86_64*|*aarch64*|arm*)
16870 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
16871 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
16873 esac
16875 esac
16878 ac_save_CFLAGS="$CFLAGS"
16879 CFLAGS="$CFLAGS $BUILTINFLAG"
16880 for ac_func in \
16881 epoll_create \
16882 fork \
16883 fstatfs \
16884 futimens \
16885 futimes \
16886 futimesat \
16887 getattrlist \
16888 getauxval \
16889 getifaddrs \
16890 getrandom \
16891 kqueue \
16892 mach_continuous_time \
16893 pipe2 \
16894 port_create \
16895 posix_fadvise \
16896 posix_fallocate \
16897 prctl \
16898 proc_pidinfo \
16899 setproctitle \
16900 setprogname \
16901 sigprocmask \
16902 sysinfo \
16903 tcdrain \
16904 thr_kill2
16906 do :
16907 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16908 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16909 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16910 cat >>confdefs.h <<_ACEOF
16911 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16912 _ACEOF
16915 done
16917 CFLAGS="$ac_save_CFLAGS"
16919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
16920 $as_echo_n "checking for library containing dlopen... " >&6; }
16921 if ${ac_cv_search_dlopen+:} false; then :
16922 $as_echo_n "(cached) " >&6
16923 else
16924 ac_func_search_save_LIBS=$LIBS
16925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16926 /* end confdefs.h. */
16928 /* Override any GCC internal prototype to avoid an error.
16929 Use char because int might match the return type of a GCC
16930 builtin and then its argument prototype would still apply. */
16931 #ifdef __cplusplus
16932 extern "C"
16933 #endif
16934 char dlopen ();
16936 main ()
16938 return dlopen ();
16940 return 0;
16942 _ACEOF
16943 for ac_lib in '' dl; do
16944 if test -z "$ac_lib"; then
16945 ac_res="none required"
16946 else
16947 ac_res=-l$ac_lib
16948 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16950 if ac_fn_c_try_link "$LINENO"; then :
16951 ac_cv_search_dlopen=$ac_res
16953 rm -f core conftest.err conftest.$ac_objext \
16954 conftest$ac_exeext
16955 if ${ac_cv_search_dlopen+:} false; then :
16956 break
16958 done
16959 if ${ac_cv_search_dlopen+:} false; then :
16961 else
16962 ac_cv_search_dlopen=no
16964 rm conftest.$ac_ext
16965 LIBS=$ac_func_search_save_LIBS
16967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
16968 $as_echo "$ac_cv_search_dlopen" >&6; }
16969 ac_res=$ac_cv_search_dlopen
16970 if test "$ac_res" != no; then :
16971 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16975 ac_wine_check_funcs_save_LIBS="$LIBS"
16976 LIBS="$LIBS $DL_LIBS"
16977 for ac_func in dlinfo
16978 do :
16979 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
16980 if test "x$ac_cv_func_dlinfo" = xyes; then :
16981 cat >>confdefs.h <<_ACEOF
16982 #define HAVE_DLINFO 1
16983 _ACEOF
16986 done
16988 LIBS="$ac_wine_check_funcs_save_LIBS"
16990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
16991 $as_echo_n "checking for library containing gethostbyname... " >&6; }
16992 if ${ac_cv_search_gethostbyname+:} false; then :
16993 $as_echo_n "(cached) " >&6
16994 else
16995 ac_func_search_save_LIBS=$LIBS
16996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16997 /* end confdefs.h. */
16999 /* Override any GCC internal prototype to avoid an error.
17000 Use char because int might match the return type of a GCC
17001 builtin and then its argument prototype would still apply. */
17002 #ifdef __cplusplus
17003 extern "C"
17004 #endif
17005 char gethostbyname ();
17007 main ()
17009 return gethostbyname ();
17011 return 0;
17013 _ACEOF
17014 for ac_lib in '' nsl; do
17015 if test -z "$ac_lib"; then
17016 ac_res="none required"
17017 else
17018 ac_res=-l$ac_lib
17019 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17021 if ac_fn_c_try_link "$LINENO"; then :
17022 ac_cv_search_gethostbyname=$ac_res
17024 rm -f core conftest.err conftest.$ac_objext \
17025 conftest$ac_exeext
17026 if ${ac_cv_search_gethostbyname+:} false; then :
17027 break
17029 done
17030 if ${ac_cv_search_gethostbyname+:} false; then :
17032 else
17033 ac_cv_search_gethostbyname=no
17035 rm conftest.$ac_ext
17036 LIBS=$ac_func_search_save_LIBS
17038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
17039 $as_echo "$ac_cv_search_gethostbyname" >&6; }
17040 ac_res=$ac_cv_search_gethostbyname
17041 if test "$ac_res" != no; then :
17042 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
17048 $as_echo_n "checking for library containing connect... " >&6; }
17049 if ${ac_cv_search_connect+:} false; then :
17050 $as_echo_n "(cached) " >&6
17051 else
17052 ac_func_search_save_LIBS=$LIBS
17053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17054 /* end confdefs.h. */
17056 /* Override any GCC internal prototype to avoid an error.
17057 Use char because int might match the return type of a GCC
17058 builtin and then its argument prototype would still apply. */
17059 #ifdef __cplusplus
17060 extern "C"
17061 #endif
17062 char connect ();
17064 main ()
17066 return connect ();
17068 return 0;
17070 _ACEOF
17071 for ac_lib in '' socket; do
17072 if test -z "$ac_lib"; then
17073 ac_res="none required"
17074 else
17075 ac_res=-l$ac_lib
17076 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17078 if ac_fn_c_try_link "$LINENO"; then :
17079 ac_cv_search_connect=$ac_res
17081 rm -f core conftest.err conftest.$ac_objext \
17082 conftest$ac_exeext
17083 if ${ac_cv_search_connect+:} false; then :
17084 break
17086 done
17087 if ${ac_cv_search_connect+:} false; then :
17089 else
17090 ac_cv_search_connect=no
17092 rm conftest.$ac_ext
17093 LIBS=$ac_func_search_save_LIBS
17095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
17096 $as_echo "$ac_cv_search_connect" >&6; }
17097 ac_res=$ac_cv_search_connect
17098 if test "$ac_res" != no; then :
17099 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
17105 $as_echo_n "checking for library containing inet_aton... " >&6; }
17106 if ${ac_cv_search_inet_aton+:} false; then :
17107 $as_echo_n "(cached) " >&6
17108 else
17109 ac_func_search_save_LIBS=$LIBS
17110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17111 /* end confdefs.h. */
17113 /* Override any GCC internal prototype to avoid an error.
17114 Use char because int might match the return type of a GCC
17115 builtin and then its argument prototype would still apply. */
17116 #ifdef __cplusplus
17117 extern "C"
17118 #endif
17119 char inet_aton ();
17121 main ()
17123 return inet_aton ();
17125 return 0;
17127 _ACEOF
17128 for ac_lib in '' resolv; do
17129 if test -z "$ac_lib"; then
17130 ac_res="none required"
17131 else
17132 ac_res=-l$ac_lib
17133 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17135 if ac_fn_c_try_link "$LINENO"; then :
17136 ac_cv_search_inet_aton=$ac_res
17138 rm -f core conftest.err conftest.$ac_objext \
17139 conftest$ac_exeext
17140 if ${ac_cv_search_inet_aton+:} false; then :
17141 break
17143 done
17144 if ${ac_cv_search_inet_aton+:} false; then :
17146 else
17147 ac_cv_search_inet_aton=no
17149 rm conftest.$ac_ext
17150 LIBS=$ac_func_search_save_LIBS
17152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
17153 $as_echo "$ac_cv_search_inet_aton" >&6; }
17154 ac_res=$ac_cv_search_inet_aton
17155 if test "$ac_res" != no; then :
17156 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17161 for ac_func in getaddrinfo
17162 do :
17163 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
17164 if test "x$ac_cv_func_getaddrinfo" = xyes; then :
17165 cat >>confdefs.h <<_ACEOF
17166 #define HAVE_GETADDRINFO 1
17167 _ACEOF
17170 done
17173 case $host_os in
17174 darwin*|macosx*) ;;
17175 *) ac_save_LIBS=$LIBS
17176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
17177 $as_echo_n "checking for library containing clock_gettime... " >&6; }
17178 if ${ac_cv_search_clock_gettime+:} false; then :
17179 $as_echo_n "(cached) " >&6
17180 else
17181 ac_func_search_save_LIBS=$LIBS
17182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17183 /* end confdefs.h. */
17185 /* Override any GCC internal prototype to avoid an error.
17186 Use char because int might match the return type of a GCC
17187 builtin and then its argument prototype would still apply. */
17188 #ifdef __cplusplus
17189 extern "C"
17190 #endif
17191 char clock_gettime ();
17193 main ()
17195 return clock_gettime ();
17197 return 0;
17199 _ACEOF
17200 for ac_lib in '' rt; do
17201 if test -z "$ac_lib"; then
17202 ac_res="none required"
17203 else
17204 ac_res=-l$ac_lib
17205 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17207 if ac_fn_c_try_link "$LINENO"; then :
17208 ac_cv_search_clock_gettime=$ac_res
17210 rm -f core conftest.err conftest.$ac_objext \
17211 conftest$ac_exeext
17212 if ${ac_cv_search_clock_gettime+:} false; then :
17213 break
17215 done
17216 if ${ac_cv_search_clock_gettime+:} false; then :
17218 else
17219 ac_cv_search_clock_gettime=no
17221 rm conftest.$ac_ext
17222 LIBS=$ac_func_search_save_LIBS
17224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
17225 $as_echo "$ac_cv_search_clock_gettime" >&6; }
17226 ac_res=$ac_cv_search_clock_gettime
17227 if test "$ac_res" != no; then :
17228 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17230 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
17232 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
17236 LIBS=$ac_save_LIBS
17238 esac
17240 if test "x$with_ldap" != "xno"
17241 then
17242 if ${LDAP_CFLAGS:+false} :; then :
17243 if ${PKG_CONFIG+:} false; then :
17244 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
17248 if ${LDAP_LIBS:+false} :; then :
17249 if ${PKG_CONFIG+:} false; then :
17250 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
17254 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
17255 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
17256 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
17257 ac_save_CPPFLAGS=$CPPFLAGS
17258 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
17259 for ac_header in ldap.h lber.h
17260 do :
17261 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17262 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17263 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17264 cat >>confdefs.h <<_ACEOF
17265 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17266 _ACEOF
17270 done
17272 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
17273 then
17274 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
17276 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
17277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
17278 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
17279 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
17280 $as_echo_n "(cached) " >&6
17281 else
17282 ac_check_lib_save_LIBS=$LIBS
17283 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17285 /* end confdefs.h. */
17287 /* Override any GCC internal prototype to avoid an error.
17288 Use char because int might match the return type of a GCC
17289 builtin and then its argument prototype would still apply. */
17290 #ifdef __cplusplus
17291 extern "C"
17292 #endif
17293 char ldap_initialize ();
17295 main ()
17297 return ldap_initialize ();
17299 return 0;
17301 _ACEOF
17302 if ac_fn_c_try_link "$LINENO"; then :
17303 ac_cv_lib_ldap_r_ldap_initialize=yes
17304 else
17305 ac_cv_lib_ldap_r_ldap_initialize=no
17307 rm -f core conftest.err conftest.$ac_objext \
17308 conftest$ac_exeext conftest.$ac_ext
17309 LIBS=$ac_check_lib_save_LIBS
17311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
17312 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
17313 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
17314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
17315 $as_echo_n "checking for ber_init in -llber... " >&6; }
17316 if ${ac_cv_lib_lber_ber_init+:} false; then :
17317 $as_echo_n "(cached) " >&6
17318 else
17319 ac_check_lib_save_LIBS=$LIBS
17320 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17322 /* end confdefs.h. */
17324 /* Override any GCC internal prototype to avoid an error.
17325 Use char because int might match the return type of a GCC
17326 builtin and then its argument prototype would still apply. */
17327 #ifdef __cplusplus
17328 extern "C"
17329 #endif
17330 char ber_init ();
17332 main ()
17334 return ber_init ();
17336 return 0;
17338 _ACEOF
17339 if ac_fn_c_try_link "$LINENO"; then :
17340 ac_cv_lib_lber_ber_init=yes
17341 else
17342 ac_cv_lib_lber_ber_init=no
17344 rm -f core conftest.err conftest.$ac_objext \
17345 conftest$ac_exeext conftest.$ac_ext
17346 LIBS=$ac_check_lib_save_LIBS
17348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
17349 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
17350 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
17352 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
17354 else
17355 LDAP_LIBS=""
17358 else
17359 LDAP_LIBS=""
17362 else
17363 LDAP_LIBS=""
17366 ac_wine_check_funcs_save_LIBS="$LIBS"
17367 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
17368 for ac_func in \
17369 ldap_count_references \
17370 ldap_first_reference \
17371 ldap_next_reference \
17372 ldap_parse_reference \
17373 ldap_parse_sort_control \
17374 ldap_parse_sortresponse_control \
17375 ldap_parse_vlv_control \
17376 ldap_parse_vlvresponse_control
17377 do :
17378 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17379 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17380 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17381 cat >>confdefs.h <<_ACEOF
17382 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17383 _ACEOF
17386 done
17388 LIBS="$ac_wine_check_funcs_save_LIBS"
17389 else
17390 LDAP_LIBS=""
17392 CPPFLAGS=$ac_save_CPPFLAGS
17395 if test "x$LDAP_LIBS" = "x"; then :
17396 case "x$with_ldap" in
17397 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
17398 xno) ;;
17399 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
17400 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
17401 esac
17405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
17406 $as_echo_n "checking for sched_setaffinity... " >&6; }
17407 if ${wine_cv_have_sched_setaffinity+:} false; then :
17408 $as_echo_n "(cached) " >&6
17409 else
17410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17411 /* end confdefs.h. */
17412 #include <sched.h>
17414 main ()
17416 sched_setaffinity(0, 0, 0);
17418 return 0;
17420 _ACEOF
17421 if ac_fn_c_try_link "$LINENO"; then :
17422 wine_cv_have_sched_setaffinity=yes
17423 else
17424 wine_cv_have_sched_setaffinity=no
17426 rm -f core conftest.err conftest.$ac_objext \
17427 conftest$ac_exeext conftest.$ac_ext
17429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
17430 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
17431 if test "$wine_cv_have_sched_setaffinity" = "yes"
17432 then
17434 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
17439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
17440 $as_echo_n "checking for inline... " >&6; }
17441 if ${ac_cv_c_inline+:} false; then :
17442 $as_echo_n "(cached) " >&6
17443 else
17444 ac_cv_c_inline=no
17445 for ac_kw in inline __inline__ __inline; do
17446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17447 /* end confdefs.h. */
17448 #ifndef __cplusplus
17449 typedef int foo_t;
17450 static $ac_kw foo_t static_foo () {return 0; }
17451 $ac_kw foo_t foo () {return 0; }
17452 #endif
17454 _ACEOF
17455 if ac_fn_c_try_compile "$LINENO"; then :
17456 ac_cv_c_inline=$ac_kw
17458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17459 test "$ac_cv_c_inline" != no && break
17460 done
17463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
17464 $as_echo "$ac_cv_c_inline" >&6; }
17466 case $ac_cv_c_inline in
17467 inline | yes) ;;
17469 case $ac_cv_c_inline in
17470 no) ac_val=;;
17471 *) ac_val=$ac_cv_c_inline;;
17472 esac
17473 cat >>confdefs.h <<_ACEOF
17474 #ifndef __cplusplus
17475 #define inline $ac_val
17476 #endif
17477 _ACEOF
17479 esac
17481 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
17482 #include <signal.h>
17484 if test "x$ac_cv_type_sigset_t" = xyes; then :
17486 cat >>confdefs.h <<_ACEOF
17487 #define HAVE_SIGSET_T 1
17488 _ACEOF
17493 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
17495 if test "x$ac_cv_type_request_sense" = xyes; then :
17497 cat >>confdefs.h <<_ACEOF
17498 #define HAVE_REQUEST_SENSE 1
17499 _ACEOF
17505 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
17506 #ifdef HAVE_SYS_SOCKET_H
17507 #include <sys/socket.h>
17508 #endif
17509 #ifdef HAVE_SYS_SOCKETVAR_H
17510 #include <sys/socketvar.h>
17511 #endif
17512 #ifdef HAVE_NET_ROUTE_H
17513 #include <net/route.h>
17514 #endif
17515 #ifdef HAVE_NETINET_IN_H
17516 #include <netinet/in.h>
17517 #endif
17518 #ifdef HAVE_NETINET_IN_SYSTM_H
17519 #include <netinet/in_systm.h>
17520 #endif
17521 #ifdef HAVE_NETINET_IP_H
17522 #include <netinet/ip.h>
17523 #endif
17524 #ifdef HAVE_NETINET_IN_PCB_H
17525 #include <netinet/in_pcb.h>
17526 #endif
17528 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
17530 cat >>confdefs.h <<_ACEOF
17531 #define HAVE_STRUCT_XINPGEN 1
17532 _ACEOF
17538 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
17539 #include <linux/input.h>
17540 #endif
17542 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
17544 cat >>confdefs.h <<_ACEOF
17545 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17546 _ACEOF
17552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
17553 $as_echo_n "checking for sigaddset... " >&6; }
17554 if ${wine_cv_have_sigaddset+:} false; then :
17555 $as_echo_n "(cached) " >&6
17556 else
17557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17558 /* end confdefs.h. */
17559 #include <signal.h>
17561 main ()
17563 sigset_t set; sigaddset(&set,SIGTERM);
17565 return 0;
17567 _ACEOF
17568 if ac_fn_c_try_link "$LINENO"; then :
17569 wine_cv_have_sigaddset=yes
17570 else
17571 wine_cv_have_sigaddset=no
17573 rm -f core conftest.err conftest.$ac_objext \
17574 conftest$ac_exeext conftest.$ac_ext
17576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
17577 $as_echo "$wine_cv_have_sigaddset" >&6; }
17578 if test "$wine_cv_have_sigaddset" = "yes"
17579 then
17581 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
17586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17587 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
17588 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
17589 $as_echo_n "(cached) " >&6
17590 else
17591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17592 /* end confdefs.h. */
17593 #include <netdb.h>
17595 main ()
17598 char *name=0;
17599 struct hostent he;
17600 struct hostent *result;
17601 char *buf=0;
17602 int bufsize=0;
17603 int errnr;
17604 char *addr=0;
17605 int addrlen=0;
17606 int addrtype=0;
17607 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17608 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17611 return 0;
17613 _ACEOF
17614 if ac_fn_c_try_link "$LINENO"; then :
17615 wine_cv_linux_gethostbyname_r_6=yes
17616 else
17617 wine_cv_linux_gethostbyname_r_6=no
17620 rm -f core conftest.err conftest.$ac_objext \
17621 conftest$ac_exeext conftest.$ac_ext
17624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
17625 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
17626 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17627 then
17629 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
17633 if test "$ac_cv_header_linux_joystick_h" = "yes"
17634 then
17635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17636 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
17637 if ${wine_cv_linux_joystick_22_api+:} false; then :
17638 $as_echo_n "(cached) " >&6
17639 else
17640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17641 /* end confdefs.h. */
17643 #include <sys/ioctl.h>
17644 #include <sys/types.h>
17645 #include <linux/joystick.h>
17647 struct js_event blub;
17648 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17649 #error "no 2.2 header"
17650 #endif
17653 main ()
17655 /*empty*/
17657 return 0;
17659 _ACEOF
17660 if ac_fn_c_try_compile "$LINENO"; then :
17661 wine_cv_linux_joystick_22_api=yes
17662 else
17663 wine_cv_linux_joystick_22_api=no
17665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
17669 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
17670 if test "$wine_cv_linux_joystick_22_api" = "yes"
17671 then
17673 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
17678 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
17679 #ifdef HAVE_SYS_SOCKET_H
17680 # include <sys/socket.h>
17681 #endif
17682 #ifdef HAVE_SYS_UN_H
17683 # include <sys/un.h>
17684 #endif
17686 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
17688 cat >>confdefs.h <<_ACEOF
17689 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
17690 _ACEOF
17694 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17695 #ifdef HAVE_SYS_SOCKET_H
17696 # include <sys/socket.h>
17697 #endif
17698 #ifdef HAVE_SYS_UN_H
17699 # include <sys/un.h>
17700 #endif
17702 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17704 cat >>confdefs.h <<_ACEOF
17705 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17706 _ACEOF
17712 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17713 #ifdef HAVE_SCSI_SG_H
17714 #include <scsi/sg.h>
17715 #endif
17717 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17719 cat >>confdefs.h <<_ACEOF
17720 #define HAVE_SCSIREQ_T_CMD 1
17721 _ACEOF
17725 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>
17726 #ifdef HAVE_SCSI_SG_H
17727 #include <scsi/sg.h>
17728 #endif
17730 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17732 cat >>confdefs.h <<_ACEOF
17733 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17734 _ACEOF
17740 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17742 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17744 cat >>confdefs.h <<_ACEOF
17745 #define HAVE_SIGINFO_T_SI_FD 1
17746 _ACEOF
17752 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17753 #ifdef HAVE_SYS_MTIO_H
17754 #include <sys/mtio.h>
17755 #endif
17757 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17759 cat >>confdefs.h <<_ACEOF
17760 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17761 _ACEOF
17765 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17766 #ifdef HAVE_SYS_MTIO_H
17767 #include <sys/mtio.h>
17768 #endif
17770 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17772 cat >>confdefs.h <<_ACEOF
17773 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17774 _ACEOF
17778 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17779 #ifdef HAVE_SYS_MTIO_H
17780 #include <sys/mtio.h>
17781 #endif
17783 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17785 cat >>confdefs.h <<_ACEOF
17786 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17787 _ACEOF
17793 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17794 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17796 cat >>confdefs.h <<_ACEOF
17797 #define HAVE_STRUCT_STAT_ST_MTIM 1
17798 _ACEOF
17802 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17803 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17805 cat >>confdefs.h <<_ACEOF
17806 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17807 _ACEOF
17811 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17812 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17814 cat >>confdefs.h <<_ACEOF
17815 #define HAVE_STRUCT_STAT_ST_CTIM 1
17816 _ACEOF
17820 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17821 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17823 cat >>confdefs.h <<_ACEOF
17824 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17825 _ACEOF
17829 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17830 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17832 cat >>confdefs.h <<_ACEOF
17833 #define HAVE_STRUCT_STAT_ST_ATIM 1
17834 _ACEOF
17838 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17839 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17841 cat >>confdefs.h <<_ACEOF
17842 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17843 _ACEOF
17847 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17848 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17850 cat >>confdefs.h <<_ACEOF
17851 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17852 _ACEOF
17856 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17857 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17859 cat >>confdefs.h <<_ACEOF
17860 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17861 _ACEOF
17865 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17866 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17868 cat >>confdefs.h <<_ACEOF
17869 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17870 _ACEOF
17874 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17875 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17877 cat >>confdefs.h <<_ACEOF
17878 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17879 _ACEOF
17883 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17884 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17886 cat >>confdefs.h <<_ACEOF
17887 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17888 _ACEOF
17894 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
17895 #include <sys/types.h>
17896 #endif
17897 #ifdef HAVE_NETINET_IN_H
17898 #include <netinet/in.h>
17899 #endif
17901 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17903 cat >>confdefs.h <<_ACEOF
17904 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17905 _ACEOF
17911 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17912 #include <sys/types.h>
17913 #endif
17914 #ifdef HAVE_NETINET_IN_H
17915 #include <netinet/in.h>
17916 #endif
17917 #ifdef HAVE_RESOLV_H
17918 #include <resolv.h>
17919 #endif
17921 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17923 cat >>confdefs.h <<_ACEOF
17924 #define HAVE_STRUCT___RES_STATE 1
17925 _ACEOF
17931 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
17932 #include <resolv.h>
17933 #endif
17935 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17937 cat >>confdefs.h <<_ACEOF
17938 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17939 _ACEOF
17945 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17946 #include <sys/types.h>
17947 #endif
17948 #ifdef HAVE_NETINET_IN_H
17949 #include <netinet/in.h>
17950 #endif
17951 #ifdef HAVE_NETINET_IP_H
17952 #include <netinet/ip.h>
17953 #endif
17954 #ifdef HAVE_NETINET_IP_ICMP_H
17955 #include <netinet/ip_icmp.h>
17956 #endif
17957 #ifdef HAVE_NETINET_ICMP_VAR_H
17958 #include <netinet/icmp_var.h>
17959 #endif
17961 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17963 cat >>confdefs.h <<_ACEOF
17964 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17965 _ACEOF
17971 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17972 #include <sys/types.h>
17973 #endif
17974 #ifdef HAVE_ALIAS_H
17975 #include <alias.h>
17976 #endif
17977 #ifdef HAVE_SYS_SOCKET_H
17978 #include <sys/socket.h>
17979 #endif
17980 #ifdef HAVE_SYS_SOCKETVAR_H
17981 #include <sys/socketvar.h>
17982 #endif
17983 #ifdef HAVE_SYS_TIMEOUT_H
17984 #include <sys/timeout.h>
17985 #endif
17986 #ifdef HAVE_NETINET_IN_H
17987 #include <netinet/in.h>
17988 #endif
17989 #ifdef HAVE_NETINET_IN_SYSTM_H
17990 #include <netinet/in_systm.h>
17991 #endif
17992 #ifdef HAVE_NETINET_IP_H
17993 #include <netinet/ip.h>
17994 #endif
17995 #ifdef HAVE_NETINET_IP_VAR_H
17996 #include <netinet/ip_var.h>
17997 #endif
17998 #ifdef HAVE_NETINET_IP_ICMP_H
17999 #include <netinet/ip_icmp.h>
18000 #endif
18001 #ifdef HAVE_NETINET_ICMP_VAR_H
18002 #include <netinet/icmp_var.h>
18003 #endif
18005 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
18007 cat >>confdefs.h <<_ACEOF
18008 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
18009 _ACEOF
18015 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
18016 #include <netinet/in.h>
18017 #endif
18019 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes; then :
18021 cat >>confdefs.h <<_ACEOF
18022 #define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1
18023 _ACEOF
18029 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
18030 #include <sys/types.h>
18031 #endif
18032 #ifdef HAVE_SYS_SOCKETVAR_H
18033 #include <sys/socketvar.h>
18034 #endif
18035 #ifdef HAVE_NETINET_IN_H
18036 #include <netinet/in.h>
18037 #endif
18038 #ifdef HAVE_NETINET_IP_VAR_H
18039 #include <netinet/ip_var.h>
18040 #endif
18042 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
18044 cat >>confdefs.h <<_ACEOF
18045 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
18046 _ACEOF
18052 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
18053 #include <netinet/ip_var.h>
18054 #endif
18056 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
18058 cat >>confdefs.h <<_ACEOF
18059 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
18060 _ACEOF
18066 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
18067 #include <sys/types.h>
18068 #endif
18069 #ifdef HAVE_SYS_SOCKETVAR_H
18070 #include <sys/socketvar.h>
18071 #endif
18072 #ifdef HAVE_NETINET_IN_H
18073 #include <netinet/in.h>
18074 #endif
18075 #ifdef HAVE_NETINET_TCP_H
18076 #include <netinet/tcp.h>
18077 #endif
18078 #ifdef HAVE_NETINET_TCP_VAR_H
18079 #include <netinet/tcp_var.h>
18080 #endif
18082 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
18084 cat >>confdefs.h <<_ACEOF
18085 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
18086 _ACEOF
18092 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
18093 #include <netinet/tcp_var.h>
18094 #endif
18096 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
18098 cat >>confdefs.h <<_ACEOF
18099 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
18100 _ACEOF
18106 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
18107 #include <sys/types.h>
18108 #endif
18109 #ifdef HAVE_NETINET_IN_H
18110 #include <netinet/in.h>
18111 #endif
18112 #ifdef HAVE_NETINET_IP_VAR_H
18113 #include <netinet/ip_var.h>
18114 #endif
18115 #ifdef HAVE_NETINET_UDP_H
18116 #include <netinet/udp.h>
18117 #endif
18118 #ifdef HAVE_NETINET_UDP_VAR_H
18119 #include <netinet/udp_var.h>
18120 #endif
18122 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
18124 cat >>confdefs.h <<_ACEOF
18125 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
18126 _ACEOF
18132 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
18133 #include <sys/types.h>
18134 #endif
18135 #ifdef HAVE_NET_IF_H
18136 # include <net/if.h>
18137 #endif
18139 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
18141 cat >>confdefs.h <<_ACEOF
18142 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
18143 _ACEOF
18149 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
18150 # include <sys/sysinfo.h>
18151 #endif
18153 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
18155 cat >>confdefs.h <<_ACEOF
18156 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
18157 _ACEOF
18161 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
18162 # include <sys/sysinfo.h>
18163 #endif
18165 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
18167 cat >>confdefs.h <<_ACEOF
18168 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
18169 _ACEOF
18175 ac_save_LIBS="$LIBS"
18176 LIBS="$LIBS -lm"
18177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
18178 $as_echo_n "checking for isfinite... " >&6; }
18179 if ${ac_cv_have_isfinite+:} false; then :
18180 $as_echo_n "(cached) " >&6
18181 else
18182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18183 /* end confdefs.h. */
18184 #include <math.h>
18186 main ()
18188 float f = 0.0; return isfinite(f)
18190 return 0;
18192 _ACEOF
18193 if ac_fn_c_try_link "$LINENO"; then :
18194 ac_cv_have_isfinite="yes"
18195 else
18196 ac_cv_have_isfinite="no"
18198 rm -f core conftest.err conftest.$ac_objext \
18199 conftest$ac_exeext conftest.$ac_ext
18201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
18202 $as_echo "$ac_cv_have_isfinite" >&6; }
18203 if test "$ac_cv_have_isfinite" = "yes"
18204 then
18206 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
18210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
18211 $as_echo_n "checking for isinf... " >&6; }
18212 if ${ac_cv_have_isinf+:} false; then :
18213 $as_echo_n "(cached) " >&6
18214 else
18215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18216 /* end confdefs.h. */
18217 #include <math.h>
18219 main ()
18221 float f = 0.0; return isinf(f)
18223 return 0;
18225 _ACEOF
18226 if ac_fn_c_try_link "$LINENO"; then :
18227 ac_cv_have_isinf="yes"
18228 else
18229 ac_cv_have_isinf="no"
18231 rm -f core conftest.err conftest.$ac_objext \
18232 conftest$ac_exeext conftest.$ac_ext
18234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
18235 $as_echo "$ac_cv_have_isinf" >&6; }
18236 if test "$ac_cv_have_isinf" = "yes"
18237 then
18239 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
18243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
18244 $as_echo_n "checking for isnan... " >&6; }
18245 if ${ac_cv_have_isnan+:} false; then :
18246 $as_echo_n "(cached) " >&6
18247 else
18248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18249 /* end confdefs.h. */
18250 #include <math.h>
18252 main ()
18254 float f = 0.0; return isnan(f)
18256 return 0;
18258 _ACEOF
18259 if ac_fn_c_try_link "$LINENO"; then :
18260 ac_cv_have_isnan="yes"
18261 else
18262 ac_cv_have_isnan="no"
18264 rm -f core conftest.err conftest.$ac_objext \
18265 conftest$ac_exeext conftest.$ac_ext
18267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
18268 $as_echo "$ac_cv_have_isnan" >&6; }
18269 if test "$ac_cv_have_isnan" = "yes"
18270 then
18272 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
18276 LIBS="$ac_save_LIBS"
18278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
18279 $as_echo_n "checking for __builtin_popcount... " >&6; }
18280 if ${ac_cv_have___builtin_popcount+:} false; then :
18281 $as_echo_n "(cached) " >&6
18282 else
18283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18284 /* end confdefs.h. */
18287 main ()
18289 return __builtin_popcount(1)
18291 return 0;
18293 _ACEOF
18294 if ac_fn_c_try_link "$LINENO"; then :
18295 ac_cv_have___builtin_popcount="yes"
18296 else
18297 ac_cv_have___builtin_popcount="no"
18299 rm -f core conftest.err conftest.$ac_objext \
18300 conftest$ac_exeext conftest.$ac_ext
18302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
18303 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
18304 if test "$ac_cv_have___builtin_popcount" = "yes"
18305 then
18307 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
18311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
18312 $as_echo_n "checking for __clear_cache... " >&6; }
18313 if ${ac_cv_have___clear_cache+:} false; then :
18314 $as_echo_n "(cached) " >&6
18315 else
18316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18317 /* end confdefs.h. */
18320 main ()
18322 __clear_cache((void*)0, (void*)0); return 0;
18324 return 0;
18326 _ACEOF
18327 if ac_fn_c_try_link "$LINENO"; then :
18328 ac_cv_have___clear_cache="yes"
18329 else
18330 ac_cv_have___clear_cache="no"
18332 rm -f core conftest.err conftest.$ac_objext \
18333 conftest$ac_exeext conftest.$ac_ext
18335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
18336 $as_echo "$ac_cv_have___clear_cache" >&6; }
18337 if test "$ac_cv_have___clear_cache" = "yes"
18338 then
18340 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
18345 case $host_cpu in
18346 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
18347 $as_echo_n "checking whether we need to define __i386__... " >&6; }
18348 if ${ac_cv_cpp_def___i386__+:} false; then :
18349 $as_echo_n "(cached) " >&6
18350 else
18351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18352 /* end confdefs.h. */
18353 #ifndef __i386__
18355 #endif
18356 _ACEOF
18357 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18358 $EGREP "yes" >/dev/null 2>&1; then :
18359 ac_cv_cpp_def___i386__=yes
18360 else
18361 ac_cv_cpp_def___i386__=no
18363 rm -f conftest*
18366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
18367 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
18368 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
18369 CFLAGS="$CFLAGS -D__i386__"
18370 LINTFLAGS="$LINTFLAGS -D__i386__"
18371 fi ;;
18372 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
18373 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
18374 if ${ac_cv_cpp_def___x86_64__+:} false; then :
18375 $as_echo_n "(cached) " >&6
18376 else
18377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18378 /* end confdefs.h. */
18379 #ifndef __x86_64__
18381 #endif
18382 _ACEOF
18383 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18384 $EGREP "yes" >/dev/null 2>&1; then :
18385 ac_cv_cpp_def___x86_64__=yes
18386 else
18387 ac_cv_cpp_def___x86_64__=no
18389 rm -f conftest*
18392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
18393 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
18394 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
18395 CFLAGS="$CFLAGS -D__x86_64__"
18396 LINTFLAGS="$LINTFLAGS -D__x86_64__"
18397 fi ;;
18398 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
18399 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
18400 if ${ac_cv_cpp_def___sparc64__+:} false; then :
18401 $as_echo_n "(cached) " >&6
18402 else
18403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18404 /* end confdefs.h. */
18405 #ifndef __sparc64__
18407 #endif
18408 _ACEOF
18409 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18410 $EGREP "yes" >/dev/null 2>&1; then :
18411 ac_cv_cpp_def___sparc64__=yes
18412 else
18413 ac_cv_cpp_def___sparc64__=no
18415 rm -f conftest*
18418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
18419 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
18420 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
18421 CFLAGS="$CFLAGS -D__sparc64__"
18422 LINTFLAGS="$LINTFLAGS -D__sparc64__"
18423 fi ;;
18424 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
18425 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
18426 if ${ac_cv_cpp_def___sparc__+:} false; then :
18427 $as_echo_n "(cached) " >&6
18428 else
18429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18430 /* end confdefs.h. */
18431 #ifndef __sparc__
18433 #endif
18434 _ACEOF
18435 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18436 $EGREP "yes" >/dev/null 2>&1; then :
18437 ac_cv_cpp_def___sparc__=yes
18438 else
18439 ac_cv_cpp_def___sparc__=no
18441 rm -f conftest*
18444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
18445 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
18446 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
18447 CFLAGS="$CFLAGS -D__sparc__"
18448 LINTFLAGS="$LINTFLAGS -D__sparc__"
18449 fi ;;
18450 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
18451 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
18452 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
18453 $as_echo_n "(cached) " >&6
18454 else
18455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18456 /* end confdefs.h. */
18457 #ifndef __powerpc64__
18459 #endif
18460 _ACEOF
18461 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18462 $EGREP "yes" >/dev/null 2>&1; then :
18463 ac_cv_cpp_def___powerpc64__=yes
18464 else
18465 ac_cv_cpp_def___powerpc64__=no
18467 rm -f conftest*
18470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
18471 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
18472 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
18473 CFLAGS="$CFLAGS -D__powerpc64__"
18474 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
18475 fi ;;
18476 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
18477 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
18478 if ${ac_cv_cpp_def___powerpc__+:} false; then :
18479 $as_echo_n "(cached) " >&6
18480 else
18481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18482 /* end confdefs.h. */
18483 #ifndef __powerpc__
18485 #endif
18486 _ACEOF
18487 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18488 $EGREP "yes" >/dev/null 2>&1; then :
18489 ac_cv_cpp_def___powerpc__=yes
18490 else
18491 ac_cv_cpp_def___powerpc__=no
18493 rm -f conftest*
18496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
18497 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
18498 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
18499 CFLAGS="$CFLAGS -D__powerpc__"
18500 LINTFLAGS="$LINTFLAGS -D__powerpc__"
18501 fi ;;
18502 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
18503 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
18504 if ${ac_cv_cpp_def___aarch64__+:} false; then :
18505 $as_echo_n "(cached) " >&6
18506 else
18507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18508 /* end confdefs.h. */
18509 #ifndef __aarch64__
18511 #endif
18512 _ACEOF
18513 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18514 $EGREP "yes" >/dev/null 2>&1; then :
18515 ac_cv_cpp_def___aarch64__=yes
18516 else
18517 ac_cv_cpp_def___aarch64__=no
18519 rm -f conftest*
18522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18523 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18524 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18525 CFLAGS="$CFLAGS -D__aarch64__"
18526 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18527 fi ;;
18528 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18529 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18530 if ${ac_cv_cpp_def___arm__+:} false; then :
18531 $as_echo_n "(cached) " >&6
18532 else
18533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18534 /* end confdefs.h. */
18535 #ifndef __arm__
18537 #endif
18538 _ACEOF
18539 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18540 $EGREP "yes" >/dev/null 2>&1; then :
18541 ac_cv_cpp_def___arm__=yes
18542 else
18543 ac_cv_cpp_def___arm__=no
18545 rm -f conftest*
18548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18549 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18550 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18551 CFLAGS="$CFLAGS -D__arm__"
18552 LINTFLAGS="$LINTFLAGS -D__arm__"
18553 fi ;;
18554 esac
18556 case $host_vendor in
18557 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18558 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18559 if ${ac_cv_cpp_def___sun__+:} false; then :
18560 $as_echo_n "(cached) " >&6
18561 else
18562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18563 /* end confdefs.h. */
18564 #ifndef __sun__
18566 #endif
18567 _ACEOF
18568 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18569 $EGREP "yes" >/dev/null 2>&1; then :
18570 ac_cv_cpp_def___sun__=yes
18571 else
18572 ac_cv_cpp_def___sun__=no
18574 rm -f conftest*
18577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18578 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18579 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18580 CFLAGS="$CFLAGS -D__sun__"
18581 LINTFLAGS="$LINTFLAGS -D__sun__"
18582 fi ;;
18583 esac
18589 ac_config_commands="$ac_config_commands include/stamp-h"
18591 $as_echo_n "creating Makefile rules..." >&6
18593 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
18594 OPENGL_LIBS = $OPENGL_LIBS
18595 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18596 IOKIT_LIBS = $IOKIT_LIBS
18597 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18598 CORESERVICES_LIBS = $CORESERVICES_LIBS
18599 APPKIT_LIBS = $APPKIT_LIBS
18600 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
18601 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18602 SECURITY_LIBS = $SECURITY_LIBS
18603 COREAUDIO_LIBS = $COREAUDIO_LIBS
18604 OPENAL_LIBS = $OPENAL_LIBS
18605 OPENCL_LIBS = $OPENCL_LIBS
18606 QUICKTIME_LIBS = $QUICKTIME_LIBS
18607 CARBON_LIBS = $CARBON_LIBS
18608 METAL_LIBS = $METAL_LIBS
18609 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18610 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
18611 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
18612 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
18613 GSM_PE_LIBS = $GSM_PE_LIBS
18614 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
18615 JPEG_PE_LIBS = $JPEG_PE_LIBS
18616 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
18617 JXR_PE_LIBS = $JXR_PE_LIBS
18618 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
18619 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
18620 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
18621 MPG123_PE_LIBS = $MPG123_PE_LIBS
18622 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
18623 PNG_PE_LIBS = $PNG_PE_LIBS
18624 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
18625 TIFF_PE_LIBS = $TIFF_PE_LIBS
18626 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
18627 XML2_PE_LIBS = $XML2_PE_LIBS
18628 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
18629 XSLT_PE_LIBS = $XSLT_PE_LIBS
18630 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
18631 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
18632 PTHREAD_LIBS = $PTHREAD_LIBS
18633 X_CFLAGS = $X_CFLAGS
18634 X_PRE_LIBS = $X_PRE_LIBS
18635 X_LIBS = $X_LIBS
18636 X_EXTRA_LIBS = $X_EXTRA_LIBS
18637 PCAP_LIBS = $PCAP_LIBS
18638 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
18639 INOTIFY_LIBS = $INOTIFY_LIBS
18640 DBUS_CFLAGS = $DBUS_CFLAGS
18641 DBUS_LIBS = $DBUS_LIBS
18642 HAL_CFLAGS = $HAL_CFLAGS
18643 HAL_LIBS = $HAL_LIBS
18644 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18645 GNUTLS_LIBS = $GNUTLS_LIBS
18646 SANE_CFLAGS = $SANE_CFLAGS
18647 SANE_LIBS = $SANE_LIBS
18648 USB_CFLAGS = $USB_CFLAGS
18649 USB_LIBS = $USB_LIBS
18650 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18651 GPHOTO2_LIBS = $GPHOTO2_LIBS
18652 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18653 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18654 RESOLV_LIBS = $RESOLV_LIBS
18655 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18656 FREETYPE_LIBS = $FREETYPE_LIBS
18657 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18658 PULSE_CFLAGS = $PULSE_CFLAGS
18659 PULSE_LIBS = $PULSE_LIBS
18660 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18661 GSTREAMER_LIBS = $GSTREAMER_LIBS
18662 ALSA_LIBS = $ALSA_LIBS
18663 OSS4_CFLAGS = $OSS4_CFLAGS
18664 OSS4_LIBS = $OSS4_LIBS
18665 UDEV_CFLAGS = $UDEV_CFLAGS
18666 UDEV_LIBS = $UDEV_LIBS
18667 UNWIND_CFLAGS = $UNWIND_CFLAGS
18668 UNWIND_LIBS = $UNWIND_LIBS
18669 SDL2_CFLAGS = $SDL2_CFLAGS
18670 SDL2_LIBS = $SDL2_LIBS
18671 CAPI20_CFLAGS = $CAPI20_CFLAGS
18672 CAPI20_LIBS = $CAPI20_LIBS
18673 CUPS_CFLAGS = $CUPS_CFLAGS
18674 CUPS_LIBS = $CUPS_LIBS
18675 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18676 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18677 KRB5_CFLAGS = $KRB5_CFLAGS
18678 KRB5_LIBS = $KRB5_LIBS
18679 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18680 GSSAPI_LIBS = $GSSAPI_LIBS
18681 JPEG_CFLAGS = $JPEG_CFLAGS
18682 JPEG_LIBS = $JPEG_LIBS
18683 PROCSTAT_LIBS = $PROCSTAT_LIBS
18684 NETAPI_CFLAGS = $NETAPI_CFLAGS
18685 NETAPI_LIBS = $NETAPI_LIBS
18686 VKD3D_CFLAGS = $VKD3D_CFLAGS
18687 VKD3D_LIBS = $VKD3D_LIBS
18688 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
18689 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
18690 RT_LIBS = $RT_LIBS
18691 LDAP_CFLAGS = $LDAP_CFLAGS
18692 LDAP_LIBS = $LDAP_LIBS
18696 makedep_flags=""
18697 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
18700 wine_fn_append_rule "
18701 # Rules automatically generated by configure
18703 .INIT: Makefile
18704 .MAKEFILEDEPS:
18705 all: Makefile
18706 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18707 @./config.status Make.tmp Makefile
18708 depend: \$(MAKEDEP)
18709 \$(MAKEDEP)$makedep_flags
18710 dummy:
18711 .PHONY: depend dummy"
18713 ac_config_links="$ac_config_links wine:tools/winewrapper"
18714 wine_fn_config_symlink wine
18715 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
18716 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18717 wine_fn_config_symlink wine64
18720 wine_fn_config_makefile dlls/acledit enable_acledit
18721 wine_fn_config_makefile dlls/aclui enable_aclui
18722 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
18723 wine_fn_config_makefile dlls/activeds enable_activeds
18724 wine_fn_config_makefile dlls/activeds/tests enable_tests
18725 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
18726 wine_fn_config_makefile dlls/adsldp enable_adsldp
18727 wine_fn_config_makefile dlls/adsldp/tests enable_tests
18728 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
18729 wine_fn_config_makefile dlls/advapi32 enable_advapi32
18730 wine_fn_config_makefile dlls/advapi32/tests enable_tests
18731 wine_fn_config_makefile dlls/advpack enable_advpack
18732 wine_fn_config_makefile dlls/advpack/tests enable_tests
18733 wine_fn_config_makefile dlls/amsi enable_amsi
18734 wine_fn_config_makefile dlls/amstream enable_amstream
18735 wine_fn_config_makefile dlls/amstream/tests enable_tests
18736 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18737 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
18738 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
18739 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
18740 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
18741 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
18742 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
18743 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
18744 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
18745 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
18746 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
18747 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
18748 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
18749 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-2-0 enable_api_ms_win_core_console_l1_2_0
18750 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
18751 wine_fn_config_makefile dlls/api-ms-win-core-console-l3-2-0 enable_api_ms_win_core_console_l3_2_0
18752 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
18753 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
18754 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
18755 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
18756 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
18757 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
18758 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
18759 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
18760 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
18761 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
18762 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
18763 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
18764 wine_fn_config_makefile dlls/api-ms-win-core-featurestaging-l1-1-0 enable_api_ms_win_core_featurestaging_l1_1_0
18765 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
18766 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
18767 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
18768 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
18769 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
18770 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
18771 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
18772 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
18773 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
18774 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
18775 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
18776 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
18777 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
18778 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
18779 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
18780 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
18781 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
18782 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
18783 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
18784 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
18785 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
18786 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
18787 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
18788 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
18789 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
18790 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-5 enable_api_ms_win_core_kernel32_legacy_l1_1_5
18791 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18792 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
18793 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18794 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18795 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18796 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
18797 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18798 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
18799 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18800 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18801 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18802 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
18803 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18804 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18805 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18806 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18807 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18808 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18809 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18810 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18811 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18812 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
18813 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
18814 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18815 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
18816 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18817 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18818 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18819 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18820 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18821 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18822 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18823 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18824 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18825 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18826 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18827 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
18828 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-l1-1-0 enable_api_ms_win_core_processtopology_l1_1_0
18829 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18830 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18831 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18832 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18833 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18834 wine_fn_config_makefile dlls/api-ms-win-core-psm-appnotify-l1-1-0 enable_api_ms_win_core_psm_appnotify_l1_1_0
18835 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18836 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18837 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-1 enable_api_ms_win_core_realtime_l1_1_1
18838 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18839 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18840 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
18841 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18842 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18843 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18844 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18845 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18846 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18847 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
18848 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18849 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18850 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18851 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18852 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18853 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
18854 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
18855 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18856 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18857 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18858 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18859 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18860 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18861 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
18862 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18863 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18864 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18865 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18866 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18867 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18868 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18869 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18870 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18871 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18872 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18873 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18874 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18875 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18876 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18877 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18878 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18879 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18880 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18881 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18882 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
18883 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18884 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18885 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18886 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18887 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18888 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18889 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18890 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18891 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18892 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18893 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18894 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18895 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18896 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18897 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18898 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18899 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18900 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18901 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18902 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
18903 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18904 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18905 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18906 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18907 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
18908 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18909 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18910 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18911 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18912 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18913 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18914 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18915 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18916 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18917 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18918 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18919 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18920 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18921 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18922 wine_fn_config_makefile dlls/api-ms-win-gaming-tcui-l1-1-0 enable_api_ms_win_gaming_tcui_l1_1_0
18923 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
18924 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18925 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18926 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18927 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18928 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18929 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18930 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
18931 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
18932 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18933 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18934 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
18935 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18936 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
18937 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
18938 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
18939 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
18940 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
18941 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18942 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18943 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18944 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18945 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18946 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18947 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
18948 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18949 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18950 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18951 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
18952 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18953 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18954 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18955 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18956 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18957 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18958 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18959 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18960 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18961 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18962 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18963 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18964 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
18965 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-0 enable_api_ms_win_shcore_scaling_l1_1_0
18966 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
18967 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
18968 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-winrt-l1-1-0 enable_api_ms_win_shcore_stream_winrt_l1_1_0
18969 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
18970 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18971 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18972 wine_fn_config_makefile dlls/apphelp enable_apphelp
18973 wine_fn_config_makefile dlls/apphelp/tests enable_tests
18974 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
18975 wine_fn_config_makefile dlls/atl enable_atl
18976 wine_fn_config_makefile dlls/atl/tests enable_tests
18977 wine_fn_config_makefile dlls/atl100 enable_atl100
18978 wine_fn_config_makefile dlls/atl100/tests enable_tests
18979 wine_fn_config_makefile dlls/atl110 enable_atl110
18980 wine_fn_config_makefile dlls/atl80 enable_atl80
18981 wine_fn_config_makefile dlls/atl80/tests enable_tests
18982 wine_fn_config_makefile dlls/atl90 enable_atl90
18983 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
18984 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
18985 wine_fn_config_makefile dlls/atmlib enable_atmlib
18986 wine_fn_config_makefile dlls/authz enable_authz
18987 wine_fn_config_makefile dlls/avicap32 enable_avicap32
18988 wine_fn_config_makefile dlls/avifil32 enable_avifil32
18989 wine_fn_config_makefile dlls/avifil32/tests enable_tests
18990 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
18991 wine_fn_config_makefile dlls/avrt enable_avrt
18992 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
18993 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
18994 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
18995 wine_fn_config_makefile dlls/browseui enable_browseui
18996 wine_fn_config_makefile dlls/browseui/tests enable_tests
18997 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
18998 wine_fn_config_makefile dlls/cabinet enable_cabinet
18999 wine_fn_config_makefile dlls/cabinet/tests enable_tests
19000 wine_fn_config_makefile dlls/capi2032 enable_capi2032
19001 wine_fn_config_makefile dlls/cards enable_cards
19002 wine_fn_config_makefile dlls/cdosys enable_cdosys
19003 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
19004 wine_fn_config_makefile dlls/clusapi enable_clusapi
19005 wine_fn_config_makefile dlls/combase enable_combase
19006 wine_fn_config_makefile dlls/combase/tests enable_tests
19007 wine_fn_config_makefile dlls/comcat enable_comcat
19008 wine_fn_config_makefile dlls/comcat/tests enable_tests
19009 wine_fn_config_makefile dlls/comctl32 enable_comctl32
19010 wine_fn_config_makefile dlls/comctl32/tests enable_tests
19011 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
19012 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
19013 wine_fn_config_makefile dlls/comm.drv16 enable_win16
19014 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
19015 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
19016 wine_fn_config_makefile dlls/compstui enable_compstui
19017 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
19018 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
19019 wine_fn_config_makefile dlls/concrt140 enable_concrt140
19020 wine_fn_config_makefile dlls/concrt140/tests enable_tests
19021 wine_fn_config_makefile dlls/connect enable_connect
19022 wine_fn_config_makefile dlls/credui enable_credui
19023 wine_fn_config_makefile dlls/credui/tests enable_tests
19024 wine_fn_config_makefile dlls/crtdll enable_crtdll
19025 wine_fn_config_makefile dlls/crypt32 enable_crypt32
19026 wine_fn_config_makefile dlls/crypt32/tests enable_tests
19027 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
19028 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
19029 wine_fn_config_makefile dlls/cryptext enable_cryptext
19030 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
19031 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
19032 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
19033 wine_fn_config_makefile dlls/cryptui enable_cryptui
19034 wine_fn_config_makefile dlls/cryptui/tests enable_tests
19035 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
19036 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
19037 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
19038 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
19039 wine_fn_config_makefile dlls/d2d1 enable_d2d1
19040 wine_fn_config_makefile dlls/d2d1/tests enable_tests
19041 wine_fn_config_makefile dlls/d3d10 enable_d3d10
19042 wine_fn_config_makefile dlls/d3d10/tests enable_tests
19043 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
19044 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
19045 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
19046 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
19047 wine_fn_config_makefile dlls/d3d11 enable_d3d11
19048 wine_fn_config_makefile dlls/d3d11/tests enable_tests
19049 wine_fn_config_makefile dlls/d3d12 enable_d3d12
19050 wine_fn_config_makefile dlls/d3d12/tests enable_tests
19051 wine_fn_config_makefile dlls/d3d8 enable_d3d8
19052 wine_fn_config_makefile dlls/d3d8/tests enable_tests
19053 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
19054 wine_fn_config_makefile dlls/d3d9 enable_d3d9
19055 wine_fn_config_makefile dlls/d3d9/tests enable_tests
19056 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
19057 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
19058 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
19059 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
19060 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
19061 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
19062 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
19063 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
19064 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
19065 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
19066 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
19067 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
19068 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
19069 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
19070 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
19071 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
19072 wine_fn_config_makefile dlls/d3dim enable_d3dim
19073 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
19074 wine_fn_config_makefile dlls/d3drm enable_d3drm
19075 wine_fn_config_makefile dlls/d3drm/tests enable_tests
19076 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
19077 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
19078 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
19079 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
19080 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
19081 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
19082 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
19083 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
19084 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
19085 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
19086 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
19087 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
19088 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
19089 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
19090 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
19091 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
19092 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
19093 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
19094 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
19095 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
19096 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
19097 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
19098 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
19099 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
19100 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
19101 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
19102 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
19103 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
19104 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
19105 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
19106 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
19107 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
19108 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
19109 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
19110 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
19111 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
19112 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
19113 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
19114 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
19115 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
19116 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
19117 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
19118 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
19119 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
19120 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
19121 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
19122 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
19123 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
19124 wine_fn_config_makefile dlls/davclnt enable_davclnt
19125 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
19126 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
19127 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
19128 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
19129 wine_fn_config_makefile dlls/dciman32 enable_dciman32
19130 wine_fn_config_makefile dlls/dcomp enable_dcomp
19131 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
19132 wine_fn_config_makefile dlls/ddraw enable_ddraw
19133 wine_fn_config_makefile dlls/ddraw/tests enable_tests
19134 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
19135 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
19136 wine_fn_config_makefile dlls/devenum enable_devenum
19137 wine_fn_config_makefile dlls/devenum/tests enable_tests
19138 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
19139 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
19140 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
19141 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
19142 wine_fn_config_makefile dlls/difxapi enable_difxapi
19143 wine_fn_config_makefile dlls/dinput enable_dinput
19144 wine_fn_config_makefile dlls/dinput/tests enable_tests
19145 wine_fn_config_makefile dlls/dinput8 enable_dinput8
19146 wine_fn_config_makefile dlls/dinput8/tests enable_tests
19147 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
19148 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
19149 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
19150 wine_fn_config_makefile dlls/dispex enable_dispex
19151 wine_fn_config_makefile dlls/dispex/tests enable_tests
19152 wine_fn_config_makefile dlls/display.drv16 enable_win16
19153 wine_fn_config_makefile dlls/dmband enable_dmband
19154 wine_fn_config_makefile dlls/dmband/tests enable_tests
19155 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
19156 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
19157 wine_fn_config_makefile dlls/dmime enable_dmime
19158 wine_fn_config_makefile dlls/dmime/tests enable_tests
19159 wine_fn_config_makefile dlls/dmloader enable_dmloader
19160 wine_fn_config_makefile dlls/dmloader/tests enable_tests
19161 wine_fn_config_makefile dlls/dmscript enable_dmscript
19162 wine_fn_config_makefile dlls/dmscript/tests enable_tests
19163 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
19164 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
19165 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
19166 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
19167 wine_fn_config_makefile dlls/dmusic enable_dmusic
19168 wine_fn_config_makefile dlls/dmusic/tests enable_tests
19169 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
19170 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
19171 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
19172 wine_fn_config_makefile dlls/dplay enable_dplay
19173 wine_fn_config_makefile dlls/dplayx enable_dplayx
19174 wine_fn_config_makefile dlls/dplayx/tests enable_tests
19175 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
19176 wine_fn_config_makefile dlls/dpnet enable_dpnet
19177 wine_fn_config_makefile dlls/dpnet/tests enable_tests
19178 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
19179 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
19180 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
19181 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
19182 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
19183 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
19184 wine_fn_config_makefile dlls/drmclien enable_drmclien
19185 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
19186 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
19187 wine_fn_config_makefile dlls/dsound enable_dsound
19188 wine_fn_config_makefile dlls/dsound/tests enable_tests
19189 wine_fn_config_makefile dlls/dsquery enable_dsquery
19190 wine_fn_config_makefile dlls/dssenh enable_dssenh
19191 wine_fn_config_makefile dlls/dssenh/tests enable_tests
19192 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
19193 wine_fn_config_makefile dlls/dswave enable_dswave
19194 wine_fn_config_makefile dlls/dswave/tests enable_tests
19195 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
19196 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
19197 wine_fn_config_makefile dlls/dwrite enable_dwrite
19198 wine_fn_config_makefile dlls/dwrite/tests enable_tests
19199 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
19200 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
19201 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
19202 wine_fn_config_makefile dlls/dxgi enable_dxgi
19203 wine_fn_config_makefile dlls/dxgi/tests enable_tests
19204 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
19205 wine_fn_config_makefile dlls/dxva2 enable_dxva2
19206 wine_fn_config_makefile dlls/dxva2/tests enable_tests
19207 wine_fn_config_makefile dlls/esent enable_esent
19208 wine_fn_config_makefile dlls/evr enable_evr
19209 wine_fn_config_makefile dlls/evr/tests enable_tests
19210 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
19211 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
19212 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
19213 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
19214 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
19215 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
19216 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
19217 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
19218 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
19219 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
19220 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
19221 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
19222 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
19223 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
19224 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
19225 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
19226 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
19227 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
19228 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
19229 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
19230 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
19231 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
19232 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
19233 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
19234 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
19235 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
19236 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
19237 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
19238 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
19239 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
19240 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
19241 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
19242 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
19243 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
19244 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
19245 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
19246 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
19247 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
19248 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
19249 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
19250 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
19251 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
19252 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
19253 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
19254 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
19255 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
19256 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
19257 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
19258 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
19259 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
19260 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
19261 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
19262 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
19263 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
19264 wine_fn_config_makefile dlls/faultrep enable_faultrep
19265 wine_fn_config_makefile dlls/faultrep/tests enable_tests
19266 wine_fn_config_makefile dlls/feclient enable_feclient
19267 wine_fn_config_makefile dlls/fltlib enable_fltlib
19268 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
19269 wine_fn_config_makefile dlls/fntcache enable_fntcache
19270 wine_fn_config_makefile dlls/fontsub enable_fontsub
19271 wine_fn_config_makefile dlls/fusion enable_fusion
19272 wine_fn_config_makefile dlls/fusion/tests enable_tests
19273 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
19274 wine_fn_config_makefile dlls/gameux enable_gameux
19275 wine_fn_config_makefile dlls/gameux/tests enable_tests
19276 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
19277 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
19278 wine_fn_config_makefile dlls/gdi32 enable_gdi32
19279 wine_fn_config_makefile dlls/gdi32/tests enable_tests
19280 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
19281 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
19282 wine_fn_config_makefile dlls/glu32 enable_glu32
19283 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
19284 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
19285 wine_fn_config_makefile dlls/hal enable_hal
19286 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
19287 wine_fn_config_makefile dlls/hid enable_hid
19288 wine_fn_config_makefile dlls/hid/tests enable_tests
19289 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
19290 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
19291 wine_fn_config_makefile dlls/hlink enable_hlink
19292 wine_fn_config_makefile dlls/hlink/tests enable_tests
19293 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
19294 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
19295 wine_fn_config_makefile dlls/http.sys enable_http_sys
19296 wine_fn_config_makefile dlls/httpapi enable_httpapi
19297 wine_fn_config_makefile dlls/httpapi/tests enable_tests
19298 wine_fn_config_makefile dlls/iccvid enable_iccvid
19299 wine_fn_config_makefile dlls/icmp enable_icmp
19300 wine_fn_config_makefile dlls/ieframe enable_ieframe
19301 wine_fn_config_makefile dlls/ieframe/tests enable_tests
19302 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
19303 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
19304 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
19305 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
19306 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
19307 wine_fn_config_makefile dlls/imm.dll16 enable_win16
19308 wine_fn_config_makefile dlls/imm32 enable_imm32
19309 wine_fn_config_makefile dlls/imm32/tests enable_tests
19310 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
19311 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
19312 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
19313 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
19314 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
19315 wine_fn_config_makefile dlls/infosoft enable_infosoft
19316 wine_fn_config_makefile dlls/infosoft/tests enable_tests
19317 wine_fn_config_makefile dlls/initpki enable_initpki
19318 wine_fn_config_makefile dlls/inkobj enable_inkobj
19319 wine_fn_config_makefile dlls/inseng enable_inseng
19320 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
19321 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
19322 wine_fn_config_makefile dlls/iprop enable_iprop
19323 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
19324 wine_fn_config_makefile dlls/itircl enable_itircl
19325 wine_fn_config_makefile dlls/itss enable_itss
19326 wine_fn_config_makefile dlls/itss/tests enable_tests
19327 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
19328 wine_fn_config_makefile dlls/jscript enable_jscript
19329 wine_fn_config_makefile dlls/jscript/tests enable_tests
19330 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
19331 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
19332 wine_fn_config_makefile dlls/kerberos enable_kerberos
19333 wine_fn_config_makefile dlls/kernel32 enable_kernel32
19334 wine_fn_config_makefile dlls/kernel32/tests enable_tests
19335 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
19336 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
19337 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
19338 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
19339 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
19340 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
19341 wine_fn_config_makefile dlls/ksuser enable_ksuser
19342 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
19343 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
19344 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
19345 wine_fn_config_makefile dlls/loadperf enable_loadperf
19346 wine_fn_config_makefile dlls/localspl enable_localspl
19347 wine_fn_config_makefile dlls/localspl/tests enable_tests
19348 wine_fn_config_makefile dlls/localui enable_localui
19349 wine_fn_config_makefile dlls/localui/tests enable_tests
19350 wine_fn_config_makefile dlls/lz32 enable_lz32
19351 wine_fn_config_makefile dlls/lz32/tests enable_tests
19352 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
19353 wine_fn_config_makefile dlls/mapi32 enable_mapi32
19354 wine_fn_config_makefile dlls/mapi32/tests enable_tests
19355 wine_fn_config_makefile dlls/mapistub enable_mapistub
19356 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
19357 wine_fn_config_makefile dlls/mcicda enable_mcicda
19358 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
19359 wine_fn_config_makefile dlls/mciseq enable_mciseq
19360 wine_fn_config_makefile dlls/mciwave enable_mciwave
19361 wine_fn_config_makefile dlls/mf enable_mf
19362 wine_fn_config_makefile dlls/mf/tests enable_tests
19363 wine_fn_config_makefile dlls/mf3216 enable_mf3216
19364 wine_fn_config_makefile dlls/mferror enable_mferror
19365 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
19366 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
19367 wine_fn_config_makefile dlls/mfplat enable_mfplat
19368 wine_fn_config_makefile dlls/mfplat/tests enable_tests
19369 wine_fn_config_makefile dlls/mfplay enable_mfplay
19370 wine_fn_config_makefile dlls/mfplay/tests enable_tests
19371 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
19372 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
19373 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
19374 wine_fn_config_makefile dlls/midimap enable_midimap
19375 wine_fn_config_makefile dlls/mlang enable_mlang
19376 wine_fn_config_makefile dlls/mlang/tests enable_tests
19377 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
19378 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
19379 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
19380 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
19381 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
19382 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
19383 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
19384 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
19385 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
19386 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
19387 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
19388 wine_fn_config_makefile dlls/mpr enable_mpr
19389 wine_fn_config_makefile dlls/mpr/tests enable_tests
19390 wine_fn_config_makefile dlls/mprapi enable_mprapi
19391 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
19392 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
19393 wine_fn_config_makefile dlls/msacm32 enable_msacm32
19394 wine_fn_config_makefile dlls/msacm32/tests enable_tests
19395 wine_fn_config_makefile dlls/msado15 enable_msado15
19396 wine_fn_config_makefile dlls/msado15/tests enable_tests
19397 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
19398 wine_fn_config_makefile dlls/msasn1 enable_msasn1
19399 wine_fn_config_makefile dlls/msasn1/tests enable_tests
19400 wine_fn_config_makefile dlls/mscat32 enable_mscat32
19401 wine_fn_config_makefile dlls/mscms enable_mscms
19402 wine_fn_config_makefile dlls/mscms/tests enable_tests
19403 wine_fn_config_makefile dlls/mscoree enable_mscoree
19404 wine_fn_config_makefile dlls/mscoree/tests enable_tests
19405 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
19406 wine_fn_config_makefile dlls/msctf enable_msctf
19407 wine_fn_config_makefile dlls/msctf/tests enable_tests
19408 wine_fn_config_makefile dlls/msctfp enable_msctfp
19409 wine_fn_config_makefile dlls/msdaps enable_msdaps
19410 wine_fn_config_makefile dlls/msdelta enable_msdelta
19411 wine_fn_config_makefile dlls/msdmo enable_msdmo
19412 wine_fn_config_makefile dlls/msdmo/tests enable_tests
19413 wine_fn_config_makefile dlls/msdrm enable_msdrm
19414 wine_fn_config_makefile dlls/msftedit enable_msftedit
19415 wine_fn_config_makefile dlls/msftedit/tests enable_tests
19416 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
19417 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
19418 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
19419 wine_fn_config_makefile dlls/mshtml enable_mshtml
19420 wine_fn_config_makefile dlls/mshtml/tests enable_tests
19421 wine_fn_config_makefile dlls/msi enable_msi
19422 wine_fn_config_makefile dlls/msi/tests enable_tests
19423 wine_fn_config_makefile dlls/msident enable_msident
19424 wine_fn_config_makefile dlls/msimg32 enable_msimg32
19425 wine_fn_config_makefile dlls/msimsg enable_msimsg
19426 wine_fn_config_makefile dlls/msimtf enable_msimtf
19427 wine_fn_config_makefile dlls/msisip enable_msisip
19428 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
19429 wine_fn_config_makefile dlls/msls31 enable_msls31
19430 wine_fn_config_makefile dlls/msnet32 enable_msnet32
19431 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
19432 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
19433 wine_fn_config_makefile dlls/msports enable_msports
19434 wine_fn_config_makefile dlls/msrle32 enable_msrle32
19435 wine_fn_config_makefile dlls/msrle32/tests enable_tests
19436 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
19437 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
19438 wine_fn_config_makefile dlls/mssign32 enable_mssign32
19439 wine_fn_config_makefile dlls/mssip32 enable_mssip32
19440 wine_fn_config_makefile dlls/mstask enable_mstask
19441 wine_fn_config_makefile dlls/mstask/tests enable_tests
19442 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
19443 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
19444 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
19445 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
19446 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
19447 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
19448 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
19449 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
19450 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
19451 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
19452 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
19453 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
19454 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
19455 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
19456 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
19457 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
19458 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
19459 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
19460 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
19461 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
19462 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
19463 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
19464 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
19465 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
19466 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
19467 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
19468 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
19469 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
19470 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
19471 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
19472 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
19473 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
19474 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
19475 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
19476 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
19477 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
19478 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
19479 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
19480 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
19481 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
19482 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
19483 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
19484 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
19485 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
19486 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
19487 wine_fn_config_makefile dlls/mswsock enable_mswsock
19488 wine_fn_config_makefile dlls/msxml enable_msxml
19489 wine_fn_config_makefile dlls/msxml2 enable_msxml2
19490 wine_fn_config_makefile dlls/msxml3 enable_msxml3
19491 wine_fn_config_makefile dlls/msxml3/tests enable_tests
19492 wine_fn_config_makefile dlls/msxml4 enable_msxml4
19493 wine_fn_config_makefile dlls/msxml6 enable_msxml6
19494 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
19495 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
19496 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
19497 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
19498 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
19499 wine_fn_config_makefile dlls/netapi32 enable_netapi32
19500 wine_fn_config_makefile dlls/netapi32/tests enable_tests
19501 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
19502 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
19503 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
19504 wine_fn_config_makefile dlls/netprofm enable_netprofm
19505 wine_fn_config_makefile dlls/netprofm/tests enable_tests
19506 wine_fn_config_makefile dlls/netutils enable_netutils
19507 wine_fn_config_makefile dlls/newdev enable_newdev
19508 wine_fn_config_makefile dlls/ninput enable_ninput
19509 wine_fn_config_makefile dlls/ninput/tests enable_tests
19510 wine_fn_config_makefile dlls/normaliz enable_normaliz
19511 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
19512 wine_fn_config_makefile dlls/npptools enable_npptools
19513 wine_fn_config_makefile dlls/nsi enable_nsi
19514 wine_fn_config_makefile dlls/nsi/tests enable_tests
19515 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
19516 wine_fn_config_makefile dlls/ntdll enable_ntdll
19517 wine_fn_config_makefile dlls/ntdll/tests enable_tests
19518 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
19519 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
19520 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
19521 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
19522 wine_fn_config_makefile dlls/ntprint enable_ntprint
19523 wine_fn_config_makefile dlls/ntprint/tests enable_tests
19524 wine_fn_config_makefile dlls/objsel enable_objsel
19525 wine_fn_config_makefile dlls/odbc32 enable_odbc32
19526 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
19527 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
19528 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
19529 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
19530 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
19531 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
19532 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
19533 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
19534 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
19535 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
19536 wine_fn_config_makefile dlls/ole32 enable_ole32
19537 wine_fn_config_makefile dlls/ole32/tests enable_tests
19538 wine_fn_config_makefile dlls/oleacc enable_oleacc
19539 wine_fn_config_makefile dlls/oleacc/tests enable_tests
19540 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
19541 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
19542 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
19543 wine_fn_config_makefile dlls/olecli32 enable_olecli32
19544 wine_fn_config_makefile dlls/oledb32 enable_oledb32
19545 wine_fn_config_makefile dlls/oledb32/tests enable_tests
19546 wine_fn_config_makefile dlls/oledlg enable_oledlg
19547 wine_fn_config_makefile dlls/oledlg/tests enable_tests
19548 wine_fn_config_makefile dlls/olepro32 enable_olepro32
19549 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
19550 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
19551 wine_fn_config_makefile dlls/olethk32 enable_olethk32
19552 wine_fn_config_makefile dlls/opcservices enable_opcservices
19553 wine_fn_config_makefile dlls/opcservices/tests enable_tests
19554 wine_fn_config_makefile dlls/openal32 enable_openal32
19555 wine_fn_config_makefile dlls/opencl enable_opencl
19556 wine_fn_config_makefile dlls/opengl32 enable_opengl32
19557 wine_fn_config_makefile dlls/opengl32/tests enable_tests
19558 wine_fn_config_makefile dlls/packager enable_packager
19559 wine_fn_config_makefile dlls/packager/tests enable_tests
19560 wine_fn_config_makefile dlls/pdh enable_pdh
19561 wine_fn_config_makefile dlls/pdh/tests enable_tests
19562 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
19563 wine_fn_config_makefile dlls/pidgen enable_pidgen
19564 wine_fn_config_makefile dlls/powrprof enable_powrprof
19565 wine_fn_config_makefile dlls/printui enable_printui
19566 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
19567 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
19568 wine_fn_config_makefile dlls/propsys enable_propsys
19569 wine_fn_config_makefile dlls/propsys/tests enable_tests
19570 wine_fn_config_makefile dlls/psapi enable_psapi
19571 wine_fn_config_makefile dlls/psapi/tests enable_tests
19572 wine_fn_config_makefile dlls/pstorec enable_pstorec
19573 wine_fn_config_makefile dlls/pstorec/tests enable_tests
19574 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
19575 wine_fn_config_makefile dlls/qasf enable_qasf
19576 wine_fn_config_makefile dlls/qasf/tests enable_tests
19577 wine_fn_config_makefile dlls/qcap enable_qcap
19578 wine_fn_config_makefile dlls/qcap/tests enable_tests
19579 wine_fn_config_makefile dlls/qdvd enable_qdvd
19580 wine_fn_config_makefile dlls/qdvd/tests enable_tests
19581 wine_fn_config_makefile dlls/qedit enable_qedit
19582 wine_fn_config_makefile dlls/qedit/tests enable_tests
19583 wine_fn_config_makefile dlls/qmgr enable_qmgr
19584 wine_fn_config_makefile dlls/qmgr/tests enable_tests
19585 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
19586 wine_fn_config_makefile dlls/quartz enable_quartz
19587 wine_fn_config_makefile dlls/quartz/tests enable_tests
19588 wine_fn_config_makefile dlls/query enable_query
19589 wine_fn_config_makefile dlls/qwave enable_qwave
19590 wine_fn_config_makefile dlls/qwave/tests enable_tests
19591 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
19592 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
19593 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
19594 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
19595 wine_fn_config_makefile dlls/regapi enable_regapi
19596 wine_fn_config_makefile dlls/resutils enable_resutils
19597 wine_fn_config_makefile dlls/riched20 enable_riched20
19598 wine_fn_config_makefile dlls/riched20/tests enable_tests
19599 wine_fn_config_makefile dlls/riched32 enable_riched32
19600 wine_fn_config_makefile dlls/riched32/tests enable_tests
19601 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
19602 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
19603 wine_fn_config_makefile dlls/rsabase enable_rsabase
19604 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
19605 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
19606 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
19607 wine_fn_config_makefile dlls/rtutils enable_rtutils
19608 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
19609 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
19610 wine_fn_config_makefile dlls/samlib enable_samlib
19611 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
19612 wine_fn_config_makefile dlls/sapi enable_sapi
19613 wine_fn_config_makefile dlls/sapi/tests enable_tests
19614 wine_fn_config_makefile dlls/sas enable_sas
19615 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
19616 wine_fn_config_makefile dlls/sccbase enable_sccbase
19617 wine_fn_config_makefile dlls/schannel enable_schannel
19618 wine_fn_config_makefile dlls/schannel/tests enable_tests
19619 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
19620 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
19621 wine_fn_config_makefile dlls/scrobj enable_scrobj
19622 wine_fn_config_makefile dlls/scrobj/tests enable_tests
19623 wine_fn_config_makefile dlls/scrrun enable_scrrun
19624 wine_fn_config_makefile dlls/scrrun/tests enable_tests
19625 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
19626 wine_fn_config_makefile dlls/sechost enable_sechost
19627 wine_fn_config_makefile dlls/secur32 enable_secur32
19628 wine_fn_config_makefile dlls/secur32/tests enable_tests
19629 wine_fn_config_makefile dlls/security enable_security
19630 wine_fn_config_makefile dlls/sensapi enable_sensapi
19631 wine_fn_config_makefile dlls/serialui enable_serialui
19632 wine_fn_config_makefile dlls/serialui/tests enable_tests
19633 wine_fn_config_makefile dlls/setupapi enable_setupapi
19634 wine_fn_config_makefile dlls/setupapi/tests enable_tests
19635 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
19636 wine_fn_config_makefile dlls/sfc enable_sfc
19637 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
19638 wine_fn_config_makefile dlls/shcore enable_shcore
19639 wine_fn_config_makefile dlls/shcore/tests enable_tests
19640 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
19641 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
19642 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
19643 wine_fn_config_makefile dlls/shell.dll16 enable_win16
19644 wine_fn_config_makefile dlls/shell32 enable_shell32
19645 wine_fn_config_makefile dlls/shell32/tests enable_tests
19646 wine_fn_config_makefile dlls/shfolder enable_shfolder
19647 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
19648 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
19649 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
19650 wine_fn_config_makefile dlls/slc enable_slc
19651 wine_fn_config_makefile dlls/slc/tests enable_tests
19652 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
19653 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
19654 wine_fn_config_makefile dlls/softpub enable_softpub
19655 wine_fn_config_makefile dlls/sound.drv16 enable_win16
19656 wine_fn_config_makefile dlls/spoolss enable_spoolss
19657 wine_fn_config_makefile dlls/spoolss/tests enable_tests
19658 wine_fn_config_makefile dlls/sppc enable_sppc
19659 wine_fn_config_makefile dlls/srclient enable_srclient
19660 wine_fn_config_makefile dlls/srvcli enable_srvcli
19661 wine_fn_config_makefile dlls/sspicli enable_sspicli
19662 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
19663 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
19664 wine_fn_config_makefile dlls/sti enable_sti
19665 wine_fn_config_makefile dlls/sti/tests enable_tests
19666 wine_fn_config_makefile dlls/storage.dll16 enable_win16
19667 wine_fn_config_makefile dlls/stress.dll16 enable_win16
19668 wine_fn_config_makefile dlls/strmbase enable_strmbase
19669 wine_fn_config_makefile dlls/strmdll enable_strmdll
19670 wine_fn_config_makefile dlls/svrapi enable_svrapi
19671 wine_fn_config_makefile dlls/sxs enable_sxs
19672 wine_fn_config_makefile dlls/sxs/tests enable_tests
19673 wine_fn_config_makefile dlls/system.drv16 enable_win16
19674 wine_fn_config_makefile dlls/t2embed enable_t2embed
19675 wine_fn_config_makefile dlls/t2embed/tests enable_tests
19676 wine_fn_config_makefile dlls/tapi32 enable_tapi32
19677 wine_fn_config_makefile dlls/tapi32/tests enable_tests
19678 wine_fn_config_makefile dlls/taskschd enable_taskschd
19679 wine_fn_config_makefile dlls/taskschd/tests enable_tests
19680 wine_fn_config_makefile dlls/tbs enable_tbs
19681 wine_fn_config_makefile dlls/tdh enable_tdh
19682 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
19683 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
19684 wine_fn_config_makefile dlls/traffic enable_traffic
19685 wine_fn_config_makefile dlls/twain.dll16 enable_win16
19686 wine_fn_config_makefile dlls/twain_32 enable_twain_32
19687 wine_fn_config_makefile dlls/twain_32/tests enable_tests
19688 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
19689 wine_fn_config_makefile dlls/tzres enable_tzres
19690 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
19691 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
19692 wine_fn_config_makefile dlls/uianimation enable_uianimation
19693 wine_fn_config_makefile dlls/uianimation/tests enable_tests
19694 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
19695 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
19696 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
19697 wine_fn_config_makefile dlls/unicows enable_unicows
19698 wine_fn_config_makefile dlls/updspapi enable_updspapi
19699 wine_fn_config_makefile dlls/url enable_url
19700 wine_fn_config_makefile dlls/urlmon enable_urlmon
19701 wine_fn_config_makefile dlls/urlmon/tests enable_tests
19702 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
19703 wine_fn_config_makefile dlls/user.exe16 enable_win16
19704 wine_fn_config_makefile dlls/user32 enable_user32
19705 wine_fn_config_makefile dlls/user32/tests enable_tests
19706 wine_fn_config_makefile dlls/userenv enable_userenv
19707 wine_fn_config_makefile dlls/userenv/tests enable_tests
19708 wine_fn_config_makefile dlls/usp10 enable_usp10
19709 wine_fn_config_makefile dlls/usp10/tests enable_tests
19710 wine_fn_config_makefile dlls/utildll enable_utildll
19711 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
19712 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
19713 wine_fn_config_makefile dlls/vbscript enable_vbscript
19714 wine_fn_config_makefile dlls/vbscript/tests enable_tests
19715 wine_fn_config_makefile dlls/vcomp enable_vcomp
19716 wine_fn_config_makefile dlls/vcomp/tests enable_tests
19717 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
19718 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
19719 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
19720 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
19721 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
19722 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
19723 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
19724 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
19725 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
19726 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
19727 wine_fn_config_makefile dlls/ver.dll16 enable_win16
19728 wine_fn_config_makefile dlls/version enable_version
19729 wine_fn_config_makefile dlls/version/tests enable_tests
19730 wine_fn_config_makefile dlls/vga enable_vga
19731 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
19732 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
19733 wine_fn_config_makefile dlls/vmm.vxd enable_win16
19734 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
19735 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
19736 wine_fn_config_makefile dlls/vssapi enable_vssapi
19737 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
19738 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
19739 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
19740 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
19741 wine_fn_config_makefile dlls/w32skrnl enable_win16
19742 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
19743 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
19744 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
19745 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
19746 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
19747 wine_fn_config_makefile dlls/wdscore enable_wdscore
19748 wine_fn_config_makefile dlls/webservices enable_webservices
19749 wine_fn_config_makefile dlls/webservices/tests enable_tests
19750 wine_fn_config_makefile dlls/websocket enable_websocket
19751 wine_fn_config_makefile dlls/wer enable_wer
19752 wine_fn_config_makefile dlls/wer/tests enable_tests
19753 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
19754 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
19755 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
19756 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
19757 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
19758 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
19759 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
19760 wine_fn_config_makefile dlls/win32u enable_win32u
19761 wine_fn_config_makefile dlls/win32u/tests enable_tests
19762 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
19763 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
19764 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
19765 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
19766 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
19767 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
19768 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
19769 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
19770 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
19771 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
19772 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
19773 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
19774 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
19775 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
19776 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
19777 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
19778 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
19779 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
19780 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
19781 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
19782 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
19783 wine_fn_config_makefile dlls/wined3d enable_wined3d
19784 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
19785 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
19786 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
19787 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
19788 wine_fn_config_makefile dlls/winemapi enable_winemapi
19789 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
19790 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
19791 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
19792 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
19793 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
19794 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
19795 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
19796 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
19797 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
19798 wine_fn_config_makefile dlls/wing.dll16 enable_win16
19799 wine_fn_config_makefile dlls/wing32 enable_wing32
19800 wine_fn_config_makefile dlls/winhttp enable_winhttp
19801 wine_fn_config_makefile dlls/winhttp/tests enable_tests
19802 wine_fn_config_makefile dlls/wininet enable_wininet
19803 wine_fn_config_makefile dlls/wininet/tests enable_tests
19804 wine_fn_config_makefile dlls/winmm enable_winmm
19805 wine_fn_config_makefile dlls/winmm/tests enable_tests
19806 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
19807 wine_fn_config_makefile dlls/winnls32 enable_winnls32
19808 wine_fn_config_makefile dlls/winscard enable_winscard
19809 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
19810 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
19811 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
19812 wine_fn_config_makefile dlls/winsta enable_winsta
19813 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
19814 wine_fn_config_makefile dlls/wintab32 enable_wintab32
19815 wine_fn_config_makefile dlls/wintab32/tests enable_tests
19816 wine_fn_config_makefile dlls/wintrust enable_wintrust
19817 wine_fn_config_makefile dlls/wintrust/tests enable_tests
19818 wine_fn_config_makefile dlls/winusb enable_winusb
19819 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
19820 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
19821 wine_fn_config_makefile dlls/wlanui enable_wlanui
19822 wine_fn_config_makefile dlls/wldap32 enable_wldap32
19823 wine_fn_config_makefile dlls/wldap32/tests enable_tests
19824 wine_fn_config_makefile dlls/wmasf enable_wmasf
19825 wine_fn_config_makefile dlls/wmi enable_wmi
19826 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
19827 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
19828 wine_fn_config_makefile dlls/wmp enable_wmp
19829 wine_fn_config_makefile dlls/wmp/tests enable_tests
19830 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
19831 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
19832 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
19833 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
19834 wine_fn_config_makefile dlls/wow32 enable_win16
19835 wine_fn_config_makefile dlls/wow64 enable_wow64
19836 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
19837 wine_fn_config_makefile dlls/wow64win enable_wow64win
19838 wine_fn_config_makefile dlls/wpc enable_wpc
19839 wine_fn_config_makefile dlls/wpc/tests enable_tests
19840 wine_fn_config_makefile dlls/wpcap enable_wpcap
19841 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
19842 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
19843 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
19844 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
19845 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
19846 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
19847 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
19848 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
19849 wine_fn_config_makefile dlls/wsock32 enable_wsock32
19850 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
19851 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
19852 wine_fn_config_makefile dlls/wuapi enable_wuapi
19853 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
19854 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
19855 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
19856 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
19857 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
19858 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
19859 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
19860 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
19861 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
19862 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
19863 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
19864 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
19865 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
19866 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
19867 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
19868 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
19869 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
19870 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
19871 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
19872 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
19873 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
19874 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
19875 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
19876 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
19877 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
19878 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
19879 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
19880 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
19881 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
19882 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
19883 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
19884 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
19885 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
19886 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
19887 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
19888 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
19889 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
19890 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
19891 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
19892 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
19893 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
19894 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
19895 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
19896 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
19897 wine_fn_config_makefile dlls/xmllite enable_xmllite
19898 wine_fn_config_makefile dlls/xmllite/tests enable_tests
19899 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
19900 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
19901 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
19902 wine_fn_config_makefile fonts enable_fonts
19903 wine_fn_config_makefile include enable_include
19904 wine_fn_config_makefile libs/adsiid enable_adsiid
19905 wine_fn_config_makefile libs/dmoguids enable_dmoguids
19906 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
19907 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
19908 wine_fn_config_makefile libs/dxguid enable_dxguid
19909 wine_fn_config_makefile libs/faudio enable_faudio
19910 wine_fn_config_makefile libs/gsm enable_gsm
19911 wine_fn_config_makefile libs/jpeg enable_jpeg
19912 wine_fn_config_makefile libs/jxr enable_jxr
19913 wine_fn_config_makefile libs/lcms2 enable_lcms2
19914 wine_fn_config_makefile libs/mfuuid enable_mfuuid
19915 wine_fn_config_makefile libs/mpg123 enable_mpg123
19916 wine_fn_config_makefile libs/png enable_png
19917 wine_fn_config_makefile libs/strmiids enable_strmiids
19918 wine_fn_config_makefile libs/tiff enable_tiff
19919 wine_fn_config_makefile libs/uuid enable_uuid
19920 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
19921 wine_fn_config_makefile libs/wine enable_wine
19922 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
19923 wine_fn_config_makefile libs/xml2 enable_xml2
19924 wine_fn_config_makefile libs/xslt enable_xslt
19925 wine_fn_config_makefile libs/zlib enable_zlib
19926 wine_fn_config_makefile loader enable_loader
19927 wine_fn_config_makefile nls enable_nls
19928 wine_fn_config_makefile po enable_po
19929 wine_fn_config_makefile programs/arp enable_arp
19930 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
19931 wine_fn_config_makefile programs/attrib enable_attrib
19932 wine_fn_config_makefile programs/cabarc enable_cabarc
19933 wine_fn_config_makefile programs/cacls enable_cacls
19934 wine_fn_config_makefile programs/chcp.com enable_chcp_com
19935 wine_fn_config_makefile programs/clock enable_clock
19936 wine_fn_config_makefile programs/cmd enable_cmd
19937 wine_fn_config_makefile programs/cmd/tests enable_tests
19938 wine_fn_config_makefile programs/conhost enable_conhost
19939 wine_fn_config_makefile programs/conhost/tests enable_tests
19940 wine_fn_config_makefile programs/control enable_control
19941 wine_fn_config_makefile programs/cscript enable_cscript
19942 wine_fn_config_makefile programs/dism enable_dism
19943 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
19944 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
19945 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
19946 wine_fn_config_makefile programs/dxdiag enable_dxdiag
19947 wine_fn_config_makefile programs/eject enable_eject
19948 wine_fn_config_makefile programs/expand enable_expand
19949 wine_fn_config_makefile programs/explorer enable_explorer
19950 wine_fn_config_makefile programs/extrac32 enable_extrac32
19951 wine_fn_config_makefile programs/fc enable_fc
19952 wine_fn_config_makefile programs/find enable_find
19953 wine_fn_config_makefile programs/find/tests enable_tests
19954 wine_fn_config_makefile programs/findstr enable_findstr
19955 wine_fn_config_makefile programs/fsutil enable_fsutil
19956 wine_fn_config_makefile programs/fsutil/tests enable_tests
19957 wine_fn_config_makefile programs/hh enable_hh
19958 wine_fn_config_makefile programs/hostname enable_hostname
19959 wine_fn_config_makefile programs/icacls enable_icacls
19960 wine_fn_config_makefile programs/icinfo enable_icinfo
19961 wine_fn_config_makefile programs/iexplore enable_iexplore
19962 wine_fn_config_makefile programs/ipconfig enable_ipconfig
19963 wine_fn_config_makefile programs/lodctr enable_lodctr
19964 wine_fn_config_makefile programs/mofcomp enable_mofcomp
19965 wine_fn_config_makefile programs/mshta enable_mshta
19966 wine_fn_config_makefile programs/msidb enable_msidb
19967 wine_fn_config_makefile programs/msiexec enable_msiexec
19968 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
19969 wine_fn_config_makefile programs/net enable_net
19970 wine_fn_config_makefile programs/netsh enable_netsh
19971 wine_fn_config_makefile programs/netstat enable_netstat
19972 wine_fn_config_makefile programs/ngen enable_ngen
19973 wine_fn_config_makefile programs/notepad enable_notepad
19974 wine_fn_config_makefile programs/oleview enable_oleview
19975 wine_fn_config_makefile programs/ping enable_ping
19976 wine_fn_config_makefile programs/plugplay enable_plugplay
19977 wine_fn_config_makefile programs/powershell enable_powershell
19978 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
19979 wine_fn_config_makefile programs/progman enable_progman
19980 wine_fn_config_makefile programs/reg enable_reg
19981 wine_fn_config_makefile programs/reg/tests enable_tests
19982 wine_fn_config_makefile programs/regasm enable_regasm
19983 wine_fn_config_makefile programs/regedit enable_regedit
19984 wine_fn_config_makefile programs/regedit/tests enable_tests
19985 wine_fn_config_makefile programs/regini enable_regini
19986 wine_fn_config_makefile programs/regsvcs enable_regsvcs
19987 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
19988 wine_fn_config_makefile programs/robocopy enable_robocopy
19989 wine_fn_config_makefile programs/rpcss enable_rpcss
19990 wine_fn_config_makefile programs/rundll.exe16 enable_win16
19991 wine_fn_config_makefile programs/rundll32 enable_rundll32
19992 wine_fn_config_makefile programs/sc enable_sc
19993 wine_fn_config_makefile programs/schtasks enable_schtasks
19994 wine_fn_config_makefile programs/schtasks/tests enable_tests
19995 wine_fn_config_makefile programs/sdbinst enable_sdbinst
19996 wine_fn_config_makefile programs/secedit enable_secedit
19997 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
19998 wine_fn_config_makefile programs/services enable_services
19999 wine_fn_config_makefile programs/services/tests enable_tests
20000 wine_fn_config_makefile programs/shutdown enable_shutdown
20001 wine_fn_config_makefile programs/spoolsv enable_spoolsv
20002 wine_fn_config_makefile programs/start enable_start
20003 wine_fn_config_makefile programs/subst enable_subst
20004 wine_fn_config_makefile programs/svchost enable_svchost
20005 wine_fn_config_makefile programs/systeminfo enable_systeminfo
20006 wine_fn_config_makefile programs/taskkill enable_taskkill
20007 wine_fn_config_makefile programs/tasklist enable_tasklist
20008 wine_fn_config_makefile programs/taskmgr enable_taskmgr
20009 wine_fn_config_makefile programs/termsv enable_termsv
20010 wine_fn_config_makefile programs/uninstaller enable_uninstaller
20011 wine_fn_config_makefile programs/unlodctr enable_unlodctr
20012 wine_fn_config_makefile programs/view enable_view
20013 wine_fn_config_makefile programs/wevtutil enable_wevtutil
20014 wine_fn_config_makefile programs/where enable_where
20015 wine_fn_config_makefile programs/whoami enable_whoami
20016 wine_fn_config_makefile programs/wineboot enable_wineboot
20017 wine_fn_config_makefile programs/winebrowser enable_winebrowser
20018 wine_fn_config_makefile programs/winecfg enable_winecfg
20019 wine_fn_config_makefile programs/wineconsole enable_wineconsole
20020 wine_fn_config_makefile programs/winedbg enable_winedbg
20021 wine_fn_config_makefile programs/winedevice enable_winedevice
20022 wine_fn_config_makefile programs/winefile enable_winefile
20023 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
20024 wine_fn_config_makefile programs/winemine enable_winemine
20025 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
20026 wine_fn_config_makefile programs/winepath enable_winepath
20027 wine_fn_config_makefile programs/winetest enable_winetest
20028 wine_fn_config_makefile programs/winevdm enable_win16
20029 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
20030 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
20031 wine_fn_config_makefile programs/winmgmt enable_winmgmt
20032 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
20033 wine_fn_config_makefile programs/winver enable_winver
20034 wine_fn_config_makefile programs/wmic enable_wmic
20035 wine_fn_config_makefile programs/wmplayer enable_wmplayer
20036 wine_fn_config_makefile programs/wordpad enable_wordpad
20037 wine_fn_config_makefile programs/write enable_write
20038 wine_fn_config_makefile programs/wscript enable_wscript
20039 wine_fn_config_makefile programs/wscript/tests enable_tests
20040 wine_fn_config_makefile programs/wuauserv enable_wuauserv
20041 wine_fn_config_makefile programs/wusa enable_wusa
20042 wine_fn_config_makefile programs/xcopy enable_xcopy
20043 wine_fn_config_makefile programs/xcopy/tests enable_tests
20044 wine_fn_config_makefile server enable_server
20045 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
20046 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
20047 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
20048 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
20049 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
20050 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
20051 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
20052 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
20053 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
20056 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
20057 wine_fn_append_file CONFIGURE_TARGETS "tags"
20058 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
20059 wine_fn_append_file CONFIGURE_TARGETS "config.log"
20060 wine_fn_append_file CONFIGURE_TARGETS "config.status"
20061 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
20062 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
20063 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
20065 if test "x$enable_tools" != xno
20066 then
20067 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
20068 ac_config_commands="$ac_config_commands tools/makedep"
20072 ac_config_commands="$ac_config_commands Makefile"
20075 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
20079 if test "x$enable_maintainer_mode" = xyes
20080 then
20081 wine_fn_append_rule "configure: configure.ac aclocal.m4
20082 autoconf --warnings=all
20083 include/config.h.in: include/stamp-h.in
20084 include/stamp-h.in: configure.ac aclocal.m4
20085 autoheader --warnings=all
20086 @echo timestamp > \$@"
20089 if test "x$enable_tools" != xno
20090 then
20091 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
20092 @./config.status tools/makedep
20093 Makefile: tools/makedep$ac_exeext"
20094 else
20095 wine_fn_append_rule "\$(MAKEDEP):
20096 @echo \"You need to run make in $TOOLSDIR first\" && false"
20099 if test -n "$with_wine64"
20100 then
20101 case "$with_wine64" in
20102 /*) reldir="" ;;
20103 *) reldir="../" ;;
20104 esac
20105 rm -f fonts server 2>/dev/null
20106 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
20107 loader/wine64 loader/wine64-preloader:
20108 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
20109 $with_wine64/loader/wine:
20110 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
20111 $with_wine64/loader/wine-preloader:
20112 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
20113 clean::
20114 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
20115 else
20116 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
20117 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
20118 fonts \
20119 loader/wine.inf \
20120 nls \
20121 programs/msidb/msidb \
20122 programs/msiexec/msiexec \
20123 programs/notepad/notepad \
20124 programs/regedit/regedit \
20125 programs/regsvr32/regsvr32 \
20126 programs/wineboot/wineboot \
20127 programs/winecfg/winecfg \
20128 programs/wineconsole/wineconsole \
20129 programs/winedbg/winedbg \
20130 programs/winefile/winefile \
20131 programs/winemine/winemine \
20132 programs/winepath/winepath \
20133 server/wineserver"
20135 case $host_os in
20136 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
20137 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
20138 esac
20141 $as_echo " done" >&6
20142 cat >confcache <<\_ACEOF
20143 # This file is a shell script that caches the results of configure
20144 # tests run on this system so they can be shared between configure
20145 # scripts and configure runs, see configure's option --config-cache.
20146 # It is not useful on other systems. If it contains results you don't
20147 # want to keep, you may remove or edit it.
20149 # config.status only pays attention to the cache file if you give it
20150 # the --recheck option to rerun configure.
20152 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20153 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20154 # following values.
20156 _ACEOF
20158 # The following way of writing the cache mishandles newlines in values,
20159 # but we know of no workaround that is simple, portable, and efficient.
20160 # So, we kill variables containing newlines.
20161 # Ultrix sh set writes to stderr and can't be redirected directly,
20162 # and sets the high bit in the cache file unless we assign to the vars.
20164 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20165 eval ac_val=\$$ac_var
20166 case $ac_val in #(
20167 *${as_nl}*)
20168 case $ac_var in #(
20169 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20170 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20171 esac
20172 case $ac_var in #(
20173 _ | IFS | as_nl) ;; #(
20174 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20175 *) { eval $ac_var=; unset $ac_var;} ;;
20176 esac ;;
20177 esac
20178 done
20180 (set) 2>&1 |
20181 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20182 *${as_nl}ac_space=\ *)
20183 # `set' does not quote correctly, so add quotes: double-quote
20184 # substitution turns \\\\ into \\, and sed turns \\ into \.
20185 sed -n \
20186 "s/'/'\\\\''/g;
20187 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20188 ;; #(
20190 # `set' quotes correctly as required by POSIX, so do not add quotes.
20191 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20193 esac |
20194 sort
20196 sed '
20197 /^ac_cv_env_/b end
20198 t clear
20199 :clear
20200 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20201 t end
20202 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20203 :end' >>confcache
20204 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20205 if test -w "$cache_file"; then
20206 if test "x$cache_file" != "x/dev/null"; then
20207 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20208 $as_echo "$as_me: updating cache $cache_file" >&6;}
20209 if test ! -f "$cache_file" || test -h "$cache_file"; then
20210 cat confcache >"$cache_file"
20211 else
20212 case $cache_file in #(
20213 */* | ?:*)
20214 mv -f confcache "$cache_file"$$ &&
20215 mv -f "$cache_file"$$ "$cache_file" ;; #(
20217 mv -f confcache "$cache_file" ;;
20218 esac
20221 else
20222 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20223 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20226 rm -f confcache
20228 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20229 # Let make expand exec_prefix.
20230 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20232 DEFS=-DHAVE_CONFIG_H
20234 ac_libobjs=
20235 ac_ltlibobjs=
20237 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20238 # 1. Remove the extension, and $U if already installed.
20239 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20240 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
20241 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20242 # will be set to the directory where LIBOBJS objects are built.
20243 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20244 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
20245 done
20246 LIBOBJS=$ac_libobjs
20248 LTLIBOBJS=$ac_ltlibobjs
20252 : "${CONFIG_STATUS=./config.status}"
20253 ac_write_fail=0
20254 ac_clean_files_save=$ac_clean_files
20255 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20256 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20257 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20258 as_write_fail=0
20259 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20260 #! $SHELL
20261 # Generated by $as_me.
20262 # Run this file to recreate the current configuration.
20263 # Compiler output produced by configure, useful for debugging
20264 # configure, is in config.log if it exists.
20266 debug=false
20267 ac_cs_recheck=false
20268 ac_cs_silent=false
20270 SHELL=\${CONFIG_SHELL-$SHELL}
20271 export SHELL
20272 _ASEOF
20273 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
20274 ## -------------------- ##
20275 ## M4sh Initialization. ##
20276 ## -------------------- ##
20278 # Be more Bourne compatible
20279 DUALCASE=1; export DUALCASE # for MKS sh
20280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20281 emulate sh
20282 NULLCMD=:
20283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20284 # is contrary to our usage. Disable this feature.
20285 alias -g '${1+"$@"}'='"$@"'
20286 setopt NO_GLOB_SUBST
20287 else
20288 case `(set -o) 2>/dev/null` in #(
20289 *posix*) :
20290 set -o posix ;; #(
20291 *) :
20293 esac
20297 as_nl='
20299 export as_nl
20300 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20301 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20302 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20303 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20304 # Prefer a ksh shell builtin over an external printf program on Solaris,
20305 # but without wasting forks for bash or zsh.
20306 if test -z "$BASH_VERSION$ZSH_VERSION" \
20307 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20308 as_echo='print -r --'
20309 as_echo_n='print -rn --'
20310 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20311 as_echo='printf %s\n'
20312 as_echo_n='printf %s'
20313 else
20314 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20315 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
20316 as_echo_n='/usr/ucb/echo -n'
20317 else
20318 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20319 as_echo_n_body='eval
20320 arg=$1;
20321 case $arg in #(
20322 *"$as_nl"*)
20323 expr "X$arg" : "X\\(.*\\)$as_nl";
20324 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20325 esac;
20326 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20328 export as_echo_n_body
20329 as_echo_n='sh -c $as_echo_n_body as_echo'
20331 export as_echo_body
20332 as_echo='sh -c $as_echo_body as_echo'
20335 # The user is always right.
20336 if test "${PATH_SEPARATOR+set}" != set; then
20337 PATH_SEPARATOR=:
20338 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20339 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20340 PATH_SEPARATOR=';'
20345 # IFS
20346 # We need space, tab and new line, in precisely that order. Quoting is
20347 # there to prevent editors from complaining about space-tab.
20348 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20349 # splitting by setting IFS to empty value.)
20350 IFS=" "" $as_nl"
20352 # Find who we are. Look in the path if we contain no directory separator.
20353 as_myself=
20354 case $0 in #((
20355 *[\\/]* ) as_myself=$0 ;;
20356 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20357 for as_dir in $PATH
20359 IFS=$as_save_IFS
20360 test -z "$as_dir" && as_dir=.
20361 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20362 done
20363 IFS=$as_save_IFS
20366 esac
20367 # We did not find ourselves, most probably we were run as `sh COMMAND'
20368 # in which case we are not to be found in the path.
20369 if test "x$as_myself" = x; then
20370 as_myself=$0
20372 if test ! -f "$as_myself"; then
20373 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20374 exit 1
20377 # Unset variables that we do not need and which cause bugs (e.g. in
20378 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20379 # suppresses any "Segmentation fault" message there. '((' could
20380 # trigger a bug in pdksh 5.2.14.
20381 for as_var in BASH_ENV ENV MAIL MAILPATH
20382 do eval test x\${$as_var+set} = xset \
20383 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
20384 done
20385 PS1='$ '
20386 PS2='> '
20387 PS4='+ '
20389 # NLS nuisances.
20390 LC_ALL=C
20391 export LC_ALL
20392 LANGUAGE=C
20393 export LANGUAGE
20395 # CDPATH.
20396 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20399 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20400 # ----------------------------------------
20401 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20402 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20403 # script with STATUS, using 1 if that was 0.
20404 as_fn_error ()
20406 as_status=$1; test $as_status -eq 0 && as_status=1
20407 if test "$4"; then
20408 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
20409 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20411 $as_echo "$as_me: error: $2" >&2
20412 as_fn_exit $as_status
20413 } # as_fn_error
20416 # as_fn_set_status STATUS
20417 # -----------------------
20418 # Set $? to STATUS, without forking.
20419 as_fn_set_status ()
20421 return $1
20422 } # as_fn_set_status
20424 # as_fn_exit STATUS
20425 # -----------------
20426 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20427 as_fn_exit ()
20429 set +e
20430 as_fn_set_status $1
20431 exit $1
20432 } # as_fn_exit
20434 # as_fn_unset VAR
20435 # ---------------
20436 # Portably unset VAR.
20437 as_fn_unset ()
20439 { eval $1=; unset $1;}
20441 as_unset=as_fn_unset
20442 # as_fn_append VAR VALUE
20443 # ----------------------
20444 # Append the text in VALUE to the end of the definition contained in VAR. Take
20445 # advantage of any shell optimizations that allow amortized linear growth over
20446 # repeated appends, instead of the typical quadratic growth present in naive
20447 # implementations.
20448 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
20449 eval 'as_fn_append ()
20451 eval $1+=\$2
20453 else
20454 as_fn_append ()
20456 eval $1=\$$1\$2
20458 fi # as_fn_append
20460 # as_fn_arith ARG...
20461 # ------------------
20462 # Perform arithmetic evaluation on the ARGs, and store the result in the
20463 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20464 # must be portable across $(()) and expr.
20465 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
20466 eval 'as_fn_arith ()
20468 as_val=$(( $* ))
20470 else
20471 as_fn_arith ()
20473 as_val=`expr "$@" || test $? -eq 1`
20475 fi # as_fn_arith
20478 if expr a : '\(a\)' >/dev/null 2>&1 &&
20479 test "X`expr 00001 : '.*\(...\)'`" = X001; then
20480 as_expr=expr
20481 else
20482 as_expr=false
20485 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20486 as_basename=basename
20487 else
20488 as_basename=false
20491 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20492 as_dirname=dirname
20493 else
20494 as_dirname=false
20497 as_me=`$as_basename -- "$0" ||
20498 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20499 X"$0" : 'X\(//\)$' \| \
20500 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20501 $as_echo X/"$0" |
20502 sed '/^.*\/\([^/][^/]*\)\/*$/{
20503 s//\1/
20506 /^X\/\(\/\/\)$/{
20507 s//\1/
20510 /^X\/\(\/\).*/{
20511 s//\1/
20514 s/.*/./; q'`
20516 # Avoid depending upon Character Ranges.
20517 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20518 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20519 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20520 as_cr_digits='0123456789'
20521 as_cr_alnum=$as_cr_Letters$as_cr_digits
20523 ECHO_C= ECHO_N= ECHO_T=
20524 case `echo -n x` in #(((((
20525 -n*)
20526 case `echo 'xy\c'` in
20527 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
20528 xy) ECHO_C='\c';;
20529 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
20530 ECHO_T=' ';;
20531 esac;;
20533 ECHO_N='-n';;
20534 esac
20536 rm -f conf$$ conf$$.exe conf$$.file
20537 if test -d conf$$.dir; then
20538 rm -f conf$$.dir/conf$$.file
20539 else
20540 rm -f conf$$.dir
20541 mkdir conf$$.dir 2>/dev/null
20543 if (echo >conf$$.file) 2>/dev/null; then
20544 if ln -s conf$$.file conf$$ 2>/dev/null; then
20545 as_ln_s='ln -s'
20546 # ... but there are two gotchas:
20547 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20548 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20549 # In both cases, we have to default to `cp -pR'.
20550 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20551 as_ln_s='cp -pR'
20552 elif ln conf$$.file conf$$ 2>/dev/null; then
20553 as_ln_s=ln
20554 else
20555 as_ln_s='cp -pR'
20557 else
20558 as_ln_s='cp -pR'
20560 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20561 rmdir conf$$.dir 2>/dev/null
20564 # as_fn_mkdir_p
20565 # -------------
20566 # Create "$as_dir" as a directory, including parents if necessary.
20567 as_fn_mkdir_p ()
20570 case $as_dir in #(
20571 -*) as_dir=./$as_dir;;
20572 esac
20573 test -d "$as_dir" || eval $as_mkdir_p || {
20574 as_dirs=
20575 while :; do
20576 case $as_dir in #(
20577 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20578 *) as_qdir=$as_dir;;
20579 esac
20580 as_dirs="'$as_qdir' $as_dirs"
20581 as_dir=`$as_dirname -- "$as_dir" ||
20582 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20583 X"$as_dir" : 'X\(//\)[^/]' \| \
20584 X"$as_dir" : 'X\(//\)$' \| \
20585 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20586 $as_echo X"$as_dir" |
20587 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20588 s//\1/
20591 /^X\(\/\/\)[^/].*/{
20592 s//\1/
20595 /^X\(\/\/\)$/{
20596 s//\1/
20599 /^X\(\/\).*/{
20600 s//\1/
20603 s/.*/./; q'`
20604 test -d "$as_dir" && break
20605 done
20606 test -z "$as_dirs" || eval "mkdir $as_dirs"
20607 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20610 } # as_fn_mkdir_p
20611 if mkdir -p . 2>/dev/null; then
20612 as_mkdir_p='mkdir -p "$as_dir"'
20613 else
20614 test -d ./-p && rmdir ./-p
20615 as_mkdir_p=false
20619 # as_fn_executable_p FILE
20620 # -----------------------
20621 # Test if FILE is an executable regular file.
20622 as_fn_executable_p ()
20624 test -f "$1" && test -x "$1"
20625 } # as_fn_executable_p
20626 as_test_x='test -x'
20627 as_executable_p=as_fn_executable_p
20629 # Sed expression to map a string onto a valid CPP name.
20630 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20632 # Sed expression to map a string onto a valid variable name.
20633 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20636 exec 6>&1
20637 ## ----------------------------------- ##
20638 ## Main body of $CONFIG_STATUS script. ##
20639 ## ----------------------------------- ##
20640 _ASEOF
20641 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20644 # Save the log message, to keep $0 and so on meaningful, and to
20645 # report actual input values of CONFIG_FILES etc. instead of their
20646 # values after options handling.
20647 ac_log="
20648 This file was extended by Wine $as_me 6.20, which was
20649 generated by GNU Autoconf 2.69. Invocation command line was
20651 CONFIG_FILES = $CONFIG_FILES
20652 CONFIG_HEADERS = $CONFIG_HEADERS
20653 CONFIG_LINKS = $CONFIG_LINKS
20654 CONFIG_COMMANDS = $CONFIG_COMMANDS
20655 $ $0 $@
20657 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20660 _ACEOF
20662 case $ac_config_files in *"
20663 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20664 esac
20666 case $ac_config_headers in *"
20667 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20668 esac
20671 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20672 # Files that config.status was made for.
20673 config_files="$ac_config_files"
20674 config_headers="$ac_config_headers"
20675 config_links="$ac_config_links"
20676 config_commands="$ac_config_commands"
20678 _ACEOF
20680 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20681 ac_cs_usage="\
20682 \`$as_me' instantiates files and other configuration actions
20683 from templates according to the current configuration. Unless the files
20684 and actions are specified as TAGs, all are instantiated by default.
20686 Usage: $0 [OPTION]... [TAG]...
20688 -h, --help print this help, then exit
20689 -V, --version print version number and configuration settings, then exit
20690 --config print configuration, then exit
20691 -q, --quiet, --silent
20692 do not print progress messages
20693 -d, --debug don't remove temporary files
20694 --recheck update $as_me by reconfiguring in the same conditions
20695 --file=FILE[:TEMPLATE]
20696 instantiate the configuration file FILE
20697 --header=FILE[:TEMPLATE]
20698 instantiate the configuration header FILE
20700 Configuration files:
20701 $config_files
20703 Configuration headers:
20704 $config_headers
20706 Configuration links:
20707 $config_links
20709 Configuration commands:
20710 $config_commands
20712 Report bugs to <wine-devel@winehq.org>.
20713 Wine home page: <https://www.winehq.org>."
20715 _ACEOF
20716 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20717 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20718 ac_cs_version="\\
20719 Wine config.status 6.20
20720 configured by $0, generated by GNU Autoconf 2.69,
20721 with options \\"\$ac_cs_config\\"
20723 Copyright (C) 2012 Free Software Foundation, Inc.
20724 This config.status script is free software; the Free Software Foundation
20725 gives unlimited permission to copy, distribute and modify it."
20727 ac_pwd='$ac_pwd'
20728 srcdir='$srcdir'
20729 test -n "\$AWK" || AWK=awk
20730 _ACEOF
20732 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20733 # The default lists apply if the user does not specify any file.
20734 ac_need_defaults=:
20735 while test $# != 0
20737 case $1 in
20738 --*=?*)
20739 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20740 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20741 ac_shift=:
20743 --*=)
20744 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20745 ac_optarg=
20746 ac_shift=:
20749 ac_option=$1
20750 ac_optarg=$2
20751 ac_shift=shift
20753 esac
20755 case $ac_option in
20756 # Handling of the options.
20757 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20758 ac_cs_recheck=: ;;
20759 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20760 $as_echo "$ac_cs_version"; exit ;;
20761 --config | --confi | --conf | --con | --co | --c )
20762 $as_echo "$ac_cs_config"; exit ;;
20763 --debug | --debu | --deb | --de | --d | -d )
20764 debug=: ;;
20765 --file | --fil | --fi | --f )
20766 $ac_shift
20767 case $ac_optarg in
20768 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20769 '') as_fn_error $? "missing file argument" ;;
20770 esac
20771 as_fn_append CONFIG_FILES " '$ac_optarg'"
20772 ac_need_defaults=false;;
20773 --header | --heade | --head | --hea )
20774 $ac_shift
20775 case $ac_optarg in
20776 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20777 esac
20778 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20779 ac_need_defaults=false;;
20780 --he | --h)
20781 # Conflict between --help and --header
20782 as_fn_error $? "ambiguous option: \`$1'
20783 Try \`$0 --help' for more information.";;
20784 --help | --hel | -h )
20785 $as_echo "$ac_cs_usage"; exit ;;
20786 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20787 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20788 ac_cs_silent=: ;;
20790 # This is an error.
20791 -*) as_fn_error $? "unrecognized option: \`$1'
20792 Try \`$0 --help' for more information." ;;
20794 *) as_fn_append ac_config_targets " $1"
20795 ac_need_defaults=false ;;
20797 esac
20798 shift
20799 done
20801 ac_configure_extra_args=
20803 if $ac_cs_silent; then
20804 exec 6>/dev/null
20805 ac_configure_extra_args="$ac_configure_extra_args --silent"
20808 _ACEOF
20809 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20810 if \$ac_cs_recheck; then
20811 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20812 shift
20813 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20814 CONFIG_SHELL='$SHELL'
20815 export CONFIG_SHELL
20816 exec "\$@"
20819 _ACEOF
20820 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20821 exec 5>>config.log
20823 echo
20824 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20825 ## Running $as_me. ##
20826 _ASBOX
20827 $as_echo "$ac_log"
20828 } >&5
20830 _ACEOF
20831 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20833 # INIT-COMMANDS
20835 wine_fn_output_makedep ()
20837 as_dir=tools; as_fn_mkdir_p
20838 $CC -I$srcdir/tools -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20840 wine_fn_output_makefile ()
20842 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep"$makedep_flags && return
20843 `cat $wine_rules_file`
20844 _WINE_EOF
20845 as_fn_error $? "could not create Makefile" "$LINENO" 5
20848 _ACEOF
20850 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20852 # Handling of arguments.
20853 for ac_config_target in $ac_config_targets
20855 case $ac_config_target in
20856 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20857 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20858 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20859 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20860 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20861 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20862 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20864 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20865 esac
20866 done
20869 # If the user did not use the arguments to specify the items to instantiate,
20870 # then the envvar interface is used. Set only those that are not.
20871 # We use the long form for the default assignment because of an extremely
20872 # bizarre bug on SunOS 4.1.3.
20873 if $ac_need_defaults; then
20874 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20875 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20876 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20877 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20880 # Have a temporary directory for convenience. Make it in the build tree
20881 # simply because there is no reason against having it here, and in addition,
20882 # creating and moving files from /tmp can sometimes cause problems.
20883 # Hook for its removal unless debugging.
20884 # Note that there is a small window in which the directory will not be cleaned:
20885 # after its creation but before its name has been assigned to `$tmp'.
20886 $debug ||
20888 tmp= ac_tmp=
20889 trap 'exit_status=$?
20890 : "${ac_tmp:=$tmp}"
20891 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20893 trap 'as_fn_exit 1' 1 2 13 15
20895 # Create a (secure) tmp directory for tmp files.
20898 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20899 test -d "$tmp"
20900 } ||
20902 tmp=./conf$$-$RANDOM
20903 (umask 077 && mkdir "$tmp")
20904 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20905 ac_tmp=$tmp
20907 # Set up the scripts for CONFIG_FILES section.
20908 # No need to generate them if there are no CONFIG_FILES.
20909 # This happens for instance with `./config.status config.h'.
20910 if test -n "$CONFIG_FILES"; then
20913 ac_cr=`echo X | tr X '\015'`
20914 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20915 # But we know of no other shell where ac_cr would be empty at this
20916 # point, so we can use a bashism as a fallback.
20917 if test "x$ac_cr" = x; then
20918 eval ac_cr=\$\'\\r\'
20920 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20921 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20922 ac_cs_awk_cr='\\r'
20923 else
20924 ac_cs_awk_cr=$ac_cr
20927 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20928 _ACEOF
20932 echo "cat >conf$$subs.awk <<_ACEOF" &&
20933 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20934 echo "_ACEOF"
20935 } >conf$$subs.sh ||
20936 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20937 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20938 ac_delim='%!_!# '
20939 for ac_last_try in false false false false false :; do
20940 . ./conf$$subs.sh ||
20941 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20943 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20944 if test $ac_delim_n = $ac_delim_num; then
20945 break
20946 elif $ac_last_try; then
20947 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20948 else
20949 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20951 done
20952 rm -f conf$$subs.sh
20954 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20955 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20956 _ACEOF
20957 sed -n '
20959 s/^/S["/; s/!.*/"]=/
20962 s/^[^!]*!//
20963 :repl
20964 t repl
20965 s/'"$ac_delim"'$//
20966 t delim
20969 s/\(.\{148\}\)..*/\1/
20970 t more1
20971 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20974 b repl
20975 :more1
20976 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20979 s/.\{148\}//
20980 t nl
20981 :delim
20983 s/\(.\{148\}\)..*/\1/
20984 t more2
20985 s/["\\]/\\&/g; s/^/"/; s/$/"/
20988 :more2
20989 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20992 s/.\{148\}//
20993 t delim
20994 ' <conf$$subs.awk | sed '
20995 /^[^""]/{
20997 s/\n//
20999 ' >>$CONFIG_STATUS || ac_write_fail=1
21000 rm -f conf$$subs.awk
21001 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21002 _ACAWK
21003 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
21004 for (key in S) S_is_set[key] = 1
21005 FS = "\a"
21009 line = $ 0
21010 nfields = split(line, field, "@")
21011 substed = 0
21012 len = length(field[1])
21013 for (i = 2; i < nfields; i++) {
21014 key = field[i]
21015 keylen = length(key)
21016 if (S_is_set[key]) {
21017 value = S[key]
21018 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21019 len += length(value) + length(field[++i])
21020 substed = 1
21021 } else
21022 len += 1 + keylen
21025 print line
21028 _ACAWK
21029 _ACEOF
21030 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21031 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21032 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21033 else
21035 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
21036 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
21037 _ACEOF
21039 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21040 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
21041 # trailing colons and then remove the whole line if VPATH becomes empty
21042 # (actually we leave an empty line to preserve line numbers).
21043 if test "x$srcdir" = x.; then
21044 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21046 s///
21047 s/^/:/
21048 s/[ ]*$/:/
21049 s/:\$(srcdir):/:/g
21050 s/:\${srcdir}:/:/g
21051 s/:@srcdir@:/:/g
21052 s/^:*//
21053 s/:*$//
21055 s/\(=[ ]*\).*/\1/
21057 s/\n//
21058 s/^[^=]*=[ ]*$//
21062 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21063 fi # test -n "$CONFIG_FILES"
21065 # Set up the scripts for CONFIG_HEADERS section.
21066 # No need to generate them if there are no CONFIG_HEADERS.
21067 # This happens for instance with `./config.status Makefile'.
21068 if test -n "$CONFIG_HEADERS"; then
21069 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
21070 BEGIN {
21071 _ACEOF
21073 # Transform confdefs.h into an awk script `defines.awk', embedded as
21074 # here-document in config.status, that substitutes the proper values into
21075 # config.h.in to produce config.h.
21077 # Create a delimiter string that does not exist in confdefs.h, to ease
21078 # handling of long lines.
21079 ac_delim='%!_!# '
21080 for ac_last_try in false false :; do
21081 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
21082 if test -z "$ac_tt"; then
21083 break
21084 elif $ac_last_try; then
21085 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
21086 else
21087 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21089 done
21091 # For the awk script, D is an array of macro values keyed by name,
21092 # likewise P contains macro parameters if any. Preserve backslash
21093 # newline sequences.
21095 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21096 sed -n '
21097 s/.\{148\}/&'"$ac_delim"'/g
21098 t rset
21099 :rset
21100 s/^[ ]*#[ ]*define[ ][ ]*/ /
21101 t def
21103 :def
21104 s/\\$//
21105 t bsnl
21106 s/["\\]/\\&/g
21107 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21108 D["\1"]=" \3"/p
21109 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
21111 :bsnl
21112 s/["\\]/\\&/g
21113 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21114 D["\1"]=" \3\\\\\\n"\\/p
21115 t cont
21116 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21117 t cont
21119 :cont
21121 s/.\{148\}/&'"$ac_delim"'/g
21122 t clear
21123 :clear
21124 s/\\$//
21125 t bsnlc
21126 s/["\\]/\\&/g; s/^/"/; s/$/"/p
21128 :bsnlc
21129 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21130 b cont
21131 ' <confdefs.h | sed '
21132 s/'"$ac_delim"'/"\\\
21133 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21135 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21136 for (key in D) D_is_set[key] = 1
21137 FS = "\a"
21139 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21140 line = \$ 0
21141 split(line, arg, " ")
21142 if (arg[1] == "#") {
21143 defundef = arg[2]
21144 mac1 = arg[3]
21145 } else {
21146 defundef = substr(arg[1], 2)
21147 mac1 = arg[2]
21149 split(mac1, mac2, "(") #)
21150 macro = mac2[1]
21151 prefix = substr(line, 1, index(line, defundef) - 1)
21152 if (D_is_set[macro]) {
21153 # Preserve the white space surrounding the "#".
21154 print prefix "define", macro P[macro] D[macro]
21155 next
21156 } else {
21157 # Replace #undef with comments. This is necessary, for example,
21158 # in the case of _POSIX_SOURCE, which is predefined and required
21159 # on some systems where configure will not decide to define it.
21160 if (defundef == "undef") {
21161 print "/*", prefix defundef, macro, "*/"
21162 next
21166 { print }
21167 _ACAWK
21168 _ACEOF
21169 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21170 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21171 fi # test -n "$CONFIG_HEADERS"
21174 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
21175 shift
21176 for ac_tag
21178 case $ac_tag in
21179 :[FHLC]) ac_mode=$ac_tag; continue;;
21180 esac
21181 case $ac_mode$ac_tag in
21182 :[FHL]*:*);;
21183 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21184 :[FH]-) ac_tag=-:-;;
21185 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21186 esac
21187 ac_save_IFS=$IFS
21188 IFS=:
21189 set x $ac_tag
21190 IFS=$ac_save_IFS
21191 shift
21192 ac_file=$1
21193 shift
21195 case $ac_mode in
21196 :L) ac_source=$1;;
21197 :[FH])
21198 ac_file_inputs=
21199 for ac_f
21201 case $ac_f in
21202 -) ac_f="$ac_tmp/stdin";;
21203 *) # Look for the file first in the build tree, then in the source tree
21204 # (if the path is not absolute). The absolute path cannot be DOS-style,
21205 # because $ac_f cannot contain `:'.
21206 test -f "$ac_f" ||
21207 case $ac_f in
21208 [\\/$]*) false;;
21209 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21210 esac ||
21211 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21212 esac
21213 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21214 as_fn_append ac_file_inputs " '$ac_f'"
21215 done
21217 # Let's still pretend it is `configure' which instantiates (i.e., don't
21218 # use $as_me), people would be surprised to read:
21219 # /* config.h. Generated by config.status. */
21220 configure_input='Generated from '`
21221 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21222 `' by configure.'
21223 if test x"$ac_file" != x-; then
21224 configure_input="$ac_file. $configure_input"
21225 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21226 $as_echo "$as_me: creating $ac_file" >&6;}
21228 # Neutralize special characters interpreted by sed in replacement strings.
21229 case $configure_input in #(
21230 *\&* | *\|* | *\\* )
21231 ac_sed_conf_input=`$as_echo "$configure_input" |
21232 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21233 *) ac_sed_conf_input=$configure_input;;
21234 esac
21236 case $ac_tag in
21237 *:-:* | *:-) cat >"$ac_tmp/stdin" \
21238 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21239 esac
21241 esac
21243 ac_dir=`$as_dirname -- "$ac_file" ||
21244 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21245 X"$ac_file" : 'X\(//\)[^/]' \| \
21246 X"$ac_file" : 'X\(//\)$' \| \
21247 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21248 $as_echo X"$ac_file" |
21249 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21250 s//\1/
21253 /^X\(\/\/\)[^/].*/{
21254 s//\1/
21257 /^X\(\/\/\)$/{
21258 s//\1/
21261 /^X\(\/\).*/{
21262 s//\1/
21265 s/.*/./; q'`
21266 as_dir="$ac_dir"; as_fn_mkdir_p
21267 ac_builddir=.
21269 case "$ac_dir" in
21270 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21272 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21273 # A ".." for each directory in $ac_dir_suffix.
21274 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21275 case $ac_top_builddir_sub in
21276 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21277 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21278 esac ;;
21279 esac
21280 ac_abs_top_builddir=$ac_pwd
21281 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21282 # for backward compatibility:
21283 ac_top_builddir=$ac_top_build_prefix
21285 case $srcdir in
21286 .) # We are building in place.
21287 ac_srcdir=.
21288 ac_top_srcdir=$ac_top_builddir_sub
21289 ac_abs_top_srcdir=$ac_pwd ;;
21290 [\\/]* | ?:[\\/]* ) # Absolute name.
21291 ac_srcdir=$srcdir$ac_dir_suffix;
21292 ac_top_srcdir=$srcdir
21293 ac_abs_top_srcdir=$srcdir ;;
21294 *) # Relative name.
21295 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21296 ac_top_srcdir=$ac_top_build_prefix$srcdir
21297 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21298 esac
21299 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21302 case $ac_mode in
21305 # CONFIG_FILE
21308 _ACEOF
21310 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21311 # If the template does not know about datarootdir, expand it.
21312 # FIXME: This hack should be removed a few years after 2.60.
21313 ac_datarootdir_hack=; ac_datarootdir_seen=
21314 ac_sed_dataroot='
21315 /datarootdir/ {
21319 /@datadir@/p
21320 /@docdir@/p
21321 /@infodir@/p
21322 /@localedir@/p
21323 /@mandir@/p'
21324 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21325 *datarootdir*) ac_datarootdir_seen=yes;;
21326 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21328 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21329 _ACEOF
21330 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21331 ac_datarootdir_hack='
21332 s&@datadir@&$datadir&g
21333 s&@docdir@&$docdir&g
21334 s&@infodir@&$infodir&g
21335 s&@localedir@&$localedir&g
21336 s&@mandir@&$mandir&g
21337 s&\\\${datarootdir}&$datarootdir&g' ;;
21338 esac
21339 _ACEOF
21341 # Neutralize VPATH when `$srcdir' = `.'.
21342 # Shell code in configure.ac might set extrasub.
21343 # FIXME: do we really want to maintain this feature?
21344 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21345 ac_sed_extra="$ac_vpsub
21346 $extrasub
21347 _ACEOF
21348 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21350 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21351 s|@configure_input@|$ac_sed_conf_input|;t t
21352 s&@top_builddir@&$ac_top_builddir_sub&;t t
21353 s&@top_build_prefix@&$ac_top_build_prefix&;t t
21354 s&@srcdir@&$ac_srcdir&;t t
21355 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21356 s&@top_srcdir@&$ac_top_srcdir&;t t
21357 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21358 s&@builddir@&$ac_builddir&;t t
21359 s&@abs_builddir@&$ac_abs_builddir&;t t
21360 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21361 $ac_datarootdir_hack
21363 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
21364 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21366 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21367 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21368 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21369 "$ac_tmp/out"`; test -z "$ac_out"; } &&
21370 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21371 which seems to be undefined. Please make sure it is defined" >&5
21372 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21373 which seems to be undefined. Please make sure it is defined" >&2;}
21375 rm -f "$ac_tmp/stdin"
21376 case $ac_file in
21377 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21378 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21379 esac \
21380 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21384 # CONFIG_HEADER
21386 if test x"$ac_file" != x-; then
21388 $as_echo "/* $configure_input */" \
21389 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21390 } >"$ac_tmp/config.h" \
21391 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21392 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21393 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21394 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21395 else
21396 rm -f "$ac_file"
21397 mv "$ac_tmp/config.h" "$ac_file" \
21398 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21400 else
21401 $as_echo "/* $configure_input */" \
21402 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21403 || as_fn_error $? "could not create -" "$LINENO" 5
21408 # CONFIG_LINK
21411 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
21413 else
21414 # Prefer the file from the source tree if names are identical.
21415 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
21416 ac_source=$srcdir/$ac_source
21419 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
21420 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
21422 if test ! -r "$ac_source"; then
21423 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
21425 rm -f "$ac_file"
21427 # Try a relative symlink, then a hard link, then a copy.
21428 case $ac_source in
21429 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
21430 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
21431 esac
21432 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
21433 ln "$ac_source" "$ac_file" 2>/dev/null ||
21434 cp -p "$ac_source" "$ac_file" ||
21435 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
21438 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21439 $as_echo "$as_me: executing $ac_file commands" >&6;}
21441 esac
21444 case $ac_file$ac_mode in
21445 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
21446 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
21447 "Makefile":C) wine_fn_output_makefile Makefile ;;
21449 esac
21450 done # for ac_tag
21453 as_fn_exit 0
21454 _ACEOF
21455 ac_clean_files=$ac_clean_files_save
21457 test $ac_write_fail = 0 ||
21458 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21461 # configure is writing to config.log, and then calls config.status.
21462 # config.status does its own redirection, appending to config.log.
21463 # Unfortunately, on DOS this fails, as config.log is still kept open
21464 # by configure, so config.status won't be able to write to it; its
21465 # output is simply discarded. So we exec the FD to /dev/null,
21466 # effectively closing config.log, so it can be properly (re)opened and
21467 # appended to by config.status. When coming back to configure, we
21468 # need to make the FD available again.
21469 if test "$no_create" != yes; then
21470 ac_cs_success=:
21471 ac_config_status_args=
21472 test "$silent" = yes &&
21473 ac_config_status_args="$ac_config_status_args --quiet"
21474 exec 5>/dev/null
21475 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21476 exec 5>>config.log
21477 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21478 # would make configure fail if this is the last instruction.
21479 $ac_cs_success || as_fn_exit 1
21481 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
21482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21483 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21487 if test "$no_create" = "yes"
21488 then
21489 exit 0
21492 ac_save_IFS="$IFS"
21493 if test "x$wine_notices" != x; then
21494 echo >&6
21495 IFS="|"
21496 for msg in $wine_notices; do
21497 IFS="$ac_save_IFS"
21498 if ${msg:+false} :; then :
21500 else
21501 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
21502 $as_echo "$as_me: $msg" >&6;}
21504 done
21506 IFS="|"
21507 for msg in $wine_warnings; do
21508 IFS="$ac_save_IFS"
21509 if ${msg:+false} :; then :
21511 else
21512 echo >&2
21513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
21514 $as_echo "$as_me: WARNING: $msg" >&2;}
21516 done
21517 IFS="$ac_save_IFS"
21519 $as_echo "
21520 $as_me: Finished. Do '${ac_make}' to compile Wine.
21521 " >&6