windowscodecs: Use the bundled libjpeg.
[wine.git] / configure
blob39c599e9d6c19c202331461579a8b35156efc856
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 6.19.
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.19'
584 PACKAGE_STRING='Wine 6.19'
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 MPG123_LIBS
641 MPG123_CFLAGS
642 TIFF_LIBS
643 TIFF_CFLAGS
644 JXRLIB_LIBS
645 JXRLIB_CFLAGS
646 JPEG_LIBS
647 JPEG_CFLAGS
648 GSSAPI_LIBS
649 GSSAPI_CFLAGS
650 KRB5_LIBS
651 KRB5_CFLAGS
652 FONTCONFIG_LIBS
653 FONTCONFIG_CFLAGS
654 CUPS_LIBS
655 CUPS_CFLAGS
656 CAPI20_LIBS
657 CAPI20_CFLAGS
658 FAUDIO_LIBS
659 FAUDIO_CFLAGS
660 SDL2_LIBS
661 SDL2_CFLAGS
662 UNWIND_LIBS
663 UNWIND_CFLAGS
664 UDEV_LIBS
665 UDEV_CFLAGS
666 OSS4_LIBS
667 OSS4_CFLAGS
668 ALSA_LIBS
669 GSTREAMER_LIBS
670 GSTREAMER_CFLAGS
671 PULSE_LIBS
672 PULSE_CFLAGS
673 GETTEXTPO_LIBS
674 FREETYPE_LIBS
675 FREETYPE_CFLAGS
676 LCMS2_LIBS
677 LCMS2_CFLAGS
678 RESOLV_LIBS
679 GPHOTO2_PORT_LIBS
680 GPHOTO2_PORT_CFLAGS
681 GPHOTO2_LIBS
682 GPHOTO2_CFLAGS
683 USB_LIBS
684 USB_CFLAGS
685 SANE_LIBS
686 SANE_CFLAGS
687 GNUTLS_LIBS
688 GNUTLS_CFLAGS
689 HAL_LIBS
690 HAL_CFLAGS
691 DBUS_LIBS
692 DBUS_CFLAGS
693 INOTIFY_LIBS
694 INOTIFY_CFLAGS
695 XSLT_LIBS
696 XSLT_CFLAGS
697 XML2_LIBS
698 XML2_CFLAGS
699 PCAP_LIBS
700 X_EXTRA_LIBS
701 X_LIBS
702 X_PRE_LIBS
703 X_CFLAGS
704 XMKMF
705 PTHREAD_LIBS
706 ZLIB_PE_LIBS
707 ZLIB_PE_CFLAGS
708 PNG_PE_LIBS
709 PNG_PE_CFLAGS
710 JPEG_PE_LIBS
711 JPEG_PE_CFLAGS
712 EXCESS_PRECISION_CFLAGS
713 CROSSDEBUG
714 DELAYLOADFLAG
715 CROSSLDFLAGS
716 EXTRACROSSCFLAGS
717 CROSSCFLAGS
718 CROSSCC
719 CROSSTARGET
720 LIBWINE_DEPENDS
721 PRELINK
722 WINELOADER_DEPENDS
723 LIBWINE_LDFLAGS
724 LIBWINE_SHAREDLIB
725 METAL_LIBS
726 CARBON_LIBS
727 QUICKTIME_LIBS
728 OPENCL_LIBS
729 OPENAL_LIBS
730 COREAUDIO_LIBS
731 SECURITY_LIBS
732 DISKARBITRATION_LIBS
733 SYSTEMCONFIGURATION_LIBS
734 APPKIT_LIBS
735 CORESERVICES_LIBS
736 APPLICATIONSERVICES_LIBS
737 IOKIT_LIBS
738 COREFOUNDATION_LIBS
739 OBJCPP
740 ac_ct_OBJC
741 OBJCFLAGS
742 OBJC
743 DLLTOOL
744 WINELOADER_PROGRAMS
745 CONFIGURE_TARGETS
746 DISABLED_SUBDIRS
747 SUBDIRS
748 READELF
749 OTOOL
751 WINEPRELOADER_LDFLAGS
752 WINELOADER_LDFLAGS
753 TOP_INSTALL_DEV
754 TOP_INSTALL_LIB
755 UNIXLDFLAGS
756 UNIXDLLFLAGS
757 EXTRACFLAGS
758 LDEXECFLAGS
759 LDDLLFLAGS
760 DLLFLAGS
762 OPENGL_LIBS
763 I386_LIBS
764 ICOTOOL
765 CONVERT
766 RSVG
767 FONTFORGE
768 PKG_CONFIG
769 MSGFMT
770 LDCONFIG
771 EGREP
772 GREP
773 LN_S
774 RANLIB
775 STRIP
776 ac_ct_AR
778 BISON
779 FLEX
780 TOOLSDIR
781 TARGETFLAGS
783 CPPBIN
784 ac_ct_CXX
785 CXXFLAGS
787 OBJEXT
788 EXEEXT
789 ac_ct_CC
790 CPPFLAGS
791 LDFLAGS
792 CFLAGS
794 SET_MAKE
795 host_os
796 host_vendor
797 host_cpu
798 host
799 build_os
800 build_vendor
801 build_cpu
802 build
803 target_alias
804 host_alias
805 build_alias
806 LIBS
807 ECHO_T
808 ECHO_N
809 ECHO_C
810 DEFS
811 mandir
812 localedir
813 libdir
814 psdir
815 pdfdir
816 dvidir
817 htmldir
818 infodir
819 docdir
820 oldincludedir
821 includedir
822 runstatedir
823 localstatedir
824 sharedstatedir
825 sysconfdir
826 datadir
827 datarootdir
828 libexecdir
829 sbindir
830 bindir
831 program_transform_name
832 prefix
833 exec_prefix
834 PACKAGE_URL
835 PACKAGE_BUGREPORT
836 PACKAGE_STRING
837 PACKAGE_VERSION
838 PACKAGE_TARNAME
839 PACKAGE_NAME
840 PATH_SEPARATOR
841 SHELL'
842 ac_subst_files=''
843 ac_user_opts='
844 enable_option_checking
845 enable_win16
846 enable_win64
847 enable_tests
848 enable_build_id
849 enable_maintainer_mode
850 enable_silent_rules
851 enable_werror
852 with_alsa
853 with_capi
854 with_cms
855 with_coreaudio
856 with_cups
857 with_dbus
858 with_faudio
859 with_float_abi
860 with_fontconfig
861 with_freetype
862 with_gettext
863 with_gettextpo
864 with_gphoto
865 with_gnutls
866 with_gsm
867 with_gssapi
868 with_gstreamer
869 with_hal
870 with_inotify
871 with_jpeg
872 with_jxrlib
873 with_krb5
874 with_ldap
875 with_mingw
876 with_mpg123
877 with_netapi
878 with_openal
879 with_opencl
880 with_opengl
881 with_osmesa
882 with_oss
883 with_pcap
884 with_pthread
885 with_pulse
886 with_quicktime
887 with_sane
888 with_sdl
889 with_tiff
890 with_udev
891 with_unwind
892 with_usb
893 with_v4l2
894 with_vkd3d
895 with_vulkan
896 with_xcomposite
897 with_xcursor
898 with_xfixes
899 with_xinerama
900 with_xinput
901 with_xinput2
902 with_xml
903 with_xrandr
904 with_xrender
905 with_xshape
906 with_xshm
907 with_xslt
908 with_xxf86vm
909 with_wine_tools
910 with_wine64
911 enable_largefile
912 with_x
913 enable_acledit
914 enable_aclui
915 enable_activeds_tlb
916 enable_activeds
917 enable_actxprxy
918 enable_adsldp
919 enable_adsldpc
920 enable_advapi32
921 enable_advpack
922 enable_amsi
923 enable_amstream
924 enable_api_ms_win_appmodel_identity_l1_1_0
925 enable_api_ms_win_appmodel_runtime_l1_1_1
926 enable_api_ms_win_appmodel_runtime_l1_1_2
927 enable_api_ms_win_core_apiquery_l1_1_0
928 enable_api_ms_win_core_appcompat_l1_1_1
929 enable_api_ms_win_core_appinit_l1_1_0
930 enable_api_ms_win_core_atoms_l1_1_0
931 enable_api_ms_win_core_bem_l1_1_0
932 enable_api_ms_win_core_com_l1_1_0
933 enable_api_ms_win_core_com_l1_1_1
934 enable_api_ms_win_core_com_private_l1_1_0
935 enable_api_ms_win_core_comm_l1_1_0
936 enable_api_ms_win_core_console_l1_1_0
937 enable_api_ms_win_core_console_l1_2_0
938 enable_api_ms_win_core_console_l2_1_0
939 enable_api_ms_win_core_console_l3_2_0
940 enable_api_ms_win_core_crt_l1_1_0
941 enable_api_ms_win_core_crt_l2_1_0
942 enable_api_ms_win_core_datetime_l1_1_0
943 enable_api_ms_win_core_datetime_l1_1_1
944 enable_api_ms_win_core_debug_l1_1_0
945 enable_api_ms_win_core_debug_l1_1_1
946 enable_api_ms_win_core_delayload_l1_1_0
947 enable_api_ms_win_core_delayload_l1_1_1
948 enable_api_ms_win_core_errorhandling_l1_1_0
949 enable_api_ms_win_core_errorhandling_l1_1_1
950 enable_api_ms_win_core_errorhandling_l1_1_2
951 enable_api_ms_win_core_errorhandling_l1_1_3
952 enable_api_ms_win_core_featurestaging_l1_1_0
953 enable_api_ms_win_core_fibers_l1_1_0
954 enable_api_ms_win_core_fibers_l1_1_1
955 enable_api_ms_win_core_file_ansi_l2_1_0
956 enable_api_ms_win_core_file_fromapp_l1_1_0
957 enable_api_ms_win_core_file_l1_1_0
958 enable_api_ms_win_core_file_l1_2_0
959 enable_api_ms_win_core_file_l1_2_1
960 enable_api_ms_win_core_file_l1_2_2
961 enable_api_ms_win_core_file_l2_1_0
962 enable_api_ms_win_core_file_l2_1_1
963 enable_api_ms_win_core_file_l2_1_2
964 enable_api_ms_win_core_handle_l1_1_0
965 enable_api_ms_win_core_heap_l1_1_0
966 enable_api_ms_win_core_heap_l1_2_0
967 enable_api_ms_win_core_heap_l2_1_0
968 enable_api_ms_win_core_heap_obsolete_l1_1_0
969 enable_api_ms_win_core_interlocked_l1_1_0
970 enable_api_ms_win_core_interlocked_l1_2_0
971 enable_api_ms_win_core_io_l1_1_0
972 enable_api_ms_win_core_io_l1_1_1
973 enable_api_ms_win_core_job_l1_1_0
974 enable_api_ms_win_core_job_l2_1_0
975 enable_api_ms_win_core_kernel32_legacy_l1_1_0
976 enable_api_ms_win_core_kernel32_legacy_l1_1_1
977 enable_api_ms_win_core_kernel32_legacy_l1_1_2
978 enable_api_ms_win_core_kernel32_legacy_l1_1_5
979 enable_api_ms_win_core_kernel32_private_l1_1_1
980 enable_api_ms_win_core_largeinteger_l1_1_0
981 enable_api_ms_win_core_libraryloader_l1_1_0
982 enable_api_ms_win_core_libraryloader_l1_1_1
983 enable_api_ms_win_core_libraryloader_l1_2_0
984 enable_api_ms_win_core_libraryloader_l1_2_1
985 enable_api_ms_win_core_libraryloader_l1_2_2
986 enable_api_ms_win_core_libraryloader_l2_1_0
987 enable_api_ms_win_core_localization_l1_1_0
988 enable_api_ms_win_core_localization_l1_2_0
989 enable_api_ms_win_core_localization_l1_2_1
990 enable_api_ms_win_core_localization_l1_2_2
991 enable_api_ms_win_core_localization_l2_1_0
992 enable_api_ms_win_core_localization_obsolete_l1_1_0
993 enable_api_ms_win_core_localization_obsolete_l1_2_0
994 enable_api_ms_win_core_localization_obsolete_l1_3_0
995 enable_api_ms_win_core_localization_private_l1_1_0
996 enable_api_ms_win_core_localregistry_l1_1_0
997 enable_api_ms_win_core_memory_l1_1_0
998 enable_api_ms_win_core_memory_l1_1_1
999 enable_api_ms_win_core_memory_l1_1_2
1000 enable_api_ms_win_core_memory_l1_1_3
1001 enable_api_ms_win_core_memory_l1_1_4
1002 enable_api_ms_win_core_misc_l1_1_0
1003 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
1004 enable_api_ms_win_core_namedpipe_l1_1_0
1005 enable_api_ms_win_core_namedpipe_l1_2_0
1006 enable_api_ms_win_core_namespace_l1_1_0
1007 enable_api_ms_win_core_normalization_l1_1_0
1008 enable_api_ms_win_core_path_l1_1_0
1009 enable_api_ms_win_core_privateprofile_l1_1_1
1010 enable_api_ms_win_core_processenvironment_l1_1_0
1011 enable_api_ms_win_core_processenvironment_l1_2_0
1012 enable_api_ms_win_core_processthreads_l1_1_0
1013 enable_api_ms_win_core_processthreads_l1_1_1
1014 enable_api_ms_win_core_processthreads_l1_1_2
1015 enable_api_ms_win_core_processthreads_l1_1_3
1016 enable_api_ms_win_core_processtopology_l1_1_0
1017 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1018 enable_api_ms_win_core_profile_l1_1_0
1019 enable_api_ms_win_core_psapi_ansi_l1_1_0
1020 enable_api_ms_win_core_psapi_l1_1_0
1021 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1022 enable_api_ms_win_core_psm_appnotify_l1_1_0
1023 enable_api_ms_win_core_quirks_l1_1_0
1024 enable_api_ms_win_core_realtime_l1_1_0
1025 enable_api_ms_win_core_realtime_l1_1_1
1026 enable_api_ms_win_core_registry_l1_1_0
1027 enable_api_ms_win_core_registry_l2_1_0
1028 enable_api_ms_win_core_registry_l2_2_0
1029 enable_api_ms_win_core_registryuserspecific_l1_1_0
1030 enable_api_ms_win_core_rtlsupport_l1_1_0
1031 enable_api_ms_win_core_rtlsupport_l1_2_0
1032 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1033 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1034 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1035 enable_api_ms_win_core_shutdown_l1_1_0
1036 enable_api_ms_win_core_sidebyside_l1_1_0
1037 enable_api_ms_win_core_string_l1_1_0
1038 enable_api_ms_win_core_string_l2_1_0
1039 enable_api_ms_win_core_string_obsolete_l1_1_0
1040 enable_api_ms_win_core_stringansi_l1_1_0
1041 enable_api_ms_win_core_stringloader_l1_1_1
1042 enable_api_ms_win_core_synch_ansi_l1_1_0
1043 enable_api_ms_win_core_synch_l1_1_0
1044 enable_api_ms_win_core_synch_l1_2_0
1045 enable_api_ms_win_core_synch_l1_2_1
1046 enable_api_ms_win_core_sysinfo_l1_1_0
1047 enable_api_ms_win_core_sysinfo_l1_2_0
1048 enable_api_ms_win_core_sysinfo_l1_2_1
1049 enable_api_ms_win_core_systemtopology_l1_1_0
1050 enable_api_ms_win_core_threadpool_l1_1_0
1051 enable_api_ms_win_core_threadpool_l1_2_0
1052 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1053 enable_api_ms_win_core_threadpool_private_l1_1_0
1054 enable_api_ms_win_core_timezone_l1_1_0
1055 enable_api_ms_win_core_toolhelp_l1_1_0
1056 enable_api_ms_win_core_url_l1_1_0
1057 enable_api_ms_win_core_util_l1_1_0
1058 enable_api_ms_win_core_version_l1_1_0
1059 enable_api_ms_win_core_version_l1_1_1
1060 enable_api_ms_win_core_version_private_l1_1_0
1061 enable_api_ms_win_core_versionansi_l1_1_0
1062 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1063 enable_api_ms_win_core_winrt_error_l1_1_0
1064 enable_api_ms_win_core_winrt_error_l1_1_1
1065 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1066 enable_api_ms_win_core_winrt_l1_1_0
1067 enable_api_ms_win_core_winrt_registration_l1_1_0
1068 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1069 enable_api_ms_win_core_winrt_string_l1_1_0
1070 enable_api_ms_win_core_winrt_string_l1_1_1
1071 enable_api_ms_win_core_wow64_l1_1_0
1072 enable_api_ms_win_core_wow64_l1_1_1
1073 enable_api_ms_win_core_xstate_l1_1_0
1074 enable_api_ms_win_core_xstate_l2_1_0
1075 enable_api_ms_win_crt_conio_l1_1_0
1076 enable_api_ms_win_crt_convert_l1_1_0
1077 enable_api_ms_win_crt_environment_l1_1_0
1078 enable_api_ms_win_crt_filesystem_l1_1_0
1079 enable_api_ms_win_crt_heap_l1_1_0
1080 enable_api_ms_win_crt_locale_l1_1_0
1081 enable_api_ms_win_crt_math_l1_1_0
1082 enable_api_ms_win_crt_multibyte_l1_1_0
1083 enable_api_ms_win_crt_private_l1_1_0
1084 enable_api_ms_win_crt_process_l1_1_0
1085 enable_api_ms_win_crt_runtime_l1_1_0
1086 enable_api_ms_win_crt_stdio_l1_1_0
1087 enable_api_ms_win_crt_string_l1_1_0
1088 enable_api_ms_win_crt_time_l1_1_0
1089 enable_api_ms_win_crt_utility_l1_1_0
1090 enable_api_ms_win_devices_config_l1_1_0
1091 enable_api_ms_win_devices_config_l1_1_1
1092 enable_api_ms_win_devices_query_l1_1_1
1093 enable_api_ms_win_downlevel_advapi32_l1_1_0
1094 enable_api_ms_win_downlevel_advapi32_l2_1_0
1095 enable_api_ms_win_downlevel_kernel32_l2_1_0
1096 enable_api_ms_win_downlevel_normaliz_l1_1_0
1097 enable_api_ms_win_downlevel_ole32_l1_1_0
1098 enable_api_ms_win_downlevel_shell32_l1_1_0
1099 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1100 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1101 enable_api_ms_win_downlevel_user32_l1_1_0
1102 enable_api_ms_win_downlevel_version_l1_1_0
1103 enable_api_ms_win_dx_d3dkmt_l1_1_0
1104 enable_api_ms_win_eventing_classicprovider_l1_1_0
1105 enable_api_ms_win_eventing_consumer_l1_1_0
1106 enable_api_ms_win_eventing_controller_l1_1_0
1107 enable_api_ms_win_eventing_legacy_l1_1_0
1108 enable_api_ms_win_eventing_provider_l1_1_0
1109 enable_api_ms_win_eventlog_legacy_l1_1_0
1110 enable_api_ms_win_gaming_tcui_l1_1_0
1111 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1112 enable_api_ms_win_mm_joystick_l1_1_0
1113 enable_api_ms_win_mm_misc_l1_1_1
1114 enable_api_ms_win_mm_mme_l1_1_0
1115 enable_api_ms_win_mm_time_l1_1_0
1116 enable_api_ms_win_ntuser_dc_access_l1_1_0
1117 enable_api_ms_win_ntuser_rectangle_l1_1_0
1118 enable_api_ms_win_ntuser_sysparams_l1_1_0
1119 enable_api_ms_win_perf_legacy_l1_1_0
1120 enable_api_ms_win_power_base_l1_1_0
1121 enable_api_ms_win_power_setting_l1_1_0
1122 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1123 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1124 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1125 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1126 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1127 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1128 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1129 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1130 enable_api_ms_win_security_audit_l1_1_1
1131 enable_api_ms_win_security_base_l1_1_0
1132 enable_api_ms_win_security_base_l1_2_0
1133 enable_api_ms_win_security_base_private_l1_1_1
1134 enable_api_ms_win_security_credentials_l1_1_0
1135 enable_api_ms_win_security_cryptoapi_l1_1_0
1136 enable_api_ms_win_security_grouppolicy_l1_1_0
1137 enable_api_ms_win_security_lsalookup_l1_1_0
1138 enable_api_ms_win_security_lsalookup_l1_1_1
1139 enable_api_ms_win_security_lsalookup_l2_1_0
1140 enable_api_ms_win_security_lsalookup_l2_1_1
1141 enable_api_ms_win_security_lsapolicy_l1_1_0
1142 enable_api_ms_win_security_provider_l1_1_0
1143 enable_api_ms_win_security_sddl_l1_1_0
1144 enable_api_ms_win_security_systemfunctions_l1_1_0
1145 enable_api_ms_win_service_core_l1_1_0
1146 enable_api_ms_win_service_core_l1_1_1
1147 enable_api_ms_win_service_management_l1_1_0
1148 enable_api_ms_win_service_management_l2_1_0
1149 enable_api_ms_win_service_private_l1_1_1
1150 enable_api_ms_win_service_winsvc_l1_1_0
1151 enable_api_ms_win_service_winsvc_l1_2_0
1152 enable_api_ms_win_shcore_obsolete_l1_1_0
1153 enable_api_ms_win_shcore_scaling_l1_1_0
1154 enable_api_ms_win_shcore_scaling_l1_1_1
1155 enable_api_ms_win_shcore_stream_l1_1_0
1156 enable_api_ms_win_shcore_stream_winrt_l1_1_0
1157 enable_api_ms_win_shcore_thread_l1_1_0
1158 enable_api_ms_win_shell_shellcom_l1_1_0
1159 enable_api_ms_win_shell_shellfolders_l1_1_0
1160 enable_apphelp
1161 enable_appwiz_cpl
1162 enable_atl
1163 enable_atl100
1164 enable_atl110
1165 enable_atl80
1166 enable_atl90
1167 enable_atlthunk
1168 enable_atmlib
1169 enable_authz
1170 enable_avicap32
1171 enable_avifil32
1172 enable_avrt
1173 enable_bcrypt
1174 enable_bluetoothapis
1175 enable_browseui
1176 enable_bthprops_cpl
1177 enable_cabinet
1178 enable_capi2032
1179 enable_cards
1180 enable_cdosys
1181 enable_cfgmgr32
1182 enable_clusapi
1183 enable_combase
1184 enable_comcat
1185 enable_comctl32
1186 enable_comdlg32
1187 enable_compstui
1188 enable_comsvcs
1189 enable_concrt140
1190 enable_connect
1191 enable_credui
1192 enable_crtdll
1193 enable_crypt32
1194 enable_cryptdlg
1195 enable_cryptdll
1196 enable_cryptext
1197 enable_cryptnet
1198 enable_cryptsp
1199 enable_cryptui
1200 enable_ctapi32
1201 enable_ctl3d32
1202 enable_d2d1
1203 enable_d3d10
1204 enable_d3d10_1
1205 enable_d3d10core
1206 enable_d3d11
1207 enable_d3d12
1208 enable_d3d8
1209 enable_d3d8thk
1210 enable_d3d9
1211 enable_d3dcompiler_33
1212 enable_d3dcompiler_34
1213 enable_d3dcompiler_35
1214 enable_d3dcompiler_36
1215 enable_d3dcompiler_37
1216 enable_d3dcompiler_38
1217 enable_d3dcompiler_39
1218 enable_d3dcompiler_40
1219 enable_d3dcompiler_41
1220 enable_d3dcompiler_42
1221 enable_d3dcompiler_43
1222 enable_d3dcompiler_46
1223 enable_d3dcompiler_47
1224 enable_d3dim
1225 enable_d3dim700
1226 enable_d3drm
1227 enable_d3dx10_33
1228 enable_d3dx10_34
1229 enable_d3dx10_35
1230 enable_d3dx10_36
1231 enable_d3dx10_37
1232 enable_d3dx10_38
1233 enable_d3dx10_39
1234 enable_d3dx10_40
1235 enable_d3dx10_41
1236 enable_d3dx10_42
1237 enable_d3dx10_43
1238 enable_d3dx11_42
1239 enable_d3dx11_43
1240 enable_d3dx9_24
1241 enable_d3dx9_25
1242 enable_d3dx9_26
1243 enable_d3dx9_27
1244 enable_d3dx9_28
1245 enable_d3dx9_29
1246 enable_d3dx9_30
1247 enable_d3dx9_31
1248 enable_d3dx9_32
1249 enable_d3dx9_33
1250 enable_d3dx9_34
1251 enable_d3dx9_35
1252 enable_d3dx9_36
1253 enable_d3dx9_37
1254 enable_d3dx9_38
1255 enable_d3dx9_39
1256 enable_d3dx9_40
1257 enable_d3dx9_41
1258 enable_d3dx9_42
1259 enable_d3dx9_43
1260 enable_d3dxof
1261 enable_davclnt
1262 enable_dbgeng
1263 enable_dbghelp
1264 enable_dciman32
1265 enable_dcomp
1266 enable_ddraw
1267 enable_ddrawex
1268 enable_devenum
1269 enable_dhcpcsvc
1270 enable_dhcpcsvc6
1271 enable_dhtmled_ocx
1272 enable_difxapi
1273 enable_dinput
1274 enable_dinput8
1275 enable_directmanipulation
1276 enable_dispex
1277 enable_dmband
1278 enable_dmcompos
1279 enable_dmime
1280 enable_dmloader
1281 enable_dmscript
1282 enable_dmstyle
1283 enable_dmsynth
1284 enable_dmusic
1285 enable_dmusic32
1286 enable_dnsapi
1287 enable_dplay
1288 enable_dplayx
1289 enable_dpnaddr
1290 enable_dpnet
1291 enable_dpnhpast
1292 enable_dpnhupnp
1293 enable_dpnlobby
1294 enable_dpvoice
1295 enable_dpwsockx
1296 enable_drmclien
1297 enable_dsdmo
1298 enable_dsound
1299 enable_dsquery
1300 enable_dssenh
1301 enable_dsuiext
1302 enable_dswave
1303 enable_dwmapi
1304 enable_dwrite
1305 enable_dx8vb
1306 enable_dxdiagn
1307 enable_dxgi
1308 enable_dxtrans
1309 enable_dxva2
1310 enable_esent
1311 enable_evr
1312 enable_explorerframe
1313 enable_ext_ms_win_authz_context_l1_1_0
1314 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1315 enable_ext_ms_win_dwmapi_ext_l1_1_0
1316 enable_ext_ms_win_gdi_dc_create_l1_1_0
1317 enable_ext_ms_win_gdi_dc_create_l1_1_1
1318 enable_ext_ms_win_gdi_dc_l1_2_0
1319 enable_ext_ms_win_gdi_devcaps_l1_1_0
1320 enable_ext_ms_win_gdi_draw_l1_1_0
1321 enable_ext_ms_win_gdi_draw_l1_1_1
1322 enable_ext_ms_win_gdi_font_l1_1_0
1323 enable_ext_ms_win_gdi_font_l1_1_1
1324 enable_ext_ms_win_gdi_render_l1_1_0
1325 enable_ext_ms_win_kernel32_package_current_l1_1_0
1326 enable_ext_ms_win_kernel32_package_l1_1_1
1327 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1328 enable_ext_ms_win_ntuser_draw_l1_1_0
1329 enable_ext_ms_win_ntuser_gui_l1_1_0
1330 enable_ext_ms_win_ntuser_gui_l1_3_0
1331 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1332 enable_ext_ms_win_ntuser_message_l1_1_0
1333 enable_ext_ms_win_ntuser_message_l1_1_1
1334 enable_ext_ms_win_ntuser_misc_l1_1_0
1335 enable_ext_ms_win_ntuser_misc_l1_2_0
1336 enable_ext_ms_win_ntuser_misc_l1_5_1
1337 enable_ext_ms_win_ntuser_mouse_l1_1_0
1338 enable_ext_ms_win_ntuser_private_l1_1_1
1339 enable_ext_ms_win_ntuser_private_l1_3_1
1340 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1341 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1342 enable_ext_ms_win_ntuser_window_l1_1_0
1343 enable_ext_ms_win_ntuser_window_l1_1_1
1344 enable_ext_ms_win_ntuser_window_l1_1_4
1345 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1346 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1347 enable_ext_ms_win_oleacc_l1_1_0
1348 enable_ext_ms_win_ras_rasapi32_l1_1_0
1349 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1350 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1351 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1352 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1353 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1354 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1355 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1356 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1357 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1358 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1359 enable_ext_ms_win_security_credui_l1_1_0
1360 enable_ext_ms_win_security_cryptui_l1_1_0
1361 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1362 enable_ext_ms_win_shell_comdlg32_l1_1_0
1363 enable_ext_ms_win_shell_shell32_l1_2_0
1364 enable_ext_ms_win_uxtheme_themes_l1_1_0
1365 enable_faultrep
1366 enable_feclient
1367 enable_fltlib
1368 enable_fltmgr_sys
1369 enable_fntcache
1370 enable_fontsub
1371 enable_fusion
1372 enable_fwpuclnt
1373 enable_gameux
1374 enable_gamingtcui
1375 enable_gdi32
1376 enable_gdiplus
1377 enable_glu32
1378 enable_gphoto2_ds
1379 enable_gpkcsp
1380 enable_hal
1381 enable_hhctrl_ocx
1382 enable_hid
1383 enable_hidclass_sys
1384 enable_hidparse_sys
1385 enable_hlink
1386 enable_hnetcfg
1387 enable_http_sys
1388 enable_httpapi
1389 enable_iccvid
1390 enable_icmp
1391 enable_ieframe
1392 enable_ieproxy
1393 enable_imaadp32_acm
1394 enable_imagehlp
1395 enable_imm32
1396 enable_inetcomm
1397 enable_inetcpl_cpl
1398 enable_inetmib1
1399 enable_infosoft
1400 enable_initpki
1401 enable_inkobj
1402 enable_inseng
1403 enable_iphlpapi
1404 enable_iprop
1405 enable_irprops_cpl
1406 enable_itircl
1407 enable_itss
1408 enable_joy_cpl
1409 enable_jscript
1410 enable_jsproxy
1411 enable_kerberos
1412 enable_kernel32
1413 enable_kernelbase
1414 enable_ksecdd_sys
1415 enable_ksproxy_ax
1416 enable_ksuser
1417 enable_ktmw32
1418 enable_l3codeca_acm
1419 enable_light_msstyles
1420 enable_loadperf
1421 enable_localspl
1422 enable_localui
1423 enable_lz32
1424 enable_mapi32
1425 enable_mapistub
1426 enable_mciavi32
1427 enable_mcicda
1428 enable_mciqtz32
1429 enable_mciseq
1430 enable_mciwave
1431 enable_mf
1432 enable_mf3216
1433 enable_mferror
1434 enable_mfmediaengine
1435 enable_mfplat
1436 enable_mfplay
1437 enable_mfreadwrite
1438 enable_mgmtapi
1439 enable_midimap
1440 enable_mlang
1441 enable_mmcndmgr
1442 enable_mmdevapi
1443 enable_mountmgr_sys
1444 enable_mp3dmod
1445 enable_mpr
1446 enable_mprapi
1447 enable_msacm32_drv
1448 enable_msacm32
1449 enable_msado15
1450 enable_msadp32_acm
1451 enable_msasn1
1452 enable_mscat32
1453 enable_mscms
1454 enable_mscoree
1455 enable_mscorwks
1456 enable_msctf
1457 enable_msctfp
1458 enable_msdaps
1459 enable_msdelta
1460 enable_msdmo
1461 enable_msdrm
1462 enable_msftedit
1463 enable_msg711_acm
1464 enable_msgsm32_acm
1465 enable_mshtml_tlb
1466 enable_mshtml
1467 enable_msi
1468 enable_msident
1469 enable_msimg32
1470 enable_msimsg
1471 enable_msimtf
1472 enable_msisip
1473 enable_msisys_ocx
1474 enable_msls31
1475 enable_msnet32
1476 enable_mspatcha
1477 enable_msports
1478 enable_msrle32
1479 enable_msscript_ocx
1480 enable_mssign32
1481 enable_mssip32
1482 enable_mstask
1483 enable_msv1_0
1484 enable_msvcirt
1485 enable_msvcm80
1486 enable_msvcm90
1487 enable_msvcp100
1488 enable_msvcp110
1489 enable_msvcp120
1490 enable_msvcp120_app
1491 enable_msvcp140
1492 enable_msvcp140_1
1493 enable_msvcp60
1494 enable_msvcp70
1495 enable_msvcp71
1496 enable_msvcp80
1497 enable_msvcp90
1498 enable_msvcr100
1499 enable_msvcr110
1500 enable_msvcr120
1501 enable_msvcr120_app
1502 enable_msvcr70
1503 enable_msvcr71
1504 enable_msvcr80
1505 enable_msvcr90
1506 enable_msvcrt
1507 enable_msvcrt20
1508 enable_msvcrt40
1509 enable_msvcrtd
1510 enable_msvfw32
1511 enable_msvidc32
1512 enable_mswsock
1513 enable_msxml
1514 enable_msxml2
1515 enable_msxml3
1516 enable_msxml4
1517 enable_msxml6
1518 enable_mtxdm
1519 enable_ncrypt
1520 enable_nddeapi
1521 enable_ndis_sys
1522 enable_netapi32
1523 enable_netcfgx
1524 enable_netio_sys
1525 enable_netprofm
1526 enable_netutils
1527 enable_newdev
1528 enable_ninput
1529 enable_normaliz
1530 enable_npmshtml
1531 enable_npptools
1532 enable_nsi
1533 enable_nsiproxy_sys
1534 enable_ntdll
1535 enable_ntdsapi
1536 enable_ntoskrnl_exe
1537 enable_ntprint
1538 enable_objsel
1539 enable_odbc32
1540 enable_odbcbcp
1541 enable_odbccp32
1542 enable_odbccu32
1543 enable_ole32
1544 enable_oleacc
1545 enable_oleaut32
1546 enable_olecli32
1547 enable_oledb32
1548 enable_oledlg
1549 enable_olepro32
1550 enable_olesvr32
1551 enable_olethk32
1552 enable_opcservices
1553 enable_openal32
1554 enable_opencl
1555 enable_opengl32
1556 enable_packager
1557 enable_pdh
1558 enable_photometadatahandler
1559 enable_pidgen
1560 enable_powrprof
1561 enable_printui
1562 enable_prntvpt
1563 enable_propsys
1564 enable_psapi
1565 enable_pstorec
1566 enable_pwrshplugin
1567 enable_qasf
1568 enable_qcap
1569 enable_qdvd
1570 enable_qedit
1571 enable_qmgr
1572 enable_qmgrprxy
1573 enable_quartz
1574 enable_query
1575 enable_qwave
1576 enable_rasapi32
1577 enable_rasdlg
1578 enable_regapi
1579 enable_resutils
1580 enable_riched20
1581 enable_riched32
1582 enable_rpcrt4
1583 enable_rsabase
1584 enable_rsaenh
1585 enable_rstrtmgr
1586 enable_rtutils
1587 enable_rtworkq
1588 enable_samlib
1589 enable_sane_ds
1590 enable_sapi
1591 enable_sas
1592 enable_scarddlg
1593 enable_sccbase
1594 enable_schannel
1595 enable_schedsvc
1596 enable_scrobj
1597 enable_scrrun
1598 enable_scsiport_sys
1599 enable_sechost
1600 enable_secur32
1601 enable_security
1602 enable_sensapi
1603 enable_serialui
1604 enable_setupapi
1605 enable_sfc
1606 enable_sfc_os
1607 enable_shcore
1608 enable_shdoclc
1609 enable_shdocvw
1610 enable_shell32
1611 enable_shfolder
1612 enable_shlwapi
1613 enable_slbcsp
1614 enable_slc
1615 enable_snmpapi
1616 enable_softpub
1617 enable_spoolss
1618 enable_sppc
1619 enable_srclient
1620 enable_srvcli
1621 enable_sspicli
1622 enable_stdole2_tlb
1623 enable_stdole32_tlb
1624 enable_sti
1625 enable_strmbase
1626 enable_strmdll
1627 enable_svrapi
1628 enable_sxs
1629 enable_t2embed
1630 enable_tapi32
1631 enable_taskschd
1632 enable_tbs
1633 enable_tdh
1634 enable_tdi_sys
1635 enable_traffic
1636 enable_twain_32
1637 enable_tzres
1638 enable_ucrtbase
1639 enable_uianimation
1640 enable_uiautomationcore
1641 enable_uiribbon
1642 enable_unicows
1643 enable_updspapi
1644 enable_url
1645 enable_urlmon
1646 enable_usbd_sys
1647 enable_user32
1648 enable_userenv
1649 enable_usp10
1650 enable_utildll
1651 enable_uxtheme
1652 enable_vbscript
1653 enable_vcomp
1654 enable_vcomp100
1655 enable_vcomp110
1656 enable_vcomp120
1657 enable_vcomp140
1658 enable_vcomp90
1659 enable_vcruntime140
1660 enable_vcruntime140_1
1661 enable_vdmdbg
1662 enable_version
1663 enable_vga
1664 enable_virtdisk
1665 enable_vssapi
1666 enable_vulkan_1
1667 enable_wbemdisp
1668 enable_wbemprox
1669 enable_wdscore
1670 enable_webservices
1671 enable_websocket
1672 enable_wer
1673 enable_wevtapi
1674 enable_wevtsvc
1675 enable_wiaservc
1676 enable_wimgapi
1677 enable_win32u
1678 enable_windows_gaming_input
1679 enable_windows_globalization
1680 enable_windows_media_devices
1681 enable_windows_media_speech
1682 enable_windowscodecs
1683 enable_windowscodecsext
1684 enable_winealsa_drv
1685 enable_wineandroid_drv
1686 enable_winebus_sys
1687 enable_winecoreaudio_drv
1688 enable_winecrt0
1689 enable_wined3d
1690 enable_winegstreamer
1691 enable_winehid_sys
1692 enable_winejoystick_drv
1693 enable_winemac_drv
1694 enable_winemapi
1695 enable_wineoss_drv
1696 enable_wineps_drv
1697 enable_winepulse_drv
1698 enable_wineqtdecoder
1699 enable_wineusb_sys
1700 enable_winevulkan
1701 enable_winex11_drv
1702 enable_winexinput_sys
1703 enable_wing32
1704 enable_winhttp
1705 enable_wininet
1706 enable_winmm
1707 enable_winnls32
1708 enable_winscard
1709 enable_winspool_drv
1710 enable_winsta
1711 enable_wintab32
1712 enable_wintrust
1713 enable_winusb
1714 enable_wlanapi
1715 enable_wlanui
1716 enable_wldap32
1717 enable_wmasf
1718 enable_wmi
1719 enable_wmiutils
1720 enable_wmp
1721 enable_wmphoto
1722 enable_wmvcore
1723 enable_wnaspi32
1724 enable_wow64
1725 enable_wow64cpu
1726 enable_wow64win
1727 enable_wpc
1728 enable_wpcap
1729 enable_ws2_32
1730 enable_wsdapi
1731 enable_wshom_ocx
1732 enable_wsnmp32
1733 enable_wsock32
1734 enable_wtsapi32
1735 enable_wuapi
1736 enable_wuaueng
1737 enable_x3daudio1_0
1738 enable_x3daudio1_1
1739 enable_x3daudio1_2
1740 enable_x3daudio1_3
1741 enable_x3daudio1_4
1742 enable_x3daudio1_5
1743 enable_x3daudio1_6
1744 enable_x3daudio1_7
1745 enable_xactengine2_0
1746 enable_xactengine2_4
1747 enable_xactengine2_7
1748 enable_xactengine2_9
1749 enable_xactengine3_0
1750 enable_xactengine3_1
1751 enable_xactengine3_2
1752 enable_xactengine3_3
1753 enable_xactengine3_4
1754 enable_xactengine3_5
1755 enable_xactengine3_6
1756 enable_xactengine3_7
1757 enable_xapofx1_1
1758 enable_xapofx1_2
1759 enable_xapofx1_3
1760 enable_xapofx1_4
1761 enable_xapofx1_5
1762 enable_xaudio2_0
1763 enable_xaudio2_1
1764 enable_xaudio2_2
1765 enable_xaudio2_3
1766 enable_xaudio2_4
1767 enable_xaudio2_5
1768 enable_xaudio2_6
1769 enable_xaudio2_7
1770 enable_xaudio2_8
1771 enable_xaudio2_9
1772 enable_xinput1_1
1773 enable_xinput1_2
1774 enable_xinput1_3
1775 enable_xinput1_4
1776 enable_xinput9_1_0
1777 enable_xmllite
1778 enable_xolehlp
1779 enable_xpsprint
1780 enable_xpssvcs
1781 enable_fonts
1782 enable_include
1783 enable_adsiid
1784 enable_dmoguids
1785 enable_dxerr8
1786 enable_dxerr9
1787 enable_dxguid
1788 enable_jpeg
1789 enable_mfuuid
1790 enable_png
1791 enable_strmiids
1792 enable_uuid
1793 enable_wbemuuid
1794 enable_wine
1795 enable_wmcodecdspuuid
1796 enable_zlib
1797 enable_loader
1798 enable_nls
1799 enable_po
1800 enable_arp
1801 enable_aspnet_regiis
1802 enable_attrib
1803 enable_cabarc
1804 enable_cacls
1805 enable_chcp_com
1806 enable_clock
1807 enable_cmd
1808 enable_conhost
1809 enable_control
1810 enable_cscript
1811 enable_dism
1812 enable_dplaysvr
1813 enable_dpnsvr
1814 enable_dpvsetup
1815 enable_dxdiag
1816 enable_eject
1817 enable_expand
1818 enable_explorer
1819 enable_extrac32
1820 enable_fc
1821 enable_find
1822 enable_findstr
1823 enable_fsutil
1824 enable_hh
1825 enable_hostname
1826 enable_icacls
1827 enable_icinfo
1828 enable_iexplore
1829 enable_ipconfig
1830 enable_lodctr
1831 enable_mofcomp
1832 enable_mshta
1833 enable_msidb
1834 enable_msiexec
1835 enable_msinfo32
1836 enable_net
1837 enable_netsh
1838 enable_netstat
1839 enable_ngen
1840 enable_notepad
1841 enable_oleview
1842 enable_ping
1843 enable_plugplay
1844 enable_powershell
1845 enable_presentationfontcache
1846 enable_progman
1847 enable_reg
1848 enable_regasm
1849 enable_regedit
1850 enable_regini
1851 enable_regsvcs
1852 enable_regsvr32
1853 enable_robocopy
1854 enable_rpcss
1855 enable_rundll32
1856 enable_sc
1857 enable_schtasks
1858 enable_sdbinst
1859 enable_secedit
1860 enable_servicemodelreg
1861 enable_services
1862 enable_shutdown
1863 enable_spoolsv
1864 enable_start
1865 enable_subst
1866 enable_svchost
1867 enable_systeminfo
1868 enable_taskkill
1869 enable_tasklist
1870 enable_taskmgr
1871 enable_termsv
1872 enable_uninstaller
1873 enable_unlodctr
1874 enable_view
1875 enable_wevtutil
1876 enable_where
1877 enable_whoami
1878 enable_wineboot
1879 enable_winebrowser
1880 enable_winecfg
1881 enable_wineconsole
1882 enable_winedbg
1883 enable_winedevice
1884 enable_winefile
1885 enable_winemenubuilder
1886 enable_winemine
1887 enable_winemsibuilder
1888 enable_winepath
1889 enable_winetest
1890 enable_winhlp32
1891 enable_winmgmt
1892 enable_winver
1893 enable_wmic
1894 enable_wmplayer
1895 enable_wordpad
1896 enable_write
1897 enable_wscript
1898 enable_wuauserv
1899 enable_wusa
1900 enable_xcopy
1901 enable_server
1902 enable_tools
1903 enable_sfnt2fon
1904 enable_widl
1905 enable_winebuild
1906 enable_winedump
1907 enable_winegcc
1908 enable_winemaker
1909 enable_wmc
1910 enable_wrc
1912 ac_precious_vars='build_alias
1913 host_alias
1914 target_alias
1916 CFLAGS
1917 LDFLAGS
1918 LIBS
1919 CPPFLAGS
1921 CXXFLAGS
1924 OBJC
1925 OBJCFLAGS
1926 OBJCPP
1927 JPEG_PE_CFLAGS
1928 JPEG_PE_LIBS
1929 PNG_PE_CFLAGS
1930 PNG_PE_LIBS
1931 ZLIB_PE_CFLAGS
1932 ZLIB_PE_LIBS
1933 XMKMF
1934 XML2_CFLAGS
1935 XML2_LIBS
1936 XSLT_CFLAGS
1937 XSLT_LIBS
1938 INOTIFY_CFLAGS
1939 INOTIFY_LIBS
1940 DBUS_CFLAGS
1941 DBUS_LIBS
1942 HAL_CFLAGS
1943 HAL_LIBS
1944 GNUTLS_CFLAGS
1945 GNUTLS_LIBS
1946 SANE_CFLAGS
1947 SANE_LIBS
1948 USB_CFLAGS
1949 USB_LIBS
1950 GPHOTO2_CFLAGS
1951 GPHOTO2_LIBS
1952 GPHOTO2_PORT_CFLAGS
1953 GPHOTO2_PORT_LIBS
1954 LCMS2_CFLAGS
1955 LCMS2_LIBS
1956 FREETYPE_CFLAGS
1957 FREETYPE_LIBS
1958 PULSE_CFLAGS
1959 PULSE_LIBS
1960 GSTREAMER_CFLAGS
1961 GSTREAMER_LIBS
1962 UDEV_CFLAGS
1963 UDEV_LIBS
1964 UNWIND_CFLAGS
1965 UNWIND_LIBS
1966 SDL2_CFLAGS
1967 SDL2_LIBS
1968 FAUDIO_CFLAGS
1969 FAUDIO_LIBS
1970 CAPI20_CFLAGS
1971 CAPI20_LIBS
1972 CUPS_CFLAGS
1973 CUPS_LIBS
1974 FONTCONFIG_CFLAGS
1975 FONTCONFIG_LIBS
1976 KRB5_CFLAGS
1977 KRB5_LIBS
1978 GSSAPI_CFLAGS
1979 GSSAPI_LIBS
1980 JPEG_CFLAGS
1981 JPEG_LIBS
1982 JXRLIB_CFLAGS
1983 JXRLIB_LIBS
1984 TIFF_CFLAGS
1985 TIFF_LIBS
1986 MPG123_CFLAGS
1987 MPG123_LIBS
1988 NETAPI_CFLAGS
1989 NETAPI_LIBS
1990 VKD3D_CFLAGS
1991 VKD3D_LIBS
1992 VKD3D_SHADER_CFLAGS
1993 VKD3D_SHADER_LIBS
1994 LDAP_CFLAGS
1995 LDAP_LIBS'
1998 # Initialize some variables set by options.
1999 ac_init_help=
2000 ac_init_version=false
2001 ac_unrecognized_opts=
2002 ac_unrecognized_sep=
2003 # The variables have the same names as the options, with
2004 # dashes changed to underlines.
2005 cache_file=/dev/null
2006 exec_prefix=NONE
2007 no_create=
2008 no_recursion=
2009 prefix=NONE
2010 program_prefix=NONE
2011 program_suffix=NONE
2012 program_transform_name=s,x,x,
2013 silent=
2014 site=
2015 srcdir=
2016 verbose=
2017 x_includes=NONE
2018 x_libraries=NONE
2020 # Installation directory options.
2021 # These are left unexpanded so users can "make install exec_prefix=/foo"
2022 # and all the variables that are supposed to be based on exec_prefix
2023 # by default will actually change.
2024 # Use braces instead of parens because sh, perl, etc. also accept them.
2025 # (The list follows the same order as the GNU Coding Standards.)
2026 bindir='${exec_prefix}/bin'
2027 sbindir='${exec_prefix}/sbin'
2028 libexecdir='${exec_prefix}/libexec'
2029 datarootdir='${prefix}/share'
2030 datadir='${datarootdir}'
2031 sysconfdir='${prefix}/etc'
2032 sharedstatedir='${prefix}/com'
2033 localstatedir='${prefix}/var'
2034 runstatedir='${localstatedir}/run'
2035 includedir='${prefix}/include'
2036 oldincludedir='/usr/include'
2037 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2038 infodir='${datarootdir}/info'
2039 htmldir='${docdir}'
2040 dvidir='${docdir}'
2041 pdfdir='${docdir}'
2042 psdir='${docdir}'
2043 libdir='${exec_prefix}/lib'
2044 localedir='${datarootdir}/locale'
2045 mandir='${datarootdir}/man'
2047 ac_prev=
2048 ac_dashdash=
2049 for ac_option
2051 # If the previous option needs an argument, assign it.
2052 if test -n "$ac_prev"; then
2053 eval $ac_prev=\$ac_option
2054 ac_prev=
2055 continue
2058 case $ac_option in
2059 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2060 *=) ac_optarg= ;;
2061 *) ac_optarg=yes ;;
2062 esac
2064 # Accept the important Cygnus configure options, so we can diagnose typos.
2066 case $ac_dashdash$ac_option in
2068 ac_dashdash=yes ;;
2070 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2071 ac_prev=bindir ;;
2072 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2073 bindir=$ac_optarg ;;
2075 -build | --build | --buil | --bui | --bu)
2076 ac_prev=build_alias ;;
2077 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2078 build_alias=$ac_optarg ;;
2080 -cache-file | --cache-file | --cache-fil | --cache-fi \
2081 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2082 ac_prev=cache_file ;;
2083 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2084 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2085 cache_file=$ac_optarg ;;
2087 --config-cache | -C)
2088 cache_file=config.cache ;;
2090 -datadir | --datadir | --datadi | --datad)
2091 ac_prev=datadir ;;
2092 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2093 datadir=$ac_optarg ;;
2095 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2096 | --dataroo | --dataro | --datar)
2097 ac_prev=datarootdir ;;
2098 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2099 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2100 datarootdir=$ac_optarg ;;
2102 -disable-* | --disable-*)
2103 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2104 # Reject names that are not valid shell variable names.
2105 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2106 as_fn_error $? "invalid feature name: $ac_useropt"
2107 ac_useropt_orig=$ac_useropt
2108 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2109 case $ac_user_opts in
2111 "enable_$ac_useropt"
2112 "*) ;;
2113 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2114 ac_unrecognized_sep=', ';;
2115 esac
2116 eval enable_$ac_useropt=no ;;
2118 -docdir | --docdir | --docdi | --doc | --do)
2119 ac_prev=docdir ;;
2120 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2121 docdir=$ac_optarg ;;
2123 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2124 ac_prev=dvidir ;;
2125 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2126 dvidir=$ac_optarg ;;
2128 -enable-* | --enable-*)
2129 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2130 # Reject names that are not valid shell variable names.
2131 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2132 as_fn_error $? "invalid feature name: $ac_useropt"
2133 ac_useropt_orig=$ac_useropt
2134 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2135 case $ac_user_opts in
2137 "enable_$ac_useropt"
2138 "*) ;;
2139 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2140 ac_unrecognized_sep=', ';;
2141 esac
2142 eval enable_$ac_useropt=\$ac_optarg ;;
2144 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2145 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2146 | --exec | --exe | --ex)
2147 ac_prev=exec_prefix ;;
2148 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2149 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2150 | --exec=* | --exe=* | --ex=*)
2151 exec_prefix=$ac_optarg ;;
2153 -gas | --gas | --ga | --g)
2154 # Obsolete; use --with-gas.
2155 with_gas=yes ;;
2157 -help | --help | --hel | --he | -h)
2158 ac_init_help=long ;;
2159 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2160 ac_init_help=recursive ;;
2161 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2162 ac_init_help=short ;;
2164 -host | --host | --hos | --ho)
2165 ac_prev=host_alias ;;
2166 -host=* | --host=* | --hos=* | --ho=*)
2167 host_alias=$ac_optarg ;;
2169 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2170 ac_prev=htmldir ;;
2171 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2172 | --ht=*)
2173 htmldir=$ac_optarg ;;
2175 -includedir | --includedir | --includedi | --included | --include \
2176 | --includ | --inclu | --incl | --inc)
2177 ac_prev=includedir ;;
2178 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2179 | --includ=* | --inclu=* | --incl=* | --inc=*)
2180 includedir=$ac_optarg ;;
2182 -infodir | --infodir | --infodi | --infod | --info | --inf)
2183 ac_prev=infodir ;;
2184 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2185 infodir=$ac_optarg ;;
2187 -libdir | --libdir | --libdi | --libd)
2188 ac_prev=libdir ;;
2189 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2190 libdir=$ac_optarg ;;
2192 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2193 | --libexe | --libex | --libe)
2194 ac_prev=libexecdir ;;
2195 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2196 | --libexe=* | --libex=* | --libe=*)
2197 libexecdir=$ac_optarg ;;
2199 -localedir | --localedir | --localedi | --localed | --locale)
2200 ac_prev=localedir ;;
2201 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2202 localedir=$ac_optarg ;;
2204 -localstatedir | --localstatedir | --localstatedi | --localstated \
2205 | --localstate | --localstat | --localsta | --localst | --locals)
2206 ac_prev=localstatedir ;;
2207 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2208 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2209 localstatedir=$ac_optarg ;;
2211 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2212 ac_prev=mandir ;;
2213 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2214 mandir=$ac_optarg ;;
2216 -nfp | --nfp | --nf)
2217 # Obsolete; use --without-fp.
2218 with_fp=no ;;
2220 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2221 | --no-cr | --no-c | -n)
2222 no_create=yes ;;
2224 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2225 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2226 no_recursion=yes ;;
2228 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2229 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2230 | --oldin | --oldi | --old | --ol | --o)
2231 ac_prev=oldincludedir ;;
2232 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2233 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2234 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2235 oldincludedir=$ac_optarg ;;
2237 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2238 ac_prev=prefix ;;
2239 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2240 prefix=$ac_optarg ;;
2242 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2243 | --program-pre | --program-pr | --program-p)
2244 ac_prev=program_prefix ;;
2245 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2246 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2247 program_prefix=$ac_optarg ;;
2249 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2250 | --program-suf | --program-su | --program-s)
2251 ac_prev=program_suffix ;;
2252 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2253 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2254 program_suffix=$ac_optarg ;;
2256 -program-transform-name | --program-transform-name \
2257 | --program-transform-nam | --program-transform-na \
2258 | --program-transform-n | --program-transform- \
2259 | --program-transform | --program-transfor \
2260 | --program-transfo | --program-transf \
2261 | --program-trans | --program-tran \
2262 | --progr-tra | --program-tr | --program-t)
2263 ac_prev=program_transform_name ;;
2264 -program-transform-name=* | --program-transform-name=* \
2265 | --program-transform-nam=* | --program-transform-na=* \
2266 | --program-transform-n=* | --program-transform-=* \
2267 | --program-transform=* | --program-transfor=* \
2268 | --program-transfo=* | --program-transf=* \
2269 | --program-trans=* | --program-tran=* \
2270 | --progr-tra=* | --program-tr=* | --program-t=*)
2271 program_transform_name=$ac_optarg ;;
2273 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2274 ac_prev=pdfdir ;;
2275 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2276 pdfdir=$ac_optarg ;;
2278 -psdir | --psdir | --psdi | --psd | --ps)
2279 ac_prev=psdir ;;
2280 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2281 psdir=$ac_optarg ;;
2283 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2284 | -silent | --silent | --silen | --sile | --sil)
2285 silent=yes ;;
2287 -runstatedir | --runstatedir | --runstatedi | --runstated \
2288 | --runstate | --runstat | --runsta | --runst | --runs \
2289 | --run | --ru | --r)
2290 ac_prev=runstatedir ;;
2291 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2292 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2293 | --run=* | --ru=* | --r=*)
2294 runstatedir=$ac_optarg ;;
2296 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2297 ac_prev=sbindir ;;
2298 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2299 | --sbi=* | --sb=*)
2300 sbindir=$ac_optarg ;;
2302 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2303 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2304 | --sharedst | --shareds | --shared | --share | --shar \
2305 | --sha | --sh)
2306 ac_prev=sharedstatedir ;;
2307 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2308 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2309 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2310 | --sha=* | --sh=*)
2311 sharedstatedir=$ac_optarg ;;
2313 -site | --site | --sit)
2314 ac_prev=site ;;
2315 -site=* | --site=* | --sit=*)
2316 site=$ac_optarg ;;
2318 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2319 ac_prev=srcdir ;;
2320 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2321 srcdir=$ac_optarg ;;
2323 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2324 | --syscon | --sysco | --sysc | --sys | --sy)
2325 ac_prev=sysconfdir ;;
2326 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2327 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2328 sysconfdir=$ac_optarg ;;
2330 -target | --target | --targe | --targ | --tar | --ta | --t)
2331 ac_prev=target_alias ;;
2332 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2333 target_alias=$ac_optarg ;;
2335 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2336 verbose=yes ;;
2338 -version | --version | --versio | --versi | --vers | -V)
2339 ac_init_version=: ;;
2341 -with-* | --with-*)
2342 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2343 # Reject names that are not valid shell variable names.
2344 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2345 as_fn_error $? "invalid package name: $ac_useropt"
2346 ac_useropt_orig=$ac_useropt
2347 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2348 case $ac_user_opts in
2350 "with_$ac_useropt"
2351 "*) ;;
2352 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2353 ac_unrecognized_sep=', ';;
2354 esac
2355 eval with_$ac_useropt=\$ac_optarg ;;
2357 -without-* | --without-*)
2358 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2359 # Reject names that are not valid shell variable names.
2360 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2361 as_fn_error $? "invalid package name: $ac_useropt"
2362 ac_useropt_orig=$ac_useropt
2363 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2364 case $ac_user_opts in
2366 "with_$ac_useropt"
2367 "*) ;;
2368 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2369 ac_unrecognized_sep=', ';;
2370 esac
2371 eval with_$ac_useropt=no ;;
2373 --x)
2374 # Obsolete; use --with-x.
2375 with_x=yes ;;
2377 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2378 | --x-incl | --x-inc | --x-in | --x-i)
2379 ac_prev=x_includes ;;
2380 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2381 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2382 x_includes=$ac_optarg ;;
2384 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2385 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2386 ac_prev=x_libraries ;;
2387 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2388 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2389 x_libraries=$ac_optarg ;;
2391 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2392 Try \`$0 --help' for more information"
2395 *=*)
2396 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2397 # Reject names that are not valid shell variable names.
2398 case $ac_envvar in #(
2399 '' | [0-9]* | *[!_$as_cr_alnum]* )
2400 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2401 esac
2402 eval $ac_envvar=\$ac_optarg
2403 export $ac_envvar ;;
2406 # FIXME: should be removed in autoconf 3.0.
2407 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2408 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2409 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2410 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2413 esac
2414 done
2416 if test -n "$ac_prev"; then
2417 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2418 as_fn_error $? "missing argument to $ac_option"
2421 if test -n "$ac_unrecognized_opts"; then
2422 case $enable_option_checking in
2423 no) ;;
2424 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2425 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2426 esac
2429 # Check all directory arguments for consistency.
2430 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2431 datadir sysconfdir sharedstatedir localstatedir includedir \
2432 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2433 libdir localedir mandir runstatedir
2435 eval ac_val=\$$ac_var
2436 # Remove trailing slashes.
2437 case $ac_val in
2438 */ )
2439 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2440 eval $ac_var=\$ac_val;;
2441 esac
2442 # Be sure to have absolute directory names.
2443 case $ac_val in
2444 [\\/$]* | ?:[\\/]* ) continue;;
2445 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2446 esac
2447 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2448 done
2450 # There might be people who depend on the old broken behavior: `$host'
2451 # used to hold the argument of --host etc.
2452 # FIXME: To remove some day.
2453 build=$build_alias
2454 host=$host_alias
2455 target=$target_alias
2457 # FIXME: To remove some day.
2458 if test "x$host_alias" != x; then
2459 if test "x$build_alias" = x; then
2460 cross_compiling=maybe
2461 elif test "x$build_alias" != "x$host_alias"; then
2462 cross_compiling=yes
2466 ac_tool_prefix=
2467 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2469 test "$silent" = yes && exec 6>/dev/null
2472 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2473 ac_ls_di=`ls -di .` &&
2474 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2475 as_fn_error $? "working directory cannot be determined"
2476 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2477 as_fn_error $? "pwd does not report name of working directory"
2480 # Find the source files, if location was not specified.
2481 if test -z "$srcdir"; then
2482 ac_srcdir_defaulted=yes
2483 # Try the directory containing this script, then the parent directory.
2484 ac_confdir=`$as_dirname -- "$as_myself" ||
2485 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2486 X"$as_myself" : 'X\(//\)[^/]' \| \
2487 X"$as_myself" : 'X\(//\)$' \| \
2488 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2489 $as_echo X"$as_myself" |
2490 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2491 s//\1/
2494 /^X\(\/\/\)[^/].*/{
2495 s//\1/
2498 /^X\(\/\/\)$/{
2499 s//\1/
2502 /^X\(\/\).*/{
2503 s//\1/
2506 s/.*/./; q'`
2507 srcdir=$ac_confdir
2508 if test ! -r "$srcdir/$ac_unique_file"; then
2509 srcdir=..
2511 else
2512 ac_srcdir_defaulted=no
2514 if test ! -r "$srcdir/$ac_unique_file"; then
2515 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2516 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2518 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2519 ac_abs_confdir=`(
2520 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2521 pwd)`
2522 # When building in place, set srcdir=.
2523 if test "$ac_abs_confdir" = "$ac_pwd"; then
2524 srcdir=.
2526 # Remove unnecessary trailing slashes from srcdir.
2527 # Double slashes in file names in object file debugging info
2528 # mess up M-x gdb in Emacs.
2529 case $srcdir in
2530 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2531 esac
2532 for ac_var in $ac_precious_vars; do
2533 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2534 eval ac_env_${ac_var}_value=\$${ac_var}
2535 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2536 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2537 done
2540 # Report the --help message.
2542 if test "$ac_init_help" = "long"; then
2543 # Omit some internal or obsolete options to make the list less imposing.
2544 # This message is too long to be a string in the A/UX 3.1 sh.
2545 cat <<_ACEOF
2546 \`configure' configures Wine 6.19 to adapt to many kinds of systems.
2548 Usage: $0 [OPTION]... [VAR=VALUE]...
2550 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2551 VAR=VALUE. See below for descriptions of some of the useful variables.
2553 Defaults for the options are specified in brackets.
2555 Configuration:
2556 -h, --help display this help and exit
2557 --help=short display options specific to this package
2558 --help=recursive display the short help of all the included packages
2559 -V, --version display version information and exit
2560 -q, --quiet, --silent do not print \`checking ...' messages
2561 --cache-file=FILE cache test results in FILE [disabled]
2562 -C, --config-cache alias for \`--cache-file=config.cache'
2563 -n, --no-create do not create output files
2564 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2566 Installation directories:
2567 --prefix=PREFIX install architecture-independent files in PREFIX
2568 [$ac_default_prefix]
2569 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2570 [PREFIX]
2572 By default, \`make install' will install all the files in
2573 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2574 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2575 for instance \`--prefix=\$HOME'.
2577 For better control, use the options below.
2579 Fine tuning of the installation directories:
2580 --bindir=DIR user executables [EPREFIX/bin]
2581 --sbindir=DIR system admin executables [EPREFIX/sbin]
2582 --libexecdir=DIR program executables [EPREFIX/libexec]
2583 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2584 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2585 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2586 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2587 --libdir=DIR object code libraries [EPREFIX/lib]
2588 --includedir=DIR C header files [PREFIX/include]
2589 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2590 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2591 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2592 --infodir=DIR info documentation [DATAROOTDIR/info]
2593 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2594 --mandir=DIR man documentation [DATAROOTDIR/man]
2595 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2596 --htmldir=DIR html documentation [DOCDIR]
2597 --dvidir=DIR dvi documentation [DOCDIR]
2598 --pdfdir=DIR pdf documentation [DOCDIR]
2599 --psdir=DIR ps documentation [DOCDIR]
2600 _ACEOF
2602 cat <<\_ACEOF
2604 X features:
2605 --x-includes=DIR X include files are in DIR
2606 --x-libraries=DIR X library files are in DIR
2608 System types:
2609 --build=BUILD configure for building on BUILD [guessed]
2610 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2611 _ACEOF
2614 if test -n "$ac_init_help"; then
2615 case $ac_init_help in
2616 short | recursive ) echo "Configuration of Wine 6.19:";;
2617 esac
2618 cat <<\_ACEOF
2620 Optional Features:
2621 --disable-option-checking ignore unrecognized --enable/--with options
2622 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2623 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2624 --disable-win16 do not include Win16 support
2625 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2626 binaries)
2627 --disable-tests do not build the regression tests
2628 --enable-build-id include .buildid section in output objects
2629 --enable-maintainer-mode
2630 enable maintainer-specific build rules
2631 --enable-silent-rules use silent build rules (override: "make V=1")
2632 --enable-werror treat compilation warnings as errors
2633 --disable-largefile omit support for large files
2635 Optional Packages:
2636 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2637 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2638 --without-alsa do not use the Alsa sound support
2639 --without-capi do not use CAPI (ISDN support)
2640 --without-cms do not use CMS (color management support)
2641 --without-coreaudio do not use the CoreAudio sound support
2642 --without-cups do not use CUPS
2643 --without-dbus do not use DBus (dynamic device support)
2644 --without-faudio do not use FAudio (XAudio2 support)
2645 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2646 --without-fontconfig do not use fontconfig
2647 --without-freetype do not use the FreeType library
2648 --without-gettext do not use gettext
2649 --with-gettextpo use the GetTextPO library to rebuild po files
2650 --without-gphoto do not use gphoto (Digital Camera support)
2651 --without-gnutls do not use GnuTLS (schannel support)
2652 --without-gsm do not use libgsm (GSM 06.10 codec support)
2653 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2654 --without-gstreamer do not use GStreamer (codecs support)
2655 --without-hal do not use HAL (dynamic device support)
2656 --without-inotify do not use inotify (filesystem change notifications)
2657 --without-jpeg do not use JPEG
2658 --without-jxrlib do not use JPEG-XR
2659 --without-krb5 do not use krb5 (Kerberos)
2660 --without-ldap do not use LDAP
2661 --without-mingw do not use the MinGW cross-compiler
2662 --without-mpg123 do not use the mpg123 library
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-tiff do not use TIFF
2676 --without-udev do not use udev (plug and play support)
2677 --without-unwind do not use the libunwind library (exception
2678 handling)
2679 --without-usb do not use the libusb library
2680 --without-v4l2 do not use v4l2 (video capture)
2681 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2682 --without-vulkan do not use Vulkan
2683 --without-xcomposite do not use the Xcomposite extension
2684 --without-xcursor do not use the Xcursor extension
2685 --without-xfixes do not use Xfixes for clipboard change notifications
2686 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2687 --without-xinput do not use the Xinput extension
2688 --without-xinput2 do not use the Xinput 2 extension
2689 --without-xml do not use XML
2690 --without-xrandr do not use Xrandr (multi-monitor support)
2691 --without-xrender do not use the Xrender extension
2692 --without-xshape do not use the Xshape extension
2693 --without-xshm do not use XShm (shared memory extension)
2694 --without-xslt do not use XSLT
2695 --without-xxf86vm do not use XFree video mode extension
2696 --with-wine-tools=DIR use Wine tools from directory DIR
2697 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2698 --with-x use the X Window System
2700 Some influential environment variables:
2701 CC C compiler command
2702 CFLAGS C compiler flags
2703 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2704 nonstandard directory <lib dir>
2705 LIBS libraries to pass to the linker, e.g. -l<library>
2706 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2707 you have headers in a nonstandard directory <include dir>
2708 CXX C++ compiler command
2709 CXXFLAGS C++ compiler flags
2710 CPP C preprocessor
2711 OBJC Objective C compiler command
2712 OBJCFLAGS Objective C compiler flags
2713 OBJCPP Objective C preprocessor
2714 JPEG_PE_CFLAGS
2715 C compiler flags for the PE jpeg, overriding the bundled version
2716 JPEG_PE_LIBS
2717 Linker flags for the PE jpeg, overriding the bundled version
2718 PNG_PE_CFLAGS
2719 C compiler flags for the PE png, overriding the bundled version
2720 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2721 ZLIB_PE_CFLAGS
2722 C compiler flags for the PE zlib, overriding the bundled version
2723 ZLIB_PE_LIBS
2724 Linker flags for the PE zlib, overriding the bundled version
2725 XMKMF Path to xmkmf, Makefile generator for X Window System
2726 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2727 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2728 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2729 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2730 INOTIFY_CFLAGS
2731 C compiler flags for libinotify, overriding pkg-config
2732 INOTIFY_LIBS
2733 Linker flags for libinotify, overriding pkg-config
2734 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2735 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2736 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2737 HAL_LIBS Linker flags for hal, overriding pkg-config
2738 GNUTLS_CFLAGS
2739 C compiler flags for gnutls, overriding pkg-config
2740 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2741 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2742 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2743 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2744 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2745 GPHOTO2_CFLAGS
2746 C compiler flags for libgphoto2, overriding pkg-config
2747 GPHOTO2_LIBS
2748 Linker flags for libgphoto2, overriding pkg-config
2749 GPHOTO2_PORT_CFLAGS
2750 C compiler flags for libgphoto2_port, overriding pkg-config
2751 GPHOTO2_PORT_LIBS
2752 Linker flags for libgphoto2_port, overriding pkg-config
2753 LCMS2_CFLAGS
2754 C compiler flags for lcms2, overriding pkg-config
2755 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2756 FREETYPE_CFLAGS
2757 C compiler flags for freetype2, overriding pkg-config
2758 FREETYPE_LIBS
2759 Linker flags for freetype2, overriding pkg-config
2760 PULSE_CFLAGS
2761 C compiler flags for libpulse, overriding pkg-config
2762 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2763 GSTREAMER_CFLAGS
2764 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2765 gstreamer-audio-1.0, overriding pkg-config
2766 GSTREAMER_LIBS
2767 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2768 gstreamer-audio-1.0, overriding pkg-config
2769 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2770 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2771 UNWIND_CFLAGS
2772 C compiler flags for libunwind, overriding pkg-config
2773 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2774 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2775 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2776 FAUDIO_CFLAGS
2777 C compiler flags for FAudio, overriding pkg-config
2778 FAUDIO_LIBS Linker flags for FAudio, overriding pkg-config
2779 CAPI20_CFLAGS
2780 C compiler flags for capi20, overriding pkg-config
2781 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2782 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2783 CUPS_LIBS Linker flags for cups, overriding pkg-config
2784 FONTCONFIG_CFLAGS
2785 C compiler flags for fontconfig, overriding pkg-config
2786 FONTCONFIG_LIBS
2787 Linker flags for fontconfig, overriding pkg-config
2788 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2789 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2790 GSSAPI_CFLAGS
2791 C compiler flags for krb5-gssapi, overriding pkg-config
2792 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2793 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2794 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2795 JXRLIB_CFLAGS
2796 C compiler flags for jxrlib, overriding pkg-config
2797 JXRLIB_LIBS Linker flags for jxrlib, overriding pkg-config
2798 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2799 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2800 MPG123_CFLAGS
2801 C compiler flags for libmpg123, overriding pkg-config
2802 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2803 NETAPI_CFLAGS
2804 C compiler flags for netapi, overriding pkg-config
2805 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2806 VKD3D_CFLAGS
2807 C compiler flags for libvkd3d, overriding pkg-config
2808 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2809 VKD3D_SHADER_CFLAGS
2810 C compiler flags for libvkd3d-shader, overriding pkg-config
2811 VKD3D_SHADER_LIBS
2812 Linker flags for libvkd3d-shader, overriding pkg-config
2813 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2814 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2816 Use these variables to override the choices made by `configure' or to help
2817 it to find libraries and programs with nonstandard names/locations.
2819 Report bugs to <wine-devel@winehq.org>.
2820 Wine home page: <https://www.winehq.org>.
2821 _ACEOF
2822 ac_status=$?
2825 if test "$ac_init_help" = "recursive"; then
2826 # If there are subdirs, report their specific --help.
2827 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2828 test -d "$ac_dir" ||
2829 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2830 continue
2831 ac_builddir=.
2833 case "$ac_dir" in
2834 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2836 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2837 # A ".." for each directory in $ac_dir_suffix.
2838 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2839 case $ac_top_builddir_sub in
2840 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2841 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2842 esac ;;
2843 esac
2844 ac_abs_top_builddir=$ac_pwd
2845 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2846 # for backward compatibility:
2847 ac_top_builddir=$ac_top_build_prefix
2849 case $srcdir in
2850 .) # We are building in place.
2851 ac_srcdir=.
2852 ac_top_srcdir=$ac_top_builddir_sub
2853 ac_abs_top_srcdir=$ac_pwd ;;
2854 [\\/]* | ?:[\\/]* ) # Absolute name.
2855 ac_srcdir=$srcdir$ac_dir_suffix;
2856 ac_top_srcdir=$srcdir
2857 ac_abs_top_srcdir=$srcdir ;;
2858 *) # Relative name.
2859 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2860 ac_top_srcdir=$ac_top_build_prefix$srcdir
2861 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2862 esac
2863 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2865 cd "$ac_dir" || { ac_status=$?; continue; }
2866 # Check for guested configure.
2867 if test -f "$ac_srcdir/configure.gnu"; then
2868 echo &&
2869 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2870 elif test -f "$ac_srcdir/configure"; then
2871 echo &&
2872 $SHELL "$ac_srcdir/configure" --help=recursive
2873 else
2874 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2875 fi || ac_status=$?
2876 cd "$ac_pwd" || { ac_status=$?; break; }
2877 done
2880 test -n "$ac_init_help" && exit $ac_status
2881 if $ac_init_version; then
2882 cat <<\_ACEOF
2883 Wine configure 6.19
2884 generated by GNU Autoconf 2.69
2886 Copyright (C) 2012 Free Software Foundation, Inc.
2887 This configure script is free software; the Free Software Foundation
2888 gives unlimited permission to copy, distribute and modify it.
2889 _ACEOF
2890 exit
2893 ## ------------------------ ##
2894 ## Autoconf initialization. ##
2895 ## ------------------------ ##
2897 # ac_fn_c_try_compile LINENO
2898 # --------------------------
2899 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2900 ac_fn_c_try_compile ()
2902 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2903 rm -f conftest.$ac_objext
2904 if { { ac_try="$ac_compile"
2905 case "(($ac_try" in
2906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2907 *) ac_try_echo=$ac_try;;
2908 esac
2909 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2910 $as_echo "$ac_try_echo"; } >&5
2911 (eval "$ac_compile") 2>conftest.err
2912 ac_status=$?
2913 if test -s conftest.err; then
2914 grep -v '^ *+' conftest.err >conftest.er1
2915 cat conftest.er1 >&5
2916 mv -f conftest.er1 conftest.err
2918 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2919 test $ac_status = 0; } && {
2920 test -z "$ac_c_werror_flag" ||
2921 test ! -s conftest.err
2922 } && test -s conftest.$ac_objext; then :
2923 ac_retval=0
2924 else
2925 $as_echo "$as_me: failed program was:" >&5
2926 sed 's/^/| /' conftest.$ac_ext >&5
2928 ac_retval=1
2930 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2931 as_fn_set_status $ac_retval
2933 } # ac_fn_c_try_compile
2935 # ac_fn_cxx_try_compile LINENO
2936 # ----------------------------
2937 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2938 ac_fn_cxx_try_compile ()
2940 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2941 rm -f conftest.$ac_objext
2942 if { { ac_try="$ac_compile"
2943 case "(($ac_try" in
2944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2945 *) ac_try_echo=$ac_try;;
2946 esac
2947 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2948 $as_echo "$ac_try_echo"; } >&5
2949 (eval "$ac_compile") 2>conftest.err
2950 ac_status=$?
2951 if test -s conftest.err; then
2952 grep -v '^ *+' conftest.err >conftest.er1
2953 cat conftest.er1 >&5
2954 mv -f conftest.er1 conftest.err
2956 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2957 test $ac_status = 0; } && {
2958 test -z "$ac_cxx_werror_flag" ||
2959 test ! -s conftest.err
2960 } && test -s conftest.$ac_objext; then :
2961 ac_retval=0
2962 else
2963 $as_echo "$as_me: failed program was:" >&5
2964 sed 's/^/| /' conftest.$ac_ext >&5
2966 ac_retval=1
2968 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2969 as_fn_set_status $ac_retval
2971 } # ac_fn_cxx_try_compile
2973 # ac_fn_c_try_link LINENO
2974 # -----------------------
2975 # Try to link conftest.$ac_ext, and return whether this succeeded.
2976 ac_fn_c_try_link ()
2978 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2979 rm -f conftest.$ac_objext conftest$ac_exeext
2980 if { { ac_try="$ac_link"
2981 case "(($ac_try" in
2982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2983 *) ac_try_echo=$ac_try;;
2984 esac
2985 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2986 $as_echo "$ac_try_echo"; } >&5
2987 (eval "$ac_link") 2>conftest.err
2988 ac_status=$?
2989 if test -s conftest.err; then
2990 grep -v '^ *+' conftest.err >conftest.er1
2991 cat conftest.er1 >&5
2992 mv -f conftest.er1 conftest.err
2994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2995 test $ac_status = 0; } && {
2996 test -z "$ac_c_werror_flag" ||
2997 test ! -s conftest.err
2998 } && test -s conftest$ac_exeext && {
2999 test "$cross_compiling" = yes ||
3000 test -x conftest$ac_exeext
3001 }; then :
3002 ac_retval=0
3003 else
3004 $as_echo "$as_me: failed program was:" >&5
3005 sed 's/^/| /' conftest.$ac_ext >&5
3007 ac_retval=1
3009 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
3010 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
3011 # interfere with the next link command; also delete a directory that is
3012 # left behind by Apple's compiler. We do this before executing the actions.
3013 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3014 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3015 as_fn_set_status $ac_retval
3017 } # ac_fn_c_try_link
3019 # ac_fn_c_try_cpp LINENO
3020 # ----------------------
3021 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3022 ac_fn_c_try_cpp ()
3024 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3025 if { { ac_try="$ac_cpp conftest.$ac_ext"
3026 case "(($ac_try" in
3027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3028 *) ac_try_echo=$ac_try;;
3029 esac
3030 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3031 $as_echo "$ac_try_echo"; } >&5
3032 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3033 ac_status=$?
3034 if test -s conftest.err; then
3035 grep -v '^ *+' conftest.err >conftest.er1
3036 cat conftest.er1 >&5
3037 mv -f conftest.er1 conftest.err
3039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3040 test $ac_status = 0; } > conftest.i && {
3041 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3042 test ! -s conftest.err
3043 }; then :
3044 ac_retval=0
3045 else
3046 $as_echo "$as_me: failed program was:" >&5
3047 sed 's/^/| /' conftest.$ac_ext >&5
3049 ac_retval=1
3051 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3052 as_fn_set_status $ac_retval
3054 } # ac_fn_c_try_cpp
3056 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
3057 # -------------------------------------------------------
3058 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3059 # the include files in INCLUDES and setting the cache variable VAR
3060 # accordingly.
3061 ac_fn_c_check_header_mongrel ()
3063 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3064 if eval \${$3+:} false; then :
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3066 $as_echo_n "checking for $2... " >&6; }
3067 if eval \${$3+:} false; then :
3068 $as_echo_n "(cached) " >&6
3070 eval ac_res=\$$3
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3072 $as_echo "$ac_res" >&6; }
3073 else
3074 # Is the header compilable?
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3076 $as_echo_n "checking $2 usability... " >&6; }
3077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3078 /* end confdefs.h. */
3080 #include <$2>
3081 _ACEOF
3082 if ac_fn_c_try_compile "$LINENO"; then :
3083 ac_header_compiler=yes
3084 else
3085 ac_header_compiler=no
3087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3089 $as_echo "$ac_header_compiler" >&6; }
3091 # Is the header present?
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3093 $as_echo_n "checking $2 presence... " >&6; }
3094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3095 /* end confdefs.h. */
3096 #include <$2>
3097 _ACEOF
3098 if ac_fn_c_try_cpp "$LINENO"; then :
3099 ac_header_preproc=yes
3100 else
3101 ac_header_preproc=no
3103 rm -f conftest.err conftest.i conftest.$ac_ext
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3105 $as_echo "$ac_header_preproc" >&6; }
3107 # So? What about this header?
3108 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3109 yes:no: )
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3111 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3113 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3115 no:yes:* )
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3117 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3119 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3121 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3123 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3125 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3126 ( $as_echo "## ------------------------------------ ##
3127 ## Report this to wine-devel@winehq.org ##
3128 ## ------------------------------------ ##"
3129 ) | sed "s/^/$as_me: WARNING: /" >&2
3131 esac
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3133 $as_echo_n "checking for $2... " >&6; }
3134 if eval \${$3+:} false; then :
3135 $as_echo_n "(cached) " >&6
3136 else
3137 eval "$3=\$ac_header_compiler"
3139 eval ac_res=\$$3
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3141 $as_echo "$ac_res" >&6; }
3143 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3145 } # ac_fn_c_check_header_mongrel
3147 # ac_fn_c_try_run LINENO
3148 # ----------------------
3149 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3150 # that executables *can* be run.
3151 ac_fn_c_try_run ()
3153 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3154 if { { ac_try="$ac_link"
3155 case "(($ac_try" in
3156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3157 *) ac_try_echo=$ac_try;;
3158 esac
3159 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3160 $as_echo "$ac_try_echo"; } >&5
3161 (eval "$ac_link") 2>&5
3162 ac_status=$?
3163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3164 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3165 { { case "(($ac_try" in
3166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3167 *) ac_try_echo=$ac_try;;
3168 esac
3169 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3170 $as_echo "$ac_try_echo"; } >&5
3171 (eval "$ac_try") 2>&5
3172 ac_status=$?
3173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3174 test $ac_status = 0; }; }; then :
3175 ac_retval=0
3176 else
3177 $as_echo "$as_me: program exited with status $ac_status" >&5
3178 $as_echo "$as_me: failed program was:" >&5
3179 sed 's/^/| /' conftest.$ac_ext >&5
3181 ac_retval=$ac_status
3183 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3184 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3185 as_fn_set_status $ac_retval
3187 } # ac_fn_c_try_run
3189 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3190 # -------------------------------------------------------
3191 # Tests whether HEADER exists and can be compiled using the include files in
3192 # INCLUDES, setting the cache variable VAR accordingly.
3193 ac_fn_c_check_header_compile ()
3195 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3197 $as_echo_n "checking for $2... " >&6; }
3198 if eval \${$3+:} false; then :
3199 $as_echo_n "(cached) " >&6
3200 else
3201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3202 /* end confdefs.h. */
3204 #include <$2>
3205 _ACEOF
3206 if ac_fn_c_try_compile "$LINENO"; then :
3207 eval "$3=yes"
3208 else
3209 eval "$3=no"
3211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3213 eval ac_res=\$$3
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3215 $as_echo "$ac_res" >&6; }
3216 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3218 } # ac_fn_c_check_header_compile
3220 # ac_fn_objc_try_compile LINENO
3221 # -----------------------------
3222 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3223 ac_fn_objc_try_compile ()
3225 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3226 rm -f conftest.$ac_objext
3227 if { { ac_try="$ac_compile"
3228 case "(($ac_try" in
3229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3230 *) ac_try_echo=$ac_try;;
3231 esac
3232 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3233 $as_echo "$ac_try_echo"; } >&5
3234 (eval "$ac_compile") 2>conftest.err
3235 ac_status=$?
3236 if test -s conftest.err; then
3237 grep -v '^ *+' conftest.err >conftest.er1
3238 cat conftest.er1 >&5
3239 mv -f conftest.er1 conftest.err
3241 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3242 test $ac_status = 0; } && {
3243 test -z "$ac_objc_werror_flag" ||
3244 test ! -s conftest.err
3245 } && test -s conftest.$ac_objext; then :
3246 ac_retval=0
3247 else
3248 $as_echo "$as_me: failed program was:" >&5
3249 sed 's/^/| /' conftest.$ac_ext >&5
3251 ac_retval=1
3253 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3254 as_fn_set_status $ac_retval
3256 } # ac_fn_objc_try_compile
3258 # ac_fn_objc_try_cpp LINENO
3259 # -------------------------
3260 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3261 ac_fn_objc_try_cpp ()
3263 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3264 if { { ac_try="$ac_cpp conftest.$ac_ext"
3265 case "(($ac_try" in
3266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3267 *) ac_try_echo=$ac_try;;
3268 esac
3269 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3270 $as_echo "$ac_try_echo"; } >&5
3271 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3272 ac_status=$?
3273 if test -s conftest.err; then
3274 grep -v '^ *+' conftest.err >conftest.er1
3275 cat conftest.er1 >&5
3276 mv -f conftest.er1 conftest.err
3278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3279 test $ac_status = 0; } > conftest.i && {
3280 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3281 test ! -s conftest.err
3282 }; then :
3283 ac_retval=0
3284 else
3285 $as_echo "$as_me: failed program was:" >&5
3286 sed 's/^/| /' conftest.$ac_ext >&5
3288 ac_retval=1
3290 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3291 as_fn_set_status $ac_retval
3293 } # ac_fn_objc_try_cpp
3295 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3296 # ----------------------------------------------------------
3297 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3298 # the include files in INCLUDES and setting the cache variable VAR
3299 # accordingly.
3300 ac_fn_objc_check_header_mongrel ()
3302 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3303 if eval \${$3+:} false; then :
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3305 $as_echo_n "checking for $2... " >&6; }
3306 if eval \${$3+:} false; then :
3307 $as_echo_n "(cached) " >&6
3309 eval ac_res=\$$3
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3311 $as_echo "$ac_res" >&6; }
3312 else
3313 # Is the header compilable?
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3315 $as_echo_n "checking $2 usability... " >&6; }
3316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3317 /* end confdefs.h. */
3319 #include <$2>
3320 _ACEOF
3321 if ac_fn_objc_try_compile "$LINENO"; then :
3322 ac_header_compiler=yes
3323 else
3324 ac_header_compiler=no
3326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3328 $as_echo "$ac_header_compiler" >&6; }
3330 # Is the header present?
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3332 $as_echo_n "checking $2 presence... " >&6; }
3333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3334 /* end confdefs.h. */
3335 #include <$2>
3336 _ACEOF
3337 if ac_fn_objc_try_cpp "$LINENO"; then :
3338 ac_header_preproc=yes
3339 else
3340 ac_header_preproc=no
3342 rm -f conftest.err conftest.i conftest.$ac_ext
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3344 $as_echo "$ac_header_preproc" >&6; }
3346 # So? What about this header?
3347 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3348 yes:no: )
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3350 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3352 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3354 no:yes:* )
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3356 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3358 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3360 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3362 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3364 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3365 ( $as_echo "## ------------------------------------ ##
3366 ## Report this to wine-devel@winehq.org ##
3367 ## ------------------------------------ ##"
3368 ) | sed "s/^/$as_me: WARNING: /" >&2
3370 esac
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3372 $as_echo_n "checking for $2... " >&6; }
3373 if eval \${$3+:} false; then :
3374 $as_echo_n "(cached) " >&6
3375 else
3376 eval "$3=\$ac_header_compiler"
3378 eval ac_res=\$$3
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3380 $as_echo "$ac_res" >&6; }
3382 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3384 } # ac_fn_objc_check_header_mongrel
3386 # ac_fn_c_check_func LINENO FUNC VAR
3387 # ----------------------------------
3388 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3389 ac_fn_c_check_func ()
3391 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3393 $as_echo_n "checking for $2... " >&6; }
3394 if eval \${$3+:} false; then :
3395 $as_echo_n "(cached) " >&6
3396 else
3397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3398 /* end confdefs.h. */
3399 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3401 #define $2 innocuous_$2
3403 /* System header to define __stub macros and hopefully few prototypes,
3404 which can conflict with char $2 (); below.
3405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3406 <limits.h> exists even on freestanding compilers. */
3408 #ifdef __STDC__
3409 # include <limits.h>
3410 #else
3411 # include <assert.h>
3412 #endif
3414 #undef $2
3416 /* Override any GCC internal prototype to avoid an error.
3417 Use char because int might match the return type of a GCC
3418 builtin and then its argument prototype would still apply. */
3419 #ifdef __cplusplus
3420 extern "C"
3421 #endif
3422 char $2 ();
3423 /* The GNU C library defines this for functions which it implements
3424 to always fail with ENOSYS. Some functions are actually named
3425 something starting with __ and the normal name is an alias. */
3426 #if defined __stub_$2 || defined __stub___$2
3427 choke me
3428 #endif
3431 main ()
3433 return $2 ();
3435 return 0;
3437 _ACEOF
3438 if ac_fn_c_try_link "$LINENO"; then :
3439 eval "$3=yes"
3440 else
3441 eval "$3=no"
3443 rm -f core conftest.err conftest.$ac_objext \
3444 conftest$ac_exeext conftest.$ac_ext
3446 eval ac_res=\$$3
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3448 $as_echo "$ac_res" >&6; }
3449 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3451 } # ac_fn_c_check_func
3453 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3454 # ----------------------------------------------------
3455 # Tries to find if the field MEMBER exists in type AGGR, after including
3456 # INCLUDES, setting cache variable VAR accordingly.
3457 ac_fn_c_check_member ()
3459 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3461 $as_echo_n "checking for $2.$3... " >&6; }
3462 if eval \${$4+:} false; then :
3463 $as_echo_n "(cached) " >&6
3464 else
3465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3466 /* end confdefs.h. */
3469 main ()
3471 static $2 ac_aggr;
3472 if (ac_aggr.$3)
3473 return 0;
3475 return 0;
3477 _ACEOF
3478 if ac_fn_c_try_compile "$LINENO"; then :
3479 eval "$4=yes"
3480 else
3481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3482 /* end confdefs.h. */
3485 main ()
3487 static $2 ac_aggr;
3488 if (sizeof ac_aggr.$3)
3489 return 0;
3491 return 0;
3493 _ACEOF
3494 if ac_fn_c_try_compile "$LINENO"; then :
3495 eval "$4=yes"
3496 else
3497 eval "$4=no"
3499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3503 eval ac_res=\$$4
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3505 $as_echo "$ac_res" >&6; }
3506 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3508 } # ac_fn_c_check_member
3510 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3511 # -------------------------------------------
3512 # Tests whether TYPE exists after having included INCLUDES, setting cache
3513 # variable VAR accordingly.
3514 ac_fn_c_check_type ()
3516 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3518 $as_echo_n "checking for $2... " >&6; }
3519 if eval \${$3+:} false; then :
3520 $as_echo_n "(cached) " >&6
3521 else
3522 eval "$3=no"
3523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3524 /* end confdefs.h. */
3527 main ()
3529 if (sizeof ($2))
3530 return 0;
3532 return 0;
3534 _ACEOF
3535 if ac_fn_c_try_compile "$LINENO"; then :
3536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3537 /* end confdefs.h. */
3540 main ()
3542 if (sizeof (($2)))
3543 return 0;
3545 return 0;
3547 _ACEOF
3548 if ac_fn_c_try_compile "$LINENO"; then :
3550 else
3551 eval "$3=yes"
3553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3557 eval ac_res=\$$3
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3559 $as_echo "$ac_res" >&6; }
3560 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3562 } # ac_fn_c_check_type
3563 cat >config.log <<_ACEOF
3564 This file contains any messages produced by compilers while
3565 running configure, to aid debugging if configure makes a mistake.
3567 It was created by Wine $as_me 6.19, which was
3568 generated by GNU Autoconf 2.69. Invocation command line was
3570 $ $0 $@
3572 _ACEOF
3573 exec 5>>config.log
3575 cat <<_ASUNAME
3576 ## --------- ##
3577 ## Platform. ##
3578 ## --------- ##
3580 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3581 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3582 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3583 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3584 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3586 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3587 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3589 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3590 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3591 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3592 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3593 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3594 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3595 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3597 _ASUNAME
3599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3600 for as_dir in $PATH
3602 IFS=$as_save_IFS
3603 test -z "$as_dir" && as_dir=.
3604 $as_echo "PATH: $as_dir"
3605 done
3606 IFS=$as_save_IFS
3608 } >&5
3610 cat >&5 <<_ACEOF
3613 ## ----------- ##
3614 ## Core tests. ##
3615 ## ----------- ##
3617 _ACEOF
3620 # Keep a trace of the command line.
3621 # Strip out --no-create and --no-recursion so they do not pile up.
3622 # Strip out --silent because we don't want to record it for future runs.
3623 # Also quote any args containing shell meta-characters.
3624 # Make two passes to allow for proper duplicate-argument suppression.
3625 ac_configure_args=
3626 ac_configure_args0=
3627 ac_configure_args1=
3628 ac_must_keep_next=false
3629 for ac_pass in 1 2
3631 for ac_arg
3633 case $ac_arg in
3634 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3635 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3636 | -silent | --silent | --silen | --sile | --sil)
3637 continue ;;
3638 *\'*)
3639 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3640 esac
3641 case $ac_pass in
3642 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3644 as_fn_append ac_configure_args1 " '$ac_arg'"
3645 if test $ac_must_keep_next = true; then
3646 ac_must_keep_next=false # Got value, back to normal.
3647 else
3648 case $ac_arg in
3649 *=* | --config-cache | -C | -disable-* | --disable-* \
3650 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3651 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3652 | -with-* | --with-* | -without-* | --without-* | --x)
3653 case "$ac_configure_args0 " in
3654 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3655 esac
3657 -* ) ac_must_keep_next=true ;;
3658 esac
3660 as_fn_append ac_configure_args " '$ac_arg'"
3662 esac
3663 done
3664 done
3665 { ac_configure_args0=; unset ac_configure_args0;}
3666 { ac_configure_args1=; unset ac_configure_args1;}
3668 # When interrupted or exit'd, cleanup temporary files, and complete
3669 # config.log. We remove comments because anyway the quotes in there
3670 # would cause problems or look ugly.
3671 # WARNING: Use '\'' to represent an apostrophe within the trap.
3672 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3673 trap 'exit_status=$?
3674 # Save into config.log some information that might help in debugging.
3676 echo
3678 $as_echo "## ---------------- ##
3679 ## Cache variables. ##
3680 ## ---------------- ##"
3681 echo
3682 # The following way of writing the cache mishandles newlines in values,
3684 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3685 eval ac_val=\$$ac_var
3686 case $ac_val in #(
3687 *${as_nl}*)
3688 case $ac_var in #(
3689 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3690 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3691 esac
3692 case $ac_var in #(
3693 _ | IFS | as_nl) ;; #(
3694 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3695 *) { eval $ac_var=; unset $ac_var;} ;;
3696 esac ;;
3697 esac
3698 done
3699 (set) 2>&1 |
3700 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3701 *${as_nl}ac_space=\ *)
3702 sed -n \
3703 "s/'\''/'\''\\\\'\'''\''/g;
3704 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3705 ;; #(
3707 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3709 esac |
3710 sort
3712 echo
3714 $as_echo "## ----------------- ##
3715 ## Output variables. ##
3716 ## ----------------- ##"
3717 echo
3718 for ac_var in $ac_subst_vars
3720 eval ac_val=\$$ac_var
3721 case $ac_val in
3722 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3723 esac
3724 $as_echo "$ac_var='\''$ac_val'\''"
3725 done | sort
3726 echo
3728 if test -n "$ac_subst_files"; then
3729 $as_echo "## ------------------- ##
3730 ## File substitutions. ##
3731 ## ------------------- ##"
3732 echo
3733 for ac_var in $ac_subst_files
3735 eval ac_val=\$$ac_var
3736 case $ac_val in
3737 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3738 esac
3739 $as_echo "$ac_var='\''$ac_val'\''"
3740 done | sort
3741 echo
3744 if test -s confdefs.h; then
3745 $as_echo "## ----------- ##
3746 ## confdefs.h. ##
3747 ## ----------- ##"
3748 echo
3749 cat confdefs.h
3750 echo
3752 test "$ac_signal" != 0 &&
3753 $as_echo "$as_me: caught signal $ac_signal"
3754 $as_echo "$as_me: exit $exit_status"
3755 } >&5
3756 rm -f core *.core core.conftest.* &&
3757 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3758 exit $exit_status
3760 for ac_signal in 1 2 13 15; do
3761 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3762 done
3763 ac_signal=0
3765 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3766 rm -f -r conftest* confdefs.h
3768 $as_echo "/* confdefs.h */" > confdefs.h
3770 # Predefined preprocessor variables.
3772 cat >>confdefs.h <<_ACEOF
3773 #define PACKAGE_NAME "$PACKAGE_NAME"
3774 _ACEOF
3776 cat >>confdefs.h <<_ACEOF
3777 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3778 _ACEOF
3780 cat >>confdefs.h <<_ACEOF
3781 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3782 _ACEOF
3784 cat >>confdefs.h <<_ACEOF
3785 #define PACKAGE_STRING "$PACKAGE_STRING"
3786 _ACEOF
3788 cat >>confdefs.h <<_ACEOF
3789 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3790 _ACEOF
3792 cat >>confdefs.h <<_ACEOF
3793 #define PACKAGE_URL "$PACKAGE_URL"
3794 _ACEOF
3797 # Let the site file select an alternate cache file if it wants to.
3798 # Prefer an explicitly selected file to automatically selected ones.
3799 ac_site_file1=NONE
3800 ac_site_file2=NONE
3801 if test -n "$CONFIG_SITE"; then
3802 # We do not want a PATH search for config.site.
3803 case $CONFIG_SITE in #((
3804 -*) ac_site_file1=./$CONFIG_SITE;;
3805 */*) ac_site_file1=$CONFIG_SITE;;
3806 *) ac_site_file1=./$CONFIG_SITE;;
3807 esac
3808 elif test "x$prefix" != xNONE; then
3809 ac_site_file1=$prefix/share/config.site
3810 ac_site_file2=$prefix/etc/config.site
3811 else
3812 ac_site_file1=$ac_default_prefix/share/config.site
3813 ac_site_file2=$ac_default_prefix/etc/config.site
3815 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3817 test "x$ac_site_file" = xNONE && continue
3818 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3820 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3821 sed 's/^/| /' "$ac_site_file" >&5
3822 . "$ac_site_file" \
3823 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3824 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3825 as_fn_error $? "failed to load site script $ac_site_file
3826 See \`config.log' for more details" "$LINENO" 5; }
3828 done
3830 if test -r "$cache_file"; then
3831 # Some versions of bash will fail to source /dev/null (special files
3832 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3833 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3835 $as_echo "$as_me: loading cache $cache_file" >&6;}
3836 case $cache_file in
3837 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3838 *) . "./$cache_file";;
3839 esac
3841 else
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3843 $as_echo "$as_me: creating cache $cache_file" >&6;}
3844 >$cache_file
3847 # Check that the precious variables saved in the cache have kept the same
3848 # value.
3849 ac_cache_corrupted=false
3850 for ac_var in $ac_precious_vars; do
3851 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3852 eval ac_new_set=\$ac_env_${ac_var}_set
3853 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3854 eval ac_new_val=\$ac_env_${ac_var}_value
3855 case $ac_old_set,$ac_new_set in
3856 set,)
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3858 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3859 ac_cache_corrupted=: ;;
3860 ,set)
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3862 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3863 ac_cache_corrupted=: ;;
3864 ,);;
3866 if test "x$ac_old_val" != "x$ac_new_val"; then
3867 # differences in whitespace do not lead to failure.
3868 ac_old_val_w=`echo x $ac_old_val`
3869 ac_new_val_w=`echo x $ac_new_val`
3870 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3872 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3873 ac_cache_corrupted=:
3874 else
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3876 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3877 eval $ac_var=\$ac_old_val
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3880 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3882 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3883 fi;;
3884 esac
3885 # Pass precious variables to config.status.
3886 if test "$ac_new_set" = set; then
3887 case $ac_new_val in
3888 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3889 *) ac_arg=$ac_var=$ac_new_val ;;
3890 esac
3891 case " $ac_configure_args " in
3892 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3893 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3894 esac
3896 done
3897 if $ac_cache_corrupted; then
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3899 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3901 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3902 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3904 ## -------------------- ##
3905 ## Main body of script. ##
3906 ## -------------------- ##
3908 ac_ext=c
3909 ac_cpp='$CPP $CPPFLAGS'
3910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3916 ac_config_headers="$ac_config_headers include/config.h"
3918 ac_aux_dir=
3919 for ac_dir in tools "$srcdir"/tools; do
3920 if test -f "$ac_dir/install-sh"; then
3921 ac_aux_dir=$ac_dir
3922 ac_install_sh="$ac_aux_dir/install-sh -c"
3923 break
3924 elif test -f "$ac_dir/install.sh"; then
3925 ac_aux_dir=$ac_dir
3926 ac_install_sh="$ac_aux_dir/install.sh -c"
3927 break
3928 elif test -f "$ac_dir/shtool"; then
3929 ac_aux_dir=$ac_dir
3930 ac_install_sh="$ac_aux_dir/shtool install -c"
3931 break
3933 done
3934 if test -z "$ac_aux_dir"; then
3935 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3938 # These three variables are undocumented and unsupported,
3939 # and are intended to be withdrawn in a future Autoconf release.
3940 # They can cause serious problems if a builder's source tree is in a directory
3941 # whose full name contains unusual characters.
3942 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3943 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3944 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3948 libwine_version="1.0"
3952 # Check whether --enable-win16 was given.
3953 if test "${enable_win16+set}" = set; then :
3954 enableval=$enable_win16;
3957 # Check whether --enable-win64 was given.
3958 if test "${enable_win64+set}" = set; then :
3959 enableval=$enable_win64;
3962 # Check whether --enable-tests was given.
3963 if test "${enable_tests+set}" = set; then :
3964 enableval=$enable_tests;
3967 # Check whether --enable-build-id was given.
3968 if test "${enable_build_id+set}" = set; then :
3969 enableval=$enable_build_id;
3972 # Check whether --enable-maintainer-mode was given.
3973 if test "${enable_maintainer_mode+set}" = set; then :
3974 enableval=$enable_maintainer_mode;
3977 # Check whether --enable-silent-rules was given.
3978 if test "${enable_silent_rules+set}" = set; then :
3979 enableval=$enable_silent_rules;
3982 # Check whether --enable-werror was given.
3983 if test "${enable_werror+set}" = set; then :
3984 enableval=$enable_werror;
3989 # Check whether --with-alsa was given.
3990 if test "${with_alsa+set}" = set; then :
3991 withval=$with_alsa;
3995 # Check whether --with-capi was given.
3996 if test "${with_capi+set}" = set; then :
3997 withval=$with_capi;
4001 # Check whether --with-cms was given.
4002 if test "${with_cms+set}" = set; then :
4003 withval=$with_cms;
4007 # Check whether --with-coreaudio was given.
4008 if test "${with_coreaudio+set}" = set; then :
4009 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
4013 # Check whether --with-cups was given.
4014 if test "${with_cups+set}" = set; then :
4015 withval=$with_cups;
4019 # Check whether --with-dbus was given.
4020 if test "${with_dbus+set}" = set; then :
4021 withval=$with_dbus;
4025 # Check whether --with-faudio was given.
4026 if test "${with_faudio+set}" = set; then :
4027 withval=$with_faudio;
4031 # Check whether --with-float-abi was given.
4032 if test "${with_float_abi+set}" = set; then :
4033 withval=$with_float_abi;
4037 # Check whether --with-fontconfig was given.
4038 if test "${with_fontconfig+set}" = set; then :
4039 withval=$with_fontconfig;
4043 # Check whether --with-freetype was given.
4044 if test "${with_freetype+set}" = set; then :
4045 withval=$with_freetype;
4049 # Check whether --with-gettext was given.
4050 if test "${with_gettext+set}" = set; then :
4051 withval=$with_gettext;
4055 # Check whether --with-gettextpo was given.
4056 if test "${with_gettextpo+set}" = set; then :
4057 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4061 # Check whether --with-gphoto was given.
4062 if test "${with_gphoto+set}" = set; then :
4063 withval=$with_gphoto;
4067 # Check whether --with-gnutls was given.
4068 if test "${with_gnutls+set}" = set; then :
4069 withval=$with_gnutls;
4073 # Check whether --with-gsm was given.
4074 if test "${with_gsm+set}" = set; then :
4075 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4079 # Check whether --with-gssapi was given.
4080 if test "${with_gssapi+set}" = set; then :
4081 withval=$with_gssapi;
4085 # Check whether --with-gstreamer was given.
4086 if test "${with_gstreamer+set}" = set; then :
4087 withval=$with_gstreamer;
4091 # Check whether --with-hal was given.
4092 if test "${with_hal+set}" = set; then :
4093 withval=$with_hal;
4097 # Check whether --with-inotify was given.
4098 if test "${with_inotify+set}" = set; then :
4099 withval=$with_inotify;
4103 # Check whether --with-jpeg was given.
4104 if test "${with_jpeg+set}" = set; then :
4105 withval=$with_jpeg;
4109 # Check whether --with-jxrlib was given.
4110 if test "${with_jxrlib+set}" = set; then :
4111 withval=$with_jxrlib;
4115 # Check whether --with-krb5 was given.
4116 if test "${with_krb5+set}" = set; then :
4117 withval=$with_krb5;
4121 # Check whether --with-ldap was given.
4122 if test "${with_ldap+set}" = set; then :
4123 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4127 # Check whether --with-mingw was given.
4128 if test "${with_mingw+set}" = set; then :
4129 withval=$with_mingw;
4133 # Check whether --with-mpg123 was given.
4134 if test "${with_mpg123+set}" = set; then :
4135 withval=$with_mpg123;
4139 # Check whether --with-netapi was given.
4140 if test "${with_netapi+set}" = set; then :
4141 withval=$with_netapi;
4145 # Check whether --with-openal was given.
4146 if test "${with_openal+set}" = set; then :
4147 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4151 # Check whether --with-opencl was given.
4152 if test "${with_opencl+set}" = set; then :
4153 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4157 # Check whether --with-opengl was given.
4158 if test "${with_opengl+set}" = set; then :
4159 withval=$with_opengl;
4163 # Check whether --with-osmesa was given.
4164 if test "${with_osmesa+set}" = set; then :
4165 withval=$with_osmesa;
4169 # Check whether --with-oss was given.
4170 if test "${with_oss+set}" = set; then :
4171 withval=$with_oss;
4175 # Check whether --with-pcap was given.
4176 if test "${with_pcap+set}" = set; then :
4177 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4181 # Check whether --with-pthread was given.
4182 if test "${with_pthread+set}" = set; then :
4183 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4187 # Check whether --with-pulse was given.
4188 if test "${with_pulse+set}" = set; then :
4189 withval=$with_pulse;
4193 # Check whether --with-quicktime was given.
4194 if test "${with_quicktime+set}" = set; then :
4195 withval=$with_quicktime;
4199 # Check whether --with-sane was given.
4200 if test "${with_sane+set}" = set; then :
4201 withval=$with_sane;
4205 # Check whether --with-sdl was given.
4206 if test "${with_sdl+set}" = set; then :
4207 withval=$with_sdl;
4211 # Check whether --with-tiff was given.
4212 if test "${with_tiff+set}" = set; then :
4213 withval=$with_tiff;
4217 # Check whether --with-udev was given.
4218 if test "${with_udev+set}" = set; then :
4219 withval=$with_udev;
4223 # Check whether --with-unwind was given.
4224 if test "${with_unwind+set}" = set; then :
4225 withval=$with_unwind;
4229 # Check whether --with-usb was given.
4230 if test "${with_usb+set}" = set; then :
4231 withval=$with_usb;
4235 # Check whether --with-v4l2 was given.
4236 if test "${with_v4l2+set}" = set; then :
4237 withval=$with_v4l2;
4241 # Check whether --with-vkd3d was given.
4242 if test "${with_vkd3d+set}" = set; then :
4243 withval=$with_vkd3d;
4247 # Check whether --with-vulkan was given.
4248 if test "${with_vulkan+set}" = set; then :
4249 withval=$with_vulkan;
4253 # Check whether --with-xcomposite was given.
4254 if test "${with_xcomposite+set}" = set; then :
4255 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4259 # Check whether --with-xcursor was given.
4260 if test "${with_xcursor+set}" = set; then :
4261 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4265 # Check whether --with-xfixes was given.
4266 if test "${with_xfixes+set}" = set; then :
4267 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4271 # Check whether --with-xinerama was given.
4272 if test "${with_xinerama+set}" = set; then :
4273 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4277 # Check whether --with-xinput was given.
4278 if test "${with_xinput+set}" = set; then :
4279 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4283 # Check whether --with-xinput2 was given.
4284 if test "${with_xinput2+set}" = set; then :
4285 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4289 # Check whether --with-xml was given.
4290 if test "${with_xml+set}" = set; then :
4291 withval=$with_xml;
4295 # Check whether --with-xrandr was given.
4296 if test "${with_xrandr+set}" = set; then :
4297 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4301 # Check whether --with-xrender was given.
4302 if test "${with_xrender+set}" = set; then :
4303 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4307 # Check whether --with-xshape was given.
4308 if test "${with_xshape+set}" = set; then :
4309 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4313 # Check whether --with-xshm was given.
4314 if test "${with_xshm+set}" = set; then :
4315 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4319 # Check whether --with-xslt was given.
4320 if test "${with_xslt+set}" = set; then :
4321 withval=$with_xslt;
4325 # Check whether --with-xxf86vm was given.
4326 if test "${with_xxf86vm+set}" = set; then :
4327 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
4332 # Check whether --with-wine-tools was given.
4333 if test "${with_wine_tools+set}" = set; then :
4334 withval=$with_wine_tools;
4338 # Check whether --with-wine64 was given.
4339 if test "${with_wine64+set}" = set; then :
4340 withval=$with_wine64;
4344 # Make sure we can run config.sub.
4345 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4346 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4349 $as_echo_n "checking build system type... " >&6; }
4350 if ${ac_cv_build+:} false; then :
4351 $as_echo_n "(cached) " >&6
4352 else
4353 ac_build_alias=$build_alias
4354 test "x$ac_build_alias" = x &&
4355 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4356 test "x$ac_build_alias" = x &&
4357 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4358 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4359 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4363 $as_echo "$ac_cv_build" >&6; }
4364 case $ac_cv_build in
4365 *-*-*) ;;
4366 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4367 esac
4368 build=$ac_cv_build
4369 ac_save_IFS=$IFS; IFS='-'
4370 set x $ac_cv_build
4371 shift
4372 build_cpu=$1
4373 build_vendor=$2
4374 shift; shift
4375 # Remember, the first character of IFS is used to create $*,
4376 # except with old shells:
4377 build_os=$*
4378 IFS=$ac_save_IFS
4379 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4383 $as_echo_n "checking host system type... " >&6; }
4384 if ${ac_cv_host+:} false; then :
4385 $as_echo_n "(cached) " >&6
4386 else
4387 if test "x$host_alias" = x; then
4388 ac_cv_host=$ac_cv_build
4389 else
4390 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4391 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4396 $as_echo "$ac_cv_host" >&6; }
4397 case $ac_cv_host in
4398 *-*-*) ;;
4399 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4400 esac
4401 host=$ac_cv_host
4402 ac_save_IFS=$IFS; IFS='-'
4403 set x $ac_cv_host
4404 shift
4405 host_cpu=$1
4406 host_vendor=$2
4407 shift; shift
4408 # Remember, the first character of IFS is used to create $*,
4409 # except with old shells:
4410 host_os=$*
4411 IFS=$ac_save_IFS
4412 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4418 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4419 set x ${MAKE-make}
4420 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4421 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4422 $as_echo_n "(cached) " >&6
4423 else
4424 cat >conftest.make <<\_ACEOF
4425 SHELL = /bin/sh
4426 all:
4427 @echo '@@@%%%=$(MAKE)=@@@%%%'
4428 _ACEOF
4429 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4430 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4431 *@@@%%%=?*=@@@%%%*)
4432 eval ac_cv_prog_make_${ac_make}_set=yes;;
4434 eval ac_cv_prog_make_${ac_make}_set=no;;
4435 esac
4436 rm -f conftest.make
4438 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4440 $as_echo "yes" >&6; }
4441 SET_MAKE=
4442 else
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4444 $as_echo "no" >&6; }
4445 SET_MAKE="MAKE=${MAKE-make}"
4448 ac_ext=c
4449 ac_cpp='$CPP $CPPFLAGS'
4450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4453 if test -n "$ac_tool_prefix"; then
4454 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4455 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4457 $as_echo_n "checking for $ac_word... " >&6; }
4458 if ${ac_cv_prog_CC+:} false; then :
4459 $as_echo_n "(cached) " >&6
4460 else
4461 if test -n "$CC"; then
4462 ac_cv_prog_CC="$CC" # Let the user override the test.
4463 else
4464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4465 for as_dir in $PATH
4467 IFS=$as_save_IFS
4468 test -z "$as_dir" && as_dir=.
4469 for ac_exec_ext in '' $ac_executable_extensions; do
4470 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4471 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4473 break 2
4475 done
4476 done
4477 IFS=$as_save_IFS
4481 CC=$ac_cv_prog_CC
4482 if test -n "$CC"; then
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4484 $as_echo "$CC" >&6; }
4485 else
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4487 $as_echo "no" >&6; }
4492 if test -z "$ac_cv_prog_CC"; then
4493 ac_ct_CC=$CC
4494 # Extract the first word of "gcc", so it can be a program name with args.
4495 set dummy gcc; ac_word=$2
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4497 $as_echo_n "checking for $ac_word... " >&6; }
4498 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4499 $as_echo_n "(cached) " >&6
4500 else
4501 if test -n "$ac_ct_CC"; then
4502 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4503 else
4504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4505 for as_dir in $PATH
4507 IFS=$as_save_IFS
4508 test -z "$as_dir" && as_dir=.
4509 for ac_exec_ext in '' $ac_executable_extensions; do
4510 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4511 ac_cv_prog_ac_ct_CC="gcc"
4512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4513 break 2
4515 done
4516 done
4517 IFS=$as_save_IFS
4521 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4522 if test -n "$ac_ct_CC"; then
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4524 $as_echo "$ac_ct_CC" >&6; }
4525 else
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4527 $as_echo "no" >&6; }
4530 if test "x$ac_ct_CC" = x; then
4531 CC=""
4532 else
4533 case $cross_compiling:$ac_tool_warned in
4534 yes:)
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4536 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4537 ac_tool_warned=yes ;;
4538 esac
4539 CC=$ac_ct_CC
4541 else
4542 CC="$ac_cv_prog_CC"
4545 if test -z "$CC"; then
4546 if test -n "$ac_tool_prefix"; then
4547 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4548 set dummy ${ac_tool_prefix}cc; ac_word=$2
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4550 $as_echo_n "checking for $ac_word... " >&6; }
4551 if ${ac_cv_prog_CC+:} false; then :
4552 $as_echo_n "(cached) " >&6
4553 else
4554 if test -n "$CC"; then
4555 ac_cv_prog_CC="$CC" # Let the user override the test.
4556 else
4557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4558 for as_dir in $PATH
4560 IFS=$as_save_IFS
4561 test -z "$as_dir" && as_dir=.
4562 for ac_exec_ext in '' $ac_executable_extensions; do
4563 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4564 ac_cv_prog_CC="${ac_tool_prefix}cc"
4565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4566 break 2
4568 done
4569 done
4570 IFS=$as_save_IFS
4574 CC=$ac_cv_prog_CC
4575 if test -n "$CC"; then
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4577 $as_echo "$CC" >&6; }
4578 else
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4580 $as_echo "no" >&6; }
4586 if test -z "$CC"; then
4587 # Extract the first word of "cc", so it can be a program name with args.
4588 set dummy cc; ac_word=$2
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4590 $as_echo_n "checking for $ac_word... " >&6; }
4591 if ${ac_cv_prog_CC+:} false; then :
4592 $as_echo_n "(cached) " >&6
4593 else
4594 if test -n "$CC"; then
4595 ac_cv_prog_CC="$CC" # Let the user override the test.
4596 else
4597 ac_prog_rejected=no
4598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4599 for as_dir in $PATH
4601 IFS=$as_save_IFS
4602 test -z "$as_dir" && as_dir=.
4603 for ac_exec_ext in '' $ac_executable_extensions; do
4604 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4605 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4606 ac_prog_rejected=yes
4607 continue
4609 ac_cv_prog_CC="cc"
4610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4611 break 2
4613 done
4614 done
4615 IFS=$as_save_IFS
4617 if test $ac_prog_rejected = yes; then
4618 # We found a bogon in the path, so make sure we never use it.
4619 set dummy $ac_cv_prog_CC
4620 shift
4621 if test $# != 0; then
4622 # We chose a different compiler from the bogus one.
4623 # However, it has the same basename, so the bogon will be chosen
4624 # first if we set CC to just the basename; use the full file name.
4625 shift
4626 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4631 CC=$ac_cv_prog_CC
4632 if test -n "$CC"; then
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4634 $as_echo "$CC" >&6; }
4635 else
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4637 $as_echo "no" >&6; }
4642 if test -z "$CC"; then
4643 if test -n "$ac_tool_prefix"; then
4644 for ac_prog in cl.exe
4646 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4647 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4649 $as_echo_n "checking for $ac_word... " >&6; }
4650 if ${ac_cv_prog_CC+:} false; then :
4651 $as_echo_n "(cached) " >&6
4652 else
4653 if test -n "$CC"; then
4654 ac_cv_prog_CC="$CC" # Let the user override the test.
4655 else
4656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4657 for as_dir in $PATH
4659 IFS=$as_save_IFS
4660 test -z "$as_dir" && as_dir=.
4661 for ac_exec_ext in '' $ac_executable_extensions; do
4662 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4663 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4665 break 2
4667 done
4668 done
4669 IFS=$as_save_IFS
4673 CC=$ac_cv_prog_CC
4674 if test -n "$CC"; then
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4676 $as_echo "$CC" >&6; }
4677 else
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4679 $as_echo "no" >&6; }
4683 test -n "$CC" && break
4684 done
4686 if test -z "$CC"; then
4687 ac_ct_CC=$CC
4688 for ac_prog in cl.exe
4690 # Extract the first word of "$ac_prog", so it can be a program name with args.
4691 set dummy $ac_prog; ac_word=$2
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4693 $as_echo_n "checking for $ac_word... " >&6; }
4694 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4695 $as_echo_n "(cached) " >&6
4696 else
4697 if test -n "$ac_ct_CC"; then
4698 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4699 else
4700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4701 for as_dir in $PATH
4703 IFS=$as_save_IFS
4704 test -z "$as_dir" && as_dir=.
4705 for ac_exec_ext in '' $ac_executable_extensions; do
4706 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4707 ac_cv_prog_ac_ct_CC="$ac_prog"
4708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4709 break 2
4711 done
4712 done
4713 IFS=$as_save_IFS
4717 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4718 if test -n "$ac_ct_CC"; then
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4720 $as_echo "$ac_ct_CC" >&6; }
4721 else
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4723 $as_echo "no" >&6; }
4727 test -n "$ac_ct_CC" && break
4728 done
4730 if test "x$ac_ct_CC" = x; then
4731 CC=""
4732 else
4733 case $cross_compiling:$ac_tool_warned in
4734 yes:)
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4736 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4737 ac_tool_warned=yes ;;
4738 esac
4739 CC=$ac_ct_CC
4746 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4747 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4748 as_fn_error $? "no acceptable C compiler found in \$PATH
4749 See \`config.log' for more details" "$LINENO" 5; }
4751 # Provide some information about the compiler.
4752 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4753 set X $ac_compile
4754 ac_compiler=$2
4755 for ac_option in --version -v -V -qversion; do
4756 { { ac_try="$ac_compiler $ac_option >&5"
4757 case "(($ac_try" in
4758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4759 *) ac_try_echo=$ac_try;;
4760 esac
4761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4762 $as_echo "$ac_try_echo"; } >&5
4763 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4764 ac_status=$?
4765 if test -s conftest.err; then
4766 sed '10a\
4767 ... rest of stderr output deleted ...
4768 10q' conftest.err >conftest.er1
4769 cat conftest.er1 >&5
4771 rm -f conftest.er1 conftest.err
4772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4773 test $ac_status = 0; }
4774 done
4776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4777 /* end confdefs.h. */
4780 main ()
4784 return 0;
4786 _ACEOF
4787 ac_clean_files_save=$ac_clean_files
4788 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4789 # Try to create an executable without -o first, disregard a.out.
4790 # It will help us diagnose broken compilers, and finding out an intuition
4791 # of exeext.
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4793 $as_echo_n "checking whether the C compiler works... " >&6; }
4794 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4796 # The possible output files:
4797 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4799 ac_rmfiles=
4800 for ac_file in $ac_files
4802 case $ac_file in
4803 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4804 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4805 esac
4806 done
4807 rm -f $ac_rmfiles
4809 if { { ac_try="$ac_link_default"
4810 case "(($ac_try" in
4811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4812 *) ac_try_echo=$ac_try;;
4813 esac
4814 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4815 $as_echo "$ac_try_echo"; } >&5
4816 (eval "$ac_link_default") 2>&5
4817 ac_status=$?
4818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4819 test $ac_status = 0; }; then :
4820 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4821 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4822 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4823 # so that the user can short-circuit this test for compilers unknown to
4824 # Autoconf.
4825 for ac_file in $ac_files ''
4827 test -f "$ac_file" || continue
4828 case $ac_file in
4829 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4831 [ab].out )
4832 # We found the default executable, but exeext='' is most
4833 # certainly right.
4834 break;;
4835 *.* )
4836 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4837 then :; else
4838 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4840 # We set ac_cv_exeext here because the later test for it is not
4841 # safe: cross compilers may not add the suffix if given an `-o'
4842 # argument, so we may need to know it at that point already.
4843 # Even if this section looks crufty: it has the advantage of
4844 # actually working.
4845 break;;
4847 break;;
4848 esac
4849 done
4850 test "$ac_cv_exeext" = no && ac_cv_exeext=
4852 else
4853 ac_file=''
4855 if test -z "$ac_file"; then :
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4857 $as_echo "no" >&6; }
4858 $as_echo "$as_me: failed program was:" >&5
4859 sed 's/^/| /' conftest.$ac_ext >&5
4861 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4862 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4863 as_fn_error 77 "C compiler cannot create executables
4864 See \`config.log' for more details" "$LINENO" 5; }
4865 else
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4867 $as_echo "yes" >&6; }
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4870 $as_echo_n "checking for C compiler default output file name... " >&6; }
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4872 $as_echo "$ac_file" >&6; }
4873 ac_exeext=$ac_cv_exeext
4875 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4876 ac_clean_files=$ac_clean_files_save
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4878 $as_echo_n "checking for suffix of executables... " >&6; }
4879 if { { ac_try="$ac_link"
4880 case "(($ac_try" in
4881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4882 *) ac_try_echo=$ac_try;;
4883 esac
4884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4885 $as_echo "$ac_try_echo"; } >&5
4886 (eval "$ac_link") 2>&5
4887 ac_status=$?
4888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4889 test $ac_status = 0; }; then :
4890 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4891 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4892 # work properly (i.e., refer to `conftest.exe'), while it won't with
4893 # `rm'.
4894 for ac_file in conftest.exe conftest conftest.*; do
4895 test -f "$ac_file" || continue
4896 case $ac_file in
4897 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4898 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4899 break;;
4900 * ) break;;
4901 esac
4902 done
4903 else
4904 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4905 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4906 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4907 See \`config.log' for more details" "$LINENO" 5; }
4909 rm -f conftest conftest$ac_cv_exeext
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4911 $as_echo "$ac_cv_exeext" >&6; }
4913 rm -f conftest.$ac_ext
4914 EXEEXT=$ac_cv_exeext
4915 ac_exeext=$EXEEXT
4916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4917 /* end confdefs.h. */
4918 #include <stdio.h>
4920 main ()
4922 FILE *f = fopen ("conftest.out", "w");
4923 return ferror (f) || fclose (f) != 0;
4926 return 0;
4928 _ACEOF
4929 ac_clean_files="$ac_clean_files conftest.out"
4930 # Check that the compiler produces executables we can run. If not, either
4931 # the compiler is broken, or we cross compile.
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4933 $as_echo_n "checking whether we are cross compiling... " >&6; }
4934 if test "$cross_compiling" != yes; then
4935 { { ac_try="$ac_link"
4936 case "(($ac_try" in
4937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4938 *) ac_try_echo=$ac_try;;
4939 esac
4940 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4941 $as_echo "$ac_try_echo"; } >&5
4942 (eval "$ac_link") 2>&5
4943 ac_status=$?
4944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4945 test $ac_status = 0; }
4946 if { ac_try='./conftest$ac_cv_exeext'
4947 { { case "(($ac_try" in
4948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4949 *) ac_try_echo=$ac_try;;
4950 esac
4951 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4952 $as_echo "$ac_try_echo"; } >&5
4953 (eval "$ac_try") 2>&5
4954 ac_status=$?
4955 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4956 test $ac_status = 0; }; }; then
4957 cross_compiling=no
4958 else
4959 if test "$cross_compiling" = maybe; then
4960 cross_compiling=yes
4961 else
4962 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4963 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4964 as_fn_error $? "cannot run C compiled programs.
4965 If you meant to cross compile, use \`--host'.
4966 See \`config.log' for more details" "$LINENO" 5; }
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4971 $as_echo "$cross_compiling" >&6; }
4973 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4974 ac_clean_files=$ac_clean_files_save
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4976 $as_echo_n "checking for suffix of object files... " >&6; }
4977 if ${ac_cv_objext+:} false; then :
4978 $as_echo_n "(cached) " >&6
4979 else
4980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4981 /* end confdefs.h. */
4984 main ()
4988 return 0;
4990 _ACEOF
4991 rm -f conftest.o conftest.obj
4992 if { { ac_try="$ac_compile"
4993 case "(($ac_try" in
4994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4995 *) ac_try_echo=$ac_try;;
4996 esac
4997 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4998 $as_echo "$ac_try_echo"; } >&5
4999 (eval "$ac_compile") 2>&5
5000 ac_status=$?
5001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5002 test $ac_status = 0; }; then :
5003 for ac_file in conftest.o conftest.obj conftest.*; do
5004 test -f "$ac_file" || continue;
5005 case $ac_file in
5006 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5007 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5008 break;;
5009 esac
5010 done
5011 else
5012 $as_echo "$as_me: failed program was:" >&5
5013 sed 's/^/| /' conftest.$ac_ext >&5
5015 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5016 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5017 as_fn_error $? "cannot compute suffix of object files: cannot compile
5018 See \`config.log' for more details" "$LINENO" 5; }
5020 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5023 $as_echo "$ac_cv_objext" >&6; }
5024 OBJEXT=$ac_cv_objext
5025 ac_objext=$OBJEXT
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5027 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5028 if ${ac_cv_c_compiler_gnu+:} false; then :
5029 $as_echo_n "(cached) " >&6
5030 else
5031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5032 /* end confdefs.h. */
5035 main ()
5037 #ifndef __GNUC__
5038 choke me
5039 #endif
5042 return 0;
5044 _ACEOF
5045 if ac_fn_c_try_compile "$LINENO"; then :
5046 ac_compiler_gnu=yes
5047 else
5048 ac_compiler_gnu=no
5050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5051 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5055 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5056 if test $ac_compiler_gnu = yes; then
5057 GCC=yes
5058 else
5059 GCC=
5061 ac_test_CFLAGS=${CFLAGS+set}
5062 ac_save_CFLAGS=$CFLAGS
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5064 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5065 if ${ac_cv_prog_cc_g+:} false; then :
5066 $as_echo_n "(cached) " >&6
5067 else
5068 ac_save_c_werror_flag=$ac_c_werror_flag
5069 ac_c_werror_flag=yes
5070 ac_cv_prog_cc_g=no
5071 CFLAGS="-g"
5072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5073 /* end confdefs.h. */
5076 main ()
5080 return 0;
5082 _ACEOF
5083 if ac_fn_c_try_compile "$LINENO"; then :
5084 ac_cv_prog_cc_g=yes
5085 else
5086 CFLAGS=""
5087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5088 /* end confdefs.h. */
5091 main ()
5095 return 0;
5097 _ACEOF
5098 if ac_fn_c_try_compile "$LINENO"; then :
5100 else
5101 ac_c_werror_flag=$ac_save_c_werror_flag
5102 CFLAGS="-g"
5103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5104 /* end confdefs.h. */
5107 main ()
5111 return 0;
5113 _ACEOF
5114 if ac_fn_c_try_compile "$LINENO"; then :
5115 ac_cv_prog_cc_g=yes
5117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5122 ac_c_werror_flag=$ac_save_c_werror_flag
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5125 $as_echo "$ac_cv_prog_cc_g" >&6; }
5126 if test "$ac_test_CFLAGS" = set; then
5127 CFLAGS=$ac_save_CFLAGS
5128 elif test $ac_cv_prog_cc_g = yes; then
5129 if test "$GCC" = yes; then
5130 CFLAGS="-g -O2"
5131 else
5132 CFLAGS="-g"
5134 else
5135 if test "$GCC" = yes; then
5136 CFLAGS="-O2"
5137 else
5138 CFLAGS=
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5142 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5143 if ${ac_cv_prog_cc_c89+:} false; then :
5144 $as_echo_n "(cached) " >&6
5145 else
5146 ac_cv_prog_cc_c89=no
5147 ac_save_CC=$CC
5148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5149 /* end confdefs.h. */
5150 #include <stdarg.h>
5151 #include <stdio.h>
5152 struct stat;
5153 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5154 struct buf { int x; };
5155 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5156 static char *e (p, i)
5157 char **p;
5158 int i;
5160 return p[i];
5162 static char *f (char * (*g) (char **, int), char **p, ...)
5164 char *s;
5165 va_list v;
5166 va_start (v,p);
5167 s = g (p, va_arg (v,int));
5168 va_end (v);
5169 return s;
5172 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5173 function prototypes and stuff, but not '\xHH' hex character constants.
5174 These don't provoke an error unfortunately, instead are silently treated
5175 as 'x'. The following induces an error, until -std is added to get
5176 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5177 array size at least. It's necessary to write '\x00'==0 to get something
5178 that's true only with -std. */
5179 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5181 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5182 inside strings and character constants. */
5183 #define FOO(x) 'x'
5184 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5186 int test (int i, double x);
5187 struct s1 {int (*f) (int a);};
5188 struct s2 {int (*f) (double a);};
5189 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5190 int argc;
5191 char **argv;
5193 main ()
5195 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5197 return 0;
5199 _ACEOF
5200 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5201 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5203 CC="$ac_save_CC $ac_arg"
5204 if ac_fn_c_try_compile "$LINENO"; then :
5205 ac_cv_prog_cc_c89=$ac_arg
5207 rm -f core conftest.err conftest.$ac_objext
5208 test "x$ac_cv_prog_cc_c89" != "xno" && break
5209 done
5210 rm -f conftest.$ac_ext
5211 CC=$ac_save_CC
5214 # AC_CACHE_VAL
5215 case "x$ac_cv_prog_cc_c89" in
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5218 $as_echo "none needed" >&6; } ;;
5219 xno)
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5221 $as_echo "unsupported" >&6; } ;;
5223 CC="$CC $ac_cv_prog_cc_c89"
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5225 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5226 esac
5227 if test "x$ac_cv_prog_cc_c89" != xno; then :
5231 ac_ext=c
5232 ac_cpp='$CPP $CPPFLAGS'
5233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5237 ac_ext=cpp
5238 ac_cpp='$CXXCPP $CPPFLAGS'
5239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5242 if test -z "$CXX"; then
5243 if test -n "$CCC"; then
5244 CXX=$CCC
5245 else
5246 if test -n "$ac_tool_prefix"; then
5247 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5249 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5250 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5252 $as_echo_n "checking for $ac_word... " >&6; }
5253 if ${ac_cv_prog_CXX+:} false; then :
5254 $as_echo_n "(cached) " >&6
5255 else
5256 if test -n "$CXX"; then
5257 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5258 else
5259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5260 for as_dir in $PATH
5262 IFS=$as_save_IFS
5263 test -z "$as_dir" && as_dir=.
5264 for ac_exec_ext in '' $ac_executable_extensions; do
5265 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5266 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5268 break 2
5270 done
5271 done
5272 IFS=$as_save_IFS
5276 CXX=$ac_cv_prog_CXX
5277 if test -n "$CXX"; then
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5279 $as_echo "$CXX" >&6; }
5280 else
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5282 $as_echo "no" >&6; }
5286 test -n "$CXX" && break
5287 done
5289 if test -z "$CXX"; then
5290 ac_ct_CXX=$CXX
5291 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5293 # Extract the first word of "$ac_prog", so it can be a program name with args.
5294 set dummy $ac_prog; ac_word=$2
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5296 $as_echo_n "checking for $ac_word... " >&6; }
5297 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5298 $as_echo_n "(cached) " >&6
5299 else
5300 if test -n "$ac_ct_CXX"; then
5301 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5302 else
5303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5304 for as_dir in $PATH
5306 IFS=$as_save_IFS
5307 test -z "$as_dir" && as_dir=.
5308 for ac_exec_ext in '' $ac_executable_extensions; do
5309 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5310 ac_cv_prog_ac_ct_CXX="$ac_prog"
5311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5312 break 2
5314 done
5315 done
5316 IFS=$as_save_IFS
5320 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5321 if test -n "$ac_ct_CXX"; then
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5323 $as_echo "$ac_ct_CXX" >&6; }
5324 else
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5326 $as_echo "no" >&6; }
5330 test -n "$ac_ct_CXX" && break
5331 done
5333 if test "x$ac_ct_CXX" = x; then
5334 CXX="g++"
5335 else
5336 case $cross_compiling:$ac_tool_warned in
5337 yes:)
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5339 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5340 ac_tool_warned=yes ;;
5341 esac
5342 CXX=$ac_ct_CXX
5348 # Provide some information about the compiler.
5349 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5350 set X $ac_compile
5351 ac_compiler=$2
5352 for ac_option in --version -v -V -qversion; do
5353 { { ac_try="$ac_compiler $ac_option >&5"
5354 case "(($ac_try" in
5355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5356 *) ac_try_echo=$ac_try;;
5357 esac
5358 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5359 $as_echo "$ac_try_echo"; } >&5
5360 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5361 ac_status=$?
5362 if test -s conftest.err; then
5363 sed '10a\
5364 ... rest of stderr output deleted ...
5365 10q' conftest.err >conftest.er1
5366 cat conftest.er1 >&5
5368 rm -f conftest.er1 conftest.err
5369 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5370 test $ac_status = 0; }
5371 done
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5374 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5375 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5376 $as_echo_n "(cached) " >&6
5377 else
5378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5379 /* end confdefs.h. */
5382 main ()
5384 #ifndef __GNUC__
5385 choke me
5386 #endif
5389 return 0;
5391 _ACEOF
5392 if ac_fn_cxx_try_compile "$LINENO"; then :
5393 ac_compiler_gnu=yes
5394 else
5395 ac_compiler_gnu=no
5397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5398 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5402 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5403 if test $ac_compiler_gnu = yes; then
5404 GXX=yes
5405 else
5406 GXX=
5408 ac_test_CXXFLAGS=${CXXFLAGS+set}
5409 ac_save_CXXFLAGS=$CXXFLAGS
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5411 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5412 if ${ac_cv_prog_cxx_g+:} false; then :
5413 $as_echo_n "(cached) " >&6
5414 else
5415 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5416 ac_cxx_werror_flag=yes
5417 ac_cv_prog_cxx_g=no
5418 CXXFLAGS="-g"
5419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5420 /* end confdefs.h. */
5423 main ()
5427 return 0;
5429 _ACEOF
5430 if ac_fn_cxx_try_compile "$LINENO"; then :
5431 ac_cv_prog_cxx_g=yes
5432 else
5433 CXXFLAGS=""
5434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5435 /* end confdefs.h. */
5438 main ()
5442 return 0;
5444 _ACEOF
5445 if ac_fn_cxx_try_compile "$LINENO"; then :
5447 else
5448 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5449 CXXFLAGS="-g"
5450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5451 /* end confdefs.h. */
5454 main ()
5458 return 0;
5460 _ACEOF
5461 if ac_fn_cxx_try_compile "$LINENO"; then :
5462 ac_cv_prog_cxx_g=yes
5464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5469 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5472 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5473 if test "$ac_test_CXXFLAGS" = set; then
5474 CXXFLAGS=$ac_save_CXXFLAGS
5475 elif test $ac_cv_prog_cxx_g = yes; then
5476 if test "$GXX" = yes; then
5477 CXXFLAGS="-g -O2"
5478 else
5479 CXXFLAGS="-g"
5481 else
5482 if test "$GXX" = yes; then
5483 CXXFLAGS="-O2"
5484 else
5485 CXXFLAGS=
5488 ac_ext=c
5489 ac_cpp='$CPP $CPPFLAGS'
5490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5494 if test -n "$ac_tool_prefix"; then
5495 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5496 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5498 $as_echo_n "checking for $ac_word... " >&6; }
5499 if ${ac_cv_prog_CPPBIN+:} false; then :
5500 $as_echo_n "(cached) " >&6
5501 else
5502 if test -n "$CPPBIN"; then
5503 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5504 else
5505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5506 for as_dir in $PATH
5508 IFS=$as_save_IFS
5509 test -z "$as_dir" && as_dir=.
5510 for ac_exec_ext in '' $ac_executable_extensions; do
5511 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5512 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5514 break 2
5516 done
5517 done
5518 IFS=$as_save_IFS
5522 CPPBIN=$ac_cv_prog_CPPBIN
5523 if test -n "$CPPBIN"; then
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5525 $as_echo "$CPPBIN" >&6; }
5526 else
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5528 $as_echo "no" >&6; }
5533 if test -z "$ac_cv_prog_CPPBIN"; then
5534 ac_ct_CPPBIN=$CPPBIN
5535 # Extract the first word of "cpp", so it can be a program name with args.
5536 set dummy cpp; ac_word=$2
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5538 $as_echo_n "checking for $ac_word... " >&6; }
5539 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5540 $as_echo_n "(cached) " >&6
5541 else
5542 if test -n "$ac_ct_CPPBIN"; then
5543 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5544 else
5545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5546 for as_dir in $PATH
5548 IFS=$as_save_IFS
5549 test -z "$as_dir" && as_dir=.
5550 for ac_exec_ext in '' $ac_executable_extensions; do
5551 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5552 ac_cv_prog_ac_ct_CPPBIN="cpp"
5553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5554 break 2
5556 done
5557 done
5558 IFS=$as_save_IFS
5562 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5563 if test -n "$ac_ct_CPPBIN"; then
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5565 $as_echo "$ac_ct_CPPBIN" >&6; }
5566 else
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5568 $as_echo "no" >&6; }
5571 if test "x$ac_ct_CPPBIN" = x; then
5572 CPPBIN="cpp"
5573 else
5574 case $cross_compiling:$ac_tool_warned in
5575 yes:)
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5577 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5578 ac_tool_warned=yes ;;
5579 esac
5580 CPPBIN=$ac_ct_CPPBIN
5582 else
5583 CPPBIN="$ac_cv_prog_CPPBIN"
5587 cat >>confdefs.h <<_ACEOF
5588 #define EXEEXT "$ac_exeext"
5589 _ACEOF
5591 if test -n "$ac_tool_prefix"; then
5592 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5593 set dummy ${ac_tool_prefix}ld; ac_word=$2
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5595 $as_echo_n "checking for $ac_word... " >&6; }
5596 if ${ac_cv_prog_LD+:} false; then :
5597 $as_echo_n "(cached) " >&6
5598 else
5599 if test -n "$LD"; then
5600 ac_cv_prog_LD="$LD" # Let the user override the test.
5601 else
5602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5603 for as_dir in $PATH
5605 IFS=$as_save_IFS
5606 test -z "$as_dir" && as_dir=.
5607 for ac_exec_ext in '' $ac_executable_extensions; do
5608 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5609 ac_cv_prog_LD="${ac_tool_prefix}ld"
5610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5611 break 2
5613 done
5614 done
5615 IFS=$as_save_IFS
5619 LD=$ac_cv_prog_LD
5620 if test -n "$LD"; then
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5622 $as_echo "$LD" >&6; }
5623 else
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5625 $as_echo "no" >&6; }
5630 if test -z "$ac_cv_prog_LD"; then
5631 ac_ct_LD=$LD
5632 # Extract the first word of "ld", so it can be a program name with args.
5633 set dummy ld; ac_word=$2
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5635 $as_echo_n "checking for $ac_word... " >&6; }
5636 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5637 $as_echo_n "(cached) " >&6
5638 else
5639 if test -n "$ac_ct_LD"; then
5640 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5641 else
5642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5643 for as_dir in $PATH
5645 IFS=$as_save_IFS
5646 test -z "$as_dir" && as_dir=.
5647 for ac_exec_ext in '' $ac_executable_extensions; do
5648 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5649 ac_cv_prog_ac_ct_LD="ld"
5650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5651 break 2
5653 done
5654 done
5655 IFS=$as_save_IFS
5659 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5660 if test -n "$ac_ct_LD"; then
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5662 $as_echo "$ac_ct_LD" >&6; }
5663 else
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5665 $as_echo "no" >&6; }
5668 if test "x$ac_ct_LD" = x; then
5669 LD=""
5670 else
5671 case $cross_compiling:$ac_tool_warned in
5672 yes:)
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5674 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5675 ac_tool_warned=yes ;;
5676 esac
5677 LD=$ac_ct_LD
5679 else
5680 LD="$ac_cv_prog_LD"
5684 case $host in
5685 *-darwin*)
5686 with_fontconfig=${with_fontconfig:-no}
5688 *-mingw32*|*-cygwin*)
5689 enable_win16=${enable_win16:-no}
5690 with_mingw=${with_mingw:-no}
5692 esac
5695 case $host in
5696 x86_64*|amd64*)
5697 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5698 then
5699 CC="$CC -m32"
5700 CXX="$CXX -m32"
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5703 $as_echo_n "checking whether $CC works... " >&6; }
5704 if ${wine_cv_cc_m32+:} false; then :
5705 $as_echo_n "(cached) " >&6
5706 else
5707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5708 /* end confdefs.h. */
5711 main ()
5715 return 0;
5717 _ACEOF
5718 if ac_fn_c_try_link "$LINENO"; then :
5719 wine_cv_cc_m32=yes
5720 else
5721 wine_cv_cc_m32=no
5723 rm -f core conftest.err conftest.$ac_objext \
5724 conftest$ac_exeext conftest.$ac_ext
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5727 $as_echo "$wine_cv_cc_m32" >&6; }
5728 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
5729 host_cpu="i386"
5730 notice_platform="32-bit "
5731 TARGETFLAGS="$TARGETFLAGS -m32"
5732 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5733 export PKG_CONFIG_PATH
5734 enable_win16=${enable_win16:-yes}
5735 with_unwind=${with_unwind:-no}
5736 else
5737 if test "x${GCC}" = "xyes"
5738 then
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5740 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5741 if ${wine_cv_builtin_ms_va_list+:} false; then :
5742 $as_echo_n "(cached) " >&6
5743 else
5744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5745 /* end confdefs.h. */
5746 #include <stdarg.h>
5748 main ()
5750 void func(__builtin_ms_va_list *args);
5752 return 0;
5754 _ACEOF
5755 if ac_fn_c_try_compile "$LINENO"; then :
5756 wine_cv_builtin_ms_va_list=yes
5757 else
5758 wine_cv_builtin_ms_va_list=no
5760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5763 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5764 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
5766 CC="$CC -m64"
5767 CXX="$CXX -m64"
5768 host_cpu="x86_64"
5769 notice_platform="64-bit "
5770 TARGETFLAGS="$TARGETFLAGS -m64"
5771 enable_wow64=${enable_wow64:-yes}
5772 enable_wow64win=${enable_wow64win:-yes}
5773 enable_wow64cpu=${enable_wow64cpu:-yes}
5776 arm*)
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
5778 $as_echo_n "checking whether $CC supports Thumb-2... " >&6; }
5779 if ${wine_cv_thumb2+:} false; then :
5780 $as_echo_n "(cached) " >&6
5781 else
5782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5783 /* end confdefs.h. */
5786 main ()
5788 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
5790 return 0;
5792 _ACEOF
5793 if ac_fn_c_try_link "$LINENO"; then :
5794 wine_cv_thumb2=yes
5795 else
5796 wine_cv_thumb2=no
5798 rm -f core conftest.err conftest.$ac_objext \
5799 conftest$ac_exeext conftest.$ac_ext
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
5802 $as_echo "$wine_cv_thumb2" >&6; }
5803 if test x"$wine_cv_thumb2" = xyes
5804 then
5805 CFLAGS="$CFLAGS -mthumb"
5806 TARGETFLAGS="$TARGETFLAGS -mthumb"
5807 else
5808 CFLAGS="$CFLAGS -marm"
5809 TARGETFLAGS="$TARGETFLAGS -marm"
5811 case $with_float_abi in
5812 soft|softfp|hard)
5813 float_abi=$with_float_abi ;;
5815 case $host_os in
5816 *eabihf)
5817 float_abi=hard ;;
5819 float_abi=softfp
5820 saved_CFLAGS=$CFLAGS
5821 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5823 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5824 if ${wine_cv_float_abi+:} false; then :
5825 $as_echo_n "(cached) " >&6
5826 else
5827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5828 /* end confdefs.h. */
5831 main ()
5833 asm("vmrs r2,fpscr");
5835 return 0;
5837 _ACEOF
5838 if ac_fn_c_try_link "$LINENO"; then :
5839 wine_cv_float_abi=yes
5840 else
5841 wine_cv_float_abi=no
5843 rm -f core conftest.err conftest.$ac_objext \
5844 conftest$ac_exeext conftest.$ac_ext
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5847 $as_echo "$wine_cv_float_abi" >&6; }
5848 if test $wine_cv_float_abi = no
5849 then
5850 float_abi=soft
5851 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5853 CFLAGS=$saved_CFLAGS
5854 esac
5856 esac
5857 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5858 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
5860 aarch64*)
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5862 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5863 if ${wine_cv_builtin_ms_va_list+:} false; then :
5864 $as_echo_n "(cached) " >&6
5865 else
5866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5867 /* end confdefs.h. */
5868 #include <stdarg.h>
5870 main ()
5872 void func(__builtin_ms_va_list *args);
5874 return 0;
5876 _ACEOF
5877 if ac_fn_c_try_compile "$LINENO"; then :
5878 wine_cv_builtin_ms_va_list=yes
5879 else
5880 wine_cv_builtin_ms_va_list=no
5882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5885 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5886 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5887 enable_wow64=${enable_wow64:-yes}
5888 enable_wow64win=${enable_wow64win:-yes}
5890 i[3456789]86*)
5891 enable_win16=${enable_win16:-yes}
5892 with_unwind=${with_unwind:-no}
5894 esac
5896 enable_win16=${enable_win16:-no}
5897 enable_win64=${enable_win64:-no}
5898 enable_wow64=${enable_wow64:-no}
5899 enable_wow64win=${enable_wow64win:-no}
5900 enable_wow64cpu=${enable_wow64cpu:-no}
5902 enable_winetest=${enable_winetest:-$enable_tests}
5904 if test "x$enable_win64" = "xyes"
5905 then
5906 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5907 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5911 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5912 if ${wine_cv_toolsdir+:} false; then :
5913 $as_echo_n "(cached) " >&6
5914 else
5915 wine_cv_toolsdir="$with_wine_tools"
5916 if test -z "$with_wine_tools"; then
5917 if test "$cross_compiling" = "yes"; then
5918 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5919 elif test -n "$with_wine64"; then
5920 wine_cv_toolsdir="$with_wine64"
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5925 $as_echo "$wine_cv_toolsdir" >&6; }
5926 if test -z "$wine_cv_toolsdir"; then
5927 wine_makedep=tools/makedep
5928 TOOLSDIR="."
5930 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5931 wine_makedep=$wine_cv_toolsdir/tools/makedep
5932 TOOLSDIR=$wine_cv_toolsdir
5934 enable_tools=${enable_tools:-no}
5935 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5936 else
5937 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5939 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5940 then
5941 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5944 for ac_prog in flex
5946 # Extract the first word of "$ac_prog", so it can be a program name with args.
5947 set dummy $ac_prog; ac_word=$2
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5949 $as_echo_n "checking for $ac_word... " >&6; }
5950 if ${ac_cv_prog_FLEX+:} false; then :
5951 $as_echo_n "(cached) " >&6
5952 else
5953 if test -n "$FLEX"; then
5954 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5955 else
5956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5957 for as_dir in $PATH
5959 IFS=$as_save_IFS
5960 test -z "$as_dir" && as_dir=.
5961 for ac_exec_ext in '' $ac_executable_extensions; do
5962 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5963 ac_cv_prog_FLEX="$ac_prog"
5964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5965 break 2
5967 done
5968 done
5969 IFS=$as_save_IFS
5973 FLEX=$ac_cv_prog_FLEX
5974 if test -n "$FLEX"; then
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5976 $as_echo "$FLEX" >&6; }
5977 else
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5979 $as_echo "no" >&6; }
5983 test -n "$FLEX" && break
5984 done
5985 test -n "$FLEX" || FLEX="none"
5987 if test "$FLEX" = "none"
5988 then
5989 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5992 $as_echo_n "checking whether flex is recent enough... " >&6; }
5993 if ${wine_cv_recent_flex+:} false; then :
5994 $as_echo_n "(cached) " >&6
5995 else
5996 cat >conftest.l <<EOF
5997 %top{
5998 #include "prediluvian.h"
6002 if $FLEX -t conftest.l >/dev/null 2>&5
6003 then
6004 wine_cv_recent_flex=yes
6005 else
6006 wine_cv_recent_flex=no
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6010 $as_echo "$wine_cv_recent_flex" >&6; }
6011 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
6013 for ac_prog in bison
6015 # Extract the first word of "$ac_prog", so it can be a program name with args.
6016 set dummy $ac_prog; ac_word=$2
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6018 $as_echo_n "checking for $ac_word... " >&6; }
6019 if ${ac_cv_prog_BISON+:} false; then :
6020 $as_echo_n "(cached) " >&6
6021 else
6022 if test -n "$BISON"; then
6023 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6024 else
6025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6026 for as_dir in $PATH
6028 IFS=$as_save_IFS
6029 test -z "$as_dir" && as_dir=.
6030 for ac_exec_ext in '' $ac_executable_extensions; do
6031 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6032 ac_cv_prog_BISON="$ac_prog"
6033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6034 break 2
6036 done
6037 done
6038 IFS=$as_save_IFS
6042 BISON=$ac_cv_prog_BISON
6043 if test -n "$BISON"; then
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6045 $as_echo "$BISON" >&6; }
6046 else
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6048 $as_echo "no" >&6; }
6052 test -n "$BISON" && break
6053 done
6054 test -n "$BISON" || BISON="none"
6056 if test "$BISON" = "none"
6057 then
6058 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6061 $as_echo_n "checking whether bison is recent enough... " >&6; }
6062 if ${wine_cv_recent_bison+:} false; then :
6063 $as_echo_n "(cached) " >&6
6064 else
6065 cat >conftest.y <<EOF
6066 %define parse.error verbose
6068 empty: ;
6070 if $BISON conftest.y >/dev/null 2>&5
6071 then
6072 wine_cv_recent_bison=yes
6073 else
6074 wine_cv_recent_bison=no
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6078 $as_echo "$wine_cv_recent_bison" >&6; }
6079 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
6081 if test -n "$ac_tool_prefix"; then
6082 for ac_prog in ar gar
6084 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6085 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6087 $as_echo_n "checking for $ac_word... " >&6; }
6088 if ${ac_cv_prog_AR+:} false; then :
6089 $as_echo_n "(cached) " >&6
6090 else
6091 if test -n "$AR"; then
6092 ac_cv_prog_AR="$AR" # Let the user override the test.
6093 else
6094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6095 for as_dir in $PATH
6097 IFS=$as_save_IFS
6098 test -z "$as_dir" && as_dir=.
6099 for ac_exec_ext in '' $ac_executable_extensions; do
6100 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6101 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6103 break 2
6105 done
6106 done
6107 IFS=$as_save_IFS
6111 AR=$ac_cv_prog_AR
6112 if test -n "$AR"; then
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6114 $as_echo "$AR" >&6; }
6115 else
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6117 $as_echo "no" >&6; }
6121 test -n "$AR" && break
6122 done
6124 if test -z "$AR"; then
6125 ac_ct_AR=$AR
6126 for ac_prog in ar gar
6128 # Extract the first word of "$ac_prog", so it can be a program name with args.
6129 set dummy $ac_prog; ac_word=$2
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6131 $as_echo_n "checking for $ac_word... " >&6; }
6132 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6133 $as_echo_n "(cached) " >&6
6134 else
6135 if test -n "$ac_ct_AR"; then
6136 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6137 else
6138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6139 for as_dir in $PATH
6141 IFS=$as_save_IFS
6142 test -z "$as_dir" && as_dir=.
6143 for ac_exec_ext in '' $ac_executable_extensions; do
6144 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6145 ac_cv_prog_ac_ct_AR="$ac_prog"
6146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6147 break 2
6149 done
6150 done
6151 IFS=$as_save_IFS
6155 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6156 if test -n "$ac_ct_AR"; then
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6158 $as_echo "$ac_ct_AR" >&6; }
6159 else
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6161 $as_echo "no" >&6; }
6165 test -n "$ac_ct_AR" && break
6166 done
6168 if test "x$ac_ct_AR" = x; then
6169 AR="ar"
6170 else
6171 case $cross_compiling:$ac_tool_warned in
6172 yes:)
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6174 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6175 ac_tool_warned=yes ;;
6176 esac
6177 AR=$ac_ct_AR
6181 if test -n "$ac_tool_prefix"; then
6182 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6183 set dummy ${ac_tool_prefix}strip; ac_word=$2
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6185 $as_echo_n "checking for $ac_word... " >&6; }
6186 if ${ac_cv_prog_STRIP+:} false; then :
6187 $as_echo_n "(cached) " >&6
6188 else
6189 if test -n "$STRIP"; then
6190 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6191 else
6192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6193 for as_dir in $PATH
6195 IFS=$as_save_IFS
6196 test -z "$as_dir" && as_dir=.
6197 for ac_exec_ext in '' $ac_executable_extensions; do
6198 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6199 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6201 break 2
6203 done
6204 done
6205 IFS=$as_save_IFS
6209 STRIP=$ac_cv_prog_STRIP
6210 if test -n "$STRIP"; then
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6212 $as_echo "$STRIP" >&6; }
6213 else
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6215 $as_echo "no" >&6; }
6220 if test -z "$ac_cv_prog_STRIP"; then
6221 ac_ct_STRIP=$STRIP
6222 # Extract the first word of "strip", so it can be a program name with args.
6223 set dummy strip; ac_word=$2
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6225 $as_echo_n "checking for $ac_word... " >&6; }
6226 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6227 $as_echo_n "(cached) " >&6
6228 else
6229 if test -n "$ac_ct_STRIP"; then
6230 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6231 else
6232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6233 for as_dir in $PATH
6235 IFS=$as_save_IFS
6236 test -z "$as_dir" && as_dir=.
6237 for ac_exec_ext in '' $ac_executable_extensions; do
6238 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6239 ac_cv_prog_ac_ct_STRIP="strip"
6240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6241 break 2
6243 done
6244 done
6245 IFS=$as_save_IFS
6249 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6250 if test -n "$ac_ct_STRIP"; then
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6252 $as_echo "$ac_ct_STRIP" >&6; }
6253 else
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6255 $as_echo "no" >&6; }
6258 if test "x$ac_ct_STRIP" = x; then
6259 STRIP="strip"
6260 else
6261 case $cross_compiling:$ac_tool_warned in
6262 yes:)
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6264 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6265 ac_tool_warned=yes ;;
6266 esac
6267 STRIP=$ac_ct_STRIP
6269 else
6270 STRIP="$ac_cv_prog_STRIP"
6273 if test -n "$ac_tool_prefix"; then
6274 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6275 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6277 $as_echo_n "checking for $ac_word... " >&6; }
6278 if ${ac_cv_prog_RANLIB+:} false; then :
6279 $as_echo_n "(cached) " >&6
6280 else
6281 if test -n "$RANLIB"; then
6282 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6283 else
6284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6285 for as_dir in $PATH
6287 IFS=$as_save_IFS
6288 test -z "$as_dir" && as_dir=.
6289 for ac_exec_ext in '' $ac_executable_extensions; do
6290 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6291 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6293 break 2
6295 done
6296 done
6297 IFS=$as_save_IFS
6301 RANLIB=$ac_cv_prog_RANLIB
6302 if test -n "$RANLIB"; then
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6304 $as_echo "$RANLIB" >&6; }
6305 else
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6307 $as_echo "no" >&6; }
6312 if test -z "$ac_cv_prog_RANLIB"; then
6313 ac_ct_RANLIB=$RANLIB
6314 # Extract the first word of "ranlib", so it can be a program name with args.
6315 set dummy ranlib; ac_word=$2
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6317 $as_echo_n "checking for $ac_word... " >&6; }
6318 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6319 $as_echo_n "(cached) " >&6
6320 else
6321 if test -n "$ac_ct_RANLIB"; then
6322 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6323 else
6324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6325 for as_dir in $PATH
6327 IFS=$as_save_IFS
6328 test -z "$as_dir" && as_dir=.
6329 for ac_exec_ext in '' $ac_executable_extensions; do
6330 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6331 ac_cv_prog_ac_ct_RANLIB="ranlib"
6332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6333 break 2
6335 done
6336 done
6337 IFS=$as_save_IFS
6341 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6342 if test -n "$ac_ct_RANLIB"; then
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6344 $as_echo "$ac_ct_RANLIB" >&6; }
6345 else
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6347 $as_echo "no" >&6; }
6350 if test "x$ac_ct_RANLIB" = x; then
6351 RANLIB=":"
6352 else
6353 case $cross_compiling:$ac_tool_warned in
6354 yes:)
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6356 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6357 ac_tool_warned=yes ;;
6358 esac
6359 RANLIB=$ac_ct_RANLIB
6361 else
6362 RANLIB="$ac_cv_prog_RANLIB"
6365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6366 $as_echo_n "checking whether ln -s works... " >&6; }
6367 LN_S=$as_ln_s
6368 if test "$LN_S" = "ln -s"; then
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6370 $as_echo "yes" >&6; }
6371 else
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6373 $as_echo "no, using $LN_S" >&6; }
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6377 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6378 if ${ac_cv_path_GREP+:} false; then :
6379 $as_echo_n "(cached) " >&6
6380 else
6381 if test -z "$GREP"; then
6382 ac_path_GREP_found=false
6383 # Loop through the user's path and test for each of PROGNAME-LIST
6384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6385 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6387 IFS=$as_save_IFS
6388 test -z "$as_dir" && as_dir=.
6389 for ac_prog in grep ggrep; do
6390 for ac_exec_ext in '' $ac_executable_extensions; do
6391 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6392 as_fn_executable_p "$ac_path_GREP" || continue
6393 # Check for GNU ac_path_GREP and select it if it is found.
6394 # Check for GNU $ac_path_GREP
6395 case `"$ac_path_GREP" --version 2>&1` in
6396 *GNU*)
6397 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6399 ac_count=0
6400 $as_echo_n 0123456789 >"conftest.in"
6401 while :
6403 cat "conftest.in" "conftest.in" >"conftest.tmp"
6404 mv "conftest.tmp" "conftest.in"
6405 cp "conftest.in" "conftest.nl"
6406 $as_echo 'GREP' >> "conftest.nl"
6407 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6408 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6409 as_fn_arith $ac_count + 1 && ac_count=$as_val
6410 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6411 # Best one so far, save it but keep looking for a better one
6412 ac_cv_path_GREP="$ac_path_GREP"
6413 ac_path_GREP_max=$ac_count
6415 # 10*(2^10) chars as input seems more than enough
6416 test $ac_count -gt 10 && break
6417 done
6418 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6419 esac
6421 $ac_path_GREP_found && break 3
6422 done
6423 done
6424 done
6425 IFS=$as_save_IFS
6426 if test -z "$ac_cv_path_GREP"; then
6427 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6429 else
6430 ac_cv_path_GREP=$GREP
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6435 $as_echo "$ac_cv_path_GREP" >&6; }
6436 GREP="$ac_cv_path_GREP"
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6440 $as_echo_n "checking for egrep... " >&6; }
6441 if ${ac_cv_path_EGREP+:} false; then :
6442 $as_echo_n "(cached) " >&6
6443 else
6444 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6445 then ac_cv_path_EGREP="$GREP -E"
6446 else
6447 if test -z "$EGREP"; then
6448 ac_path_EGREP_found=false
6449 # Loop through the user's path and test for each of PROGNAME-LIST
6450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6451 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6453 IFS=$as_save_IFS
6454 test -z "$as_dir" && as_dir=.
6455 for ac_prog in egrep; do
6456 for ac_exec_ext in '' $ac_executable_extensions; do
6457 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6458 as_fn_executable_p "$ac_path_EGREP" || continue
6459 # Check for GNU ac_path_EGREP and select it if it is found.
6460 # Check for GNU $ac_path_EGREP
6461 case `"$ac_path_EGREP" --version 2>&1` in
6462 *GNU*)
6463 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6465 ac_count=0
6466 $as_echo_n 0123456789 >"conftest.in"
6467 while :
6469 cat "conftest.in" "conftest.in" >"conftest.tmp"
6470 mv "conftest.tmp" "conftest.in"
6471 cp "conftest.in" "conftest.nl"
6472 $as_echo 'EGREP' >> "conftest.nl"
6473 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6474 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6475 as_fn_arith $ac_count + 1 && ac_count=$as_val
6476 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6477 # Best one so far, save it but keep looking for a better one
6478 ac_cv_path_EGREP="$ac_path_EGREP"
6479 ac_path_EGREP_max=$ac_count
6481 # 10*(2^10) chars as input seems more than enough
6482 test $ac_count -gt 10 && break
6483 done
6484 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6485 esac
6487 $ac_path_EGREP_found && break 3
6488 done
6489 done
6490 done
6491 IFS=$as_save_IFS
6492 if test -z "$ac_cv_path_EGREP"; then
6493 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6495 else
6496 ac_cv_path_EGREP=$EGREP
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6502 $as_echo "$ac_cv_path_EGREP" >&6; }
6503 EGREP="$ac_cv_path_EGREP"
6506 # Extract the first word of "ldconfig", so it can be a program name with args.
6507 set dummy ldconfig; ac_word=$2
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6509 $as_echo_n "checking for $ac_word... " >&6; }
6510 if ${ac_cv_path_LDCONFIG+:} false; then :
6511 $as_echo_n "(cached) " >&6
6512 else
6513 case $LDCONFIG in
6514 [\\/]* | ?:[\\/]*)
6515 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6519 for as_dir in /sbin /usr/sbin $PATH
6521 IFS=$as_save_IFS
6522 test -z "$as_dir" && as_dir=.
6523 for ac_exec_ext in '' $ac_executable_extensions; do
6524 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6525 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6527 break 2
6529 done
6530 done
6531 IFS=$as_save_IFS
6533 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6535 esac
6537 LDCONFIG=$ac_cv_path_LDCONFIG
6538 if test -n "$LDCONFIG"; then
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6540 $as_echo "$LDCONFIG" >&6; }
6541 else
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6543 $as_echo "no" >&6; }
6547 for ac_prog in msgfmt
6549 # Extract the first word of "$ac_prog", so it can be a program name with args.
6550 set dummy $ac_prog; ac_word=$2
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6552 $as_echo_n "checking for $ac_word... " >&6; }
6553 if ${ac_cv_prog_MSGFMT+:} false; then :
6554 $as_echo_n "(cached) " >&6
6555 else
6556 if test -n "$MSGFMT"; then
6557 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6558 else
6559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6560 for as_dir in $PATH
6562 IFS=$as_save_IFS
6563 test -z "$as_dir" && as_dir=.
6564 for ac_exec_ext in '' $ac_executable_extensions; do
6565 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6566 ac_cv_prog_MSGFMT="$ac_prog"
6567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6568 break 2
6570 done
6571 done
6572 IFS=$as_save_IFS
6576 MSGFMT=$ac_cv_prog_MSGFMT
6577 if test -n "$MSGFMT"; then
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6579 $as_echo "$MSGFMT" >&6; }
6580 else
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6582 $as_echo "no" >&6; }
6586 test -n "$MSGFMT" && break
6587 done
6588 test -n "$MSGFMT" || MSGFMT="false"
6590 if ${ac_tool_prefix+:} false; then :
6591 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6592 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6594 $as_echo_n "checking for $ac_word... " >&6; }
6595 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6596 $as_echo_n "(cached) " >&6
6597 else
6598 if test -n "$PKG_CONFIG"; then
6599 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6600 else
6601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6602 for as_dir in $PATH
6604 IFS=$as_save_IFS
6605 test -z "$as_dir" && as_dir=.
6606 for ac_exec_ext in '' $ac_executable_extensions; do
6607 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6608 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6610 break 2
6612 done
6613 done
6614 IFS=$as_save_IFS
6618 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6619 if test -n "$PKG_CONFIG"; then
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6621 $as_echo "$PKG_CONFIG" >&6; }
6622 else
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6624 $as_echo "no" >&6; }
6629 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6630 if test "x$cross_compiling" = xyes; then :
6632 else
6633 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6634 # Extract the first word of "pkg-config", so it can be a program name with args.
6635 set dummy pkg-config; ac_word=$2
6636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6637 $as_echo_n "checking for $ac_word... " >&6; }
6638 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6639 $as_echo_n "(cached) " >&6
6640 else
6641 if test -n "$PKG_CONFIG"; then
6642 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6643 else
6644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6645 for as_dir in $PATH
6647 IFS=$as_save_IFS
6648 test -z "$as_dir" && as_dir=.
6649 for ac_exec_ext in '' $ac_executable_extensions; do
6650 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6651 ac_cv_prog_PKG_CONFIG="pkg-config"
6652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6653 break 2
6655 done
6656 done
6657 IFS=$as_save_IFS
6661 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6662 if test -n "$PKG_CONFIG"; then
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6664 $as_echo "$PKG_CONFIG" >&6; }
6665 else
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6667 $as_echo "no" >&6; }
6672 else
6673 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6676 if test "x$enable_maintainer_mode" != "xyes"
6677 then
6678 FONTFORGE=""
6679 RSVG=""
6680 CONVERT=""
6681 ICOTOOL=""
6682 else
6683 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6684 for ac_prog in fontforge
6686 # Extract the first word of "$ac_prog", so it can be a program name with args.
6687 set dummy $ac_prog; ac_word=$2
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6689 $as_echo_n "checking for $ac_word... " >&6; }
6690 if ${ac_cv_prog_FONTFORGE+:} false; then :
6691 $as_echo_n "(cached) " >&6
6692 else
6693 if test -n "$FONTFORGE"; then
6694 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6695 else
6696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6697 for as_dir in $PATH
6699 IFS=$as_save_IFS
6700 test -z "$as_dir" && as_dir=.
6701 for ac_exec_ext in '' $ac_executable_extensions; do
6702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6703 ac_cv_prog_FONTFORGE="$ac_prog"
6704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6705 break 2
6707 done
6708 done
6709 IFS=$as_save_IFS
6713 FONTFORGE=$ac_cv_prog_FONTFORGE
6714 if test -n "$FONTFORGE"; then
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6716 $as_echo "$FONTFORGE" >&6; }
6717 else
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6719 $as_echo "no" >&6; }
6723 test -n "$FONTFORGE" && break
6724 done
6725 test -n "$FONTFORGE" || FONTFORGE="false"
6727 for ac_prog in rsvg-convert rsvg
6729 # Extract the first word of "$ac_prog", so it can be a program name with args.
6730 set dummy $ac_prog; ac_word=$2
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6732 $as_echo_n "checking for $ac_word... " >&6; }
6733 if ${ac_cv_prog_RSVG+:} false; then :
6734 $as_echo_n "(cached) " >&6
6735 else
6736 if test -n "$RSVG"; then
6737 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6738 else
6739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6740 for as_dir in $PATH
6742 IFS=$as_save_IFS
6743 test -z "$as_dir" && as_dir=.
6744 for ac_exec_ext in '' $ac_executable_extensions; do
6745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6746 ac_cv_prog_RSVG="$ac_prog"
6747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6748 break 2
6750 done
6751 done
6752 IFS=$as_save_IFS
6756 RSVG=$ac_cv_prog_RSVG
6757 if test -n "$RSVG"; then
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6759 $as_echo "$RSVG" >&6; }
6760 else
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6762 $as_echo "no" >&6; }
6766 test -n "$RSVG" && break
6767 done
6768 test -n "$RSVG" || RSVG="false"
6770 for ac_prog in convert
6772 # Extract the first word of "$ac_prog", so it can be a program name with args.
6773 set dummy $ac_prog; ac_word=$2
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6775 $as_echo_n "checking for $ac_word... " >&6; }
6776 if ${ac_cv_prog_CONVERT+:} false; then :
6777 $as_echo_n "(cached) " >&6
6778 else
6779 if test -n "$CONVERT"; then
6780 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6781 else
6782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6783 for as_dir in $PATH
6785 IFS=$as_save_IFS
6786 test -z "$as_dir" && as_dir=.
6787 for ac_exec_ext in '' $ac_executable_extensions; do
6788 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6789 ac_cv_prog_CONVERT="$ac_prog"
6790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6791 break 2
6793 done
6794 done
6795 IFS=$as_save_IFS
6799 CONVERT=$ac_cv_prog_CONVERT
6800 if test -n "$CONVERT"; then
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6802 $as_echo "$CONVERT" >&6; }
6803 else
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6805 $as_echo "no" >&6; }
6809 test -n "$CONVERT" && break
6810 done
6811 test -n "$CONVERT" || CONVERT="false"
6813 for ac_prog in icotool
6815 # Extract the first word of "$ac_prog", so it can be a program name with args.
6816 set dummy $ac_prog; ac_word=$2
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6818 $as_echo_n "checking for $ac_word... " >&6; }
6819 if ${ac_cv_prog_ICOTOOL+:} false; then :
6820 $as_echo_n "(cached) " >&6
6821 else
6822 if test -n "$ICOTOOL"; then
6823 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6824 else
6825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6826 for as_dir in $PATH
6828 IFS=$as_save_IFS
6829 test -z "$as_dir" && as_dir=.
6830 for ac_exec_ext in '' $ac_executable_extensions; do
6831 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6832 ac_cv_prog_ICOTOOL="$ac_prog"
6833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6834 break 2
6836 done
6837 done
6838 IFS=$as_save_IFS
6842 ICOTOOL=$ac_cv_prog_ICOTOOL
6843 if test -n "$ICOTOOL"; then
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6845 $as_echo "$ICOTOOL" >&6; }
6846 else
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6848 $as_echo "no" >&6; }
6852 test -n "$ICOTOOL" && break
6853 done
6854 test -n "$ICOTOOL" || ICOTOOL="false"
6856 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6857 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6859 if test "$CONVERT" = false
6860 then
6861 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6862 else
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6864 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6865 convert_version=`convert --version | head -n1`
6866 if test "x$convert_version" != "x"
6867 then
6868 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6869 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6870 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6871 then
6872 CONVERT=false
6875 if test "$CONVERT" = false
6876 then
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6878 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6879 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6880 else
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6882 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6886 if test "$ICOTOOL" = false
6887 then
6888 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6889 else
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6891 $as_echo_n "checking for recent enough icotool... " >&6; }
6892 icotool_version=`icotool --version | head -n1`
6893 if test "x$icotool_version" != "x"
6894 then
6895 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6896 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6897 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6898 then
6899 ICOTOOL=false
6900 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6903 if test "$ICOTOOL" = false
6904 then
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6906 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6907 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6908 else
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6910 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6914 with_gettext=yes
6915 with_gettextpo=yes
6917 enable_werror=yes
6920 test "x$with_gettext" != xno || MSGFMT=false
6921 if test "$MSGFMT" != "false"
6922 then
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6924 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6925 if ${wine_cv_msgfmt_contexts+:} false; then :
6926 $as_echo_n "(cached) " >&6
6927 else
6928 cat >conftest.po <<EOF
6929 # comment
6930 msgctxt "ctxt"
6931 msgid "id"
6932 msgstr "str"
6934 if $MSGFMT -o /dev/null conftest.po 2>&5
6935 then
6936 wine_cv_msgfmt_contexts=yes
6937 else
6938 wine_cv_msgfmt_contexts=no
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6942 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6943 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6945 if test "$MSGFMT" = false; then :
6946 case "x$with_gettext" in
6947 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6948 xno) ;;
6949 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6950 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6951 esac
6952 enable_po=${enable_po:-no}
6956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6957 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6958 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6959 $as_echo_n "(cached) " >&6
6960 else
6961 ac_check_lib_save_LIBS=$LIBS
6962 LIBS="-li386 $LIBS"
6963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6964 /* end confdefs.h. */
6966 /* Override any GCC internal prototype to avoid an error.
6967 Use char because int might match the return type of a GCC
6968 builtin and then its argument prototype would still apply. */
6969 #ifdef __cplusplus
6970 extern "C"
6971 #endif
6972 char i386_set_ldt ();
6974 main ()
6976 return i386_set_ldt ();
6978 return 0;
6980 _ACEOF
6981 if ac_fn_c_try_link "$LINENO"; then :
6982 ac_cv_lib_i386_i386_set_ldt=yes
6983 else
6984 ac_cv_lib_i386_i386_set_ldt=no
6986 rm -f core conftest.err conftest.$ac_objext \
6987 conftest$ac_exeext conftest.$ac_ext
6988 LIBS=$ac_check_lib_save_LIBS
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6991 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6992 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6993 I386_LIBS="-li386"
6998 OPENGL_LIBS=""
7002 # Check whether --enable-largefile was given.
7003 if test "${enable_largefile+set}" = set; then :
7004 enableval=$enable_largefile;
7007 if test "$enable_largefile" != no; then
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7010 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
7011 if ${ac_cv_sys_largefile_CC+:} false; then :
7012 $as_echo_n "(cached) " >&6
7013 else
7014 ac_cv_sys_largefile_CC=no
7015 if test "$GCC" != yes; then
7016 ac_save_CC=$CC
7017 while :; do
7018 # IRIX 6.2 and later do not support large files by default,
7019 # so use the C compiler's -n32 option if that helps.
7020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7021 /* end confdefs.h. */
7022 #include <sys/types.h>
7023 /* Check that off_t can represent 2**63 - 1 correctly.
7024 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7025 since some C++ compilers masquerading as C compilers
7026 incorrectly reject 9223372036854775807. */
7027 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7028 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7029 && LARGE_OFF_T % 2147483647 == 1)
7030 ? 1 : -1];
7032 main ()
7036 return 0;
7038 _ACEOF
7039 if ac_fn_c_try_compile "$LINENO"; then :
7040 break
7042 rm -f core conftest.err conftest.$ac_objext
7043 CC="$CC -n32"
7044 if ac_fn_c_try_compile "$LINENO"; then :
7045 ac_cv_sys_largefile_CC=' -n32'; break
7047 rm -f core conftest.err conftest.$ac_objext
7048 break
7049 done
7050 CC=$ac_save_CC
7051 rm -f conftest.$ac_ext
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7055 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
7056 if test "$ac_cv_sys_largefile_CC" != no; then
7057 CC=$CC$ac_cv_sys_largefile_CC
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7061 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7062 if ${ac_cv_sys_file_offset_bits+:} false; then :
7063 $as_echo_n "(cached) " >&6
7064 else
7065 while :; do
7066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7067 /* end confdefs.h. */
7068 #include <sys/types.h>
7069 /* Check that off_t can represent 2**63 - 1 correctly.
7070 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7071 since some C++ compilers masquerading as C compilers
7072 incorrectly reject 9223372036854775807. */
7073 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7074 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7075 && LARGE_OFF_T % 2147483647 == 1)
7076 ? 1 : -1];
7078 main ()
7082 return 0;
7084 _ACEOF
7085 if ac_fn_c_try_compile "$LINENO"; then :
7086 ac_cv_sys_file_offset_bits=no; break
7088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7090 /* end confdefs.h. */
7091 #define _FILE_OFFSET_BITS 64
7092 #include <sys/types.h>
7093 /* Check that off_t can represent 2**63 - 1 correctly.
7094 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7095 since some C++ compilers masquerading as C compilers
7096 incorrectly reject 9223372036854775807. */
7097 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7098 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7099 && LARGE_OFF_T % 2147483647 == 1)
7100 ? 1 : -1];
7102 main ()
7106 return 0;
7108 _ACEOF
7109 if ac_fn_c_try_compile "$LINENO"; then :
7110 ac_cv_sys_file_offset_bits=64; break
7112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7113 ac_cv_sys_file_offset_bits=unknown
7114 break
7115 done
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7118 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7119 case $ac_cv_sys_file_offset_bits in #(
7120 no | unknown) ;;
7122 cat >>confdefs.h <<_ACEOF
7123 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7124 _ACEOF
7126 esac
7127 rm -rf conftest*
7128 if test $ac_cv_sys_file_offset_bits = unknown; then
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7130 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7131 if ${ac_cv_sys_large_files+:} false; then :
7132 $as_echo_n "(cached) " >&6
7133 else
7134 while :; do
7135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7136 /* end confdefs.h. */
7137 #include <sys/types.h>
7138 /* Check that off_t can represent 2**63 - 1 correctly.
7139 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7140 since some C++ compilers masquerading as C compilers
7141 incorrectly reject 9223372036854775807. */
7142 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7143 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7144 && LARGE_OFF_T % 2147483647 == 1)
7145 ? 1 : -1];
7147 main ()
7151 return 0;
7153 _ACEOF
7154 if ac_fn_c_try_compile "$LINENO"; then :
7155 ac_cv_sys_large_files=no; break
7157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7159 /* end confdefs.h. */
7160 #define _LARGE_FILES 1
7161 #include <sys/types.h>
7162 /* Check that off_t can represent 2**63 - 1 correctly.
7163 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7164 since some C++ compilers masquerading as C compilers
7165 incorrectly reject 9223372036854775807. */
7166 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7167 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7168 && LARGE_OFF_T % 2147483647 == 1)
7169 ? 1 : -1];
7171 main ()
7175 return 0;
7177 _ACEOF
7178 if ac_fn_c_try_compile "$LINENO"; then :
7179 ac_cv_sys_large_files=1; break
7181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7182 ac_cv_sys_large_files=unknown
7183 break
7184 done
7186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7187 $as_echo "$ac_cv_sys_large_files" >&6; }
7188 case $ac_cv_sys_large_files in #(
7189 no | unknown) ;;
7191 cat >>confdefs.h <<_ACEOF
7192 #define _LARGE_FILES $ac_cv_sys_large_files
7193 _ACEOF
7195 esac
7196 rm -rf conftest*
7203 ac_ext=c
7204 ac_cpp='$CPP $CPPFLAGS'
7205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7209 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7210 # On Suns, sometimes $CPP names a directory.
7211 if test -n "$CPP" && test -d "$CPP"; then
7212 CPP=
7214 if test -z "$CPP"; then
7215 if ${ac_cv_prog_CPP+:} false; then :
7216 $as_echo_n "(cached) " >&6
7217 else
7218 # Double quotes because CPP needs to be expanded
7219 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7221 ac_preproc_ok=false
7222 for ac_c_preproc_warn_flag in '' yes
7224 # Use a header file that comes with gcc, so configuring glibc
7225 # with a fresh cross-compiler works.
7226 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7227 # <limits.h> exists even on freestanding compilers.
7228 # On the NeXT, cc -E runs the code through the compiler's parser,
7229 # not just through cpp. "Syntax error" is here to catch this case.
7230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7231 /* end confdefs.h. */
7232 #ifdef __STDC__
7233 # include <limits.h>
7234 #else
7235 # include <assert.h>
7236 #endif
7237 Syntax error
7238 _ACEOF
7239 if ac_fn_c_try_cpp "$LINENO"; then :
7241 else
7242 # Broken: fails on valid input.
7243 continue
7245 rm -f conftest.err conftest.i conftest.$ac_ext
7247 # OK, works on sane cases. Now check whether nonexistent headers
7248 # can be detected and how.
7249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7250 /* end confdefs.h. */
7251 #include <ac_nonexistent.h>
7252 _ACEOF
7253 if ac_fn_c_try_cpp "$LINENO"; then :
7254 # Broken: success on invalid input.
7255 continue
7256 else
7257 # Passes both tests.
7258 ac_preproc_ok=:
7259 break
7261 rm -f conftest.err conftest.i conftest.$ac_ext
7263 done
7264 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7265 rm -f conftest.i conftest.err conftest.$ac_ext
7266 if $ac_preproc_ok; then :
7267 break
7270 done
7271 ac_cv_prog_CPP=$CPP
7274 CPP=$ac_cv_prog_CPP
7275 else
7276 ac_cv_prog_CPP=$CPP
7278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7279 $as_echo "$CPP" >&6; }
7280 ac_preproc_ok=false
7281 for ac_c_preproc_warn_flag in '' yes
7283 # Use a header file that comes with gcc, so configuring glibc
7284 # with a fresh cross-compiler works.
7285 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7286 # <limits.h> exists even on freestanding compilers.
7287 # On the NeXT, cc -E runs the code through the compiler's parser,
7288 # not just through cpp. "Syntax error" is here to catch this case.
7289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7290 /* end confdefs.h. */
7291 #ifdef __STDC__
7292 # include <limits.h>
7293 #else
7294 # include <assert.h>
7295 #endif
7296 Syntax error
7297 _ACEOF
7298 if ac_fn_c_try_cpp "$LINENO"; then :
7300 else
7301 # Broken: fails on valid input.
7302 continue
7304 rm -f conftest.err conftest.i conftest.$ac_ext
7306 # OK, works on sane cases. Now check whether nonexistent headers
7307 # can be detected and how.
7308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7309 /* end confdefs.h. */
7310 #include <ac_nonexistent.h>
7311 _ACEOF
7312 if ac_fn_c_try_cpp "$LINENO"; then :
7313 # Broken: success on invalid input.
7314 continue
7315 else
7316 # Passes both tests.
7317 ac_preproc_ok=:
7318 break
7320 rm -f conftest.err conftest.i conftest.$ac_ext
7322 done
7323 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7324 rm -f conftest.i conftest.err conftest.$ac_ext
7325 if $ac_preproc_ok; then :
7327 else
7328 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7329 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7330 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7331 See \`config.log' for more details" "$LINENO" 5; }
7334 ac_ext=c
7335 ac_cpp='$CPP $CPPFLAGS'
7336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7342 $as_echo_n "checking for ANSI C header files... " >&6; }
7343 if ${ac_cv_header_stdc+:} false; then :
7344 $as_echo_n "(cached) " >&6
7345 else
7346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7347 /* end confdefs.h. */
7348 #include <stdlib.h>
7349 #include <stdarg.h>
7350 #include <string.h>
7351 #include <float.h>
7354 main ()
7358 return 0;
7360 _ACEOF
7361 if ac_fn_c_try_compile "$LINENO"; then :
7362 ac_cv_header_stdc=yes
7363 else
7364 ac_cv_header_stdc=no
7366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7368 if test $ac_cv_header_stdc = yes; then
7369 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7371 /* end confdefs.h. */
7372 #include <string.h>
7374 _ACEOF
7375 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7376 $EGREP "memchr" >/dev/null 2>&1; then :
7378 else
7379 ac_cv_header_stdc=no
7381 rm -f conftest*
7385 if test $ac_cv_header_stdc = yes; then
7386 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7388 /* end confdefs.h. */
7389 #include <stdlib.h>
7391 _ACEOF
7392 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7393 $EGREP "free" >/dev/null 2>&1; then :
7395 else
7396 ac_cv_header_stdc=no
7398 rm -f conftest*
7402 if test $ac_cv_header_stdc = yes; then
7403 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7404 if test "$cross_compiling" = yes; then :
7406 else
7407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7408 /* end confdefs.h. */
7409 #include <ctype.h>
7410 #include <stdlib.h>
7411 #if ((' ' & 0x0FF) == 0x020)
7412 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7413 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7414 #else
7415 # define ISLOWER(c) \
7416 (('a' <= (c) && (c) <= 'i') \
7417 || ('j' <= (c) && (c) <= 'r') \
7418 || ('s' <= (c) && (c) <= 'z'))
7419 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7420 #endif
7422 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7424 main ()
7426 int i;
7427 for (i = 0; i < 256; i++)
7428 if (XOR (islower (i), ISLOWER (i))
7429 || toupper (i) != TOUPPER (i))
7430 return 2;
7431 return 0;
7433 _ACEOF
7434 if ac_fn_c_try_run "$LINENO"; then :
7436 else
7437 ac_cv_header_stdc=no
7439 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7440 conftest.$ac_objext conftest.beam conftest.$ac_ext
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7446 $as_echo "$ac_cv_header_stdc" >&6; }
7447 if test $ac_cv_header_stdc = yes; then
7449 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7453 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7454 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7455 inttypes.h stdint.h unistd.h
7456 do :
7457 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7458 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7460 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7461 cat >>confdefs.h <<_ACEOF
7462 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7463 _ACEOF
7467 done
7470 for ac_header in \
7471 AL/al.h \
7472 ApplicationServices/ApplicationServices.h \
7473 CL/cl.h \
7474 Carbon/Carbon.h \
7475 CoreAudio/CoreAudio.h \
7476 DiskArbitration/DiskArbitration.h \
7477 EGL/egl.h \
7478 IOKit/IOKitLib.h \
7479 IOKit/hid/IOHIDLib.h \
7480 OpenAL/al.h \
7481 OpenCL/opencl.h \
7482 QuickTime/ImageCompression.h \
7483 Security/Security.h \
7484 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7485 SystemConfiguration/SCNetworkConfiguration.h \
7486 alias.h \
7487 arpa/inet.h \
7488 arpa/nameser.h \
7489 asm/types.h \
7490 asm/user.h \
7491 dirent.h \
7492 elf.h \
7493 float.h \
7494 gettext-po.h \
7495 gsm.h \
7496 gsm/gsm.h \
7497 ieeefp.h \
7498 libproc.h \
7499 link.h \
7500 linux/cdrom.h \
7501 linux/filter.h \
7502 linux/hdreg.h \
7503 linux/hidraw.h \
7504 linux/input.h \
7505 linux/ioctl.h \
7506 linux/joystick.h \
7507 linux/major.h \
7508 linux/param.h \
7509 linux/serial.h \
7510 linux/types.h \
7511 linux/ucdrom.h \
7512 lwp.h \
7513 mach-o/loader.h \
7514 mach/mach.h \
7515 machine/cpu.h \
7516 machine/sysarch.h \
7517 mntent.h \
7518 netdb.h \
7519 netinet/in.h \
7520 netinet/in_systm.h \
7521 netinet/tcp.h \
7522 netinet/tcp_fsm.h \
7523 pcap/pcap.h \
7524 poll.h \
7525 port.h \
7526 pthread.h \
7527 pwd.h \
7528 sasl/sasl.h \
7529 sched.h \
7530 scsi/scsi.h \
7531 scsi/scsi_ioctl.h \
7532 scsi/sg.h \
7533 stdint.h \
7534 sys/attr.h \
7535 sys/auxv.h \
7536 sys/cdio.h \
7537 sys/epoll.h \
7538 sys/event.h \
7539 sys/filio.h \
7540 sys/ioctl.h \
7541 sys/ipc.h \
7542 sys/link.h \
7543 sys/mman.h \
7544 sys/modem.h \
7545 sys/mtio.h \
7546 sys/param.h \
7547 sys/poll.h \
7548 sys/prctl.h \
7549 sys/protosw.h \
7550 sys/ptrace.h \
7551 sys/queue.h \
7552 sys/random.h \
7553 sys/resource.h \
7554 sys/scsiio.h \
7555 sys/shm.h \
7556 sys/signal.h \
7557 sys/socket.h \
7558 sys/socketvar.h \
7559 sys/sockio.h \
7560 sys/statvfs.h \
7561 sys/strtio.h \
7562 sys/syscall.h \
7563 sys/sysinfo.h \
7564 sys/time.h \
7565 sys/timeout.h \
7566 sys/times.h \
7567 sys/uio.h \
7568 sys/user.h \
7569 sys/utsname.h \
7570 sys/vnode.h \
7571 sys/wait.h \
7572 syscall.h \
7573 termios.h \
7574 unistd.h \
7575 utime.h \
7576 valgrind/memcheck.h \
7577 valgrind/valgrind.h
7579 do :
7580 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7581 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7582 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7583 cat >>confdefs.h <<_ACEOF
7584 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7585 _ACEOF
7589 done
7591 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7592 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7594 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7599 if test $ac_cv_header_sys_mkdev_h = no; then
7600 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7601 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7603 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7610 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7611 if ${ac_cv_header_stat_broken+:} false; then :
7612 $as_echo_n "(cached) " >&6
7613 else
7614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7615 /* end confdefs.h. */
7616 #include <sys/types.h>
7617 #include <sys/stat.h>
7619 #if defined S_ISBLK && defined S_IFDIR
7620 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7621 #endif
7623 #if defined S_ISBLK && defined S_IFCHR
7624 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7625 #endif
7627 #if defined S_ISLNK && defined S_IFREG
7628 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7629 #endif
7631 #if defined S_ISSOCK && defined S_IFREG
7632 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7633 #endif
7635 _ACEOF
7636 if ac_fn_c_try_compile "$LINENO"; then :
7637 ac_cv_header_stat_broken=no
7638 else
7639 ac_cv_header_stat_broken=yes
7641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7644 $as_echo "$ac_cv_header_stat_broken" >&6; }
7645 if test $ac_cv_header_stat_broken = yes; then
7647 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7653 for ac_header in sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7654 do :
7655 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7656 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7657 #ifdef HAVE_SYS_PARAM_H
7658 # include <sys/param.h>
7659 #endif
7661 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7662 cat >>confdefs.h <<_ACEOF
7663 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7664 _ACEOF
7668 done
7671 saved_sysctl_h_CFLAGS=$CFLAGS
7672 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7673 for ac_header in sys/sysctl.h
7674 do :
7675 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7676 #ifdef HAVE_SYS_PARAM_H
7677 # include <sys/param.h>
7678 #endif
7680 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7681 cat >>confdefs.h <<_ACEOF
7682 #define HAVE_SYS_SYSCTL_H 1
7683 _ACEOF
7687 done
7689 CFLAGS=$saved_sysctl_h_CFLAGS
7691 for ac_header in \
7692 netinet/ip.h \
7693 net/if.h \
7694 net/if_arp.h \
7695 net/if_dl.h \
7696 net/if_types.h \
7697 net/route.h \
7698 netinet/if_ether.h \
7699 netinet/if_inarp.h \
7700 netinet/in_pcb.h \
7701 netinet/ip_icmp.h \
7702 netinet/ip_var.h \
7703 netinet/udp.h \
7704 netipx/ipx.h \
7705 sys/un.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_SYS_SOCKET_H
7711 # include <sys/socket.h>
7712 #endif
7713 #ifdef HAVE_SYS_SOCKETVAR_H
7714 # include <sys/socketvar.h>
7715 #endif
7716 #ifdef HAVE_NET_ROUTE_H
7717 # include <net/route.h>
7718 #endif
7719 #ifdef HAVE_NETINET_IN_H
7720 # include <netinet/in.h>
7721 #endif
7722 #ifdef HAVE_NETINET_IN_SYSTM_H
7723 # include <netinet/in_systm.h>
7724 #endif
7725 #ifdef HAVE_NET_IF_H
7726 # include <net/if.h>
7727 #endif
7728 #ifdef HAVE_NETINET_IP_H
7729 # include <netinet/ip.h>
7730 #endif
7732 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7733 cat >>confdefs.h <<_ACEOF
7734 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7735 _ACEOF
7739 done
7742 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7743 do :
7744 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7745 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7746 #ifdef HAVE_ALIAS_H
7747 # include <alias.h>
7748 #endif
7749 #ifdef HAVE_SYS_SOCKET_H
7750 # include <sys/socket.h>
7751 #endif
7752 #ifdef HAVE_SYS_SOCKETVAR_H
7753 # include <sys/socketvar.h>
7754 #endif
7755 #ifdef HAVE_SYS_TIMEOUT_H
7756 # include <sys/timeout.h>
7757 #endif
7758 #ifdef HAVE_NETINET_IN_H
7759 # include <netinet/in.h>
7760 #endif
7761 #ifdef HAVE_NETINET_IN_SYSTM_H
7762 # include <netinet/in_systm.h>
7763 #endif
7764 #ifdef HAVE_NETINET_IP_H
7765 # include <netinet/ip.h>
7766 #endif
7767 #ifdef HAVE_NETINET_IP_VAR_H
7768 # include <netinet/ip_var.h>
7769 #endif
7770 #ifdef HAVE_NETINET_IP_ICMP_H
7771 # include <netinet/ip_icmp.h>
7772 #endif
7773 #ifdef HAVE_NETINET_UDP_H
7774 # include <netinet/udp.h>
7775 #endif
7776 #ifdef HAVE_NETINET_TCP_H
7777 # include <netinet/tcp.h>
7778 #endif
7779 #ifdef HAVE_NETINET_TCP_TIMER_H
7780 #include <netinet/tcp_timer.h>
7781 #endif
7783 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7784 cat >>confdefs.h <<_ACEOF
7785 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7786 _ACEOF
7790 done
7793 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7794 do :
7795 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7796 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7797 #ifdef HAVE_ASM_TYPES_H
7798 # include <asm/types.h>
7799 #endif
7800 #ifdef HAVE_SYS_SOCKET_H
7801 # include <sys/socket.h>
7802 #endif
7803 #ifdef HAVE_LINUX_TYPES_H
7804 # include <linux/types.h>
7805 #endif
7807 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7808 cat >>confdefs.h <<_ACEOF
7809 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7810 _ACEOF
7814 done
7817 for ac_header in resolv.h
7818 do :
7819 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7820 #ifdef HAVE_SYS_SOCKET_H
7821 # include <sys/socket.h>
7822 #endif
7823 #ifdef HAVE_NETINET_IN_H
7824 # include <netinet/in.h>
7825 #endif
7826 #ifdef HAVE_ARPA_NAMESER_H
7827 # include <arpa/nameser.h>
7828 #endif
7830 if test "x$ac_cv_header_resolv_h" = xyes; then :
7831 cat >>confdefs.h <<_ACEOF
7832 #define HAVE_RESOLV_H 1
7833 _ACEOF
7837 done
7840 for ac_header in ifaddrs.h
7841 do :
7842 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7844 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7845 cat >>confdefs.h <<_ACEOF
7846 #define HAVE_IFADDRS_H 1
7847 _ACEOF
7851 done
7854 for ac_header in sys/ucontext.h
7855 do :
7856 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7858 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7859 cat >>confdefs.h <<_ACEOF
7860 #define HAVE_SYS_UCONTEXT_H 1
7861 _ACEOF
7865 done
7868 for ac_header in sys/thr.h
7869 do :
7870 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7871 #ifdef HAVE_SYS_UCONTEXT_H
7872 #include <sys/ucontext.h>
7873 #endif
7875 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7876 cat >>confdefs.h <<_ACEOF
7877 #define HAVE_SYS_THR_H 1
7878 _ACEOF
7882 done
7885 for ac_header in pthread_np.h
7886 do :
7887 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7888 #include <pthread.h>
7889 #endif
7891 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7892 cat >>confdefs.h <<_ACEOF
7893 #define HAVE_PTHREAD_NP_H 1
7894 _ACEOF
7898 done
7901 for ac_header in linux/videodev2.h
7902 do :
7903 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7904 #include <sys/time.h>
7905 #endif
7906 #include <sys/types.h>
7907 #ifdef HAVE_ASM_TYPES_H
7908 #include <asm/types.h>
7909 #endif
7911 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7912 cat >>confdefs.h <<_ACEOF
7913 #define HAVE_LINUX_VIDEODEV2_H 1
7914 _ACEOF
7918 done
7921 for ac_header in libprocstat.h
7922 do :
7923 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7924 #include <sys/param.h>
7925 #endif
7926 #ifdef HAVE_SYS_QUEUE_H
7927 #include <sys/queue.h>
7928 #endif
7929 #ifdef HAVE_SYS_SOCKET_H
7930 #include <sys/socket.h>
7931 #endif
7933 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7934 cat >>confdefs.h <<_ACEOF
7935 #define HAVE_LIBPROCSTAT_H 1
7936 _ACEOF
7940 done
7944 DLLFLAGS=""
7946 LDDLLFLAGS=""
7948 LDEXECFLAGS=""
7950 EXTRACFLAGS=""
7952 UNIXDLLFLAGS="-fPIC"
7954 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
7956 TOP_INSTALL_LIB=""
7958 TOP_INSTALL_DEV=""
7960 WINELOADER_LDFLAGS=""
7962 WINEPRELOADER_LDFLAGS=""
7964 LIBEXT="so"
7965 # Extract the first word of "ldd", so it can be a program name with args.
7966 set dummy ldd; ac_word=$2
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7968 $as_echo_n "checking for $ac_word... " >&6; }
7969 if ${ac_cv_path_LDD+:} false; then :
7970 $as_echo_n "(cached) " >&6
7971 else
7972 case $LDD in
7973 [\\/]* | ?:[\\/]*)
7974 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7978 as_dummy="/sbin:/usr/sbin:$PATH"
7979 for as_dir in $as_dummy
7981 IFS=$as_save_IFS
7982 test -z "$as_dir" && as_dir=.
7983 for ac_exec_ext in '' $ac_executable_extensions; do
7984 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7985 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7987 break 2
7989 done
7990 done
7991 IFS=$as_save_IFS
7993 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7995 esac
7997 LDD=$ac_cv_path_LDD
7998 if test -n "$LDD"; then
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
8000 $as_echo "$LDD" >&6; }
8001 else
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8003 $as_echo "no" >&6; }
8007 if test -n "$ac_tool_prefix"; then
8008 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8009 set dummy ${ac_tool_prefix}otool; ac_word=$2
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8011 $as_echo_n "checking for $ac_word... " >&6; }
8012 if ${ac_cv_prog_OTOOL+:} false; then :
8013 $as_echo_n "(cached) " >&6
8014 else
8015 if test -n "$OTOOL"; then
8016 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8017 else
8018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8019 for as_dir in $PATH
8021 IFS=$as_save_IFS
8022 test -z "$as_dir" && as_dir=.
8023 for ac_exec_ext in '' $ac_executable_extensions; do
8024 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8025 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8027 break 2
8029 done
8030 done
8031 IFS=$as_save_IFS
8035 OTOOL=$ac_cv_prog_OTOOL
8036 if test -n "$OTOOL"; then
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8038 $as_echo "$OTOOL" >&6; }
8039 else
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8041 $as_echo "no" >&6; }
8046 if test -z "$ac_cv_prog_OTOOL"; then
8047 ac_ct_OTOOL=$OTOOL
8048 # Extract the first word of "otool", so it can be a program name with args.
8049 set dummy otool; ac_word=$2
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8051 $as_echo_n "checking for $ac_word... " >&6; }
8052 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8053 $as_echo_n "(cached) " >&6
8054 else
8055 if test -n "$ac_ct_OTOOL"; then
8056 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8057 else
8058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8059 for as_dir in $PATH
8061 IFS=$as_save_IFS
8062 test -z "$as_dir" && as_dir=.
8063 for ac_exec_ext in '' $ac_executable_extensions; do
8064 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8065 ac_cv_prog_ac_ct_OTOOL="otool"
8066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8067 break 2
8069 done
8070 done
8071 IFS=$as_save_IFS
8075 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8076 if test -n "$ac_ct_OTOOL"; then
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8078 $as_echo "$ac_ct_OTOOL" >&6; }
8079 else
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8081 $as_echo "no" >&6; }
8084 if test "x$ac_ct_OTOOL" = x; then
8085 OTOOL="otool"
8086 else
8087 case $cross_compiling:$ac_tool_warned in
8088 yes:)
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8090 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8091 ac_tool_warned=yes ;;
8092 esac
8093 OTOOL=$ac_ct_OTOOL
8095 else
8096 OTOOL="$ac_cv_prog_OTOOL"
8099 if test -n "$ac_tool_prefix"; then
8100 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8101 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8103 $as_echo_n "checking for $ac_word... " >&6; }
8104 if ${ac_cv_prog_READELF+:} false; then :
8105 $as_echo_n "(cached) " >&6
8106 else
8107 if test -n "$READELF"; then
8108 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8109 else
8110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8111 for as_dir in $PATH
8113 IFS=$as_save_IFS
8114 test -z "$as_dir" && as_dir=.
8115 for ac_exec_ext in '' $ac_executable_extensions; do
8116 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8117 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8119 break 2
8121 done
8122 done
8123 IFS=$as_save_IFS
8127 READELF=$ac_cv_prog_READELF
8128 if test -n "$READELF"; then
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8130 $as_echo "$READELF" >&6; }
8131 else
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8133 $as_echo "no" >&6; }
8138 if test -z "$ac_cv_prog_READELF"; then
8139 ac_ct_READELF=$READELF
8140 # Extract the first word of "readelf", so it can be a program name with args.
8141 set dummy readelf; ac_word=$2
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8143 $as_echo_n "checking for $ac_word... " >&6; }
8144 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8145 $as_echo_n "(cached) " >&6
8146 else
8147 if test -n "$ac_ct_READELF"; then
8148 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8149 else
8150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8151 for as_dir in $PATH
8153 IFS=$as_save_IFS
8154 test -z "$as_dir" && as_dir=.
8155 for ac_exec_ext in '' $ac_executable_extensions; do
8156 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8157 ac_cv_prog_ac_ct_READELF="readelf"
8158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8159 break 2
8161 done
8162 done
8163 IFS=$as_save_IFS
8167 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8168 if test -n "$ac_ct_READELF"; then
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8170 $as_echo "$ac_ct_READELF" >&6; }
8171 else
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8173 $as_echo "no" >&6; }
8176 if test "x$ac_ct_READELF" = x; then
8177 READELF="true"
8178 else
8179 case $cross_compiling:$ac_tool_warned in
8180 yes:)
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8182 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8183 ac_tool_warned=yes ;;
8184 esac
8185 READELF=$ac_ct_READELF
8187 else
8188 READELF="$ac_cv_prog_READELF"
8191 wine_rules_file=conf$$rules.make
8192 rm -f $wine_rules_file
8193 SUBDIRS=""
8195 DISABLED_SUBDIRS=""
8197 CONFIGURE_TARGETS=""
8200 wine_fn_append_file ()
8202 as_fn_append $1 " \\$as_nl $2"
8205 wine_fn_append_rule ()
8207 $as_echo "$1" >>$wine_rules_file
8210 wine_fn_config_makefile ()
8212 wine_fn_append_file SUBDIRS $1
8213 if eval test \"x\$"$2"\" = x"no"; then :
8214 wine_fn_append_file DISABLED_SUBDIRS $1
8218 wine_fn_config_symlink ()
8220 ac_links=$@
8221 wine_fn_append_rule \
8222 "$ac_links:
8223 @./config.status \$@"
8224 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8227 wine_binary="wine"
8228 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8229 WINELOADER_PROGRAMS="$wine_binary"
8231 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8233 case $host_os in
8234 cygwin*|mingw32*)
8235 if test -n "$ac_tool_prefix"; then
8236 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8237 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8239 $as_echo_n "checking for $ac_word... " >&6; }
8240 if ${ac_cv_prog_DLLTOOL+:} false; then :
8241 $as_echo_n "(cached) " >&6
8242 else
8243 if test -n "$DLLTOOL"; then
8244 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8245 else
8246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8247 for as_dir in $PATH
8249 IFS=$as_save_IFS
8250 test -z "$as_dir" && as_dir=.
8251 for ac_exec_ext in '' $ac_executable_extensions; do
8252 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8253 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8255 break 2
8257 done
8258 done
8259 IFS=$as_save_IFS
8263 DLLTOOL=$ac_cv_prog_DLLTOOL
8264 if test -n "$DLLTOOL"; then
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8266 $as_echo "$DLLTOOL" >&6; }
8267 else
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8269 $as_echo "no" >&6; }
8274 if test -z "$ac_cv_prog_DLLTOOL"; then
8275 ac_ct_DLLTOOL=$DLLTOOL
8276 # Extract the first word of "dlltool", so it can be a program name with args.
8277 set dummy dlltool; ac_word=$2
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8279 $as_echo_n "checking for $ac_word... " >&6; }
8280 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8281 $as_echo_n "(cached) " >&6
8282 else
8283 if test -n "$ac_ct_DLLTOOL"; then
8284 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8285 else
8286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8287 for as_dir in $PATH
8289 IFS=$as_save_IFS
8290 test -z "$as_dir" && as_dir=.
8291 for ac_exec_ext in '' $ac_executable_extensions; do
8292 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8293 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8295 break 2
8297 done
8298 done
8299 IFS=$as_save_IFS
8303 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8304 if test -n "$ac_ct_DLLTOOL"; then
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8306 $as_echo "$ac_ct_DLLTOOL" >&6; }
8307 else
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8309 $as_echo "no" >&6; }
8312 if test "x$ac_ct_DLLTOOL" = x; then
8313 DLLTOOL="false"
8314 else
8315 case $cross_compiling:$ac_tool_warned in
8316 yes:)
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8318 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8319 ac_tool_warned=yes ;;
8320 esac
8321 DLLTOOL=$ac_ct_DLLTOOL
8323 else
8324 DLLTOOL="$ac_cv_prog_DLLTOOL"
8327 LIBEXT="dll"
8328 EXTRACFLAGS="-D__WINE_PE_BUILD"
8329 case $host_cpu in
8330 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8331 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8332 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8333 $as_echo_n "(cached) " >&6
8334 else
8335 ac_wine_try_cflags_saved=$CFLAGS
8336 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8338 /* end confdefs.h. */
8339 int main(int argc, char **argv) { return 0; }
8340 _ACEOF
8341 if ac_fn_c_try_link "$LINENO"; then :
8342 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8343 else
8344 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8346 rm -f core conftest.err conftest.$ac_objext \
8347 conftest$ac_exeext conftest.$ac_ext
8348 CFLAGS=$ac_wine_try_cflags_saved
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8351 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8352 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8353 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8354 fi ;;
8355 esac
8356 enable_mountmgr_sys=${enable_mountmgr_sys:-no}
8357 enable_loader=${enable_loader:-no}
8358 enable_server=${enable_server:-no}
8359 with_x=${with_x:-no}
8360 with_pthread=${with_pthread:-no}
8363 darwin*|macosx*)
8364 ac_ext=m
8365 ac_cpp='$OBJCPP $CPPFLAGS'
8366 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8367 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8368 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8370 ac_ext=m
8371 ac_cpp='$OBJCPP $CPPFLAGS'
8372 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8373 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8374 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8375 if test -n "$ac_tool_prefix"; then
8376 for ac_prog in gcc objcc objc cc CC
8378 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8379 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8381 $as_echo_n "checking for $ac_word... " >&6; }
8382 if ${ac_cv_prog_OBJC+:} false; then :
8383 $as_echo_n "(cached) " >&6
8384 else
8385 if test -n "$OBJC"; then
8386 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8387 else
8388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8389 for as_dir in $PATH
8391 IFS=$as_save_IFS
8392 test -z "$as_dir" && as_dir=.
8393 for ac_exec_ext in '' $ac_executable_extensions; do
8394 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8395 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8397 break 2
8399 done
8400 done
8401 IFS=$as_save_IFS
8405 OBJC=$ac_cv_prog_OBJC
8406 if test -n "$OBJC"; then
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8408 $as_echo "$OBJC" >&6; }
8409 else
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8411 $as_echo "no" >&6; }
8415 test -n "$OBJC" && break
8416 done
8418 if test -z "$OBJC"; then
8419 ac_ct_OBJC=$OBJC
8420 for ac_prog in gcc objcc objc cc CC
8422 # Extract the first word of "$ac_prog", so it can be a program name with args.
8423 set dummy $ac_prog; ac_word=$2
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8425 $as_echo_n "checking for $ac_word... " >&6; }
8426 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8427 $as_echo_n "(cached) " >&6
8428 else
8429 if test -n "$ac_ct_OBJC"; then
8430 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8431 else
8432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8433 for as_dir in $PATH
8435 IFS=$as_save_IFS
8436 test -z "$as_dir" && as_dir=.
8437 for ac_exec_ext in '' $ac_executable_extensions; do
8438 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8439 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8441 break 2
8443 done
8444 done
8445 IFS=$as_save_IFS
8449 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8450 if test -n "$ac_ct_OBJC"; then
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8452 $as_echo "$ac_ct_OBJC" >&6; }
8453 else
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8455 $as_echo "no" >&6; }
8459 test -n "$ac_ct_OBJC" && break
8460 done
8462 if test "x$ac_ct_OBJC" = x; then
8463 OBJC="gcc"
8464 else
8465 case $cross_compiling:$ac_tool_warned in
8466 yes:)
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8468 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8469 ac_tool_warned=yes ;;
8470 esac
8471 OBJC=$ac_ct_OBJC
8475 # Provide some information about the compiler.
8476 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8477 set X $ac_compile
8478 ac_compiler=$2
8479 for ac_option in --version -v -V -qversion; do
8480 { { ac_try="$ac_compiler $ac_option >&5"
8481 case "(($ac_try" in
8482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8483 *) ac_try_echo=$ac_try;;
8484 esac
8485 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8486 $as_echo "$ac_try_echo"; } >&5
8487 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8488 ac_status=$?
8489 if test -s conftest.err; then
8490 sed '10a\
8491 ... rest of stderr output deleted ...
8492 10q' conftest.err >conftest.er1
8493 cat conftest.er1 >&5
8495 rm -f conftest.er1 conftest.err
8496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8497 test $ac_status = 0; }
8498 done
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8501 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8502 if ${ac_cv_objc_compiler_gnu+:} false; then :
8503 $as_echo_n "(cached) " >&6
8504 else
8505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8506 /* end confdefs.h. */
8509 main ()
8511 #ifndef __GNUC__
8512 choke me
8513 #endif
8516 return 0;
8518 _ACEOF
8519 if ac_fn_objc_try_compile "$LINENO"; then :
8520 ac_compiler_gnu=yes
8521 else
8522 ac_compiler_gnu=no
8524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8525 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8529 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8530 if test $ac_compiler_gnu = yes; then
8531 GOBJC=yes
8532 else
8533 GOBJC=
8535 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8536 ac_save_OBJCFLAGS=$OBJCFLAGS
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8538 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8539 if ${ac_cv_prog_objc_g+:} false; then :
8540 $as_echo_n "(cached) " >&6
8541 else
8542 ac_save_objc_werror_flag=$ac_objc_werror_flag
8543 ac_objc_werror_flag=yes
8544 ac_cv_prog_objc_g=no
8545 OBJCFLAGS="-g"
8546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8547 /* end confdefs.h. */
8550 main ()
8554 return 0;
8556 _ACEOF
8557 if ac_fn_objc_try_compile "$LINENO"; then :
8558 ac_cv_prog_objc_g=yes
8559 else
8560 OBJCFLAGS=""
8561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8562 /* end confdefs.h. */
8565 main ()
8569 return 0;
8571 _ACEOF
8572 if ac_fn_objc_try_compile "$LINENO"; then :
8574 else
8575 ac_objc_werror_flag=$ac_save_objc_werror_flag
8576 OBJCFLAGS="-g"
8577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8578 /* end confdefs.h. */
8581 main ()
8585 return 0;
8587 _ACEOF
8588 if ac_fn_objc_try_compile "$LINENO"; then :
8589 ac_cv_prog_objc_g=yes
8591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8596 ac_objc_werror_flag=$ac_save_objc_werror_flag
8598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8599 $as_echo "$ac_cv_prog_objc_g" >&6; }
8600 if test "$ac_test_OBJCFLAGS" = set; then
8601 OBJCFLAGS=$ac_save_OBJCFLAGS
8602 elif test $ac_cv_prog_objc_g = yes; then
8603 if test "$GOBJC" = yes; then
8604 OBJCFLAGS="-g -O2"
8605 else
8606 OBJCFLAGS="-g"
8608 else
8609 if test "$GOBJC" = yes; then
8610 OBJCFLAGS="-O2"
8611 else
8612 OBJCFLAGS=
8615 ac_ext=m
8616 ac_cpp='$OBJCPP $CPPFLAGS'
8617 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8618 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8619 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8622 ac_ext=m
8623 ac_cpp='$OBJCPP $CPPFLAGS'
8624 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8625 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8626 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8628 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8629 if test -z "$OBJCPP"; then
8630 if ${ac_cv_prog_OBJCPP+:} false; then :
8631 $as_echo_n "(cached) " >&6
8632 else
8633 # Double quotes because OBJCPP needs to be expanded
8634 for OBJCPP in "$OBJC -E" "/lib/cpp"
8636 ac_preproc_ok=false
8637 for ac_objc_preproc_warn_flag in '' yes
8639 # Use a header file that comes with gcc, so configuring glibc
8640 # with a fresh cross-compiler works.
8641 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8642 # <limits.h> exists even on freestanding compilers.
8643 # On the NeXT, cc -E runs the code through the compiler's parser,
8644 # not just through cpp. "Syntax error" is here to catch this case.
8645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8646 /* end confdefs.h. */
8647 #ifdef __STDC__
8648 # include <limits.h>
8649 #else
8650 # include <assert.h>
8651 #endif
8652 Syntax error
8653 _ACEOF
8654 if ac_fn_objc_try_cpp "$LINENO"; then :
8656 else
8657 # Broken: fails on valid input.
8658 continue
8660 rm -f conftest.err conftest.i conftest.$ac_ext
8662 # OK, works on sane cases. Now check whether nonexistent headers
8663 # can be detected and how.
8664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8665 /* end confdefs.h. */
8666 #include <ac_nonexistent.h>
8667 _ACEOF
8668 if ac_fn_objc_try_cpp "$LINENO"; then :
8669 # Broken: success on invalid input.
8670 continue
8671 else
8672 # Passes both tests.
8673 ac_preproc_ok=:
8674 break
8676 rm -f conftest.err conftest.i conftest.$ac_ext
8678 done
8679 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8680 rm -f conftest.i conftest.err conftest.$ac_ext
8681 if $ac_preproc_ok; then :
8682 break
8685 done
8686 ac_cv_prog_OBJCPP=$OBJCPP
8689 OBJCPP=$ac_cv_prog_OBJCPP
8690 else
8691 ac_cv_prog_OBJCPP=$OBJCPP
8693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8694 $as_echo "$OBJCPP" >&6; }
8695 ac_preproc_ok=false
8696 for ac_objc_preproc_warn_flag in '' yes
8698 # Use a header file that comes with gcc, so configuring glibc
8699 # with a fresh cross-compiler works.
8700 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8701 # <limits.h> exists even on freestanding compilers.
8702 # On the NeXT, cc -E runs the code through the compiler's parser,
8703 # not just through cpp. "Syntax error" is here to catch this case.
8704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8705 /* end confdefs.h. */
8706 #ifdef __STDC__
8707 # include <limits.h>
8708 #else
8709 # include <assert.h>
8710 #endif
8711 Syntax error
8712 _ACEOF
8713 if ac_fn_objc_try_cpp "$LINENO"; then :
8715 else
8716 # Broken: fails on valid input.
8717 continue
8719 rm -f conftest.err conftest.i conftest.$ac_ext
8721 # OK, works on sane cases. Now check whether nonexistent headers
8722 # can be detected and how.
8723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8724 /* end confdefs.h. */
8725 #include <ac_nonexistent.h>
8726 _ACEOF
8727 if ac_fn_objc_try_cpp "$LINENO"; then :
8728 # Broken: success on invalid input.
8729 continue
8730 else
8731 # Passes both tests.
8732 ac_preproc_ok=:
8733 break
8735 rm -f conftest.err conftest.i conftest.$ac_ext
8737 done
8738 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8739 rm -f conftest.i conftest.err conftest.$ac_ext
8740 if $ac_preproc_ok; then :
8742 else
8743 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8744 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8745 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8746 See \`config.log' for more details" "$LINENO" 5; }
8749 ac_ext=m
8750 ac_cpp='$OBJCPP $CPPFLAGS'
8751 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8752 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8753 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8756 for ac_header in Metal/Metal.h
8757 do :
8758 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8759 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8760 cat >>confdefs.h <<_ACEOF
8761 #define HAVE_METAL_METAL_H 1
8762 _ACEOF
8766 done
8768 ac_ext=c
8769 ac_cpp='$CPP $CPPFLAGS'
8770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8774 LIBEXT="dylib"
8775 DLLFLAGS="$DLLFLAGS -fPIC"
8776 LDDLLFLAGS="-fPIC"
8777 COREFOUNDATION_LIBS="-framework CoreFoundation"
8779 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8781 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8783 CORESERVICES_LIBS="-framework CoreServices"
8785 APPKIT_LIBS="-framework AppKit"
8787 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8790 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8792 wine_can_build_preloader=yes
8793 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"
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8795 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8796 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8797 $as_echo_n "(cached) " >&6
8798 else
8799 ac_wine_try_cflags_saved=$CFLAGS
8800 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8802 /* end confdefs.h. */
8803 int main(int argc, char **argv) { return 0; }
8804 _ACEOF
8805 if ac_fn_c_try_link "$LINENO"; then :
8806 ac_cv_cflags__Wl__no_new_main__e__main=yes
8807 else
8808 ac_cv_cflags__Wl__no_new_main__e__main=no
8810 rm -f core conftest.err conftest.$ac_objext \
8811 conftest$ac_exeext conftest.$ac_ext
8812 CFLAGS=$ac_wine_try_cflags_saved
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8815 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8816 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8817 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8819 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8820 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8821 $as_echo_n "(cached) " >&6
8822 else
8823 ac_wine_try_cflags_saved=$CFLAGS
8824 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8826 /* end confdefs.h. */
8827 int main(int argc, char **argv) { return 0; }
8828 _ACEOF
8829 if ac_fn_c_try_link "$LINENO"; then :
8830 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8831 else
8832 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8834 rm -f core conftest.err conftest.$ac_objext \
8835 conftest$ac_exeext conftest.$ac_ext
8836 CFLAGS=$ac_wine_try_cflags_saved
8838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8839 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8840 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8841 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8842 else
8843 { $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
8844 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8845 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8846 $as_echo_n "(cached) " >&6
8847 else
8848 ac_wine_try_cflags_saved=$CFLAGS
8849 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8851 /* end confdefs.h. */
8852 int main(int argc, char **argv) { return 0; }
8853 _ACEOF
8854 if ac_fn_c_try_link "$LINENO"; then :
8855 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8856 else
8857 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8859 rm -f core conftest.err conftest.$ac_objext \
8860 conftest$ac_exeext conftest.$ac_ext
8861 CFLAGS=$ac_wine_try_cflags_saved
8863 { $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
8864 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8865 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8866 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8867 else
8868 wine_can_build_preloader=no
8871 else
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8873 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8874 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8875 $as_echo_n "(cached) " >&6
8876 else
8877 ac_wine_try_cflags_saved=$CFLAGS
8878 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8880 /* end confdefs.h. */
8881 int main(int argc, char **argv) { return 0; }
8882 _ACEOF
8883 if ac_fn_c_try_link "$LINENO"; then :
8884 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8885 else
8886 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8888 rm -f core conftest.err conftest.$ac_objext \
8889 conftest$ac_exeext conftest.$ac_ext
8890 CFLAGS=$ac_wine_try_cflags_saved
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8893 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8894 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8895 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8896 else
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8898 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8899 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8900 $as_echo_n "(cached) " >&6
8901 else
8902 ac_wine_try_cflags_saved=$CFLAGS
8903 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8905 /* end confdefs.h. */
8906 int main(int argc, char **argv) { return 0; }
8907 _ACEOF
8908 if ac_fn_c_try_link "$LINENO"; then :
8909 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8910 else
8911 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8913 rm -f core conftest.err conftest.$ac_objext \
8914 conftest$ac_exeext conftest.$ac_ext
8915 CFLAGS=$ac_wine_try_cflags_saved
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8918 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8919 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8920 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8921 else
8922 wine_can_build_preloader=no
8926 if test "$wine_can_build_preloader" = "yes"
8927 then
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8929 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8930 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8931 $as_echo_n "(cached) " >&6
8932 else
8933 ac_wine_try_cflags_saved=$CFLAGS
8934 CFLAGS="$CFLAGS -Wl,-no_pie"
8935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8936 /* end confdefs.h. */
8937 int main(int argc, char **argv) { return 0; }
8938 _ACEOF
8939 if ac_fn_c_try_link "$LINENO"; then :
8940 ac_cv_cflags__Wl__no_pie=yes
8941 else
8942 ac_cv_cflags__Wl__no_pie=no
8944 rm -f core conftest.err conftest.$ac_objext \
8945 conftest$ac_exeext conftest.$ac_ext
8946 CFLAGS=$ac_wine_try_cflags_saved
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8949 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8950 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8951 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8953 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8954 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8955 else
8956 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8959 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8960 then
8961 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8964 if test "$ac_cv_header_Security_Security_h" = "yes"
8965 then
8966 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8969 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
8970 then
8971 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8973 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8975 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8976 then
8977 OPENAL_LIBS="-framework OpenAL"
8980 cat >>confdefs.h <<_ACEOF
8981 #define HAVE_OPENAL 1
8982 _ACEOF
8984 ac_cv_lib_openal=yes
8986 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8987 then
8988 OPENCL_LIBS="-framework OpenCL"
8990 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8992 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8993 then
8994 ac_save_LIBS="$LIBS"
8995 LIBS="$LIBS $IOKIT_LIBS"
8996 for ac_func in IOHIDManagerCreate
8997 do :
8998 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8999 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
9000 cat >>confdefs.h <<_ACEOF
9001 #define HAVE_IOHIDMANAGERCREATE 1
9002 _ACEOF
9005 done
9007 LIBS="$ac_save_LIBS"
9010 if test "x$with_quicktime" != "xno"
9011 then
9012 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
9013 then
9014 ac_save_LIBS="$LIBS"
9015 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
9017 $as_echo_n "checking for the QuickTime framework... " >&6; }
9018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9019 /* end confdefs.h. */
9020 #include <QuickTime/ImageCompression.h>
9022 main ()
9024 CodecManagerVersion(NULL);
9026 return 0;
9028 _ACEOF
9029 if ac_fn_c_try_link "$LINENO"; then :
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9031 $as_echo "yes" >&6; }
9032 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
9034 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
9035 else
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9037 $as_echo "no" >&6; }
9038 ac_cv_header_QuickTime_ImageCompression_h=no
9040 rm -f core conftest.err conftest.$ac_objext \
9041 conftest$ac_exeext conftest.$ac_ext
9042 LIBS="$ac_save_LIBS"
9045 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9046 case "x$with_quicktime" in
9047 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9048 xno) ;;
9049 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9050 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9051 esac
9055 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9056 then
9057 CARBON_LIBS="-framework Carbon"
9060 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9061 then
9062 METAL_LIBS="-framework Metal -framework QuartzCore"
9066 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9067 then
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9069 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9070 ac_ext=m
9071 ac_cpp='$OBJCPP $CPPFLAGS'
9072 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9073 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9074 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9077 /* end confdefs.h. */
9078 #include <Metal/Metal.h>
9080 main ()
9082 id<MTLDevice> device; device.registryID;
9084 return 0;
9086 _ACEOF
9087 if ac_fn_objc_try_compile "$LINENO"; then :
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9089 $as_echo "yes" >&6; }
9091 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9093 else
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9095 $as_echo "no" >&6; }
9097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9098 ac_ext=c
9099 ac_cpp='$CPP $CPPFLAGS'
9100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9106 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9107 then
9108 ac_save_LIBS="$LIBS"
9109 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9110 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9111 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9112 enable_winemac_drv=${enable_winemac_drv:-yes}
9115 LIBS="$ac_save_LIBS"
9118 UNIXLDFLAGS="-dynamiclib -install_name @loader_path/\$(UNIXLIB)"
9119 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9121 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9123 WINELOADER_DEPENDS="wine_info.plist"
9125 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9128 linux-android*)
9130 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
9132 DLLFLAGS="$DLLFLAGS -fPIC"
9133 LDDLLFLAGS="-fPIC"
9134 LDEXECFLAGS="-Wl,-pie"
9135 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9137 $as_echo_n "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9138 if ${ac_cv_cflags__Wl__z_defs+:} false; then :
9139 $as_echo_n "(cached) " >&6
9140 else
9141 ac_wine_try_cflags_saved=$CFLAGS
9142 CFLAGS="$CFLAGS -Wl,-z,defs"
9143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9144 /* end confdefs.h. */
9145 int main(int argc, char **argv) { return 0; }
9146 _ACEOF
9147 if ac_fn_c_try_link "$LINENO"; then :
9148 ac_cv_cflags__Wl__z_defs=yes
9149 else
9150 ac_cv_cflags__Wl__z_defs=no
9152 rm -f core conftest.err conftest.$ac_objext \
9153 conftest$ac_exeext conftest.$ac_ext
9154 CFLAGS=$ac_wine_try_cflags_saved
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9157 $as_echo "$ac_cv_cflags__Wl__z_defs" >&6; }
9158 if test "x$ac_cv_cflags__Wl__z_defs" = xyes; then :
9159 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9162 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9163 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9164 $as_echo_n "(cached) " >&6
9165 else
9166 ac_wine_try_cflags_saved=$CFLAGS
9167 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9169 /* end confdefs.h. */
9170 int main(int argc, char **argv) { return 0; }
9171 _ACEOF
9172 if ac_fn_c_try_link "$LINENO"; then :
9173 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9174 else
9175 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9177 rm -f core conftest.err conftest.$ac_objext \
9178 conftest$ac_exeext conftest.$ac_ext
9179 CFLAGS=$ac_wine_try_cflags_saved
9181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9182 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9183 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9184 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9186 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9189 $as_echo_n "checking for -lEGL... " >&6; }
9190 if ${ac_cv_lib_soname_EGL+:} false; then :
9191 $as_echo_n "(cached) " >&6
9192 else
9193 ac_check_soname_save_LIBS=$LIBS
9194 LIBS="-lEGL $LIBS"
9195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9196 /* end confdefs.h. */
9198 /* Override any GCC internal prototype to avoid an error.
9199 Use char because int might match the return type of a GCC
9200 builtin and then its argument prototype would still apply. */
9201 #ifdef __cplusplus
9202 extern "C"
9203 #endif
9204 char eglGetProcAddress ();
9206 main ()
9208 return eglGetProcAddress ();
9210 return 0;
9212 _ACEOF
9213 if ac_fn_c_try_link "$LINENO"; then :
9214 case "$LIBEXT" in
9215 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9216 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'` ;;
9217 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9218 if ${ac_cv_lib_soname_EGL:+false} :; then :
9219 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9220 fi ;;
9221 esac
9222 else
9223 ac_cv_lib_soname_EGL=
9225 rm -f core conftest.err conftest.$ac_objext \
9226 conftest$ac_exeext conftest.$ac_ext
9227 LIBS=$ac_check_soname_save_LIBS
9229 if ${ac_cv_lib_soname_EGL:+false} :; then :
9230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9231 $as_echo "not found" >&6; }
9233 else
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9235 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9237 cat >>confdefs.h <<_ACEOF
9238 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9239 _ACEOF
9243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9244 $as_echo_n "checking for -lGLESv2... " >&6; }
9245 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9246 $as_echo_n "(cached) " >&6
9247 else
9248 ac_check_soname_save_LIBS=$LIBS
9249 LIBS="-lGLESv2 $LIBS"
9250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9251 /* end confdefs.h. */
9253 /* Override any GCC internal prototype to avoid an error.
9254 Use char because int might match the return type of a GCC
9255 builtin and then its argument prototype would still apply. */
9256 #ifdef __cplusplus
9257 extern "C"
9258 #endif
9259 char glFlush ();
9261 main ()
9263 return glFlush ();
9265 return 0;
9267 _ACEOF
9268 if ac_fn_c_try_link "$LINENO"; then :
9269 case "$LIBEXT" in
9270 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9271 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'` ;;
9272 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9273 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9274 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9275 fi ;;
9276 esac
9277 else
9278 ac_cv_lib_soname_GLESv2=
9280 rm -f core conftest.err conftest.$ac_objext \
9281 conftest$ac_exeext conftest.$ac_ext
9282 LIBS=$ac_check_soname_save_LIBS
9284 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9286 $as_echo "not found" >&6; }
9288 else
9289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9290 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9292 cat >>confdefs.h <<_ACEOF
9293 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9294 _ACEOF
9299 if test "x$exec_prefix" = xNONE
9300 then
9301 case $host_cpu in
9302 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9303 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9304 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9305 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9306 esac
9312 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
9314 case $host_cpu in
9315 *i[3456789]86*)
9316 DLLFLAGS="$DLLFLAGS -fno-PIC"
9317 LDDLLFLAGS="-fno-PIC"
9318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
9319 $as_echo_n "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
9320 if ${ac_cv_cflags__fno_PIC__Wl__z_notext+:} false; then :
9321 $as_echo_n "(cached) " >&6
9322 else
9323 ac_wine_try_cflags_saved=$CFLAGS
9324 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
9325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9326 /* end confdefs.h. */
9327 int main(int argc, char **argv) { return 0; }
9328 _ACEOF
9329 if ac_fn_c_try_link "$LINENO"; then :
9330 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
9331 else
9332 ac_cv_cflags__fno_PIC__Wl__z_notext=no
9334 rm -f core conftest.err conftest.$ac_objext \
9335 conftest$ac_exeext conftest.$ac_ext
9336 CFLAGS=$ac_wine_try_cflags_saved
9338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
9339 $as_echo "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
9340 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes; then :
9341 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
9345 DLLFLAGS="$DLLFLAGS -fPIC"
9346 LDDLLFLAGS="-fPIC" ;;
9347 esac
9348 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9350 echo '{ global: *; };' >conftest.map
9351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9352 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9353 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9354 $as_echo_n "(cached) " >&6
9355 else
9356 ac_wine_try_cflags_saved=$CFLAGS
9357 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9359 /* end confdefs.h. */
9360 int main(int argc, char **argv) { return 0; }
9361 _ACEOF
9362 if ac_fn_c_try_link "$LINENO"; then :
9363 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9364 else
9365 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9367 rm -f core conftest.err conftest.$ac_objext \
9368 conftest$ac_exeext conftest.$ac_ext
9369 CFLAGS=$ac_wine_try_cflags_saved
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9372 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9373 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9374 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9376 rm -f conftest.map
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9379 $as_echo_n "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9380 if ${ac_cv_cflags__Wl__z_defs+:} false; then :
9381 $as_echo_n "(cached) " >&6
9382 else
9383 ac_wine_try_cflags_saved=$CFLAGS
9384 CFLAGS="$CFLAGS -Wl,-z,defs"
9385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9386 /* end confdefs.h. */
9387 int main(int argc, char **argv) { return 0; }
9388 _ACEOF
9389 if ac_fn_c_try_link "$LINENO"; then :
9390 ac_cv_cflags__Wl__z_defs=yes
9391 else
9392 ac_cv_cflags__Wl__z_defs=no
9394 rm -f core conftest.err conftest.$ac_objext \
9395 conftest$ac_exeext conftest.$ac_ext
9396 CFLAGS=$ac_wine_try_cflags_saved
9398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9399 $as_echo "$ac_cv_cflags__Wl__z_defs" >&6; }
9400 if test "x$ac_cv_cflags__Wl__z_defs" = xyes; then :
9401 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9404 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9405 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9406 $as_echo_n "(cached) " >&6
9407 else
9408 ac_wine_try_cflags_saved=$CFLAGS
9409 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9411 /* end confdefs.h. */
9412 int main(int argc, char **argv) { return 0; }
9413 _ACEOF
9414 if ac_fn_c_try_link "$LINENO"; then :
9415 ac_cv_cflags__Wl___export_dynamic=yes
9416 else
9417 ac_cv_cflags__Wl___export_dynamic=no
9419 rm -f core conftest.err conftest.$ac_objext \
9420 conftest$ac_exeext conftest.$ac_ext
9421 CFLAGS=$ac_wine_try_cflags_saved
9423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9424 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9425 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9426 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9428 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9430 case $host_cpu in
9431 *i[3456789]86* | x86_64 | *aarch64* | arm*)
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9433 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9434 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9435 $as_echo_n "(cached) " >&6
9436 else
9437 ac_wine_try_cflags_saved=$CFLAGS
9438 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9440 /* end confdefs.h. */
9441 int main(int argc, char **argv) { return 0; }
9442 _ACEOF
9443 if ac_fn_c_try_link "$LINENO"; then :
9444 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9445 else
9446 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9448 rm -f core conftest.err conftest.$ac_objext \
9449 conftest$ac_exeext conftest.$ac_ext
9450 CFLAGS=$ac_wine_try_cflags_saved
9452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9453 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9454 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9455 case $host_os in
9456 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9457 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9458 esac
9459 else
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9461 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9462 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9463 $as_echo_n "(cached) " >&6
9464 else
9465 ac_wine_try_cflags_saved=$CFLAGS
9466 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9468 /* end confdefs.h. */
9469 int main(int argc, char **argv) { return 0; }
9470 _ACEOF
9471 if ac_fn_c_try_link "$LINENO"; then :
9472 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9473 else
9474 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9476 rm -f core conftest.err conftest.$ac_objext \
9477 conftest$ac_exeext conftest.$ac_ext
9478 CFLAGS=$ac_wine_try_cflags_saved
9480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9481 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9482 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9483 case $host_os in
9484 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9485 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9486 esac
9488 # Extract the first word of "prelink", so it can be a program name with args.
9489 set dummy prelink; ac_word=$2
9490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9491 $as_echo_n "checking for $ac_word... " >&6; }
9492 if ${ac_cv_path_PRELINK+:} false; then :
9493 $as_echo_n "(cached) " >&6
9494 else
9495 case $PRELINK in
9496 [\\/]* | ?:[\\/]*)
9497 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9501 for as_dir in /sbin /usr/sbin $PATH
9503 IFS=$as_save_IFS
9504 test -z "$as_dir" && as_dir=.
9505 for ac_exec_ext in '' $ac_executable_extensions; do
9506 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9507 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9509 break 2
9511 done
9512 done
9513 IFS=$as_save_IFS
9515 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9517 esac
9519 PRELINK=$ac_cv_path_PRELINK
9520 if test -n "$PRELINK"; then
9521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9522 $as_echo "$PRELINK" >&6; }
9523 else
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9525 $as_echo "no" >&6; }
9529 if test "x$PRELINK" = xfalse
9530 then
9531 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9535 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9536 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9537 $as_echo_n "(cached) " >&6
9538 else
9539 ac_wine_try_cflags_saved=$CFLAGS
9540 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9542 /* end confdefs.h. */
9543 int main(int argc, char **argv) { return 0; }
9544 _ACEOF
9545 if ac_fn_c_try_link "$LINENO"; then :
9546 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9547 else
9548 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9550 rm -f core conftest.err conftest.$ac_objext \
9551 conftest$ac_exeext conftest.$ac_ext
9552 CFLAGS=$ac_wine_try_cflags_saved
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9555 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9556 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9557 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9560 esac
9561 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9563 LIBWINE_DEPENDS="wine.map"
9565 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9567 esac
9569 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9570 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9571 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9572 enable_winemac_drv=${enable_winemac_drv:-no}
9573 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9576 if test "x$with_mingw" != xno
9577 then
9578 case "x$with_mingw" in
9579 x|xyes) case "$host_cpu" in
9580 aarch64*)
9581 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
9582 arm*)
9583 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
9584 i[3456789]86*)
9585 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
9586 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9587 mingw32-gcc clang" ;;
9588 x86_64)
9589 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
9590 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
9592 ac_prefix_list="" ;;
9593 esac
9594 for ac_prog in $ac_prefix_list
9596 # Extract the first word of "$ac_prog", so it can be a program name with args.
9597 set dummy $ac_prog; ac_word=$2
9598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9599 $as_echo_n "checking for $ac_word... " >&6; }
9600 if ${ac_cv_prog_CROSSCC+:} false; then :
9601 $as_echo_n "(cached) " >&6
9602 else
9603 if test -n "$CROSSCC"; then
9604 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9605 else
9606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9607 for as_dir in $PATH
9609 IFS=$as_save_IFS
9610 test -z "$as_dir" && as_dir=.
9611 for ac_exec_ext in '' $ac_executable_extensions; do
9612 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9613 ac_cv_prog_CROSSCC="$ac_prog"
9614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9615 break 2
9617 done
9618 done
9619 IFS=$as_save_IFS
9623 CROSSCC=$ac_cv_prog_CROSSCC
9624 if test -n "$CROSSCC"; then
9625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9626 $as_echo "$CROSSCC" >&6; }
9627 else
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9629 $as_echo "no" >&6; }
9633 test -n "$CROSSCC" && break
9634 done
9635 test -n "$CROSSCC" || CROSSCC="false"
9637 *) CROSSCC=$with_mingw ;;
9638 esac
9639 if test "$CROSSCC" != "false"
9640 then
9641 ac_save_CC="$CC"
9642 saved_CFLAGS=$CFLAGS
9643 saved_LDFLAGS=$LDFLAGS
9644 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9646 EXTRACROSSCFLAGS="-D__WINE_PE_BUILD -Wall"
9650 CC="$CROSSCC"
9651 CFLAGS=$CROSSCFLAGS
9652 LDFLAGS=$CROSSLDFLAGS
9653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9654 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9655 if ${wine_cv_crosscc+:} false; then :
9656 $as_echo_n "(cached) " >&6
9657 else
9658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9659 /* end confdefs.h. */
9662 main ()
9666 return 0;
9668 _ACEOF
9669 if ac_fn_c_try_compile "$LINENO"; then :
9670 wine_cv_crosscc=yes
9671 else
9672 wine_cv_crosscc=no
9674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9677 $as_echo "$wine_cv_crosscc" >&6; }
9678 if test $wine_cv_crosscc = yes
9679 then
9680 set x $CROSSCC
9681 shift
9682 while test $# -ge 1
9684 case "$1" in
9685 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9686 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9687 esac
9688 shift
9689 done
9691 llvm_target=$CROSSTARGET
9692 llvm_cflags="-fuse-ld=lld"
9693 if test -z "$llvm_target"
9694 then
9695 case $host_cpu in
9696 *i[3456789]86*) llvm_target=i686-windows ;;
9697 *) llvm_target=$host_cpu-windows ;;
9698 esac
9700 case $llvm_target in
9701 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9702 esac
9703 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9705 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9706 if eval \${$as_ac_var+:} false; then :
9707 $as_echo_n "(cached) " >&6
9708 else
9709 ac_wine_try_cflags_saved=$CFLAGS
9710 ac_wine_try_cflags_saved_cc=$CC
9711 ac_wine_try_cflags_saved_exeext=$ac_exeext
9712 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9713 CC="$CROSSCC"
9714 ac_exeext=".exe"
9715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9716 /* end confdefs.h. */
9717 int __cdecl mainCRTStartup(void) { return 0; }
9718 _ACEOF
9719 if ac_fn_c_try_link "$LINENO"; then :
9720 eval "$as_ac_var=yes"
9721 else
9722 eval "$as_ac_var=no"
9724 rm -f core conftest.err conftest.$ac_objext \
9725 conftest$ac_exeext conftest.$ac_ext
9726 CFLAGS=$ac_wine_try_cflags_saved
9727 CC=$ac_wine_try_cflags_saved_cc
9728 ac_exeext=$ac_wine_try_cflags_saved_exeext
9730 eval ac_res=\$$as_ac_var
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9732 $as_echo "$ac_res" >&6; }
9733 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9734 CROSSTARGET=$llvm_target
9735 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9736 DELAYLOADFLAG="-Wl,-delayload,"
9738 CFLAGS="$CFLAGS $llvm_cflags"
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9742 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9743 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9744 $as_echo_n "(cached) " >&6
9745 else
9746 ac_wine_try_cflags_saved=$CFLAGS
9747 ac_wine_try_cflags_saved_cc=$CC
9748 ac_wine_try_cflags_saved_exeext=$ac_exeext
9749 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9750 CC="$CROSSCC"
9751 ac_exeext=".exe"
9752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9753 /* end confdefs.h. */
9754 int __cdecl mainCRTStartup(void) { return 0; }
9755 _ACEOF
9756 if ac_fn_c_try_link "$LINENO"; then :
9757 ac_cv_crosscflags__fno_strict_aliasing=yes
9758 else
9759 ac_cv_crosscflags__fno_strict_aliasing=no
9761 rm -f core conftest.err conftest.$ac_objext \
9762 conftest$ac_exeext conftest.$ac_ext
9763 CFLAGS=$ac_wine_try_cflags_saved
9764 CC=$ac_wine_try_cflags_saved_cc
9765 ac_exeext=$ac_wine_try_cflags_saved_exeext
9767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9768 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9769 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9770 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9773 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9774 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9775 $as_echo_n "(cached) " >&6
9776 else
9777 ac_wine_try_cflags_saved=$CFLAGS
9778 ac_wine_try_cflags_saved_cc=$CC
9779 ac_wine_try_cflags_saved_exeext=$ac_exeext
9780 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9781 CC="$CROSSCC"
9782 ac_exeext=".exe"
9783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9784 /* end confdefs.h. */
9785 int __cdecl mainCRTStartup(void) { return 0; }
9786 _ACEOF
9787 if ac_fn_c_try_link "$LINENO"; then :
9788 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9789 else
9790 ac_cv_crosscflags__Werror_unknown_warning_option=no
9792 rm -f core conftest.err conftest.$ac_objext \
9793 conftest$ac_exeext conftest.$ac_ext
9794 CFLAGS=$ac_wine_try_cflags_saved
9795 CC=$ac_wine_try_cflags_saved_cc
9796 ac_exeext=$ac_wine_try_cflags_saved_exeext
9798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9799 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9800 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9801 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9804 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9805 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9806 $as_echo_n "(cached) " >&6
9807 else
9808 ac_wine_try_cflags_saved=$CFLAGS
9809 ac_wine_try_cflags_saved_cc=$CC
9810 ac_wine_try_cflags_saved_exeext=$ac_exeext
9811 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9812 CC="$CROSSCC"
9813 ac_exeext=".exe"
9814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9815 /* end confdefs.h. */
9816 int __cdecl mainCRTStartup(void) { return 0; }
9817 _ACEOF
9818 if ac_fn_c_try_link "$LINENO"; then :
9819 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9820 else
9821 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9823 rm -f core conftest.err conftest.$ac_objext \
9824 conftest$ac_exeext conftest.$ac_ext
9825 CFLAGS=$ac_wine_try_cflags_saved
9826 CC=$ac_wine_try_cflags_saved_cc
9827 ac_exeext=$ac_wine_try_cflags_saved_exeext
9829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9830 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9831 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9832 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9835 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9836 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9837 $as_echo_n "(cached) " >&6
9838 else
9839 ac_wine_try_cflags_saved=$CFLAGS
9840 ac_wine_try_cflags_saved_cc=$CC
9841 ac_wine_try_cflags_saved_exeext=$ac_exeext
9842 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9843 CC="$CROSSCC"
9844 ac_exeext=".exe"
9845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9846 /* end confdefs.h. */
9847 int __cdecl mainCRTStartup(void) { return 0; }
9848 _ACEOF
9849 if ac_fn_c_try_link "$LINENO"; then :
9850 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9851 else
9852 ac_cv_crosscflags__Wdeclaration_after_statement=no
9854 rm -f core conftest.err conftest.$ac_objext \
9855 conftest$ac_exeext conftest.$ac_ext
9856 CFLAGS=$ac_wine_try_cflags_saved
9857 CC=$ac_wine_try_cflags_saved_cc
9858 ac_exeext=$ac_wine_try_cflags_saved_exeext
9860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9861 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9862 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9863 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9866 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9867 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9868 $as_echo_n "(cached) " >&6
9869 else
9870 ac_wine_try_cflags_saved=$CFLAGS
9871 ac_wine_try_cflags_saved_cc=$CC
9872 ac_wine_try_cflags_saved_exeext=$ac_exeext
9873 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9874 CC="$CROSSCC"
9875 ac_exeext=".exe"
9876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9877 /* end confdefs.h. */
9878 int __cdecl mainCRTStartup(void) { return 0; }
9879 _ACEOF
9880 if ac_fn_c_try_link "$LINENO"; then :
9881 ac_cv_crosscflags__Wempty_body=yes
9882 else
9883 ac_cv_crosscflags__Wempty_body=no
9885 rm -f core conftest.err conftest.$ac_objext \
9886 conftest$ac_exeext conftest.$ac_ext
9887 CFLAGS=$ac_wine_try_cflags_saved
9888 CC=$ac_wine_try_cflags_saved_cc
9889 ac_exeext=$ac_wine_try_cflags_saved_exeext
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9892 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9893 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9894 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9897 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9898 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9899 $as_echo_n "(cached) " >&6
9900 else
9901 ac_wine_try_cflags_saved=$CFLAGS
9902 ac_wine_try_cflags_saved_cc=$CC
9903 ac_wine_try_cflags_saved_exeext=$ac_exeext
9904 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9905 CC="$CROSSCC"
9906 ac_exeext=".exe"
9907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9908 /* end confdefs.h. */
9909 int __cdecl mainCRTStartup(void) { return 0; }
9910 _ACEOF
9911 if ac_fn_c_try_link "$LINENO"; then :
9912 ac_cv_crosscflags__Wignored_qualifiers=yes
9913 else
9914 ac_cv_crosscflags__Wignored_qualifiers=no
9916 rm -f core conftest.err conftest.$ac_objext \
9917 conftest$ac_exeext conftest.$ac_ext
9918 CFLAGS=$ac_wine_try_cflags_saved
9919 CC=$ac_wine_try_cflags_saved_cc
9920 ac_exeext=$ac_wine_try_cflags_saved_exeext
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9923 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9924 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9925 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
9928 $as_echo_n "checking whether the cross-compiler supports -Winit-self... " >&6; }
9929 if ${ac_cv_crosscflags__Winit_self+:} false; then :
9930 $as_echo_n "(cached) " >&6
9931 else
9932 ac_wine_try_cflags_saved=$CFLAGS
9933 ac_wine_try_cflags_saved_cc=$CC
9934 ac_wine_try_cflags_saved_exeext=$ac_exeext
9935 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
9936 CC="$CROSSCC"
9937 ac_exeext=".exe"
9938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9939 /* end confdefs.h. */
9940 int __cdecl mainCRTStartup(void) { return 0; }
9941 _ACEOF
9942 if ac_fn_c_try_link "$LINENO"; then :
9943 ac_cv_crosscflags__Winit_self=yes
9944 else
9945 ac_cv_crosscflags__Winit_self=no
9947 rm -f core conftest.err conftest.$ac_objext \
9948 conftest$ac_exeext conftest.$ac_ext
9949 CFLAGS=$ac_wine_try_cflags_saved
9950 CC=$ac_wine_try_cflags_saved_cc
9951 ac_exeext=$ac_wine_try_cflags_saved_exeext
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
9954 $as_echo "$ac_cv_crosscflags__Winit_self" >&6; }
9955 if test "x$ac_cv_crosscflags__Winit_self" = xyes; then :
9956 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
9958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9959 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9960 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9961 $as_echo_n "(cached) " >&6
9962 else
9963 ac_wine_try_cflags_saved=$CFLAGS
9964 ac_wine_try_cflags_saved_cc=$CC
9965 ac_wine_try_cflags_saved_exeext=$ac_exeext
9966 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
9967 CC="$CROSSCC"
9968 ac_exeext=".exe"
9969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9970 /* end confdefs.h. */
9971 int __cdecl mainCRTStartup(void) { return 0; }
9972 _ACEOF
9973 if ac_fn_c_try_link "$LINENO"; then :
9974 ac_cv_crosscflags__Wpacked_not_aligned=yes
9975 else
9976 ac_cv_crosscflags__Wpacked_not_aligned=no
9978 rm -f core conftest.err conftest.$ac_objext \
9979 conftest$ac_exeext conftest.$ac_ext
9980 CFLAGS=$ac_wine_try_cflags_saved
9981 CC=$ac_wine_try_cflags_saved_cc
9982 ac_exeext=$ac_wine_try_cflags_saved_exeext
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
9985 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
9986 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
9987 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
9989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
9990 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
9991 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
9992 $as_echo_n "(cached) " >&6
9993 else
9994 ac_wine_try_cflags_saved=$CFLAGS
9995 ac_wine_try_cflags_saved_cc=$CC
9996 ac_wine_try_cflags_saved_exeext=$ac_exeext
9997 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
9998 CC="$CROSSCC"
9999 ac_exeext=".exe"
10000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10001 /* end confdefs.h. */
10002 int __cdecl mainCRTStartup(void) { return 0; }
10003 _ACEOF
10004 if ac_fn_c_try_link "$LINENO"; then :
10005 ac_cv_crosscflags__Wpragma_pack=yes
10006 else
10007 ac_cv_crosscflags__Wpragma_pack=no
10009 rm -f core conftest.err conftest.$ac_objext \
10010 conftest$ac_exeext conftest.$ac_ext
10011 CFLAGS=$ac_wine_try_cflags_saved
10012 CC=$ac_wine_try_cflags_saved_cc
10013 ac_exeext=$ac_wine_try_cflags_saved_exeext
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10016 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10017 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10018 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10021 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10022 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10023 $as_echo_n "(cached) " >&6
10024 else
10025 ac_wine_try_cflags_saved=$CFLAGS
10026 ac_wine_try_cflags_saved_cc=$CC
10027 ac_wine_try_cflags_saved_exeext=$ac_exeext
10028 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10029 CC="$CROSSCC"
10030 ac_exeext=".exe"
10031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10032 /* end confdefs.h. */
10033 int __cdecl mainCRTStartup(void) { return 0; }
10034 _ACEOF
10035 if ac_fn_c_try_link "$LINENO"; then :
10036 ac_cv_crosscflags__Wshift_overflow_2=yes
10037 else
10038 ac_cv_crosscflags__Wshift_overflow_2=no
10040 rm -f core conftest.err conftest.$ac_objext \
10041 conftest$ac_exeext conftest.$ac_ext
10042 CFLAGS=$ac_wine_try_cflags_saved
10043 CC=$ac_wine_try_cflags_saved_cc
10044 ac_exeext=$ac_wine_try_cflags_saved_exeext
10046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10047 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10048 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10049 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10052 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10053 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10054 $as_echo_n "(cached) " >&6
10055 else
10056 ac_wine_try_cflags_saved=$CFLAGS
10057 ac_wine_try_cflags_saved_cc=$CC
10058 ac_wine_try_cflags_saved_exeext=$ac_exeext
10059 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10060 CC="$CROSSCC"
10061 ac_exeext=".exe"
10062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10063 /* end confdefs.h. */
10064 int __cdecl mainCRTStartup(void) { return 0; }
10065 _ACEOF
10066 if ac_fn_c_try_link "$LINENO"; then :
10067 ac_cv_crosscflags__Wstrict_prototypes=yes
10068 else
10069 ac_cv_crosscflags__Wstrict_prototypes=no
10071 rm -f core conftest.err conftest.$ac_objext \
10072 conftest$ac_exeext conftest.$ac_ext
10073 CFLAGS=$ac_wine_try_cflags_saved
10074 CC=$ac_wine_try_cflags_saved_cc
10075 ac_exeext=$ac_wine_try_cflags_saved_exeext
10077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10078 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10079 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10080 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10083 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10084 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10085 $as_echo_n "(cached) " >&6
10086 else
10087 ac_wine_try_cflags_saved=$CFLAGS
10088 ac_wine_try_cflags_saved_cc=$CC
10089 ac_wine_try_cflags_saved_exeext=$ac_exeext
10090 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10091 CC="$CROSSCC"
10092 ac_exeext=".exe"
10093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10094 /* end confdefs.h. */
10095 int __cdecl mainCRTStartup(void) { return 0; }
10096 _ACEOF
10097 if ac_fn_c_try_link "$LINENO"; then :
10098 ac_cv_crosscflags__Wtype_limits=yes
10099 else
10100 ac_cv_crosscflags__Wtype_limits=no
10102 rm -f core conftest.err conftest.$ac_objext \
10103 conftest$ac_exeext conftest.$ac_ext
10104 CFLAGS=$ac_wine_try_cflags_saved
10105 CC=$ac_wine_try_cflags_saved_cc
10106 ac_exeext=$ac_wine_try_cflags_saved_exeext
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10109 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10110 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10111 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10114 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10115 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10116 $as_echo_n "(cached) " >&6
10117 else
10118 ac_wine_try_cflags_saved=$CFLAGS
10119 ac_wine_try_cflags_saved_cc=$CC
10120 ac_wine_try_cflags_saved_exeext=$ac_exeext
10121 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10122 CC="$CROSSCC"
10123 ac_exeext=".exe"
10124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10125 /* end confdefs.h. */
10126 int __cdecl mainCRTStartup(void) { return 0; }
10127 _ACEOF
10128 if ac_fn_c_try_link "$LINENO"; then :
10129 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10130 else
10131 ac_cv_crosscflags__Wunused_but_set_parameter=no
10133 rm -f core conftest.err conftest.$ac_objext \
10134 conftest$ac_exeext conftest.$ac_ext
10135 CFLAGS=$ac_wine_try_cflags_saved
10136 CC=$ac_wine_try_cflags_saved_cc
10137 ac_exeext=$ac_wine_try_cflags_saved_exeext
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10140 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10141 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10142 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10145 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10146 if ${ac_cv_crosscflags__Wvla+:} false; then :
10147 $as_echo_n "(cached) " >&6
10148 else
10149 ac_wine_try_cflags_saved=$CFLAGS
10150 ac_wine_try_cflags_saved_cc=$CC
10151 ac_wine_try_cflags_saved_exeext=$ac_exeext
10152 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10153 CC="$CROSSCC"
10154 ac_exeext=".exe"
10155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10156 /* end confdefs.h. */
10157 int __cdecl mainCRTStartup(void) { return 0; }
10158 _ACEOF
10159 if ac_fn_c_try_link "$LINENO"; then :
10160 ac_cv_crosscflags__Wvla=yes
10161 else
10162 ac_cv_crosscflags__Wvla=no
10164 rm -f core conftest.err conftest.$ac_objext \
10165 conftest$ac_exeext conftest.$ac_ext
10166 CFLAGS=$ac_wine_try_cflags_saved
10167 CC=$ac_wine_try_cflags_saved_cc
10168 ac_exeext=$ac_wine_try_cflags_saved_exeext
10170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10171 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10172 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10173 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10176 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10177 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10178 $as_echo_n "(cached) " >&6
10179 else
10180 ac_wine_try_cflags_saved=$CFLAGS
10181 ac_wine_try_cflags_saved_cc=$CC
10182 ac_wine_try_cflags_saved_exeext=$ac_exeext
10183 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10184 CC="$CROSSCC"
10185 ac_exeext=".exe"
10186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10187 /* end confdefs.h. */
10188 int __cdecl mainCRTStartup(void) { return 0; }
10189 _ACEOF
10190 if ac_fn_c_try_link "$LINENO"; then :
10191 ac_cv_crosscflags__Wwrite_strings=yes
10192 else
10193 ac_cv_crosscflags__Wwrite_strings=no
10195 rm -f core conftest.err conftest.$ac_objext \
10196 conftest$ac_exeext conftest.$ac_ext
10197 CFLAGS=$ac_wine_try_cflags_saved
10198 CC=$ac_wine_try_cflags_saved_cc
10199 ac_exeext=$ac_wine_try_cflags_saved_exeext
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10202 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10203 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10204 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10207 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10208 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10209 $as_echo_n "(cached) " >&6
10210 else
10211 ac_wine_try_cflags_saved=$CFLAGS
10212 ac_wine_try_cflags_saved_cc=$CC
10213 ac_wine_try_cflags_saved_exeext=$ac_exeext
10214 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10215 CC="$CROSSCC"
10216 ac_exeext=".exe"
10217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10218 /* end confdefs.h. */
10219 int __cdecl mainCRTStartup(void) { return 0; }
10220 _ACEOF
10221 if ac_fn_c_try_link "$LINENO"; then :
10222 ac_cv_crosscflags__Wpointer_arith=yes
10223 else
10224 ac_cv_crosscflags__Wpointer_arith=no
10226 rm -f core conftest.err conftest.$ac_objext \
10227 conftest$ac_exeext conftest.$ac_ext
10228 CFLAGS=$ac_wine_try_cflags_saved
10229 CC=$ac_wine_try_cflags_saved_cc
10230 ac_exeext=$ac_wine_try_cflags_saved_exeext
10232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10233 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10234 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10235 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10238 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10239 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10240 $as_echo_n "(cached) " >&6
10241 else
10242 ac_wine_try_cflags_saved=$CFLAGS
10243 ac_wine_try_cflags_saved_cc=$CC
10244 ac_wine_try_cflags_saved_exeext=$ac_exeext
10245 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10246 CC="$CROSSCC"
10247 ac_exeext=".exe"
10248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10249 /* end confdefs.h. */
10250 int __cdecl mainCRTStartup(void) { return 0; }
10251 _ACEOF
10252 if ac_fn_c_try_link "$LINENO"; then :
10253 ac_cv_crosscflags__Wlogical_op=yes
10254 else
10255 ac_cv_crosscflags__Wlogical_op=no
10257 rm -f core conftest.err conftest.$ac_objext \
10258 conftest$ac_exeext conftest.$ac_ext
10259 CFLAGS=$ac_wine_try_cflags_saved
10260 CC=$ac_wine_try_cflags_saved_cc
10261 ac_exeext=$ac_wine_try_cflags_saved_exeext
10263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10264 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10265 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10266 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10269 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10270 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10271 $as_echo_n "(cached) " >&6
10272 else
10273 ac_wine_try_cflags_saved=$CFLAGS
10274 ac_wine_try_cflags_saved_cc=$CC
10275 ac_wine_try_cflags_saved_exeext=$ac_exeext
10276 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10277 CC="$CROSSCC"
10278 ac_exeext=".exe"
10279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10280 /* end confdefs.h. */
10281 int __cdecl mainCRTStartup(void) { return 0; }
10282 _ACEOF
10283 if ac_fn_c_try_link "$LINENO"; then :
10284 ac_cv_crosscflags__Wabsolute_value=yes
10285 else
10286 ac_cv_crosscflags__Wabsolute_value=no
10288 rm -f core conftest.err conftest.$ac_objext \
10289 conftest$ac_exeext conftest.$ac_ext
10290 CFLAGS=$ac_wine_try_cflags_saved
10291 CC=$ac_wine_try_cflags_saved_cc
10292 ac_exeext=$ac_wine_try_cflags_saved_exeext
10294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10295 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10296 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10297 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10300 case $host_cpu in
10301 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10302 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10303 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10304 $as_echo_n "(cached) " >&6
10305 else
10306 ac_wine_try_cflags_saved=$CFLAGS
10307 ac_wine_try_cflags_saved_cc=$CC
10308 ac_wine_try_cflags_saved_exeext=$ac_exeext
10309 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10310 CC="$CROSSCC"
10311 ac_exeext=".exe"
10312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10313 /* end confdefs.h. */
10314 int __cdecl mainCRTStartup(void) { return 0; }
10315 _ACEOF
10316 if ac_fn_c_try_link "$LINENO"; then :
10317 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10318 else
10319 ac_cv_crosscflags__fno_omit_frame_pointer=no
10321 rm -f core conftest.err conftest.$ac_objext \
10322 conftest$ac_exeext conftest.$ac_ext
10323 CFLAGS=$ac_wine_try_cflags_saved
10324 CC=$ac_wine_try_cflags_saved_cc
10325 ac_exeext=$ac_wine_try_cflags_saved_exeext
10327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10328 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10329 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10330 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10331 fi ;;
10332 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10333 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10334 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10335 $as_echo_n "(cached) " >&6
10336 else
10337 ac_wine_try_cflags_saved=$CFLAGS
10338 ac_wine_try_cflags_saved_cc=$CC
10339 ac_wine_try_cflags_saved_exeext=$ac_exeext
10340 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10341 CC="$CROSSCC"
10342 ac_exeext=".exe"
10343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10344 /* end confdefs.h. */
10345 int __cdecl mainCRTStartup(void) { return 0; }
10346 _ACEOF
10347 if ac_fn_c_try_link "$LINENO"; then :
10348 ac_cv_crosscflags__Wno_format=yes
10349 else
10350 ac_cv_crosscflags__Wno_format=no
10352 rm -f core conftest.err conftest.$ac_objext \
10353 conftest$ac_exeext conftest.$ac_ext
10354 CFLAGS=$ac_wine_try_cflags_saved
10355 CC=$ac_wine_try_cflags_saved_cc
10356 ac_exeext=$ac_wine_try_cflags_saved_exeext
10358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10359 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10360 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10361 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10364 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10365 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10366 $as_echo_n "(cached) " >&6
10367 else
10368 ac_wine_try_cflags_saved=$CFLAGS
10369 ac_wine_try_cflags_saved_cc=$CC
10370 ac_wine_try_cflags_saved_exeext=$ac_exeext
10371 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10372 CC="$CROSSCC"
10373 ac_exeext=".exe"
10374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10375 /* end confdefs.h. */
10376 int __cdecl mainCRTStartup(void) { return 0; }
10377 _ACEOF
10378 if ac_fn_c_try_link "$LINENO"; then :
10379 ac_cv_crosscflags__Wformat_overflow=yes
10380 else
10381 ac_cv_crosscflags__Wformat_overflow=no
10383 rm -f core conftest.err conftest.$ac_objext \
10384 conftest$ac_exeext conftest.$ac_ext
10385 CFLAGS=$ac_wine_try_cflags_saved
10386 CC=$ac_wine_try_cflags_saved_cc
10387 ac_exeext=$ac_wine_try_cflags_saved_exeext
10389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10390 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10391 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10392 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10395 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10396 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10397 $as_echo_n "(cached) " >&6
10398 else
10399 ac_wine_try_cflags_saved=$CFLAGS
10400 ac_wine_try_cflags_saved_cc=$CC
10401 ac_wine_try_cflags_saved_exeext=$ac_exeext
10402 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10403 CC="$CROSSCC"
10404 ac_exeext=".exe"
10405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10406 /* end confdefs.h. */
10407 int __cdecl mainCRTStartup(void) { return 0; }
10408 _ACEOF
10409 if ac_fn_c_try_link "$LINENO"; then :
10410 ac_cv_crosscflags__Wnonnull=yes
10411 else
10412 ac_cv_crosscflags__Wnonnull=no
10414 rm -f core conftest.err conftest.$ac_objext \
10415 conftest$ac_exeext conftest.$ac_ext
10416 CFLAGS=$ac_wine_try_cflags_saved
10417 CC=$ac_wine_try_cflags_saved_cc
10418 ac_exeext=$ac_wine_try_cflags_saved_exeext
10420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10421 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10422 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10423 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10426 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10427 if ${ac_cv_crosscflags__mcx16+:} false; then :
10428 $as_echo_n "(cached) " >&6
10429 else
10430 ac_wine_try_cflags_saved=$CFLAGS
10431 ac_wine_try_cflags_saved_cc=$CC
10432 ac_wine_try_cflags_saved_exeext=$ac_exeext
10433 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10434 CC="$CROSSCC"
10435 ac_exeext=".exe"
10436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10437 /* end confdefs.h. */
10438 int __cdecl mainCRTStartup(void) { return 0; }
10439 _ACEOF
10440 if ac_fn_c_try_link "$LINENO"; then :
10441 ac_cv_crosscflags__mcx16=yes
10442 else
10443 ac_cv_crosscflags__mcx16=no
10445 rm -f core conftest.err conftest.$ac_objext \
10446 conftest$ac_exeext conftest.$ac_ext
10447 CFLAGS=$ac_wine_try_cflags_saved
10448 CC=$ac_wine_try_cflags_saved_cc
10449 ac_exeext=$ac_wine_try_cflags_saved_exeext
10451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10452 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10453 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10454 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10455 fi ;;
10456 aarch64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10457 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10458 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10459 $as_echo_n "(cached) " >&6
10460 else
10461 ac_wine_try_cflags_saved=$CFLAGS
10462 ac_wine_try_cflags_saved_cc=$CC
10463 ac_wine_try_cflags_saved_exeext=$ac_exeext
10464 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10465 CC="$CROSSCC"
10466 ac_exeext=".exe"
10467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10468 /* end confdefs.h. */
10469 int __cdecl mainCRTStartup(void) { return 0; }
10470 _ACEOF
10471 if ac_fn_c_try_link "$LINENO"; then :
10472 ac_cv_crosscflags__Wno_format=yes
10473 else
10474 ac_cv_crosscflags__Wno_format=no
10476 rm -f core conftest.err conftest.$ac_objext \
10477 conftest$ac_exeext conftest.$ac_ext
10478 CFLAGS=$ac_wine_try_cflags_saved
10479 CC=$ac_wine_try_cflags_saved_cc
10480 ac_exeext=$ac_wine_try_cflags_saved_exeext
10482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10483 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10484 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10485 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10486 fi ;;
10487 esac
10490 if test -z "$CROSSDEBUG"
10491 then
10492 for ac_flag in $CROSSCFLAGS; do
10493 case $ac_flag in
10494 -gdwarf*) CROSSDEBUG=dwarf ;;
10495 -gcodeview) CROSSDEBUG=pdb ;;
10496 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10497 esac
10498 done
10500 case $CROSSDEBUG in
10501 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10502 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10503 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10504 $as_echo_n "(cached) " >&6
10505 else
10506 ac_wine_try_cflags_saved=$CFLAGS
10507 ac_wine_try_cflags_saved_cc=$CC
10508 ac_wine_try_cflags_saved_exeext=$ac_exeext
10509 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10510 CC="$CROSSCC"
10511 ac_exeext=".exe"
10512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10513 /* end confdefs.h. */
10514 int __cdecl mainCRTStartup(void) { return 0; }
10515 _ACEOF
10516 if ac_fn_c_try_link "$LINENO"; then :
10517 ac_cv_crosscflags__gdwarf_2=yes
10518 else
10519 ac_cv_crosscflags__gdwarf_2=no
10521 rm -f core conftest.err conftest.$ac_objext \
10522 conftest$ac_exeext conftest.$ac_ext
10523 CFLAGS=$ac_wine_try_cflags_saved
10524 CC=$ac_wine_try_cflags_saved_cc
10525 ac_exeext=$ac_wine_try_cflags_saved_exeext
10527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10528 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10529 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10530 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10533 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10534 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10535 $as_echo_n "(cached) " >&6
10536 else
10537 ac_wine_try_cflags_saved=$CFLAGS
10538 ac_wine_try_cflags_saved_cc=$CC
10539 ac_wine_try_cflags_saved_exeext=$ac_exeext
10540 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10541 CC="$CROSSCC"
10542 ac_exeext=".exe"
10543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10544 /* end confdefs.h. */
10545 int __cdecl mainCRTStartup(void) { return 0; }
10546 _ACEOF
10547 if ac_fn_c_try_link "$LINENO"; then :
10548 ac_cv_crosscflags__gstrict_dwarf=yes
10549 else
10550 ac_cv_crosscflags__gstrict_dwarf=no
10552 rm -f core conftest.err conftest.$ac_objext \
10553 conftest$ac_exeext conftest.$ac_ext
10554 CFLAGS=$ac_wine_try_cflags_saved
10555 CC=$ac_wine_try_cflags_saved_cc
10556 ac_exeext=$ac_wine_try_cflags_saved_exeext
10558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10559 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10560 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10561 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10562 fi ;;
10563 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10564 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10565 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10566 $as_echo_n "(cached) " >&6
10567 else
10568 ac_wine_try_cflags_saved=$CFLAGS
10569 ac_wine_try_cflags_saved_cc=$CC
10570 ac_wine_try_cflags_saved_exeext=$ac_exeext
10571 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10572 CC="$CROSSCC"
10573 ac_exeext=".exe"
10574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10575 /* end confdefs.h. */
10576 int __cdecl mainCRTStartup(void) { return 0; }
10577 _ACEOF
10578 if ac_fn_c_try_link "$LINENO"; then :
10579 ac_cv_crosscflags__gcodeview=yes
10580 else
10581 ac_cv_crosscflags__gcodeview=no
10583 rm -f core conftest.err conftest.$ac_objext \
10584 conftest$ac_exeext conftest.$ac_ext
10585 CFLAGS=$ac_wine_try_cflags_saved
10586 CC=$ac_wine_try_cflags_saved_cc
10587 ac_exeext=$ac_wine_try_cflags_saved_exeext
10589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10590 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10591 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10592 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10593 fi ;;
10594 esac
10596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10597 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10598 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10599 $as_echo_n "(cached) " >&6
10600 else
10601 ac_wine_try_cflags_saved=$CFLAGS
10602 ac_wine_try_cflags_saved_cc=$CC
10603 ac_wine_try_cflags_saved_exeext=$ac_exeext
10604 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10605 CC="$CROSSCC"
10606 ac_exeext=".exe"
10607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10608 /* end confdefs.h. */
10609 int __cdecl mainCRTStartup(void) { return 0; }
10610 _ACEOF
10611 if ac_fn_c_try_link "$LINENO"; then :
10612 ac_cv_crosscflags__fexcess_precision_standard=yes
10613 else
10614 ac_cv_crosscflags__fexcess_precision_standard=no
10616 rm -f core conftest.err conftest.$ac_objext \
10617 conftest$ac_exeext conftest.$ac_ext
10618 CFLAGS=$ac_wine_try_cflags_saved
10619 CC=$ac_wine_try_cflags_saved_cc
10620 ac_exeext=$ac_wine_try_cflags_saved_exeext
10622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10623 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10624 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10625 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10629 if test "x$enable_werror" = "xyes"
10630 then
10631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10632 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10633 if ${ac_cv_crosscflags__Werror+:} false; then :
10634 $as_echo_n "(cached) " >&6
10635 else
10636 ac_wine_try_cflags_saved=$CFLAGS
10637 ac_wine_try_cflags_saved_cc=$CC
10638 ac_wine_try_cflags_saved_exeext=$ac_exeext
10639 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10640 CC="$CROSSCC"
10641 ac_exeext=".exe"
10642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10643 /* end confdefs.h. */
10644 int __cdecl mainCRTStartup(void) { return 0; }
10645 _ACEOF
10646 if ac_fn_c_try_link "$LINENO"; then :
10647 ac_cv_crosscflags__Werror=yes
10648 else
10649 ac_cv_crosscflags__Werror=no
10651 rm -f core conftest.err conftest.$ac_objext \
10652 conftest$ac_exeext conftest.$ac_ext
10653 CFLAGS=$ac_wine_try_cflags_saved
10654 CC=$ac_wine_try_cflags_saved_cc
10655 ac_exeext=$ac_wine_try_cflags_saved_exeext
10657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10658 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10659 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10660 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10663 if test "x$enable_build_id" = "xyes"
10664 then
10665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
10666 $as_echo_n "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
10667 if ${ac_cv_crosscflags__Wl___build_id+:} false; then :
10668 $as_echo_n "(cached) " >&6
10669 else
10670 ac_wine_try_cflags_saved=$CFLAGS
10671 ac_wine_try_cflags_saved_cc=$CC
10672 ac_wine_try_cflags_saved_exeext=$ac_exeext
10673 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
10674 CC="$CROSSCC"
10675 ac_exeext=".exe"
10676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10677 /* end confdefs.h. */
10678 int __cdecl mainCRTStartup(void) { return 0; }
10679 _ACEOF
10680 if ac_fn_c_try_link "$LINENO"; then :
10681 ac_cv_crosscflags__Wl___build_id=yes
10682 else
10683 ac_cv_crosscflags__Wl___build_id=no
10685 rm -f core conftest.err conftest.$ac_objext \
10686 conftest$ac_exeext conftest.$ac_ext
10687 CFLAGS=$ac_wine_try_cflags_saved
10688 CC=$ac_wine_try_cflags_saved_cc
10689 ac_exeext=$ac_wine_try_cflags_saved_exeext
10691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
10692 $as_echo "$ac_cv_crosscflags__Wl___build_id" >&6; }
10693 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes; then :
10694 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
10695 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
10699 CFLAGS=$saved_CFLAGS
10700 LDFLAGS=$saved_LDFLAGS
10701 CC="$ac_save_CC"
10704 if test "x$CROSSTARGET" = "x"; then :
10705 case "x$with_mingw" in
10706 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10707 xno) ;;
10708 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10709 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10710 esac
10715 if ${JPEG_PE_CFLAGS:+false} :; then :
10716 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
10717 else
10718 enable_jpeg=no
10720 if ${JPEG_PE_LIBS:+false} :; then :
10721 JPEG_PE_LIBS=jpeg
10722 else
10723 enable_jpeg=no
10725 $as_echo "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
10726 $as_echo "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
10728 if ${PNG_PE_CFLAGS:+false} :; then :
10729 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
10730 else
10731 enable_png=no
10733 if ${PNG_PE_LIBS:+false} :; then :
10734 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
10735 else
10736 enable_png=no
10738 $as_echo "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
10739 $as_echo "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
10741 if ${ZLIB_PE_CFLAGS:+false} :; then :
10742 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
10743 else
10744 enable_zlib=no
10746 if ${ZLIB_PE_LIBS:+false} :; then :
10747 ZLIB_PE_LIBS=z
10748 else
10749 enable_zlib=no
10751 $as_echo "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
10752 $as_echo "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
10756 if test "$ac_cv_header_pthread_h" = "yes"
10757 then
10758 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10759 if test "x$ac_cv_func_pthread_create" = xyes; then :
10761 else
10762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10763 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10764 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10765 $as_echo_n "(cached) " >&6
10766 else
10767 ac_check_lib_save_LIBS=$LIBS
10768 LIBS="-lpthread $LIBS"
10769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10770 /* end confdefs.h. */
10772 /* Override any GCC internal prototype to avoid an error.
10773 Use char because int might match the return type of a GCC
10774 builtin and then its argument prototype would still apply. */
10775 #ifdef __cplusplus
10776 extern "C"
10777 #endif
10778 char pthread_create ();
10780 main ()
10782 return pthread_create ();
10784 return 0;
10786 _ACEOF
10787 if ac_fn_c_try_link "$LINENO"; then :
10788 ac_cv_lib_pthread_pthread_create=yes
10789 else
10790 ac_cv_lib_pthread_pthread_create=no
10792 rm -f core conftest.err conftest.$ac_objext \
10793 conftest$ac_exeext conftest.$ac_ext
10794 LIBS=$ac_check_lib_save_LIBS
10796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10797 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10798 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10799 PTHREAD_LIBS="-lpthread"
10806 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10807 case "x$with_pthread" in
10808 xno) ;;
10809 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10810 Wine cannot support threads without libpthread.
10811 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10812 esac
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10818 $as_echo_n "checking for X... " >&6; }
10821 # Check whether --with-x was given.
10822 if test "${with_x+set}" = set; then :
10823 withval=$with_x;
10826 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10827 if test "x$with_x" = xno; then
10828 # The user explicitly disabled X.
10829 have_x=disabled
10830 else
10831 case $x_includes,$x_libraries in #(
10832 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10833 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10834 $as_echo_n "(cached) " >&6
10835 else
10836 # One or both of the vars are not set, and there is no cached value.
10837 ac_x_includes=no ac_x_libraries=no
10838 rm -f -r conftest.dir
10839 if mkdir conftest.dir; then
10840 cd conftest.dir
10841 cat >Imakefile <<'_ACEOF'
10842 incroot:
10843 @echo incroot='${INCROOT}'
10844 usrlibdir:
10845 @echo usrlibdir='${USRLIBDIR}'
10846 libdir:
10847 @echo libdir='${LIBDIR}'
10848 _ACEOF
10849 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10850 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10851 for ac_var in incroot usrlibdir libdir; do
10852 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10853 done
10854 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10855 for ac_extension in a so sl dylib la dll; do
10856 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10857 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10858 ac_im_usrlibdir=$ac_im_libdir; break
10860 done
10861 # Screen out bogus values from the imake configuration. They are
10862 # bogus both because they are the default anyway, and because
10863 # using them would break gcc on systems where it needs fixed includes.
10864 case $ac_im_incroot in
10865 /usr/include) ac_x_includes= ;;
10866 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10867 esac
10868 case $ac_im_usrlibdir in
10869 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10870 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10871 esac
10873 cd ..
10874 rm -f -r conftest.dir
10877 # Standard set of common directories for X headers.
10878 # Check X11 before X11Rn because it is often a symlink to the current release.
10879 ac_x_header_dirs='
10880 /usr/X11/include
10881 /usr/X11R7/include
10882 /usr/X11R6/include
10883 /usr/X11R5/include
10884 /usr/X11R4/include
10886 /usr/include/X11
10887 /usr/include/X11R7
10888 /usr/include/X11R6
10889 /usr/include/X11R5
10890 /usr/include/X11R4
10892 /usr/local/X11/include
10893 /usr/local/X11R7/include
10894 /usr/local/X11R6/include
10895 /usr/local/X11R5/include
10896 /usr/local/X11R4/include
10898 /usr/local/include/X11
10899 /usr/local/include/X11R7
10900 /usr/local/include/X11R6
10901 /usr/local/include/X11R5
10902 /usr/local/include/X11R4
10904 /usr/X386/include
10905 /usr/x386/include
10906 /usr/XFree86/include/X11
10908 /usr/include
10909 /usr/local/include
10910 /usr/unsupported/include
10911 /usr/athena/include
10912 /usr/local/x11r5/include
10913 /usr/lpp/Xamples/include
10915 /usr/openwin/include
10916 /usr/openwin/share/include'
10918 if test "$ac_x_includes" = no; then
10919 # Guess where to find include files, by looking for Xlib.h.
10920 # First, try using that file with no special directory specified.
10921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10922 /* end confdefs.h. */
10923 #include <X11/Xlib.h>
10924 _ACEOF
10925 if ac_fn_c_try_cpp "$LINENO"; then :
10926 # We can compile using X headers with no special include directory.
10927 ac_x_includes=
10928 else
10929 for ac_dir in $ac_x_header_dirs; do
10930 if test -r "$ac_dir/X11/Xlib.h"; then
10931 ac_x_includes=$ac_dir
10932 break
10934 done
10936 rm -f conftest.err conftest.i conftest.$ac_ext
10937 fi # $ac_x_includes = no
10939 if test "$ac_x_libraries" = no; then
10940 # Check for the libraries.
10941 # See if we find them without any special options.
10942 # Don't add to $LIBS permanently.
10943 ac_save_LIBS=$LIBS
10944 LIBS="-lX11 $LIBS"
10945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10946 /* end confdefs.h. */
10947 #include <X11/Xlib.h>
10949 main ()
10951 XrmInitialize ()
10953 return 0;
10955 _ACEOF
10956 if ac_fn_c_try_link "$LINENO"; then :
10957 LIBS=$ac_save_LIBS
10958 # We can link X programs with no special library path.
10959 ac_x_libraries=
10960 else
10961 LIBS=$ac_save_LIBS
10962 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10964 # Don't even attempt the hair of trying to link an X program!
10965 for ac_extension in a so sl dylib la dll; do
10966 if test -r "$ac_dir/libX11.$ac_extension"; then
10967 ac_x_libraries=$ac_dir
10968 break 2
10970 done
10971 done
10973 rm -f core conftest.err conftest.$ac_objext \
10974 conftest$ac_exeext conftest.$ac_ext
10975 fi # $ac_x_libraries = no
10977 case $ac_x_includes,$ac_x_libraries in #(
10978 no,* | *,no | *\'*)
10979 # Didn't find X, or a directory has "'" in its name.
10980 ac_cv_have_x="have_x=no";; #(
10982 # Record where we found X for the cache.
10983 ac_cv_have_x="have_x=yes\
10984 ac_x_includes='$ac_x_includes'\
10985 ac_x_libraries='$ac_x_libraries'"
10986 esac
10988 ;; #(
10989 *) have_x=yes;;
10990 esac
10991 eval "$ac_cv_have_x"
10992 fi # $with_x != no
10994 if test "$have_x" != yes; then
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10996 $as_echo "$have_x" >&6; }
10997 no_x=yes
10998 else
10999 # If each of the values was on the command line, it overrides each guess.
11000 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11001 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11002 # Update the cache value to reflect the command line values.
11003 ac_cv_have_x="have_x=yes\
11004 ac_x_includes='$x_includes'\
11005 ac_x_libraries='$x_libraries'"
11006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
11007 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11010 if test "$no_x" = yes; then
11011 # Not all programs may use this symbol, but it does not hurt to define it.
11013 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
11015 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11016 else
11017 if test -n "$x_includes"; then
11018 X_CFLAGS="$X_CFLAGS -I$x_includes"
11021 # It would also be nice to do this for all -L options, not just this one.
11022 if test -n "$x_libraries"; then
11023 X_LIBS="$X_LIBS -L$x_libraries"
11024 # For Solaris; some versions of Sun CC require a space after -R and
11025 # others require no space. Words are not sufficient . . . .
11026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
11027 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
11028 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11029 ac_xsave_c_werror_flag=$ac_c_werror_flag
11030 ac_c_werror_flag=yes
11031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11032 /* end confdefs.h. */
11035 main ()
11039 return 0;
11041 _ACEOF
11042 if ac_fn_c_try_link "$LINENO"; then :
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11044 $as_echo "no" >&6; }
11045 X_LIBS="$X_LIBS -R$x_libraries"
11046 else
11047 LIBS="$ac_xsave_LIBS -R $x_libraries"
11048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11049 /* end confdefs.h. */
11052 main ()
11056 return 0;
11058 _ACEOF
11059 if ac_fn_c_try_link "$LINENO"; then :
11060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11061 $as_echo "yes" >&6; }
11062 X_LIBS="$X_LIBS -R $x_libraries"
11063 else
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11065 $as_echo "neither works" >&6; }
11067 rm -f core conftest.err conftest.$ac_objext \
11068 conftest$ac_exeext conftest.$ac_ext
11070 rm -f core conftest.err conftest.$ac_objext \
11071 conftest$ac_exeext conftest.$ac_ext
11072 ac_c_werror_flag=$ac_xsave_c_werror_flag
11073 LIBS=$ac_xsave_LIBS
11076 # Check for system-dependent libraries X programs must link with.
11077 # Do this before checking for the system-independent R6 libraries
11078 # (-lICE), since we may need -lsocket or whatever for X linking.
11080 if test "$ISC" = yes; then
11081 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11082 else
11083 # Martyn Johnson says this is needed for Ultrix, if the X
11084 # libraries were built with DECnet support. And Karl Berry says
11085 # the Alpha needs dnet_stub (dnet does not exist).
11086 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11088 /* end confdefs.h. */
11090 /* Override any GCC internal prototype to avoid an error.
11091 Use char because int might match the return type of a GCC
11092 builtin and then its argument prototype would still apply. */
11093 #ifdef __cplusplus
11094 extern "C"
11095 #endif
11096 char XOpenDisplay ();
11098 main ()
11100 return XOpenDisplay ();
11102 return 0;
11104 _ACEOF
11105 if ac_fn_c_try_link "$LINENO"; then :
11107 else
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11109 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11110 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11111 $as_echo_n "(cached) " >&6
11112 else
11113 ac_check_lib_save_LIBS=$LIBS
11114 LIBS="-ldnet $LIBS"
11115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11116 /* end confdefs.h. */
11118 /* Override any GCC internal prototype to avoid an error.
11119 Use char because int might match the return type of a GCC
11120 builtin and then its argument prototype would still apply. */
11121 #ifdef __cplusplus
11122 extern "C"
11123 #endif
11124 char dnet_ntoa ();
11126 main ()
11128 return dnet_ntoa ();
11130 return 0;
11132 _ACEOF
11133 if ac_fn_c_try_link "$LINENO"; then :
11134 ac_cv_lib_dnet_dnet_ntoa=yes
11135 else
11136 ac_cv_lib_dnet_dnet_ntoa=no
11138 rm -f core conftest.err conftest.$ac_objext \
11139 conftest$ac_exeext conftest.$ac_ext
11140 LIBS=$ac_check_lib_save_LIBS
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11143 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11144 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11145 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11148 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11150 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11151 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11152 $as_echo_n "(cached) " >&6
11153 else
11154 ac_check_lib_save_LIBS=$LIBS
11155 LIBS="-ldnet_stub $LIBS"
11156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11157 /* end confdefs.h. */
11159 /* Override any GCC internal prototype to avoid an error.
11160 Use char because int might match the return type of a GCC
11161 builtin and then its argument prototype would still apply. */
11162 #ifdef __cplusplus
11163 extern "C"
11164 #endif
11165 char dnet_ntoa ();
11167 main ()
11169 return dnet_ntoa ();
11171 return 0;
11173 _ACEOF
11174 if ac_fn_c_try_link "$LINENO"; then :
11175 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11176 else
11177 ac_cv_lib_dnet_stub_dnet_ntoa=no
11179 rm -f core conftest.err conftest.$ac_objext \
11180 conftest$ac_exeext conftest.$ac_ext
11181 LIBS=$ac_check_lib_save_LIBS
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11184 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11185 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11186 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11191 rm -f core conftest.err conftest.$ac_objext \
11192 conftest$ac_exeext conftest.$ac_ext
11193 LIBS="$ac_xsave_LIBS"
11195 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11196 # to get the SysV transport functions.
11197 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11198 # needs -lnsl.
11199 # The nsl library prevents programs from opening the X display
11200 # on Irix 5.2, according to T.E. Dickey.
11201 # The functions gethostbyname, getservbyname, and inet_addr are
11202 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11203 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11204 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11208 if test $ac_cv_func_gethostbyname = no; then
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11210 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11211 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11212 $as_echo_n "(cached) " >&6
11213 else
11214 ac_check_lib_save_LIBS=$LIBS
11215 LIBS="-lnsl $LIBS"
11216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11217 /* end confdefs.h. */
11219 /* Override any GCC internal prototype to avoid an error.
11220 Use char because int might match the return type of a GCC
11221 builtin and then its argument prototype would still apply. */
11222 #ifdef __cplusplus
11223 extern "C"
11224 #endif
11225 char gethostbyname ();
11227 main ()
11229 return gethostbyname ();
11231 return 0;
11233 _ACEOF
11234 if ac_fn_c_try_link "$LINENO"; then :
11235 ac_cv_lib_nsl_gethostbyname=yes
11236 else
11237 ac_cv_lib_nsl_gethostbyname=no
11239 rm -f core conftest.err conftest.$ac_objext \
11240 conftest$ac_exeext conftest.$ac_ext
11241 LIBS=$ac_check_lib_save_LIBS
11243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11244 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11245 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11246 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11249 if test $ac_cv_lib_nsl_gethostbyname = no; then
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11251 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11252 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11253 $as_echo_n "(cached) " >&6
11254 else
11255 ac_check_lib_save_LIBS=$LIBS
11256 LIBS="-lbsd $LIBS"
11257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11258 /* end confdefs.h. */
11260 /* Override any GCC internal prototype to avoid an error.
11261 Use char because int might match the return type of a GCC
11262 builtin and then its argument prototype would still apply. */
11263 #ifdef __cplusplus
11264 extern "C"
11265 #endif
11266 char gethostbyname ();
11268 main ()
11270 return gethostbyname ();
11272 return 0;
11274 _ACEOF
11275 if ac_fn_c_try_link "$LINENO"; then :
11276 ac_cv_lib_bsd_gethostbyname=yes
11277 else
11278 ac_cv_lib_bsd_gethostbyname=no
11280 rm -f core conftest.err conftest.$ac_objext \
11281 conftest$ac_exeext conftest.$ac_ext
11282 LIBS=$ac_check_lib_save_LIBS
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11285 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11286 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11287 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11293 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11294 # socket/setsockopt and other routines are undefined under SCO ODT
11295 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11296 # on later versions), says Simon Leinen: it contains gethostby*
11297 # variants that don't use the name server (or something). -lsocket
11298 # must be given before -lnsl if both are needed. We assume that
11299 # if connect needs -lnsl, so does gethostbyname.
11300 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11301 if test "x$ac_cv_func_connect" = xyes; then :
11305 if test $ac_cv_func_connect = no; then
11306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11307 $as_echo_n "checking for connect in -lsocket... " >&6; }
11308 if ${ac_cv_lib_socket_connect+:} false; then :
11309 $as_echo_n "(cached) " >&6
11310 else
11311 ac_check_lib_save_LIBS=$LIBS
11312 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11314 /* end confdefs.h. */
11316 /* Override any GCC internal prototype to avoid an error.
11317 Use char because int might match the return type of a GCC
11318 builtin and then its argument prototype would still apply. */
11319 #ifdef __cplusplus
11320 extern "C"
11321 #endif
11322 char connect ();
11324 main ()
11326 return connect ();
11328 return 0;
11330 _ACEOF
11331 if ac_fn_c_try_link "$LINENO"; then :
11332 ac_cv_lib_socket_connect=yes
11333 else
11334 ac_cv_lib_socket_connect=no
11336 rm -f core conftest.err conftest.$ac_objext \
11337 conftest$ac_exeext conftest.$ac_ext
11338 LIBS=$ac_check_lib_save_LIBS
11340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11341 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11342 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11343 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11348 # Guillermo Gomez says -lposix is necessary on A/UX.
11349 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11350 if test "x$ac_cv_func_remove" = xyes; then :
11354 if test $ac_cv_func_remove = no; then
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11356 $as_echo_n "checking for remove in -lposix... " >&6; }
11357 if ${ac_cv_lib_posix_remove+:} false; then :
11358 $as_echo_n "(cached) " >&6
11359 else
11360 ac_check_lib_save_LIBS=$LIBS
11361 LIBS="-lposix $LIBS"
11362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11363 /* end confdefs.h. */
11365 /* Override any GCC internal prototype to avoid an error.
11366 Use char because int might match the return type of a GCC
11367 builtin and then its argument prototype would still apply. */
11368 #ifdef __cplusplus
11369 extern "C"
11370 #endif
11371 char remove ();
11373 main ()
11375 return remove ();
11377 return 0;
11379 _ACEOF
11380 if ac_fn_c_try_link "$LINENO"; then :
11381 ac_cv_lib_posix_remove=yes
11382 else
11383 ac_cv_lib_posix_remove=no
11385 rm -f core conftest.err conftest.$ac_objext \
11386 conftest$ac_exeext conftest.$ac_ext
11387 LIBS=$ac_check_lib_save_LIBS
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11390 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11391 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11392 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11397 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11398 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11399 if test "x$ac_cv_func_shmat" = xyes; then :
11403 if test $ac_cv_func_shmat = no; then
11404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11405 $as_echo_n "checking for shmat in -lipc... " >&6; }
11406 if ${ac_cv_lib_ipc_shmat+:} false; then :
11407 $as_echo_n "(cached) " >&6
11408 else
11409 ac_check_lib_save_LIBS=$LIBS
11410 LIBS="-lipc $LIBS"
11411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11412 /* end confdefs.h. */
11414 /* Override any GCC internal prototype to avoid an error.
11415 Use char because int might match the return type of a GCC
11416 builtin and then its argument prototype would still apply. */
11417 #ifdef __cplusplus
11418 extern "C"
11419 #endif
11420 char shmat ();
11422 main ()
11424 return shmat ();
11426 return 0;
11428 _ACEOF
11429 if ac_fn_c_try_link "$LINENO"; then :
11430 ac_cv_lib_ipc_shmat=yes
11431 else
11432 ac_cv_lib_ipc_shmat=no
11434 rm -f core conftest.err conftest.$ac_objext \
11435 conftest$ac_exeext conftest.$ac_ext
11436 LIBS=$ac_check_lib_save_LIBS
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11439 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11440 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11441 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11447 # Check for libraries that X11R6 Xt/Xaw programs need.
11448 ac_save_LDFLAGS=$LDFLAGS
11449 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11450 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11451 # check for ICE first), but we must link in the order -lSM -lICE or
11452 # we get undefined symbols. So assume we have SM if we have ICE.
11453 # These have to be linked with before -lX11, unlike the other
11454 # libraries we check for below, so use a different variable.
11455 # John Interrante, Karl Berry
11456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11457 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11458 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11459 $as_echo_n "(cached) " >&6
11460 else
11461 ac_check_lib_save_LIBS=$LIBS
11462 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11464 /* end confdefs.h. */
11466 /* Override any GCC internal prototype to avoid an error.
11467 Use char because int might match the return type of a GCC
11468 builtin and then its argument prototype would still apply. */
11469 #ifdef __cplusplus
11470 extern "C"
11471 #endif
11472 char IceConnectionNumber ();
11474 main ()
11476 return IceConnectionNumber ();
11478 return 0;
11480 _ACEOF
11481 if ac_fn_c_try_link "$LINENO"; then :
11482 ac_cv_lib_ICE_IceConnectionNumber=yes
11483 else
11484 ac_cv_lib_ICE_IceConnectionNumber=no
11486 rm -f core conftest.err conftest.$ac_objext \
11487 conftest$ac_exeext conftest.$ac_ext
11488 LIBS=$ac_check_lib_save_LIBS
11490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11491 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11492 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11493 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11496 LDFLAGS=$ac_save_LDFLAGS
11501 if test "$have_x" = "yes"
11502 then
11503 ac_save_CPPFLAGS="$CPPFLAGS"
11504 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11507 $as_echo_n "checking for -lX11... " >&6; }
11508 if ${ac_cv_lib_soname_X11+:} false; then :
11509 $as_echo_n "(cached) " >&6
11510 else
11511 ac_check_soname_save_LIBS=$LIBS
11512 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11514 /* end confdefs.h. */
11516 /* Override any GCC internal prototype to avoid an error.
11517 Use char because int might match the return type of a GCC
11518 builtin and then its argument prototype would still apply. */
11519 #ifdef __cplusplus
11520 extern "C"
11521 #endif
11522 char XCreateWindow ();
11524 main ()
11526 return XCreateWindow ();
11528 return 0;
11530 _ACEOF
11531 if ac_fn_c_try_link "$LINENO"; then :
11532 case "$LIBEXT" in
11533 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11534 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'` ;;
11535 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11536 if ${ac_cv_lib_soname_X11:+false} :; then :
11537 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11538 fi ;;
11539 esac
11540 else
11541 ac_cv_lib_soname_X11=
11543 rm -f core conftest.err conftest.$ac_objext \
11544 conftest$ac_exeext conftest.$ac_ext
11545 LIBS=$ac_check_soname_save_LIBS
11547 if ${ac_cv_lib_soname_X11:+false} :; then :
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11549 $as_echo "not found" >&6; }
11551 else
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11553 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11555 cat >>confdefs.h <<_ACEOF
11556 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11557 _ACEOF
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11562 $as_echo_n "checking for -lXext... " >&6; }
11563 if ${ac_cv_lib_soname_Xext+:} false; then :
11564 $as_echo_n "(cached) " >&6
11565 else
11566 ac_check_soname_save_LIBS=$LIBS
11567 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11569 /* end confdefs.h. */
11571 /* Override any GCC internal prototype to avoid an error.
11572 Use char because int might match the return type of a GCC
11573 builtin and then its argument prototype would still apply. */
11574 #ifdef __cplusplus
11575 extern "C"
11576 #endif
11577 char XextCreateExtension ();
11579 main ()
11581 return XextCreateExtension ();
11583 return 0;
11585 _ACEOF
11586 if ac_fn_c_try_link "$LINENO"; then :
11587 case "$LIBEXT" in
11588 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11589 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'` ;;
11590 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11591 if ${ac_cv_lib_soname_Xext:+false} :; then :
11592 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11593 fi ;;
11594 esac
11595 else
11596 ac_cv_lib_soname_Xext=
11598 rm -f core conftest.err conftest.$ac_objext \
11599 conftest$ac_exeext conftest.$ac_ext
11600 LIBS=$ac_check_soname_save_LIBS
11602 if ${ac_cv_lib_soname_Xext:+false} :; then :
11603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11604 $as_echo "not found" >&6; }
11606 else
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11608 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11610 cat >>confdefs.h <<_ACEOF
11611 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11612 _ACEOF
11614 X_LIBS="$X_LIBS -lXext"
11616 X_LIBS="$X_LIBS -lX11"
11618 for ac_header in X11/Xlib.h \
11619 X11/XKBlib.h \
11620 X11/Xutil.h \
11621 X11/Xcursor/Xcursor.h \
11622 X11/extensions/shape.h \
11623 X11/extensions/XInput.h \
11624 X11/extensions/XInput2.h \
11625 X11/extensions/XShm.h \
11626 X11/extensions/Xcomposite.h \
11627 X11/extensions/Xfixes.h \
11628 X11/extensions/Xinerama.h \
11629 X11/extensions/Xrandr.h \
11630 X11/extensions/Xrender.h \
11631 X11/extensions/xf86vmode.h \
11632 X11/extensions/xf86vmproto.h
11633 do :
11634 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11635 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11636 # include <X11/Xlib.h>
11637 #endif
11638 #ifdef HAVE_X11_XUTIL_H
11639 # include <X11/Xutil.h>
11640 #endif
11642 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11643 cat >>confdefs.h <<_ACEOF
11644 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11645 _ACEOF
11649 done
11652 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11653 then
11654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11655 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11656 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11657 $as_echo_n "(cached) " >&6
11658 else
11659 ac_check_lib_save_LIBS=$LIBS
11660 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11662 /* end confdefs.h. */
11664 /* Override any GCC internal prototype to avoid an error.
11665 Use char because int might match the return type of a GCC
11666 builtin and then its argument prototype would still apply. */
11667 #ifdef __cplusplus
11668 extern "C"
11669 #endif
11670 char XkbQueryExtension ();
11672 main ()
11674 return XkbQueryExtension ();
11676 return 0;
11678 _ACEOF
11679 if ac_fn_c_try_link "$LINENO"; then :
11680 ac_cv_lib_X11_XkbQueryExtension=yes
11681 else
11682 ac_cv_lib_X11_XkbQueryExtension=no
11684 rm -f core conftest.err conftest.$ac_objext \
11685 conftest$ac_exeext conftest.$ac_ext
11686 LIBS=$ac_check_lib_save_LIBS
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11689 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11690 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11692 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11698 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11699 then
11700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11701 $as_echo_n "checking for -lXcursor... " >&6; }
11702 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11703 $as_echo_n "(cached) " >&6
11704 else
11705 ac_check_soname_save_LIBS=$LIBS
11706 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11708 /* end confdefs.h. */
11710 /* Override any GCC internal prototype to avoid an error.
11711 Use char because int might match the return type of a GCC
11712 builtin and then its argument prototype would still apply. */
11713 #ifdef __cplusplus
11714 extern "C"
11715 #endif
11716 char XcursorImageLoadCursor ();
11718 main ()
11720 return XcursorImageLoadCursor ();
11722 return 0;
11724 _ACEOF
11725 if ac_fn_c_try_link "$LINENO"; then :
11726 case "$LIBEXT" in
11727 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11728 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'` ;;
11729 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11730 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11731 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11732 fi ;;
11733 esac
11734 else
11735 ac_cv_lib_soname_Xcursor=
11737 rm -f core conftest.err conftest.$ac_objext \
11738 conftest$ac_exeext conftest.$ac_ext
11739 LIBS=$ac_check_soname_save_LIBS
11741 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11743 $as_echo "not found" >&6; }
11745 else
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11747 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11749 cat >>confdefs.h <<_ACEOF
11750 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11751 _ACEOF
11756 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11757 case "x$with_xcursor" in
11758 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11759 xno) ;;
11760 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11761 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11762 esac
11766 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11767 then
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11769 $as_echo_n "checking for -lXi... " >&6; }
11770 if ${ac_cv_lib_soname_Xi+:} false; then :
11771 $as_echo_n "(cached) " >&6
11772 else
11773 ac_check_soname_save_LIBS=$LIBS
11774 LIBS="-lXi $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 XOpenDevice ();
11786 main ()
11788 return XOpenDevice ();
11790 return 0;
11792 _ACEOF
11793 if ac_fn_c_try_link "$LINENO"; then :
11794 case "$LIBEXT" in
11795 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11796 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'` ;;
11797 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11798 if ${ac_cv_lib_soname_Xi:+false} :; then :
11799 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11800 fi ;;
11801 esac
11802 else
11803 ac_cv_lib_soname_Xi=
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_Xi:+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_Xi" >&5
11815 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11817 cat >>confdefs.h <<_ACEOF
11818 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11819 _ACEOF
11824 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11825 case "x$with_xinput" in
11826 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11827 xno) ;;
11828 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11829 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11830 esac
11834 if test "x$ac_cv_lib_soname_Xi" != x
11835 then
11836 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11837 case "x$with_xinput2" in
11838 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11839 xno) ;;
11840 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11841 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11842 esac
11847 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11848 then
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11850 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11851 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11852 $as_echo_n "(cached) " >&6
11853 else
11854 ac_check_lib_save_LIBS=$LIBS
11855 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11857 /* end confdefs.h. */
11859 /* Override any GCC internal prototype to avoid an error.
11860 Use char because int might match the return type of a GCC
11861 builtin and then its argument prototype would still apply. */
11862 #ifdef __cplusplus
11863 extern "C"
11864 #endif
11865 char XShmQueryExtension ();
11867 main ()
11869 return XShmQueryExtension ();
11871 return 0;
11873 _ACEOF
11874 if ac_fn_c_try_link "$LINENO"; then :
11875 ac_cv_lib_Xext_XShmQueryExtension=yes
11876 else
11877 ac_cv_lib_Xext_XShmQueryExtension=no
11879 rm -f core conftest.err conftest.$ac_objext \
11880 conftest$ac_exeext conftest.$ac_ext
11881 LIBS=$ac_check_lib_save_LIBS
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11884 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11885 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11887 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11892 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11893 case "x$with_xshm" in
11894 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11895 xno) ;;
11896 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11897 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11898 esac
11902 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11903 then
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11905 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11906 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11907 $as_echo_n "(cached) " >&6
11908 else
11909 ac_check_lib_save_LIBS=$LIBS
11910 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11912 /* end confdefs.h. */
11914 /* Override any GCC internal prototype to avoid an error.
11915 Use char because int might match the return type of a GCC
11916 builtin and then its argument prototype would still apply. */
11917 #ifdef __cplusplus
11918 extern "C"
11919 #endif
11920 char XShapeQueryExtension ();
11922 main ()
11924 return XShapeQueryExtension ();
11926 return 0;
11928 _ACEOF
11929 if ac_fn_c_try_link "$LINENO"; then :
11930 ac_cv_lib_Xext_XShapeQueryExtension=yes
11931 else
11932 ac_cv_lib_Xext_XShapeQueryExtension=no
11934 rm -f core conftest.err conftest.$ac_objext \
11935 conftest$ac_exeext conftest.$ac_ext
11936 LIBS=$ac_check_lib_save_LIBS
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11939 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11940 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11942 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11947 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11948 case "x$with_xshape" in
11949 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11950 xno) ;;
11951 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11952 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11953 esac
11957 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11958 then
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11960 $as_echo_n "checking for -lXxf86vm... " >&6; }
11961 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11962 $as_echo_n "(cached) " >&6
11963 else
11964 ac_check_soname_save_LIBS=$LIBS
11965 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11967 /* end confdefs.h. */
11969 /* Override any GCC internal prototype to avoid an error.
11970 Use char because int might match the return type of a GCC
11971 builtin and then its argument prototype would still apply. */
11972 #ifdef __cplusplus
11973 extern "C"
11974 #endif
11975 char XF86VidModeQueryExtension ();
11977 main ()
11979 return XF86VidModeQueryExtension ();
11981 return 0;
11983 _ACEOF
11984 if ac_fn_c_try_link "$LINENO"; then :
11985 case "$LIBEXT" in
11986 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11987 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'` ;;
11988 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11989 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11990 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11991 fi ;;
11992 esac
11993 else
11994 ac_cv_lib_soname_Xxf86vm=
11996 rm -f core conftest.err conftest.$ac_objext \
11997 conftest$ac_exeext conftest.$ac_ext
11998 LIBS=$ac_check_soname_save_LIBS
12000 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12002 $as_echo "not found" >&6; }
12004 else
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
12006 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
12008 cat >>confdefs.h <<_ACEOF
12009 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
12010 _ACEOF
12015 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
12016 case "x$with_xxf86vm" in
12017 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
12018 xno) ;;
12019 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
12020 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
12021 esac
12025 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
12026 then
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
12028 $as_echo_n "checking for -lXrender... " >&6; }
12029 if ${ac_cv_lib_soname_Xrender+:} false; then :
12030 $as_echo_n "(cached) " >&6
12031 else
12032 ac_check_soname_save_LIBS=$LIBS
12033 LIBS="-lXrender $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 XRenderQueryExtension ();
12045 main ()
12047 return XRenderQueryExtension ();
12049 return 0;
12051 _ACEOF
12052 if ac_fn_c_try_link "$LINENO"; then :
12053 case "$LIBEXT" in
12054 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12055 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'` ;;
12056 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12057 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12058 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12059 fi ;;
12060 esac
12061 else
12062 ac_cv_lib_soname_Xrender=
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_Xrender:+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_Xrender" >&5
12074 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12076 cat >>confdefs.h <<_ACEOF
12077 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12078 _ACEOF
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12081 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12082 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12083 $as_echo_n "(cached) " >&6
12084 else
12085 ac_check_lib_save_LIBS=$LIBS
12086 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12088 /* end confdefs.h. */
12090 /* Override any GCC internal prototype to avoid an error.
12091 Use char because int might match the return type of a GCC
12092 builtin and then its argument prototype would still apply. */
12093 #ifdef __cplusplus
12094 extern "C"
12095 #endif
12096 char XRenderSetPictureTransform ();
12098 main ()
12100 return XRenderSetPictureTransform ();
12102 return 0;
12104 _ACEOF
12105 if ac_fn_c_try_link "$LINENO"; then :
12106 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12107 else
12108 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12110 rm -f core conftest.err conftest.$ac_objext \
12111 conftest$ac_exeext conftest.$ac_ext
12112 LIBS=$ac_check_lib_save_LIBS
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12115 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12116 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12118 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12123 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12124 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12125 $as_echo_n "(cached) " >&6
12126 else
12127 ac_check_lib_save_LIBS=$LIBS
12128 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12130 /* end confdefs.h. */
12132 /* Override any GCC internal prototype to avoid an error.
12133 Use char because int might match the return type of a GCC
12134 builtin and then its argument prototype would still apply. */
12135 #ifdef __cplusplus
12136 extern "C"
12137 #endif
12138 char XRenderCreateLinearGradient ();
12140 main ()
12142 return XRenderCreateLinearGradient ();
12144 return 0;
12146 _ACEOF
12147 if ac_fn_c_try_link "$LINENO"; then :
12148 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12149 else
12150 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12152 rm -f core conftest.err conftest.$ac_objext \
12153 conftest$ac_exeext conftest.$ac_ext
12154 LIBS=$ac_check_lib_save_LIBS
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12157 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12158 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12160 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12167 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12168 case "x$with_xrender" in
12169 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12170 xno) ;;
12171 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12172 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12173 esac
12177 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12178 then
12179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12180 /* end confdefs.h. */
12181 #include <X11/Xlib.h>
12182 #include <X11/extensions/Xrandr.h>
12184 main ()
12186 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12188 return 0;
12190 _ACEOF
12191 if ac_fn_c_try_compile "$LINENO"; then :
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12193 $as_echo_n "checking for -lXrandr... " >&6; }
12194 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12195 $as_echo_n "(cached) " >&6
12196 else
12197 ac_check_soname_save_LIBS=$LIBS
12198 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12200 /* end confdefs.h. */
12202 /* Override any GCC internal prototype to avoid an error.
12203 Use char because int might match the return type of a GCC
12204 builtin and then its argument prototype would still apply. */
12205 #ifdef __cplusplus
12206 extern "C"
12207 #endif
12208 char XRRQueryExtension ();
12210 main ()
12212 return XRRQueryExtension ();
12214 return 0;
12216 _ACEOF
12217 if ac_fn_c_try_link "$LINENO"; then :
12218 case "$LIBEXT" in
12219 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12220 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'` ;;
12221 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12222 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12223 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12224 fi ;;
12225 esac
12226 else
12227 ac_cv_lib_soname_Xrandr=
12229 rm -f core conftest.err conftest.$ac_objext \
12230 conftest$ac_exeext conftest.$ac_ext
12231 LIBS=$ac_check_soname_save_LIBS
12233 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12235 $as_echo "not found" >&6; }
12237 else
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12239 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12241 cat >>confdefs.h <<_ACEOF
12242 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12243 _ACEOF
12245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12246 /* end confdefs.h. */
12247 #include <X11/Xlib.h>
12248 #include <X11/extensions/Xrandr.h>
12250 main ()
12252 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12254 return 0;
12256 _ACEOF
12257 if ac_fn_c_try_compile "$LINENO"; then :
12259 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12261 else
12262 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12269 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12270 case "x$with_xrandr" in
12271 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12272 xno) ;;
12273 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12274 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12275 esac
12279 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12280 then
12281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12282 /* end confdefs.h. */
12283 #include <X11/Xlib.h>
12284 #include <X11/extensions/Xfixes.h>
12286 main ()
12288 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12290 return 0;
12292 _ACEOF
12293 if ac_fn_c_try_compile "$LINENO"; then :
12294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12295 $as_echo_n "checking for -lXfixes... " >&6; }
12296 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12297 $as_echo_n "(cached) " >&6
12298 else
12299 ac_check_soname_save_LIBS=$LIBS
12300 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12302 /* end confdefs.h. */
12304 /* Override any GCC internal prototype to avoid an error.
12305 Use char because int might match the return type of a GCC
12306 builtin and then its argument prototype would still apply. */
12307 #ifdef __cplusplus
12308 extern "C"
12309 #endif
12310 char XFixesQueryVersion ();
12312 main ()
12314 return XFixesQueryVersion ();
12316 return 0;
12318 _ACEOF
12319 if ac_fn_c_try_link "$LINENO"; then :
12320 case "$LIBEXT" in
12321 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12322 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'` ;;
12323 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12324 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12325 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12326 fi ;;
12327 esac
12328 else
12329 ac_cv_lib_soname_Xfixes=
12331 rm -f core conftest.err conftest.$ac_objext \
12332 conftest$ac_exeext conftest.$ac_ext
12333 LIBS=$ac_check_soname_save_LIBS
12335 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12337 $as_echo "not found" >&6; }
12339 else
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12341 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12343 cat >>confdefs.h <<_ACEOF
12344 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12345 _ACEOF
12350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12352 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12353 case "x$with_xfixes" in
12354 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12355 xno) ;;
12356 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12357 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12358 esac
12362 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12363 then
12364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12365 /* end confdefs.h. */
12366 #include <X11/Xlib.h>
12367 #include <X11/extensions/Xinerama.h>
12369 main ()
12371 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12373 return 0;
12375 _ACEOF
12376 if ac_fn_c_try_compile "$LINENO"; then :
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12378 $as_echo_n "checking for -lXinerama... " >&6; }
12379 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12380 $as_echo_n "(cached) " >&6
12381 else
12382 ac_check_soname_save_LIBS=$LIBS
12383 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12385 /* end confdefs.h. */
12387 /* Override any GCC internal prototype to avoid an error.
12388 Use char because int might match the return type of a GCC
12389 builtin and then its argument prototype would still apply. */
12390 #ifdef __cplusplus
12391 extern "C"
12392 #endif
12393 char XineramaQueryScreens ();
12395 main ()
12397 return XineramaQueryScreens ();
12399 return 0;
12401 _ACEOF
12402 if ac_fn_c_try_link "$LINENO"; then :
12403 case "$LIBEXT" in
12404 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12405 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'` ;;
12406 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12407 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12408 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12409 fi ;;
12410 esac
12411 else
12412 ac_cv_lib_soname_Xinerama=
12414 rm -f core conftest.err conftest.$ac_objext \
12415 conftest$ac_exeext conftest.$ac_ext
12416 LIBS=$ac_check_soname_save_LIBS
12418 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12420 $as_echo "not found" >&6; }
12422 else
12423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12424 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12426 cat >>confdefs.h <<_ACEOF
12427 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12428 _ACEOF
12433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12435 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12436 case "x$with_xinerama" in
12437 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12438 xno) ;;
12439 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12440 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12441 esac
12445 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12446 then
12447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12448 $as_echo_n "checking for -lXcomposite... " >&6; }
12449 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12450 $as_echo_n "(cached) " >&6
12451 else
12452 ac_check_soname_save_LIBS=$LIBS
12453 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12455 /* end confdefs.h. */
12457 /* Override any GCC internal prototype to avoid an error.
12458 Use char because int might match the return type of a GCC
12459 builtin and then its argument prototype would still apply. */
12460 #ifdef __cplusplus
12461 extern "C"
12462 #endif
12463 char XCompositeRedirectWindow ();
12465 main ()
12467 return XCompositeRedirectWindow ();
12469 return 0;
12471 _ACEOF
12472 if ac_fn_c_try_link "$LINENO"; then :
12473 case "$LIBEXT" in
12474 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12475 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'` ;;
12476 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12477 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12478 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12479 fi ;;
12480 esac
12481 else
12482 ac_cv_lib_soname_Xcomposite=
12484 rm -f core conftest.err conftest.$ac_objext \
12485 conftest$ac_exeext conftest.$ac_ext
12486 LIBS=$ac_check_soname_save_LIBS
12488 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12490 $as_echo "not found" >&6; }
12492 else
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12494 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12496 cat >>confdefs.h <<_ACEOF
12497 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12498 _ACEOF
12503 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12504 case "x$with_xcomposite" in
12505 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12506 xno) ;;
12507 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12508 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12509 esac
12513 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12514 #include <X11/Xlib.h>
12515 #endif
12517 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12519 cat >>confdefs.h <<_ACEOF
12520 #define HAVE_XICCALLBACK_CALLBACK 1
12521 _ACEOF
12525 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12526 #include <X11/Xlib.h>
12527 #endif
12529 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12531 cat >>confdefs.h <<_ACEOF
12532 #define HAVE_XEVENT_XCOOKIE 1
12533 _ACEOF
12540 opengl_msg=""
12541 if test "x$with_opengl" != "xno"
12542 then
12543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12544 $as_echo_n "checking for -lGL... " >&6; }
12545 if ${ac_cv_lib_soname_GL+:} false; then :
12546 $as_echo_n "(cached) " >&6
12547 else
12548 ac_check_soname_save_LIBS=$LIBS
12549 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12551 /* end confdefs.h. */
12553 /* Override any GCC internal prototype to avoid an error.
12554 Use char because int might match the return type of a GCC
12555 builtin and then its argument prototype would still apply. */
12556 #ifdef __cplusplus
12557 extern "C"
12558 #endif
12559 char glXCreateContext ();
12561 main ()
12563 return glXCreateContext ();
12565 return 0;
12567 _ACEOF
12568 if ac_fn_c_try_link "$LINENO"; then :
12569 case "$LIBEXT" in
12570 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12571 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'` ;;
12572 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12573 if ${ac_cv_lib_soname_GL:+false} :; then :
12574 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12575 fi ;;
12576 esac
12577 else
12578 ac_cv_lib_soname_GL=
12580 rm -f core conftest.err conftest.$ac_objext \
12581 conftest$ac_exeext conftest.$ac_ext
12582 LIBS=$ac_check_soname_save_LIBS
12584 if ${ac_cv_lib_soname_GL:+false} :; then :
12585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12586 $as_echo "not found" >&6; }
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12588 $as_echo_n "checking for -lGL... " >&6; }
12589 if ${ac_cv_lib_soname_GL+:} false; then :
12590 $as_echo_n "(cached) " >&6
12591 else
12592 ac_check_soname_save_LIBS=$LIBS
12593 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"
12594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12595 /* end confdefs.h. */
12597 /* Override any GCC internal prototype to avoid an error.
12598 Use char because int might match the return type of a GCC
12599 builtin and then its argument prototype would still apply. */
12600 #ifdef __cplusplus
12601 extern "C"
12602 #endif
12603 char glXCreateContext ();
12605 main ()
12607 return glXCreateContext ();
12609 return 0;
12611 _ACEOF
12612 if ac_fn_c_try_link "$LINENO"; then :
12613 case "$LIBEXT" in
12614 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12615 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'` ;;
12616 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12617 if ${ac_cv_lib_soname_GL:+false} :; then :
12618 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12619 fi ;;
12620 esac
12621 else
12622 ac_cv_lib_soname_GL=
12624 rm -f core conftest.err conftest.$ac_objext \
12625 conftest$ac_exeext conftest.$ac_ext
12626 LIBS=$ac_check_soname_save_LIBS
12628 if ${ac_cv_lib_soname_GL:+false} :; then :
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12630 $as_echo "not found" >&6; }
12631 if test -f /usr/X11R6/lib/libGL.a
12632 then
12633 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12634 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12635 else
12636 opengl_msg="No OpenGL library found on this system."
12638 else
12639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12640 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12642 cat >>confdefs.h <<_ACEOF
12643 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12644 _ACEOF
12646 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"
12648 else
12649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12650 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12652 cat >>confdefs.h <<_ACEOF
12653 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12654 _ACEOF
12656 OPENGL_LIBS="-lGL"
12658 if test "x$with_osmesa" != "xno"
12659 then
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12661 $as_echo_n "checking for -lOSMesa... " >&6; }
12662 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12663 $as_echo_n "(cached) " >&6
12664 else
12665 ac_check_soname_save_LIBS=$LIBS
12666 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12668 /* end confdefs.h. */
12670 /* Override any GCC internal prototype to avoid an error.
12671 Use char because int might match the return type of a GCC
12672 builtin and then its argument prototype would still apply. */
12673 #ifdef __cplusplus
12674 extern "C"
12675 #endif
12676 char OSMesaGetProcAddress ();
12678 main ()
12680 return OSMesaGetProcAddress ();
12682 return 0;
12684 _ACEOF
12685 if ac_fn_c_try_link "$LINENO"; then :
12686 case "$LIBEXT" in
12687 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12688 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'` ;;
12689 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12690 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12691 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12692 fi ;;
12693 esac
12694 else
12695 ac_cv_lib_soname_OSMesa=
12697 rm -f core conftest.err conftest.$ac_objext \
12698 conftest$ac_exeext conftest.$ac_ext
12699 LIBS=$ac_check_soname_save_LIBS
12701 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12703 $as_echo "not found" >&6; }
12705 else
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12707 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12709 cat >>confdefs.h <<_ACEOF
12710 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12711 _ACEOF
12715 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12716 case "x$with_osmesa" in
12717 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12718 xno) ;;
12719 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12720 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12721 esac
12726 if test -n "$opengl_msg"; then :
12727 case "x$with_opengl" in
12728 x) as_fn_append wine_warnings "|$opengl_msg
12729 OpenGL and Direct3D won't be supported." ;;
12730 xno) ;;
12731 *) as_fn_error $? "$opengl_msg
12732 OpenGL and Direct3D won't be supported.
12733 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12734 esac
12738 CPPFLAGS="$ac_save_CPPFLAGS"
12739 else
12740 X_CFLAGS=""
12741 X_LIBS=""
12744 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12745 then
12746 if test "x$X_LIBS" = "x"; then :
12747 case "x$with_x" in
12748 xno) ;;
12749 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12750 without X support, which probably isn't what you want. You will need
12751 to install ${notice_platform}development packages of Xlib at the very least.
12752 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12753 esac
12754 enable_winex11_drv=${enable_winex11_drv:-no}
12756 else
12757 if test "x$X_LIBS" = "x"; then :
12758 case "x$with_x" in
12759 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12760 xno) ;;
12761 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12762 This is an error since --with-x was requested." "$LINENO" 5 ;;
12763 esac
12764 enable_winex11_drv=${enable_winex11_drv:-no}
12768 if test "$ac_cv_header_CL_cl_h" = "yes"
12769 then
12770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12771 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12772 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12773 $as_echo_n "(cached) " >&6
12774 else
12775 ac_check_lib_save_LIBS=$LIBS
12776 LIBS="-lOpenCL $LIBS"
12777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12778 /* end confdefs.h. */
12780 /* Override any GCC internal prototype to avoid an error.
12781 Use char because int might match the return type of a GCC
12782 builtin and then its argument prototype would still apply. */
12783 #ifdef __cplusplus
12784 extern "C"
12785 #endif
12786 char clGetPlatformInfo ();
12788 main ()
12790 return clGetPlatformInfo ();
12792 return 0;
12794 _ACEOF
12795 if ac_fn_c_try_link "$LINENO"; then :
12796 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12797 else
12798 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12800 rm -f core conftest.err conftest.$ac_objext \
12801 conftest$ac_exeext conftest.$ac_ext
12802 LIBS=$ac_check_lib_save_LIBS
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12805 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12806 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12807 OPENCL_LIBS="-lOpenCL"
12812 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12813 case "x$with_opencl" in
12814 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12815 xno) ;;
12816 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12817 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12818 esac
12819 enable_opencl=${enable_opencl:-no}
12822 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12823 then
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12825 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12826 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12827 $as_echo_n "(cached) " >&6
12828 else
12829 ac_check_lib_save_LIBS=$LIBS
12830 LIBS="-lpcap $LIBS"
12831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12832 /* end confdefs.h. */
12834 /* Override any GCC internal prototype to avoid an error.
12835 Use char because int might match the return type of a GCC
12836 builtin and then its argument prototype would still apply. */
12837 #ifdef __cplusplus
12838 extern "C"
12839 #endif
12840 char pcap_create ();
12842 main ()
12844 return pcap_create ();
12846 return 0;
12848 _ACEOF
12849 if ac_fn_c_try_link "$LINENO"; then :
12850 ac_cv_lib_pcap_pcap_create=yes
12851 else
12852 ac_cv_lib_pcap_pcap_create=no
12854 rm -f core conftest.err conftest.$ac_objext \
12855 conftest$ac_exeext conftest.$ac_ext
12856 LIBS=$ac_check_lib_save_LIBS
12858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12859 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12860 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12861 PCAP_LIBS="-lpcap"
12866 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12867 case "x$with_pcap" in
12868 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12869 xno) ;;
12870 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12871 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12872 esac
12873 enable_wpcap=${enable_wpcap:-no}
12877 if test "x$with_xml" != "xno"
12878 then
12879 if ${XML2_CFLAGS:+false} :; then :
12880 if ${PKG_CONFIG+:} false; then :
12881 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12884 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12885 if ${XML2_LIBS:+false} :; then :
12886 if ${PKG_CONFIG+:} false; then :
12887 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12890 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12891 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12892 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12893 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12894 ac_save_CPPFLAGS=$CPPFLAGS
12895 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12896 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12897 do :
12898 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12899 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12900 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12901 cat >>confdefs.h <<_ACEOF
12902 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12903 _ACEOF
12907 done
12909 if test "$ac_cv_header_libxml_parser_h" = "yes" -a "$ac_cv_header_libxml_xmlsave_h" = "yes" -a "$ac_cv_header_libxml_SAX2_h" = "yes"
12910 then
12911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12912 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12913 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12914 $as_echo_n "(cached) " >&6
12915 else
12916 ac_check_lib_save_LIBS=$LIBS
12917 LIBS="-lxml2 $XML2_LIBS $LIBS"
12918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12919 /* end confdefs.h. */
12921 /* Override any GCC internal prototype to avoid an error.
12922 Use char because int might match the return type of a GCC
12923 builtin and then its argument prototype would still apply. */
12924 #ifdef __cplusplus
12925 extern "C"
12926 #endif
12927 char xmlParseMemory ();
12929 main ()
12931 return xmlParseMemory ();
12933 return 0;
12935 _ACEOF
12936 if ac_fn_c_try_link "$LINENO"; then :
12937 ac_cv_lib_xml2_xmlParseMemory=yes
12938 else
12939 ac_cv_lib_xml2_xmlParseMemory=no
12941 rm -f core conftest.err conftest.$ac_objext \
12942 conftest$ac_exeext conftest.$ac_ext
12943 LIBS=$ac_check_lib_save_LIBS
12945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12946 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12947 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12949 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12951 else
12952 XML2_LIBS=""
12955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12956 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12957 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12958 $as_echo_n "(cached) " >&6
12959 else
12960 ac_check_lib_save_LIBS=$LIBS
12961 LIBS="-lxml2 $XML2_LIBS $LIBS"
12962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12963 /* end confdefs.h. */
12965 /* Override any GCC internal prototype to avoid an error.
12966 Use char because int might match the return type of a GCC
12967 builtin and then its argument prototype would still apply. */
12968 #ifdef __cplusplus
12969 extern "C"
12970 #endif
12971 char xmlReadMemory ();
12973 main ()
12975 return xmlReadMemory ();
12977 return 0;
12979 _ACEOF
12980 if ac_fn_c_try_link "$LINENO"; then :
12981 ac_cv_lib_xml2_xmlReadMemory=yes
12982 else
12983 ac_cv_lib_xml2_xmlReadMemory=no
12985 rm -f core conftest.err conftest.$ac_objext \
12986 conftest$ac_exeext conftest.$ac_ext
12987 LIBS=$ac_check_lib_save_LIBS
12989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12990 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12991 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12993 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12998 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12999 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
13000 $as_echo_n "(cached) " >&6
13001 else
13002 ac_check_lib_save_LIBS=$LIBS
13003 LIBS="-lxml2 $XML2_LIBS $LIBS"
13004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13005 /* end confdefs.h. */
13007 /* Override any GCC internal prototype to avoid an error.
13008 Use char because int might match the return type of a GCC
13009 builtin and then its argument prototype would still apply. */
13010 #ifdef __cplusplus
13011 extern "C"
13012 #endif
13013 char xmlNewDocPI ();
13015 main ()
13017 return xmlNewDocPI ();
13019 return 0;
13021 _ACEOF
13022 if ac_fn_c_try_link "$LINENO"; then :
13023 ac_cv_lib_xml2_xmlNewDocPI=yes
13024 else
13025 ac_cv_lib_xml2_xmlNewDocPI=no
13027 rm -f core conftest.err conftest.$ac_objext \
13028 conftest$ac_exeext conftest.$ac_ext
13029 LIBS=$ac_check_lib_save_LIBS
13031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13032 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13033 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13035 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13040 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13041 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13042 $as_echo_n "(cached) " >&6
13043 else
13044 ac_check_lib_save_LIBS=$LIBS
13045 LIBS="-lxml2 $XML2_LIBS $LIBS"
13046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13047 /* end confdefs.h. */
13049 /* Override any GCC internal prototype to avoid an error.
13050 Use char because int might match the return type of a GCC
13051 builtin and then its argument prototype would still apply. */
13052 #ifdef __cplusplus
13053 extern "C"
13054 #endif
13055 char xmlSchemaSetParserStructuredErrors ();
13057 main ()
13059 return xmlSchemaSetParserStructuredErrors ();
13061 return 0;
13063 _ACEOF
13064 if ac_fn_c_try_link "$LINENO"; then :
13065 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13066 else
13067 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13069 rm -f core conftest.err conftest.$ac_objext \
13070 conftest$ac_exeext conftest.$ac_ext
13071 LIBS=$ac_check_lib_save_LIBS
13073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13074 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13075 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13077 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13082 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13083 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13084 $as_echo_n "(cached) " >&6
13085 else
13086 ac_check_lib_save_LIBS=$LIBS
13087 LIBS="-lxml2 $XML2_LIBS $LIBS"
13088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13089 /* end confdefs.h. */
13091 /* Override any GCC internal prototype to avoid an error.
13092 Use char because int might match the return type of a GCC
13093 builtin and then its argument prototype would still apply. */
13094 #ifdef __cplusplus
13095 extern "C"
13096 #endif
13097 char xmlSchemaSetValidStructuredErrors ();
13099 main ()
13101 return xmlSchemaSetValidStructuredErrors ();
13103 return 0;
13105 _ACEOF
13106 if ac_fn_c_try_link "$LINENO"; then :
13107 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13108 else
13109 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13111 rm -f core conftest.err conftest.$ac_objext \
13112 conftest$ac_exeext conftest.$ac_ext
13113 LIBS=$ac_check_lib_save_LIBS
13115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13116 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13117 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13119 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13124 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13125 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13126 $as_echo_n "(cached) " >&6
13127 else
13128 ac_check_lib_save_LIBS=$LIBS
13129 LIBS="-lxml2 $XML2_LIBS $LIBS"
13130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13131 /* end confdefs.h. */
13133 /* Override any GCC internal prototype to avoid an error.
13134 Use char because int might match the return type of a GCC
13135 builtin and then its argument prototype would still apply. */
13136 #ifdef __cplusplus
13137 extern "C"
13138 #endif
13139 char xmlFirstElementChild ();
13141 main ()
13143 return xmlFirstElementChild ();
13145 return 0;
13147 _ACEOF
13148 if ac_fn_c_try_link "$LINENO"; then :
13149 ac_cv_lib_xml2_xmlFirstElementChild=yes
13150 else
13151 ac_cv_lib_xml2_xmlFirstElementChild=no
13153 rm -f core conftest.err conftest.$ac_objext \
13154 conftest$ac_exeext conftest.$ac_ext
13155 LIBS=$ac_check_lib_save_LIBS
13157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13158 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13159 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13161 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13165 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13167 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13169 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13173 else
13174 XML2_CFLAGS=""
13175 XML2_LIBS=""
13177 CPPFLAGS=$ac_save_CPPFLAGS
13180 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13181 case "x$with_xml" in
13182 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13183 xno) ;;
13184 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13185 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13186 esac
13190 if test "x$with_xslt" != "xno"
13191 then
13192 if ${XSLT_CFLAGS:+false} :; then :
13193 if ${PKG_CONFIG+:} false; then :
13194 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13197 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13198 if ${XSLT_LIBS:+false} :; then :
13199 if ${PKG_CONFIG+:} false; then :
13200 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13203 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13204 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13205 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13206 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13207 ac_save_CPPFLAGS=$CPPFLAGS
13208 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13209 for ac_header in libxslt/pattern.h libxslt/transform.h
13210 do :
13211 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13212 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13213 # include <libxslt/pattern.h>
13214 #endif
13216 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13217 cat >>confdefs.h <<_ACEOF
13218 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13219 _ACEOF
13223 done
13225 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13226 then
13227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13228 $as_echo_n "checking for -lxslt... " >&6; }
13229 if ${ac_cv_lib_soname_xslt+:} false; then :
13230 $as_echo_n "(cached) " >&6
13231 else
13232 ac_check_soname_save_LIBS=$LIBS
13233 LIBS="-lxslt $XSLT_LIBS $LIBS"
13234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13235 /* end confdefs.h. */
13237 /* Override any GCC internal prototype to avoid an error.
13238 Use char because int might match the return type of a GCC
13239 builtin and then its argument prototype would still apply. */
13240 #ifdef __cplusplus
13241 extern "C"
13242 #endif
13243 char xsltCompilePattern ();
13245 main ()
13247 return xsltCompilePattern ();
13249 return 0;
13251 _ACEOF
13252 if ac_fn_c_try_link "$LINENO"; then :
13253 case "$LIBEXT" in
13254 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13255 dylib) ac_cv_lib_soname_xslt=`$OTOOL -L conftest$ac_exeext | grep "libxslt\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libxslt\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13256 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13257 if ${ac_cv_lib_soname_xslt:+false} :; then :
13258 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13259 fi ;;
13260 esac
13261 else
13262 ac_cv_lib_soname_xslt=
13264 rm -f core conftest.err conftest.$ac_objext \
13265 conftest$ac_exeext conftest.$ac_ext
13266 LIBS=$ac_check_soname_save_LIBS
13268 if ${ac_cv_lib_soname_xslt:+false} :; then :
13269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13270 $as_echo "not found" >&6; }
13272 else
13273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13274 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13276 cat >>confdefs.h <<_ACEOF
13277 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13278 _ACEOF
13282 else
13283 XSLT_CFLAGS=""
13285 CPPFLAGS=$ac_save_CPPFLAGS
13288 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13289 case "x$with_xslt" in
13290 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13291 xno) ;;
13292 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13293 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13294 esac
13298 if test "x$with_inotify" != "xno"
13299 then
13300 if ${INOTIFY_CFLAGS:+false} :; then :
13301 if ${PKG_CONFIG+:} false; then :
13302 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13306 if ${INOTIFY_LIBS:+false} :; then :
13307 if ${PKG_CONFIG+:} false; then :
13308 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13313 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13314 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13315 ac_save_CPPFLAGS=$CPPFLAGS
13316 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13317 for ac_header in sys/inotify.h
13318 do :
13319 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13320 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13321 cat >>confdefs.h <<_ACEOF
13322 #define HAVE_SYS_INOTIFY_H 1
13323 _ACEOF
13327 done
13329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13330 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13331 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13332 $as_echo_n "(cached) " >&6
13333 else
13334 ac_check_lib_save_LIBS=$LIBS
13335 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13337 /* end confdefs.h. */
13339 /* Override any GCC internal prototype to avoid an error.
13340 Use char because int might match the return type of a GCC
13341 builtin and then its argument prototype would still apply. */
13342 #ifdef __cplusplus
13343 extern "C"
13344 #endif
13345 char inotify_add_watch ();
13347 main ()
13349 return inotify_add_watch ();
13351 return 0;
13353 _ACEOF
13354 if ac_fn_c_try_link "$LINENO"; then :
13355 ac_cv_lib_inotify_inotify_add_watch=yes
13356 else
13357 ac_cv_lib_inotify_inotify_add_watch=no
13359 rm -f core conftest.err conftest.$ac_objext \
13360 conftest$ac_exeext conftest.$ac_ext
13361 LIBS=$ac_check_lib_save_LIBS
13363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13364 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13365 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13367 else
13368 INOTIFY_LIBS=""
13371 CPPFLAGS=$ac_save_CPPFLAGS
13374 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13375 case "x$with_inotify" in
13376 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13377 xno) ;;
13378 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13379 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13380 esac
13384 if test "x$with_dbus" != "xno"
13385 then
13386 if ${DBUS_CFLAGS:+false} :; then :
13387 if ${PKG_CONFIG+:} false; then :
13388 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13392 if ${DBUS_LIBS:+false} :; then :
13393 if ${PKG_CONFIG+:} false; then :
13394 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13399 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13400 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13401 ac_save_CPPFLAGS=$CPPFLAGS
13402 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13403 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13404 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13406 $as_echo_n "checking for -ldbus-1... " >&6; }
13407 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13408 $as_echo_n "(cached) " >&6
13409 else
13410 ac_check_soname_save_LIBS=$LIBS
13411 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13413 /* end confdefs.h. */
13415 /* Override any GCC internal prototype to avoid an error.
13416 Use char because int might match the return type of a GCC
13417 builtin and then its argument prototype would still apply. */
13418 #ifdef __cplusplus
13419 extern "C"
13420 #endif
13421 char dbus_connection_close ();
13423 main ()
13425 return dbus_connection_close ();
13427 return 0;
13429 _ACEOF
13430 if ac_fn_c_try_link "$LINENO"; then :
13431 case "$LIBEXT" in
13432 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13433 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'` ;;
13434 *) 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'`
13435 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13436 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13437 fi ;;
13438 esac
13439 else
13440 ac_cv_lib_soname_dbus_1=
13442 rm -f core conftest.err conftest.$ac_objext \
13443 conftest$ac_exeext conftest.$ac_ext
13444 LIBS=$ac_check_soname_save_LIBS
13446 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13448 $as_echo "not found" >&6; }
13449 DBUS_CFLAGS=""
13450 else
13451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13452 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13454 cat >>confdefs.h <<_ACEOF
13455 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13456 _ACEOF
13460 else
13461 DBUS_CFLAGS=""
13465 CPPFLAGS=$ac_save_CPPFLAGS
13468 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13469 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13470 case "x$with_dbus" in
13471 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13472 xno) ;;
13473 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13474 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13475 esac
13479 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13480 then
13481 if ${HAL_CFLAGS:+false} :; then :
13482 if ${PKG_CONFIG+:} false; then :
13483 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13487 if ${HAL_LIBS:+false} :; then :
13488 if ${PKG_CONFIG+:} false; then :
13489 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13493 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13494 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13495 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13496 ac_save_CPPFLAGS=$CPPFLAGS
13497 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13498 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13499 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13501 $as_echo_n "checking for -lhal... " >&6; }
13502 if ${ac_cv_lib_soname_hal+:} false; then :
13503 $as_echo_n "(cached) " >&6
13504 else
13505 ac_check_soname_save_LIBS=$LIBS
13506 LIBS="-lhal $HAL_LIBS $LIBS"
13507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13508 /* end confdefs.h. */
13510 /* Override any GCC internal prototype to avoid an error.
13511 Use char because int might match the return type of a GCC
13512 builtin and then its argument prototype would still apply. */
13513 #ifdef __cplusplus
13514 extern "C"
13515 #endif
13516 char libhal_ctx_new ();
13518 main ()
13520 return libhal_ctx_new ();
13522 return 0;
13524 _ACEOF
13525 if ac_fn_c_try_link "$LINENO"; then :
13526 case "$LIBEXT" in
13527 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13528 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'` ;;
13529 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13530 if ${ac_cv_lib_soname_hal:+false} :; then :
13531 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13532 fi ;;
13533 esac
13534 else
13535 ac_cv_lib_soname_hal=
13537 rm -f core conftest.err conftest.$ac_objext \
13538 conftest$ac_exeext conftest.$ac_ext
13539 LIBS=$ac_check_soname_save_LIBS
13541 if ${ac_cv_lib_soname_hal:+false} :; then :
13542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13543 $as_echo "not found" >&6; }
13544 HAL_CFLAGS=""
13545 else
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13547 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13549 cat >>confdefs.h <<_ACEOF
13550 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13551 _ACEOF
13555 else
13556 HAL_CFLAGS=""
13560 CPPFLAGS=$ac_save_CPPFLAGS
13562 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13563 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13564 case "x$with_hal" in
13565 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13566 xno) ;;
13567 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13568 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13569 esac
13574 if test "x$with_gnutls" != "xno"
13575 then
13576 if ${GNUTLS_CFLAGS:+false} :; then :
13577 if ${PKG_CONFIG+:} false; then :
13578 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13582 if ${GNUTLS_LIBS:+false} :; then :
13583 if ${PKG_CONFIG+:} false; then :
13584 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13588 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13589 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13590 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13591 ac_save_CPPFLAGS=$CPPFLAGS
13592 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13593 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13594 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13596 /* end confdefs.h. */
13597 #include <gnutls/gnutls.h>
13598 #include <gnutls/crypto.h>
13600 main ()
13602 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13604 return 0;
13606 _ACEOF
13607 if ac_fn_c_try_compile "$LINENO"; then :
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13609 $as_echo_n "checking for -lgnutls... " >&6; }
13610 if ${ac_cv_lib_soname_gnutls+:} false; then :
13611 $as_echo_n "(cached) " >&6
13612 else
13613 ac_check_soname_save_LIBS=$LIBS
13614 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13616 /* end confdefs.h. */
13618 /* Override any GCC internal prototype to avoid an error.
13619 Use char because int might match the return type of a GCC
13620 builtin and then its argument prototype would still apply. */
13621 #ifdef __cplusplus
13622 extern "C"
13623 #endif
13624 char gnutls_global_init ();
13626 main ()
13628 return gnutls_global_init ();
13630 return 0;
13632 _ACEOF
13633 if ac_fn_c_try_link "$LINENO"; then :
13634 case "$LIBEXT" in
13635 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13636 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'` ;;
13637 *) 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'`
13638 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13639 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'`
13640 fi ;;
13641 esac
13642 else
13643 ac_cv_lib_soname_gnutls=
13645 rm -f core conftest.err conftest.$ac_objext \
13646 conftest$ac_exeext conftest.$ac_ext
13647 LIBS=$ac_check_soname_save_LIBS
13649 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13651 $as_echo "not found" >&6; }
13652 GNUTLS_CFLAGS=""
13653 else
13654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13655 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13657 cat >>confdefs.h <<_ACEOF
13658 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13659 _ACEOF
13663 ac_wine_check_funcs_save_LIBS="$LIBS"
13664 LIBS="$LIBS $GNUTLS_LIBS"
13665 for ac_func in gnutls_cipher_init
13666 do :
13667 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13668 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13669 cat >>confdefs.h <<_ACEOF
13670 #define HAVE_GNUTLS_CIPHER_INIT 1
13671 _ACEOF
13673 else
13674 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13676 done
13678 LIBS="$ac_wine_check_funcs_save_LIBS"
13680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13681 else
13682 GNUTLS_CFLAGS=""
13686 CPPFLAGS=$ac_save_CPPFLAGS
13689 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13690 case "x$with_gnutls" in
13691 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13692 xno) ;;
13693 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13694 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13695 esac
13699 if test "x$with_sane" != "xno"
13700 then
13701 if ${SANE_CFLAGS:+false} :; then :
13702 if ${PKG_CONFIG+:} false; then :
13703 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
13706 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13707 if ${SANE_LIBS:+false} :; then :
13708 if ${PKG_CONFIG+:} false; then :
13709 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
13712 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13714 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
13715 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
13716 ac_save_CPPFLAGS=$CPPFLAGS
13717 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13718 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13719 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13721 $as_echo_n "checking for -lsane... " >&6; }
13722 if ${ac_cv_lib_soname_sane+:} false; then :
13723 $as_echo_n "(cached) " >&6
13724 else
13725 ac_check_soname_save_LIBS=$LIBS
13726 LIBS="-lsane $SANE_LIBS $LIBS"
13727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13728 /* end confdefs.h. */
13730 /* Override any GCC internal prototype to avoid an error.
13731 Use char because int might match the return type of a GCC
13732 builtin and then its argument prototype would still apply. */
13733 #ifdef __cplusplus
13734 extern "C"
13735 #endif
13736 char sane_init ();
13738 main ()
13740 return sane_init ();
13742 return 0;
13744 _ACEOF
13745 if ac_fn_c_try_link "$LINENO"; then :
13746 case "$LIBEXT" in
13747 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13748 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'` ;;
13749 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13750 if ${ac_cv_lib_soname_sane:+false} :; then :
13751 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13752 fi ;;
13753 esac
13754 else
13755 ac_cv_lib_soname_sane=
13757 rm -f core conftest.err conftest.$ac_objext \
13758 conftest$ac_exeext conftest.$ac_ext
13759 LIBS=$ac_check_soname_save_LIBS
13761 if ${ac_cv_lib_soname_sane:+false} :; then :
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13763 $as_echo "not found" >&6; }
13764 SANE_CFLAGS=""
13765 else
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13767 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13769 cat >>confdefs.h <<_ACEOF
13770 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13771 _ACEOF
13775 else
13776 SANE_CFLAGS=""
13780 CPPFLAGS=$ac_save_CPPFLAGS
13783 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13784 case "x$with_sane" in
13785 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13786 xno) ;;
13787 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13788 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13789 esac
13793 if test "x$with_usb" != "xno"
13794 then
13795 if ${USB_CFLAGS:+false} :; then :
13796 if ${PKG_CONFIG+:} false; then :
13797 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13801 if ${USB_LIBS:+false} :; then :
13802 if ${PKG_CONFIG+:} false; then :
13803 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13807 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13808 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13809 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13810 ac_save_CPPFLAGS=$CPPFLAGS
13811 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13812 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13813 if test "x$ac_cv_header_libusb_h" = xyes; then :
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13815 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13816 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13817 $as_echo_n "(cached) " >&6
13818 else
13819 ac_check_lib_save_LIBS=$LIBS
13820 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13822 /* end confdefs.h. */
13824 /* Override any GCC internal prototype to avoid an error.
13825 Use char because int might match the return type of a GCC
13826 builtin and then its argument prototype would still apply. */
13827 #ifdef __cplusplus
13828 extern "C"
13829 #endif
13830 char libusb_interrupt_event_handler ();
13832 main ()
13834 return libusb_interrupt_event_handler ();
13836 return 0;
13838 _ACEOF
13839 if ac_fn_c_try_link "$LINENO"; then :
13840 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13841 else
13842 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13844 rm -f core conftest.err conftest.$ac_objext \
13845 conftest$ac_exeext conftest.$ac_ext
13846 LIBS=$ac_check_lib_save_LIBS
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13849 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13850 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13852 else
13853 USB_LIBS=""
13856 else
13857 USB_LIBS=""
13861 CPPFLAGS=$ac_save_CPPFLAGS
13864 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13865 case "x$with_usb" in
13866 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13867 xno) ;;
13868 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13869 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13870 esac
13871 enable_wineusb_sys=${enable_wineusb_sys:-no}
13874 if test "x$with_v4l2" != "xno"
13875 then
13876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13877 $as_echo_n "checking for -lv4l2... " >&6; }
13878 if ${ac_cv_lib_soname_v4l2+:} false; then :
13879 $as_echo_n "(cached) " >&6
13880 else
13881 ac_check_soname_save_LIBS=$LIBS
13882 LIBS="-lv4l2 $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 v4l2_open ();
13894 main ()
13896 return v4l2_open ();
13898 return 0;
13900 _ACEOF
13901 if ac_fn_c_try_link "$LINENO"; then :
13902 case "$LIBEXT" in
13903 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13904 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'` ;;
13905 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13906 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13907 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13908 fi ;;
13909 esac
13910 else
13911 ac_cv_lib_soname_v4l2=
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_v4l2:+false} :; then :
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13919 $as_echo "not found" >&6; }
13921 else
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13923 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13925 cat >>confdefs.h <<_ACEOF
13926 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13927 _ACEOF
13932 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13933 case "x$with_v4l2" in
13934 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13935 xno) ;;
13936 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13937 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13938 esac
13942 if test "x$with_gphoto" != "xno"
13943 then
13944 if ${GPHOTO2_CFLAGS:+false} :; then :
13945 if ${PKG_CONFIG+:} false; then :
13946 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13949 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13950 if ${GPHOTO2_LIBS:+false} :; then :
13951 if ${PKG_CONFIG+:} false; then :
13952 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13955 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13956 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13957 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13958 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13959 ac_save_CPPFLAGS=$CPPFLAGS
13960 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13961 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13962 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13964 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13965 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13966 $as_echo_n "(cached) " >&6
13967 else
13968 ac_check_lib_save_LIBS=$LIBS
13969 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13971 /* end confdefs.h. */
13973 /* Override any GCC internal prototype to avoid an error.
13974 Use char because int might match the return type of a GCC
13975 builtin and then its argument prototype would still apply. */
13976 #ifdef __cplusplus
13977 extern "C"
13978 #endif
13979 char gp_camera_new ();
13981 main ()
13983 return gp_camera_new ();
13985 return 0;
13987 _ACEOF
13988 if ac_fn_c_try_link "$LINENO"; then :
13989 ac_cv_lib_gphoto2_gp_camera_new=yes
13990 else
13991 ac_cv_lib_gphoto2_gp_camera_new=no
13993 rm -f core conftest.err conftest.$ac_objext \
13994 conftest$ac_exeext conftest.$ac_ext
13995 LIBS=$ac_check_lib_save_LIBS
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13998 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13999 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14001 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14003 else
14004 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14007 else
14008 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14012 CPPFLAGS=$ac_save_CPPFLAGS
14014 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14015 if ${PKG_CONFIG+:} false; then :
14016 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14019 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14020 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14021 if ${PKG_CONFIG+:} false; then :
14022 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14025 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14026 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14027 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14028 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14029 ac_save_CPPFLAGS=$CPPFLAGS
14030 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14031 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14032 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14034 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14035 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14036 $as_echo_n "(cached) " >&6
14037 else
14038 ac_check_lib_save_LIBS=$LIBS
14039 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14041 /* end confdefs.h. */
14043 /* Override any GCC internal prototype to avoid an error.
14044 Use char because int might match the return type of a GCC
14045 builtin and then its argument prototype would still apply. */
14046 #ifdef __cplusplus
14047 extern "C"
14048 #endif
14049 char gp_port_info_list_new ();
14051 main ()
14053 return gp_port_info_list_new ();
14055 return 0;
14057 _ACEOF
14058 if ac_fn_c_try_link "$LINENO"; then :
14059 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14060 else
14061 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14063 rm -f core conftest.err conftest.$ac_objext \
14064 conftest$ac_exeext conftest.$ac_ext
14065 LIBS=$ac_check_lib_save_LIBS
14067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14068 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14069 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14071 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14073 else
14074 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14077 else
14078 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14082 CPPFLAGS=$ac_save_CPPFLAGS
14085 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14086 case "x$with_gphoto" in
14087 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14088 xno) ;;
14089 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14090 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14091 esac
14094 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14095 case "x$with_gphoto" in
14096 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14097 xno) ;;
14098 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14099 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14100 esac
14105 if test "$ac_cv_header_resolv_h" = "yes"
14106 then
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14108 $as_echo_n "checking for resolver library... " >&6; }
14109 if ${ac_cv_have_resolv+:} false; then :
14110 $as_echo_n "(cached) " >&6
14111 else
14112 ac_save_LIBS="$LIBS"
14113 for lib in '' -lresolv
14115 LIBS="$lib $ac_save_LIBS"
14116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14117 /* end confdefs.h. */
14118 #ifdef HAVE_NETINET_IN_H
14119 #include <netinet/in.h>
14120 #endif
14121 #include <resolv.h>
14123 main ()
14125 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
14127 return 0;
14129 _ACEOF
14130 if ac_fn_c_try_link "$LINENO"; then :
14131 ac_cv_have_resolv=${lib:-"none required"}
14132 else
14133 ac_cv_have_resolv="not found"
14135 rm -f core conftest.err conftest.$ac_objext \
14136 conftest$ac_exeext conftest.$ac_ext
14137 test "x$ac_cv_have_resolv" = "xnot found" || break
14138 done
14139 LIBS="$ac_save_LIBS"
14141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14142 $as_echo "$ac_cv_have_resolv" >&6; }
14144 case "$ac_cv_have_resolv" in
14145 "not found") ;;
14146 "none required")
14148 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14151 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14153 RESOLV_LIBS=$ac_cv_have_resolv
14155 esac
14157 if test "x$ac_cv_have_resolv" != "xnot found"
14158 then
14159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14160 $as_echo_n "checking for res_getservers... " >&6; }
14161 if ${ac_cv_have_res_getservers+:} false; then :
14162 $as_echo_n "(cached) " >&6
14163 else
14164 ac_save_LIBS="$LIBS"
14165 LIBS="$RESOLV_LIBS $LIBS"
14166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14167 /* end confdefs.h. */
14168 #include <resolv.h>
14170 main ()
14172 res_getservers(NULL, NULL, 0);
14174 return 0;
14176 _ACEOF
14177 if ac_fn_c_try_link "$LINENO"; then :
14178 ac_cv_have_res_getservers=yes
14179 else
14180 ac_cv_have_res_getservers=no
14182 rm -f core conftest.err conftest.$ac_objext \
14183 conftest$ac_exeext conftest.$ac_ext
14184 LIBS="$ac_save_LIBS"
14186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14187 $as_echo "$ac_cv_have_res_getservers" >&6; }
14188 if test "$ac_cv_have_res_getservers" = "yes"
14189 then
14191 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14197 if test "x$with_cms" != "xno"
14198 then
14199 if ${LCMS2_CFLAGS:+false} :; then :
14200 if ${PKG_CONFIG+:} false; then :
14201 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14205 if ${LCMS2_LIBS:+false} :; then :
14206 if ${PKG_CONFIG+:} false; then :
14207 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14211 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14212 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14213 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14214 ac_save_CPPFLAGS=$CPPFLAGS
14215 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14216 for ac_header in lcms2.h
14217 do :
14218 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14219 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14220 cat >>confdefs.h <<_ACEOF
14221 #define HAVE_LCMS2_H 1
14222 _ACEOF
14226 done
14228 if test "$ac_cv_header_lcms2_h" = "yes"
14229 then
14230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14231 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14232 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14233 $as_echo_n "(cached) " >&6
14234 else
14235 ac_check_lib_save_LIBS=$LIBS
14236 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14238 /* end confdefs.h. */
14240 /* Override any GCC internal prototype to avoid an error.
14241 Use char because int might match the return type of a GCC
14242 builtin and then its argument prototype would still apply. */
14243 #ifdef __cplusplus
14244 extern "C"
14245 #endif
14246 char cmsOpenProfileFromFile ();
14248 main ()
14250 return cmsOpenProfileFromFile ();
14252 return 0;
14254 _ACEOF
14255 if ac_fn_c_try_link "$LINENO"; then :
14256 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14257 else
14258 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14260 rm -f core conftest.err conftest.$ac_objext \
14261 conftest$ac_exeext conftest.$ac_ext
14262 LIBS=$ac_check_lib_save_LIBS
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14265 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14266 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14268 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14270 else
14271 LCMS2_LIBS=""
14274 else
14275 LCMS2_CFLAGS=""
14276 LCMS2_LIBS=""
14278 CPPFLAGS=$ac_save_CPPFLAGS
14281 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14282 case "x$with_cms" in
14283 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14284 xno) ;;
14285 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14286 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14287 esac
14291 if test "x$with_freetype" != "xno"
14292 then
14293 if ${FREETYPE_CFLAGS:+false} :; then :
14294 if ${PKG_CONFIG+:} false; then :
14295 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14298 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14299 if ${FREETYPE_LIBS:+false} :; then :
14300 if ${PKG_CONFIG+:} false; then :
14301 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14304 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14305 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14306 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14307 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14308 ac_save_CPPFLAGS=$CPPFLAGS
14309 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14310 for ac_header in ft2build.h
14311 do :
14312 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14313 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14314 cat >>confdefs.h <<_ACEOF
14315 #define HAVE_FT2BUILD_H 1
14316 _ACEOF
14320 done
14322 if test "$ac_cv_header_ft2build_h" = "yes"
14323 then
14324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14325 $as_echo_n "checking for -lfreetype... " >&6; }
14326 if ${ac_cv_lib_soname_freetype+:} false; then :
14327 $as_echo_n "(cached) " >&6
14328 else
14329 ac_check_soname_save_LIBS=$LIBS
14330 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14332 /* end confdefs.h. */
14334 /* Override any GCC internal prototype to avoid an error.
14335 Use char because int might match the return type of a GCC
14336 builtin and then its argument prototype would still apply. */
14337 #ifdef __cplusplus
14338 extern "C"
14339 #endif
14340 char FT_Init_FreeType ();
14342 main ()
14344 return FT_Init_FreeType ();
14346 return 0;
14348 _ACEOF
14349 if ac_fn_c_try_link "$LINENO"; then :
14350 case "$LIBEXT" in
14351 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14352 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'` ;;
14353 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14354 if ${ac_cv_lib_soname_freetype:+false} :; then :
14355 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14356 fi ;;
14357 esac
14358 else
14359 ac_cv_lib_soname_freetype=
14361 rm -f core conftest.err conftest.$ac_objext \
14362 conftest$ac_exeext conftest.$ac_ext
14363 LIBS=$ac_check_soname_save_LIBS
14365 if ${ac_cv_lib_soname_freetype:+false} :; then :
14366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14367 $as_echo "not found" >&6; }
14368 FREETYPE_LIBS=""
14369 else
14370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14371 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14373 cat >>confdefs.h <<_ACEOF
14374 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14375 _ACEOF
14378 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14380 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14381 #include FT_MODULE_H
14383 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14385 cat >>confdefs.h <<_ACEOF
14386 #define HAVE_FT_TRUETYPEENGINETYPE 1
14387 _ACEOF
14393 else
14394 FREETYPE_CFLAGS=""
14395 FREETYPE_LIBS=""
14397 CPPFLAGS=$ac_save_CPPFLAGS
14400 if test "x$ac_cv_lib_soname_freetype" = x; then :
14401 case "x$with_freetype" in
14402 xno) ;;
14403 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14404 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14405 esac
14406 enable_fonts=${enable_fonts:-no}
14409 ac_wine_check_funcs_save_LIBS="$LIBS"
14410 LIBS="$LIBS $PTHREAD_LIBS"
14411 for ac_func in \
14412 pthread_getthreadid_np
14413 do :
14414 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14415 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14416 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14417 cat >>confdefs.h <<_ACEOF
14418 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14419 _ACEOF
14422 done
14424 LIBS="$ac_wine_check_funcs_save_LIBS"
14426 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14427 then
14428 if test "$ac_cv_header_gettext_po_h" = "yes"
14429 then
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14431 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14432 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14433 $as_echo_n "(cached) " >&6
14434 else
14435 ac_check_lib_save_LIBS=$LIBS
14436 LIBS="-lgettextpo $LIBS"
14437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14438 /* end confdefs.h. */
14440 /* Override any GCC internal prototype to avoid an error.
14441 Use char because int might match the return type of a GCC
14442 builtin and then its argument prototype would still apply. */
14443 #ifdef __cplusplus
14444 extern "C"
14445 #endif
14446 char po_message_msgctxt ();
14448 main ()
14450 return po_message_msgctxt ();
14452 return 0;
14454 _ACEOF
14455 if ac_fn_c_try_link "$LINENO"; then :
14456 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14457 else
14458 ac_cv_lib_gettextpo_po_message_msgctxt=no
14460 rm -f core conftest.err conftest.$ac_objext \
14461 conftest$ac_exeext conftest.$ac_ext
14462 LIBS=$ac_check_lib_save_LIBS
14464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14465 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14466 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14468 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14470 GETTEXTPO_LIBS="-lgettextpo"
14475 if test "x$GETTEXTPO_LIBS" = "x"; then :
14476 case "x$with_gettextpo" in
14477 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14478 xno) ;;
14479 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14480 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14481 esac
14484 if test "$srcdir" != .; then :
14485 case "x$with_gettextpo" in
14486 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14487 xno) ;;
14488 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14489 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14490 esac
14495 if test "x$with_pulse" != "xno";
14496 then
14497 if ${PULSE_CFLAGS:+false} :; then :
14498 if ${PKG_CONFIG+:} false; then :
14499 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14503 if ${PULSE_LIBS:+false} :; then :
14504 if ${PKG_CONFIG+:} false; then :
14505 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14510 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14511 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14512 ac_save_CPPFLAGS=$CPPFLAGS
14513 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14514 for ac_header in pulse/pulseaudio.h
14515 do :
14516 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14517 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14518 cat >>confdefs.h <<_ACEOF
14519 #define HAVE_PULSE_PULSEAUDIO_H 1
14520 _ACEOF
14521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14522 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14523 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14524 $as_echo_n "(cached) " >&6
14525 else
14526 ac_check_lib_save_LIBS=$LIBS
14527 LIBS="-lpulse $PULSE_LIBS $LIBS"
14528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14529 /* end confdefs.h. */
14531 /* Override any GCC internal prototype to avoid an error.
14532 Use char because int might match the return type of a GCC
14533 builtin and then its argument prototype would still apply. */
14534 #ifdef __cplusplus
14535 extern "C"
14536 #endif
14537 char pa_stream_is_corked ();
14539 main ()
14541 return pa_stream_is_corked ();
14543 return 0;
14545 _ACEOF
14546 if ac_fn_c_try_link "$LINENO"; then :
14547 ac_cv_lib_pulse_pa_stream_is_corked=yes
14548 else
14549 ac_cv_lib_pulse_pa_stream_is_corked=no
14551 rm -f core conftest.err conftest.$ac_objext \
14552 conftest$ac_exeext conftest.$ac_ext
14553 LIBS=$ac_check_lib_save_LIBS
14555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14556 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14557 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14559 else
14560 PULSE_LIBS=""
14563 else
14564 PULSE_LIBS=""
14567 done
14569 CPPFLAGS=$ac_save_CPPFLAGS
14572 if test -z "$PULSE_LIBS"; then :
14573 case "x$with_pulse" in
14574 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14575 xno) ;;
14576 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14577 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14578 esac
14579 enable_winepulse_drv=${enable_winepulse_drv:-no}
14582 if test "x$with_gstreamer" != "xno"
14583 then
14584 if ${GSTREAMER_CFLAGS:+false} :; then :
14585 if ${PKG_CONFIG+:} false; then :
14586 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14590 if ${GSTREAMER_LIBS:+false} :; then :
14591 if ${PKG_CONFIG+:} false; then :
14592 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14597 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14598 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14599 ac_save_CPPFLAGS=$CPPFLAGS
14600 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14601 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14602 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14604 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14606 /* end confdefs.h. */
14607 #include <gst/gst.h>
14609 main ()
14611 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14613 return 0;
14615 _ACEOF
14616 if ac_fn_c_try_compile "$LINENO"; then :
14617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14618 $as_echo "yes" >&6; }
14619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14620 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14621 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14622 $as_echo_n "(cached) " >&6
14623 else
14624 ac_check_lib_save_LIBS=$LIBS
14625 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14627 /* end confdefs.h. */
14629 /* Override any GCC internal prototype to avoid an error.
14630 Use char because int might match the return type of a GCC
14631 builtin and then its argument prototype would still apply. */
14632 #ifdef __cplusplus
14633 extern "C"
14634 #endif
14635 char gst_pad_new ();
14637 main ()
14639 return gst_pad_new ();
14641 return 0;
14643 _ACEOF
14644 if ac_fn_c_try_link "$LINENO"; then :
14645 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14646 else
14647 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14649 rm -f core conftest.err conftest.$ac_objext \
14650 conftest$ac_exeext conftest.$ac_ext
14651 LIBS=$ac_check_lib_save_LIBS
14653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14654 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14655 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14659 else
14660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14661 $as_echo "no" >&6; }
14662 ac_glib2_broken=yes
14663 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14669 CPPFLAGS=$ac_save_CPPFLAGS
14672 if test "x$with_gstreamer" = xyes -o "x$with_quicktime" = xno -o "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
14673 then
14674 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes; then :
14675 case "x$with_gstreamer" in
14676 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14677 xno) ;;
14678 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14679 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14680 esac
14684 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14686 ALSA_LIBS=""
14688 if test "x$with_alsa" != "xno"
14689 then
14690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14691 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14692 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14693 $as_echo_n "(cached) " >&6
14694 else
14695 ac_check_lib_save_LIBS=$LIBS
14696 LIBS="-lasound $LIBS"
14697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14698 /* end confdefs.h. */
14700 /* Override any GCC internal prototype to avoid an error.
14701 Use char because int might match the return type of a GCC
14702 builtin and then its argument prototype would still apply. */
14703 #ifdef __cplusplus
14704 extern "C"
14705 #endif
14706 char snd_pcm_hw_params_get_access_mask ();
14708 main ()
14710 return snd_pcm_hw_params_get_access_mask ();
14712 return 0;
14714 _ACEOF
14715 if ac_fn_c_try_link "$LINENO"; then :
14716 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14717 else
14718 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14720 rm -f core conftest.err conftest.$ac_objext \
14721 conftest$ac_exeext conftest.$ac_ext
14722 LIBS=$ac_check_lib_save_LIBS
14724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14725 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14726 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14728 /* end confdefs.h. */
14729 #include <alsa/asoundlib.h>
14731 main ()
14733 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14735 return 0;
14737 _ACEOF
14738 if ac_fn_c_try_compile "$LINENO"; then :
14739 ALSA_LIBS="-lasound"
14741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14745 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14747 if test "x$with_oss" != xno
14748 then
14749 ac_save_CPPFLAGS="$CPPFLAGS"
14750 if test -f /etc/oss.conf
14751 then
14752 . /etc/oss.conf
14754 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14755 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14756 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14757 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14758 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14760 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14762 cat >>confdefs.h <<_ACEOF
14763 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14764 _ACEOF
14766 OSS4_CFLAGS="$ac_oss_incl"
14768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14769 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14770 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14771 $as_echo_n "(cached) " >&6
14772 else
14773 ac_check_lib_save_LIBS=$LIBS
14774 LIBS="-lossaudio $LIBS"
14775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14776 /* end confdefs.h. */
14778 /* Override any GCC internal prototype to avoid an error.
14779 Use char because int might match the return type of a GCC
14780 builtin and then its argument prototype would still apply. */
14781 #ifdef __cplusplus
14782 extern "C"
14783 #endif
14784 char _oss_ioctl ();
14786 main ()
14788 return _oss_ioctl ();
14790 return 0;
14792 _ACEOF
14793 if ac_fn_c_try_link "$LINENO"; then :
14794 ac_cv_lib_ossaudio__oss_ioctl=yes
14795 else
14796 ac_cv_lib_ossaudio__oss_ioctl=no
14798 rm -f core conftest.err conftest.$ac_objext \
14799 conftest$ac_exeext conftest.$ac_ext
14800 LIBS=$ac_check_lib_save_LIBS
14802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14803 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14804 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14805 OSS4_LIBS="-lossaudio"
14814 CPPFLAGS="$ac_save_CPPFLAGS"
14816 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14817 case "x$with_oss" in
14818 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14819 xno) ;;
14820 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14821 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14822 esac
14823 enable_wineoss_drv=${enable_wineoss_drv:-no}
14826 if test "x$with_udev" != "xno"
14827 then
14828 if ${UDEV_CFLAGS:+false} :; then :
14829 if ${PKG_CONFIG+:} false; then :
14830 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14834 if ${UDEV_LIBS:+false} :; then :
14835 if ${PKG_CONFIG+:} false; then :
14836 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14840 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14841 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14842 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14843 ac_save_CPPFLAGS=$CPPFLAGS
14844 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14845 for ac_header in libudev.h
14846 do :
14847 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14848 if test "x$ac_cv_header_libudev_h" = xyes; then :
14849 cat >>confdefs.h <<_ACEOF
14850 #define HAVE_LIBUDEV_H 1
14851 _ACEOF
14852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14853 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14854 if ${ac_cv_lib_udev_udev_new+:} false; then :
14855 $as_echo_n "(cached) " >&6
14856 else
14857 ac_check_lib_save_LIBS=$LIBS
14858 LIBS="-ludev $UDEV_LIBS $LIBS"
14859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14860 /* end confdefs.h. */
14862 /* Override any GCC internal prototype to avoid an error.
14863 Use char because int might match the return type of a GCC
14864 builtin and then its argument prototype would still apply. */
14865 #ifdef __cplusplus
14866 extern "C"
14867 #endif
14868 char udev_new ();
14870 main ()
14872 return udev_new ();
14874 return 0;
14876 _ACEOF
14877 if ac_fn_c_try_link "$LINENO"; then :
14878 ac_cv_lib_udev_udev_new=yes
14879 else
14880 ac_cv_lib_udev_udev_new=no
14882 rm -f core conftest.err conftest.$ac_objext \
14883 conftest$ac_exeext conftest.$ac_ext
14884 LIBS=$ac_check_lib_save_LIBS
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14887 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14888 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14890 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14892 else
14893 UDEV_LIBS=""
14896 else
14897 UDEV_LIBS=""
14900 done
14902 CPPFLAGS=$ac_save_CPPFLAGS
14905 if test "x$UDEV_LIBS" = "x"; then :
14906 case "x$with_udev" in
14907 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14908 xno) ;;
14909 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14910 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14911 esac
14915 if test "x$with_unwind" != xno
14916 then
14917 if ${UNWIND_CFLAGS:+false} :; then :
14918 if ${PKG_CONFIG+:} false; then :
14919 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14923 if ${UNWIND_LIBS:+false} :; then :
14924 if ${PKG_CONFIG+:} false; then :
14925 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14929 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14930 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14931 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14932 ac_save_CPPFLAGS=$CPPFLAGS
14933 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14935 $as_echo_n "checking for unw_step... " >&6; }
14936 if ${wine_cv_have_unw_step+:} false; then :
14937 $as_echo_n "(cached) " >&6
14938 else
14939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14940 /* end confdefs.h. */
14941 #define UNW_LOCAL_ONLY
14942 #include <libunwind.h>
14944 main ()
14946 unw_cursor_t cursor; unw_step( &cursor );
14948 return 0;
14950 _ACEOF
14951 if ac_fn_c_try_link "$LINENO"; then :
14952 wine_cv_have_unw_step="yes"
14953 else
14954 wine_cv_have_unw_step="no"
14956 rm -f core conftest.err conftest.$ac_objext \
14957 conftest$ac_exeext conftest.$ac_ext
14959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14960 $as_echo "$wine_cv_have_unw_step" >&6; }
14961 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14962 then
14963 save_libs=$LIBS
14964 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
14965 LIBS="$UNWIND_LIBS $LIBS"
14966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14967 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14968 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14969 $as_echo_n "(cached) " >&6
14970 else
14971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14972 /* end confdefs.h. */
14973 #define UNW_LOCAL_ONLY
14974 #include <libunwind.h>
14976 main ()
14978 unw_cursor_t cursor; unw_step( &cursor );
14980 return 0;
14982 _ACEOF
14983 if ac_fn_c_try_link "$LINENO"; then :
14984 wine_cv_have_libunwind_unw_step="yes"
14985 else
14986 wine_cv_have_libunwind_unw_step="no"
14988 rm -f core conftest.err conftest.$ac_objext \
14989 conftest$ac_exeext conftest.$ac_ext
14991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
14992 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
14993 LIBS=$save_libs
14995 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
14996 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
14997 then
14999 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15002 CPPFLAGS=$ac_save_CPPFLAGS
15005 case $host in
15006 aarch64*|*-darwin*)
15007 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15008 case "x$with_unwind" in
15009 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15010 xno) ;;
15011 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15012 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15013 esac
15015 fi ;;
15016 esac
15018 if test "x$with_sdl" != "xno"
15019 then
15020 if ${SDL2_CFLAGS:+false} :; then :
15021 if ${PKG_CONFIG+:} false; then :
15022 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15026 if ${SDL2_LIBS:+false} :; then :
15027 if ${PKG_CONFIG+:} false; then :
15028 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15032 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15033 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15034 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15035 ac_save_CPPFLAGS=$CPPFLAGS
15036 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15037 for ac_header in SDL.h
15038 do :
15039 ac_fn_c_check_header_mongrel "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
15040 if test "x$ac_cv_header_SDL_h" = xyes; then :
15041 cat >>confdefs.h <<_ACEOF
15042 #define HAVE_SDL_H 1
15043 _ACEOF
15044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15045 $as_echo_n "checking for -lSDL2... " >&6; }
15046 if ${ac_cv_lib_soname_SDL2+:} false; then :
15047 $as_echo_n "(cached) " >&6
15048 else
15049 ac_check_soname_save_LIBS=$LIBS
15050 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15052 /* end confdefs.h. */
15054 /* Override any GCC internal prototype to avoid an error.
15055 Use char because int might match the return type of a GCC
15056 builtin and then its argument prototype would still apply. */
15057 #ifdef __cplusplus
15058 extern "C"
15059 #endif
15060 char SDL_Init ();
15062 main ()
15064 return SDL_Init ();
15066 return 0;
15068 _ACEOF
15069 if ac_fn_c_try_link "$LINENO"; then :
15070 case "$LIBEXT" in
15071 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15072 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'` ;;
15073 *) 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'`
15074 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15075 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15076 fi ;;
15077 esac
15078 else
15079 ac_cv_lib_soname_SDL2=
15081 rm -f core conftest.err conftest.$ac_objext \
15082 conftest$ac_exeext conftest.$ac_ext
15083 LIBS=$ac_check_soname_save_LIBS
15085 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15087 $as_echo "not found" >&6; }
15089 else
15090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15091 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15093 cat >>confdefs.h <<_ACEOF
15094 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15095 _ACEOF
15101 done
15103 CPPFLAGS=$ac_save_CPPFLAGS
15106 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15107 case "x$with_sdl" in
15108 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15109 xno) ;;
15110 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15111 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15112 esac
15116 if test "x$with_faudio" != "xno"
15117 then
15118 if ${FAUDIO_CFLAGS:+false} :; then :
15119 if ${PKG_CONFIG+:} false; then :
15120 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags FAudio 2>/dev/null`
15124 if ${FAUDIO_LIBS:+false} :; then :
15125 if ${PKG_CONFIG+:} false; then :
15126 FAUDIO_LIBS=`$PKG_CONFIG --libs FAudio 2>/dev/null`
15130 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15131 $as_echo "$as_me:${as_lineno-$LINENO}: FAudio cflags: $FAUDIO_CFLAGS" >&5
15132 $as_echo "$as_me:${as_lineno-$LINENO}: FAudio libs: $FAUDIO_LIBS" >&5
15133 ac_save_CPPFLAGS=$CPPFLAGS
15134 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15135 for ac_header in FAudio.h
15136 do :
15137 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15138 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15139 cat >>confdefs.h <<_ACEOF
15140 #define HAVE_FAUDIO_H 1
15141 _ACEOF
15142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15143 $as_echo_n "checking for -lFAudio... " >&6; }
15144 if ${ac_cv_lib_soname_FAudio+:} false; then :
15145 $as_echo_n "(cached) " >&6
15146 else
15147 ac_check_soname_save_LIBS=$LIBS
15148 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15150 /* end confdefs.h. */
15152 /* Override any GCC internal prototype to avoid an error.
15153 Use char because int might match the return type of a GCC
15154 builtin and then its argument prototype would still apply. */
15155 #ifdef __cplusplus
15156 extern "C"
15157 #endif
15158 char FAudioCreate ();
15160 main ()
15162 return FAudioCreate ();
15164 return 0;
15166 _ACEOF
15167 if ac_fn_c_try_link "$LINENO"; then :
15168 case "$LIBEXT" in
15169 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15170 dylib) ac_cv_lib_soname_FAudio=`$OTOOL -L conftest$ac_exeext | grep "libFAudio*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libFAudio*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15171 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15172 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15173 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15174 fi ;;
15175 esac
15176 else
15177 ac_cv_lib_soname_FAudio=
15179 rm -f core conftest.err conftest.$ac_objext \
15180 conftest$ac_exeext conftest.$ac_ext
15181 LIBS=$ac_check_soname_save_LIBS
15183 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15185 $as_echo "not found" >&6; }
15187 else
15188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15189 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15191 cat >>confdefs.h <<_ACEOF
15192 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15193 _ACEOF
15199 done
15201 ac_wine_check_funcs_save_LIBS="$LIBS"
15202 LIBS="$LIBS $FAUDIO_LIBS"
15203 for ac_func in FAudio_CommitOperationSet \
15204 F3DAudioInitialize8 \
15205 FAudioLinkedVersion \
15206 FAudioCreateReverb9WithCustomAllocatorEXT
15207 do :
15208 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15209 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15210 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15211 cat >>confdefs.h <<_ACEOF
15212 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15213 _ACEOF
15216 done
15218 LIBS="$ac_wine_check_funcs_save_LIBS"
15220 CPPFLAGS=$ac_save_CPPFLAGS
15223 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15224 case "x$with_faudio" in
15225 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15226 xno) ;;
15227 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15228 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15229 esac
15233 if test "x$with_capi" != "xno"
15234 then
15235 if ${CAPI20_CFLAGS:+false} :; then :
15236 if ${PKG_CONFIG+:} false; then :
15237 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15241 if ${CAPI20_LIBS:+false} :; then :
15242 if ${PKG_CONFIG+:} false; then :
15243 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15248 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15249 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15250 ac_save_CPPFLAGS=$CPPFLAGS
15251 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15252 for ac_header in capi20.h linux/capi.h
15253 do :
15254 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15255 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15257 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15258 cat >>confdefs.h <<_ACEOF
15259 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15260 _ACEOF
15264 done
15266 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15267 then
15268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15269 $as_echo_n "checking for -lcapi20... " >&6; }
15270 if ${ac_cv_lib_soname_capi20+:} false; then :
15271 $as_echo_n "(cached) " >&6
15272 else
15273 ac_check_soname_save_LIBS=$LIBS
15274 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15276 /* end confdefs.h. */
15278 /* Override any GCC internal prototype to avoid an error.
15279 Use char because int might match the return type of a GCC
15280 builtin and then its argument prototype would still apply. */
15281 #ifdef __cplusplus
15282 extern "C"
15283 #endif
15284 char capi20_register ();
15286 main ()
15288 return capi20_register ();
15290 return 0;
15292 _ACEOF
15293 if ac_fn_c_try_link "$LINENO"; then :
15294 case "$LIBEXT" in
15295 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15296 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'` ;;
15297 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15298 if ${ac_cv_lib_soname_capi20:+false} :; then :
15299 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15300 fi ;;
15301 esac
15302 else
15303 ac_cv_lib_soname_capi20=
15305 rm -f core conftest.err conftest.$ac_objext \
15306 conftest$ac_exeext conftest.$ac_ext
15307 LIBS=$ac_check_soname_save_LIBS
15309 if ${ac_cv_lib_soname_capi20:+false} :; then :
15310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15311 $as_echo "not found" >&6; }
15313 else
15314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15315 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15317 cat >>confdefs.h <<_ACEOF
15318 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15319 _ACEOF
15324 CPPFLAGS=$ac_save_CPPFLAGS
15327 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15328 case "x$with_capi" in
15329 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15330 xno) ;;
15331 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15332 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15333 esac
15337 if test "x$with_cups" != "xno"
15338 then
15339 if ${CUPS_CFLAGS:+false} :; then :
15340 if ${PKG_CONFIG+:} false; then :
15341 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15344 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15345 if ${CUPS_LIBS:+false} :; then :
15346 if ${PKG_CONFIG+:} false; then :
15347 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15350 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15351 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15352 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15353 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15354 ac_save_CPPFLAGS=$CPPFLAGS
15355 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15356 for ac_header in cups/cups.h cups/ppd.h
15357 do :
15358 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15359 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15360 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15361 cat >>confdefs.h <<_ACEOF
15362 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15363 _ACEOF
15367 done
15369 if test "$ac_cv_header_cups_cups_h" = "yes"
15370 then
15371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15372 $as_echo_n "checking for -lcups... " >&6; }
15373 if ${ac_cv_lib_soname_cups+:} false; then :
15374 $as_echo_n "(cached) " >&6
15375 else
15376 ac_check_soname_save_LIBS=$LIBS
15377 LIBS="-lcups $CUPS_LIBS $LIBS"
15378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15379 /* end confdefs.h. */
15381 /* Override any GCC internal prototype to avoid an error.
15382 Use char because int might match the return type of a GCC
15383 builtin and then its argument prototype would still apply. */
15384 #ifdef __cplusplus
15385 extern "C"
15386 #endif
15387 char cupsGetDefault ();
15389 main ()
15391 return cupsGetDefault ();
15393 return 0;
15395 _ACEOF
15396 if ac_fn_c_try_link "$LINENO"; then :
15397 case "$LIBEXT" in
15398 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15399 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'` ;;
15400 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15401 if ${ac_cv_lib_soname_cups:+false} :; then :
15402 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15403 fi ;;
15404 esac
15405 else
15406 ac_cv_lib_soname_cups=
15408 rm -f core conftest.err conftest.$ac_objext \
15409 conftest$ac_exeext conftest.$ac_ext
15410 LIBS=$ac_check_soname_save_LIBS
15412 if ${ac_cv_lib_soname_cups:+false} :; then :
15413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15414 $as_echo "not found" >&6; }
15415 CUPS_LIBS=""
15416 else
15417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15418 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15420 cat >>confdefs.h <<_ACEOF
15421 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15422 _ACEOF
15426 else
15427 CUPS_CFLAGS=""
15428 CUPS_LIBS=""
15430 CPPFLAGS=$ac_save_CPPFLAGS
15433 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15434 case "x$with_cups" in
15435 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15436 xno) ;;
15437 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15438 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15439 esac
15443 if test "x$with_fontconfig" != "xno"
15444 then
15445 if ${FONTCONFIG_CFLAGS:+false} :; then :
15446 if ${PKG_CONFIG+:} false; then :
15447 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15450 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15451 if ${FONTCONFIG_LIBS:+false} :; then :
15452 if ${PKG_CONFIG+:} false; then :
15453 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15456 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15458 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15459 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15460 ac_save_CPPFLAGS=$CPPFLAGS
15461 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15462 for ac_header in fontconfig/fontconfig.h
15463 do :
15464 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15465 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15466 cat >>confdefs.h <<_ACEOF
15467 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15468 _ACEOF
15472 done
15474 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15475 then
15476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15477 $as_echo_n "checking for -lfontconfig... " >&6; }
15478 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15479 $as_echo_n "(cached) " >&6
15480 else
15481 ac_check_soname_save_LIBS=$LIBS
15482 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15484 /* end confdefs.h. */
15486 /* Override any GCC internal prototype to avoid an error.
15487 Use char because int might match the return type of a GCC
15488 builtin and then its argument prototype would still apply. */
15489 #ifdef __cplusplus
15490 extern "C"
15491 #endif
15492 char FcInit ();
15494 main ()
15496 return FcInit ();
15498 return 0;
15500 _ACEOF
15501 if ac_fn_c_try_link "$LINENO"; then :
15502 case "$LIBEXT" in
15503 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15504 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'` ;;
15505 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15506 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15507 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15508 fi ;;
15509 esac
15510 else
15511 ac_cv_lib_soname_fontconfig=
15513 rm -f core conftest.err conftest.$ac_objext \
15514 conftest$ac_exeext conftest.$ac_ext
15515 LIBS=$ac_check_soname_save_LIBS
15517 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15519 $as_echo "not found" >&6; }
15520 FONTCONFIG_CFLAGS=""
15521 else
15522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15523 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15525 cat >>confdefs.h <<_ACEOF
15526 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15527 _ACEOF
15531 else
15532 FONTCONFIG_CFLAGS=""
15534 CPPFLAGS=$ac_save_CPPFLAGS
15537 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15538 case "x$with_fontconfig" in
15539 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15540 xno) ;;
15541 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15542 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15543 esac
15547 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15548 then
15549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15550 $as_echo_n "checking for -lgsm... " >&6; }
15551 if ${ac_cv_lib_soname_gsm+:} false; then :
15552 $as_echo_n "(cached) " >&6
15553 else
15554 ac_check_soname_save_LIBS=$LIBS
15555 LIBS="-lgsm $LIBS"
15556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15557 /* end confdefs.h. */
15559 /* Override any GCC internal prototype to avoid an error.
15560 Use char because int might match the return type of a GCC
15561 builtin and then its argument prototype would still apply. */
15562 #ifdef __cplusplus
15563 extern "C"
15564 #endif
15565 char gsm_create ();
15567 main ()
15569 return gsm_create ();
15571 return 0;
15573 _ACEOF
15574 if ac_fn_c_try_link "$LINENO"; then :
15575 case "$LIBEXT" in
15576 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15577 dylib) ac_cv_lib_soname_gsm=`$OTOOL -L conftest$ac_exeext | grep "libgsm\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgsm\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15578 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15579 if ${ac_cv_lib_soname_gsm:+false} :; then :
15580 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15581 fi ;;
15582 esac
15583 else
15584 ac_cv_lib_soname_gsm=
15586 rm -f core conftest.err conftest.$ac_objext \
15587 conftest$ac_exeext conftest.$ac_ext
15588 LIBS=$ac_check_soname_save_LIBS
15590 if ${ac_cv_lib_soname_gsm:+false} :; then :
15591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15592 $as_echo "not found" >&6; }
15594 else
15595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15596 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15598 cat >>confdefs.h <<_ACEOF
15599 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15600 _ACEOF
15605 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15606 case "x$with_gsm" in
15607 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15608 xno) ;;
15609 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15610 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15611 esac
15615 if test "x$with_krb5" != "xno"
15616 then
15617 if ${KRB5_CFLAGS:+false} :; then :
15618 if ${PKG_CONFIG+:} false; then :
15619 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15622 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15623 if ${KRB5_LIBS:+false} :; then :
15624 if ${PKG_CONFIG+:} false; then :
15625 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15628 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15630 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15631 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15632 ac_save_CPPFLAGS=$CPPFLAGS
15633 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15634 for ac_header in krb5/krb5.h
15635 do :
15636 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15637 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15638 cat >>confdefs.h <<_ACEOF
15639 #define HAVE_KRB5_KRB5_H 1
15640 _ACEOF
15644 done
15646 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15647 then
15648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15649 $as_echo_n "checking for -lkrb5... " >&6; }
15650 if ${ac_cv_lib_soname_krb5+:} false; then :
15651 $as_echo_n "(cached) " >&6
15652 else
15653 ac_check_soname_save_LIBS=$LIBS
15654 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15656 /* end confdefs.h. */
15658 /* Override any GCC internal prototype to avoid an error.
15659 Use char because int might match the return type of a GCC
15660 builtin and then its argument prototype would still apply. */
15661 #ifdef __cplusplus
15662 extern "C"
15663 #endif
15664 char krb5_is_config_principal ();
15666 main ()
15668 return krb5_is_config_principal ();
15670 return 0;
15672 _ACEOF
15673 if ac_fn_c_try_link "$LINENO"; then :
15674 case "$LIBEXT" in
15675 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15676 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'` ;;
15677 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15678 if ${ac_cv_lib_soname_krb5:+false} :; then :
15679 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15680 fi ;;
15681 esac
15682 else
15683 ac_cv_lib_soname_krb5=
15685 rm -f core conftest.err conftest.$ac_objext \
15686 conftest$ac_exeext conftest.$ac_ext
15687 LIBS=$ac_check_soname_save_LIBS
15689 if ${ac_cv_lib_soname_krb5:+false} :; then :
15690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15691 $as_echo "not found" >&6; }
15692 KRB5_CFLAGS=""
15693 else
15694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15695 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15697 cat >>confdefs.h <<_ACEOF
15698 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15699 _ACEOF
15703 else
15704 KRB5_CFLAGS=""
15706 CPPFLAGS=$ac_save_CPPFLAGS
15709 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15710 case "x$with_krb5" in
15711 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15712 xno) ;;
15713 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15714 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15715 esac
15718 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15720 if test "x$with_gssapi" != "xno"
15721 then
15722 if ${GSSAPI_CFLAGS:+false} :; then :
15723 if ${PKG_CONFIG+:} false; then :
15724 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15727 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15728 if ${GSSAPI_LIBS:+false} :; then :
15729 if ${PKG_CONFIG+:} false; then :
15730 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15733 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15735 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15736 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15737 ac_save_CPPFLAGS=$CPPFLAGS
15738 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15739 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15740 do :
15741 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15742 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15743 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15744 cat >>confdefs.h <<_ACEOF
15745 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15746 _ACEOF
15750 done
15752 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15753 then
15754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15755 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15756 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15757 $as_echo_n "(cached) " >&6
15758 else
15759 ac_check_soname_save_LIBS=$LIBS
15760 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15762 /* end confdefs.h. */
15764 /* Override any GCC internal prototype to avoid an error.
15765 Use char because int might match the return type of a GCC
15766 builtin and then its argument prototype would still apply. */
15767 #ifdef __cplusplus
15768 extern "C"
15769 #endif
15770 char gss_init_sec_context ();
15772 main ()
15774 return gss_init_sec_context ();
15776 return 0;
15778 _ACEOF
15779 if ac_fn_c_try_link "$LINENO"; then :
15780 case "$LIBEXT" in
15781 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15782 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'` ;;
15783 *) 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'`
15784 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15785 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15786 fi ;;
15787 esac
15788 else
15789 ac_cv_lib_soname_gssapi_krb5=
15791 rm -f core conftest.err conftest.$ac_objext \
15792 conftest$ac_exeext conftest.$ac_ext
15793 LIBS=$ac_check_soname_save_LIBS
15795 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15797 $as_echo "not found" >&6; }
15798 GSSAPI_CFLAGS=""
15799 else
15800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15801 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15803 cat >>confdefs.h <<_ACEOF
15804 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15805 _ACEOF
15809 else
15810 GSSAPI_CFLAGS=""
15812 CPPFLAGS=$ac_save_CPPFLAGS
15815 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15816 case "x$with_gssapi" in
15817 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15818 xno) ;;
15819 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15820 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15821 esac
15825 if test "x$with_jpeg" != "xno"
15826 then
15827 if ${JPEG_CFLAGS:+false} :; then :
15828 if ${PKG_CONFIG+:} false; then :
15829 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15833 if ${JPEG_LIBS:+false} :; then :
15834 if ${PKG_CONFIG+:} false; then :
15835 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15840 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15841 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15842 ac_save_CPPFLAGS=$CPPFLAGS
15843 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15844 for ac_header in jpeglib.h
15845 do :
15846 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15847 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15848 cat >>confdefs.h <<_ACEOF
15849 #define HAVE_JPEGLIB_H 1
15850 _ACEOF
15854 done
15856 if test "$ac_cv_header_jpeglib_h" = "yes"
15857 then
15858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15859 $as_echo_n "checking for -ljpeg... " >&6; }
15860 if ${ac_cv_lib_soname_jpeg+:} false; then :
15861 $as_echo_n "(cached) " >&6
15862 else
15863 ac_check_soname_save_LIBS=$LIBS
15864 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15866 /* end confdefs.h. */
15868 /* Override any GCC internal prototype to avoid an error.
15869 Use char because int might match the return type of a GCC
15870 builtin and then its argument prototype would still apply. */
15871 #ifdef __cplusplus
15872 extern "C"
15873 #endif
15874 char jpeg_start_decompress ();
15876 main ()
15878 return jpeg_start_decompress ();
15880 return 0;
15882 _ACEOF
15883 if ac_fn_c_try_link "$LINENO"; then :
15884 case "$LIBEXT" in
15885 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15886 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'` ;;
15887 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15888 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15889 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15890 fi ;;
15891 esac
15892 else
15893 ac_cv_lib_soname_jpeg=
15895 rm -f core conftest.err conftest.$ac_objext \
15896 conftest$ac_exeext conftest.$ac_ext
15897 LIBS=$ac_check_soname_save_LIBS
15899 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15901 $as_echo "not found" >&6; }
15902 JPEG_CFLAGS=""
15903 else
15904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15905 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15907 cat >>confdefs.h <<_ACEOF
15908 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15909 _ACEOF
15913 else
15914 JPEG_CFLAGS=""
15916 CPPFLAGS=$ac_save_CPPFLAGS
15919 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15920 case "x$with_jpeg" in
15921 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15922 xno) ;;
15923 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15924 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15925 esac
15929 if test "x$with_jxrlib" != "xno"
15930 then
15931 if ${JXRLIB_CFLAGS:+false} :; then :
15932 if ${PKG_CONFIG+:} false; then :
15933 JXRLIB_CFLAGS=`$PKG_CONFIG --cflags jxrlib 2>/dev/null`
15936 test "$cross_compiling" = yes || JXRLIB_CFLAGS=${JXRLIB_CFLAGS:-${JXRLIB_CFLAGS:--I/usr/include/jxrlib}}
15937 if ${JXRLIB_LIBS:+false} :; then :
15938 if ${PKG_CONFIG+:} false; then :
15939 JXRLIB_LIBS=`$PKG_CONFIG --libs jxrlib 2>/dev/null`
15944 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib cflags: $JXRLIB_CFLAGS" >&5
15945 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib libs: $JXRLIB_LIBS" >&5
15946 ac_save_CPPFLAGS=$CPPFLAGS
15947 CPPFLAGS="$CPPFLAGS $JXRLIB_CFLAGS"
15948 for ac_header in JXRGlue.h
15949 do :
15950 ac_fn_c_check_header_compile "$LINENO" "JXRGlue.h" "ac_cv_header_JXRGlue_h" "#define FAR
15952 if test "x$ac_cv_header_JXRGlue_h" = xyes; then :
15953 cat >>confdefs.h <<_ACEOF
15954 #define HAVE_JXRGLUE_H 1
15955 _ACEOF
15959 done
15961 if test "$ac_cv_header_JXRGlue_h" = "yes"
15962 then
15963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljxrglue" >&5
15964 $as_echo_n "checking for -ljxrglue... " >&6; }
15965 if ${ac_cv_lib_soname_jxrglue+:} false; then :
15966 $as_echo_n "(cached) " >&6
15967 else
15968 ac_check_soname_save_LIBS=$LIBS
15969 LIBS="-ljxrglue $JXRLIB_LIBS $LIBS"
15970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15971 /* end confdefs.h. */
15973 /* Override any GCC internal prototype to avoid an error.
15974 Use char because int might match the return type of a GCC
15975 builtin and then its argument prototype would still apply. */
15976 #ifdef __cplusplus
15977 extern "C"
15978 #endif
15979 char PKImageDecode_Create_WMP ();
15981 main ()
15983 return PKImageDecode_Create_WMP ();
15985 return 0;
15987 _ACEOF
15988 if ac_fn_c_try_link "$LINENO"; then :
15989 case "$LIBEXT" in
15990 dll) ac_cv_lib_soname_jxrglue=`$ac_cv_path_LDD conftest.exe | grep "jxrglue" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15991 dylib) ac_cv_lib_soname_jxrglue=`$OTOOL -L conftest$ac_exeext | grep "libjxrglue\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libjxrglue\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15992 *) ac_cv_lib_soname_jxrglue=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjxrglue\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjxrglue\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15993 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
15994 ac_cv_lib_soname_jxrglue=`$LDD conftest$ac_exeext | grep "libjxrglue\\.$LIBEXT" | sed -e "s/^.*\(libjxrglue\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15995 fi ;;
15996 esac
15997 else
15998 ac_cv_lib_soname_jxrglue=
16000 rm -f core conftest.err conftest.$ac_objext \
16001 conftest$ac_exeext conftest.$ac_ext
16002 LIBS=$ac_check_soname_save_LIBS
16004 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16006 $as_echo "not found" >&6; }
16007 JXRLIB_CFLAGS=""
16008 else
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jxrglue" >&5
16010 $as_echo "$ac_cv_lib_soname_jxrglue" >&6; }
16012 cat >>confdefs.h <<_ACEOF
16013 #define SONAME_LIBJXRGLUE "$ac_cv_lib_soname_jxrglue"
16014 _ACEOF
16018 else
16019 JXRLIB_CFLAGS=""
16021 CPPFLAGS=$ac_save_CPPFLAGS
16024 if test "x$ac_cv_lib_soname_jxrglue" = "x"; then :
16025 case "x$with_jxrlib" in
16026 x) as_fn_append wine_notices "|jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported." ;;
16027 xno) ;;
16028 *) as_fn_error $? "jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported.
16029 This is an error since --with-jxrlib was requested." "$LINENO" 5 ;;
16030 esac
16034 if test "x$with_tiff" != "xno"
16035 then
16036 if ${TIFF_CFLAGS:+false} :; then :
16037 if ${PKG_CONFIG+:} false; then :
16038 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16042 if ${TIFF_LIBS:+false} :; then :
16043 if ${PKG_CONFIG+:} false; then :
16044 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16049 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16050 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16051 ac_save_CPPFLAGS=$CPPFLAGS
16052 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16053 for ac_header in tiffio.h
16054 do :
16055 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16056 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16057 cat >>confdefs.h <<_ACEOF
16058 #define HAVE_TIFFIO_H 1
16059 _ACEOF
16063 done
16065 if test "$ac_cv_header_tiffio_h" = "yes"
16066 then
16067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16068 $as_echo_n "checking for -ltiff... " >&6; }
16069 if ${ac_cv_lib_soname_tiff+:} false; then :
16070 $as_echo_n "(cached) " >&6
16071 else
16072 ac_check_soname_save_LIBS=$LIBS
16073 LIBS="-ltiff $TIFF_LIBS $LIBS"
16074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16075 /* end confdefs.h. */
16077 /* Override any GCC internal prototype to avoid an error.
16078 Use char because int might match the return type of a GCC
16079 builtin and then its argument prototype would still apply. */
16080 #ifdef __cplusplus
16081 extern "C"
16082 #endif
16083 char TIFFClientOpen ();
16085 main ()
16087 return TIFFClientOpen ();
16089 return 0;
16091 _ACEOF
16092 if ac_fn_c_try_link "$LINENO"; then :
16093 case "$LIBEXT" in
16094 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16095 dylib) ac_cv_lib_soname_tiff=`$OTOOL -L conftest$ac_exeext | grep "libtiff\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libtiff\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16096 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16097 if ${ac_cv_lib_soname_tiff:+false} :; then :
16098 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16099 fi ;;
16100 esac
16101 else
16102 ac_cv_lib_soname_tiff=
16104 rm -f core conftest.err conftest.$ac_objext \
16105 conftest$ac_exeext conftest.$ac_ext
16106 LIBS=$ac_check_soname_save_LIBS
16108 if ${ac_cv_lib_soname_tiff:+false} :; then :
16109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16110 $as_echo "not found" >&6; }
16112 else
16113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16114 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16116 cat >>confdefs.h <<_ACEOF
16117 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16118 _ACEOF
16123 CPPFLAGS=$ac_save_CPPFLAGS
16126 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16127 case "x$with_tiff" in
16128 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16129 xno) ;;
16130 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16131 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16132 esac
16136 if test "x$with_mpg123" != "xno"
16137 then
16138 if ${MPG123_CFLAGS:+false} :; then :
16139 if ${PKG_CONFIG+:} false; then :
16140 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16144 if ${MPG123_LIBS:+false} :; then :
16145 if ${PKG_CONFIG+:} false; then :
16146 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16150 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16151 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16152 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16153 ac_save_CPPFLAGS=$CPPFLAGS
16154 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16155 for ac_header in mpg123.h
16156 do :
16157 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16158 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16159 cat >>confdefs.h <<_ACEOF
16160 #define HAVE_MPG123_H 1
16161 _ACEOF
16165 done
16167 if test "$ac_cv_header_mpg123_h" = "yes"
16168 then
16169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16170 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16171 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16172 $as_echo_n "(cached) " >&6
16173 else
16174 ac_check_lib_save_LIBS=$LIBS
16175 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16177 /* end confdefs.h. */
16179 /* Override any GCC internal prototype to avoid an error.
16180 Use char because int might match the return type of a GCC
16181 builtin and then its argument prototype would still apply. */
16182 #ifdef __cplusplus
16183 extern "C"
16184 #endif
16185 char mpg123_feed ();
16187 main ()
16189 return mpg123_feed ();
16191 return 0;
16193 _ACEOF
16194 if ac_fn_c_try_link "$LINENO"; then :
16195 ac_cv_lib_mpg123_mpg123_feed=yes
16196 else
16197 ac_cv_lib_mpg123_mpg123_feed=no
16199 rm -f core conftest.err conftest.$ac_objext \
16200 conftest$ac_exeext conftest.$ac_ext
16201 LIBS=$ac_check_lib_save_LIBS
16203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16204 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16205 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16207 else
16208 MPG123_LIBS=""
16211 else
16212 MPG123_CFLAGS=""
16213 MPG123_LIBS=""
16215 CPPFLAGS=$ac_save_CPPFLAGS
16218 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes; then :
16219 case "x$with_mpg123" in
16220 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16221 xno) ;;
16222 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16223 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16224 esac
16225 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16227 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16229 if test "$ac_cv_header_AL_al_h" = "yes"
16230 then
16231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16232 $as_echo_n "checking for -lopenal... " >&6; }
16233 if ${ac_cv_lib_soname_openal+:} false; then :
16234 $as_echo_n "(cached) " >&6
16235 else
16236 ac_check_soname_save_LIBS=$LIBS
16237 LIBS="-lopenal $LIBS"
16238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16239 /* end confdefs.h. */
16241 /* Override any GCC internal prototype to avoid an error.
16242 Use char because int might match the return type of a GCC
16243 builtin and then its argument prototype would still apply. */
16244 #ifdef __cplusplus
16245 extern "C"
16246 #endif
16247 char alGetSource3i ();
16249 main ()
16251 return alGetSource3i ();
16253 return 0;
16255 _ACEOF
16256 if ac_fn_c_try_link "$LINENO"; then :
16257 case "$LIBEXT" in
16258 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16259 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'` ;;
16260 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16261 if ${ac_cv_lib_soname_openal:+false} :; then :
16262 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16263 fi ;;
16264 esac
16265 else
16266 ac_cv_lib_soname_openal=
16268 rm -f core conftest.err conftest.$ac_objext \
16269 conftest$ac_exeext conftest.$ac_ext
16270 LIBS=$ac_check_soname_save_LIBS
16272 if ${ac_cv_lib_soname_openal:+false} :; then :
16273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16274 $as_echo "not found" >&6; }
16276 else
16277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16278 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16280 cat >>confdefs.h <<_ACEOF
16281 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16282 _ACEOF
16284 OPENAL_LIBS="-lopenal"
16286 ac_cv_lib_openal=yes
16288 cat >>confdefs.h <<_ACEOF
16289 #define HAVE_OPENAL 1
16290 _ACEOF
16294 if test "x$ac_cv_lib_openal" != xyes; then :
16295 case "x$with_openal" in
16296 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16297 xno) ;;
16298 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16299 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16300 esac
16301 enable_openal32=${enable_openal32:-no}
16304 if test "x$ac_cv_lib_soname_FAudio" = "x"
16305 then
16306 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16307 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16308 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16309 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16310 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16311 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16312 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16313 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16314 enable_xactengine2_0=${enable_xactengine2_0:-no}
16315 enable_xactengine2_4=${enable_xactengine2_4:-no}
16316 enable_xactengine2_7=${enable_xactengine2_7:-no}
16317 enable_xactengine2_9=${enable_xactengine2_9:-no}
16318 enable_xactengine3_0=${enable_xactengine3_0:-no}
16319 enable_xactengine3_1=${enable_xactengine3_1:-no}
16320 enable_xactengine3_2=${enable_xactengine3_2:-no}
16321 enable_xactengine3_3=${enable_xactengine3_3:-no}
16322 enable_xactengine3_4=${enable_xactengine3_4:-no}
16323 enable_xactengine3_5=${enable_xactengine3_5:-no}
16324 enable_xactengine3_6=${enable_xactengine3_6:-no}
16325 enable_xactengine3_7=${enable_xactengine3_7:-no}
16326 enable_xapofx1_1=${enable_xapofx1_1:-no}
16327 enable_xapofx1_2=${enable_xapofx1_2:-no}
16328 enable_xapofx1_3=${enable_xapofx1_3:-no}
16329 enable_xapofx1_4=${enable_xapofx1_4:-no}
16330 enable_xapofx1_5=${enable_xapofx1_5:-no}
16331 enable_xaudio2_0=${enable_xaudio2_0:-no}
16332 enable_xaudio2_1=${enable_xaudio2_1:-no}
16333 enable_xaudio2_2=${enable_xaudio2_2:-no}
16334 enable_xaudio2_3=${enable_xaudio2_3:-no}
16335 enable_xaudio2_4=${enable_xaudio2_4:-no}
16336 enable_xaudio2_5=${enable_xaudio2_5:-no}
16337 enable_xaudio2_6=${enable_xaudio2_6:-no}
16338 enable_xaudio2_7=${enable_xaudio2_7:-no}
16339 enable_xaudio2_8=${enable_xaudio2_8:-no}
16340 enable_xaudio2_9=${enable_xaudio2_9:-no}
16343 if test "$ac_cv_header_libprocstat_h" = "yes"
16344 then
16345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16346 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16347 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16348 $as_echo_n "(cached) " >&6
16349 else
16350 ac_check_lib_save_LIBS=$LIBS
16351 LIBS="-lprocstat $LIBS"
16352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16353 /* end confdefs.h. */
16355 /* Override any GCC internal prototype to avoid an error.
16356 Use char because int might match the return type of a GCC
16357 builtin and then its argument prototype would still apply. */
16358 #ifdef __cplusplus
16359 extern "C"
16360 #endif
16361 char procstat_open_sysctl ();
16363 main ()
16365 return procstat_open_sysctl ();
16367 return 0;
16369 _ACEOF
16370 if ac_fn_c_try_link "$LINENO"; then :
16371 ac_cv_lib_procstat_procstat_open_sysctl=yes
16372 else
16373 ac_cv_lib_procstat_procstat_open_sysctl=no
16375 rm -f core conftest.err conftest.$ac_objext \
16376 conftest$ac_exeext conftest.$ac_ext
16377 LIBS=$ac_check_lib_save_LIBS
16379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16380 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16381 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16383 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16385 PROCSTAT_LIBS="-lprocstat"
16391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16392 $as_echo_n "checking for -lodbc... " >&6; }
16393 if ${ac_cv_lib_soname_odbc+:} false; then :
16394 $as_echo_n "(cached) " >&6
16395 else
16396 ac_check_soname_save_LIBS=$LIBS
16397 LIBS="-lodbc $LIBS"
16398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16399 /* end confdefs.h. */
16401 /* Override any GCC internal prototype to avoid an error.
16402 Use char because int might match the return type of a GCC
16403 builtin and then its argument prototype would still apply. */
16404 #ifdef __cplusplus
16405 extern "C"
16406 #endif
16407 char SQLConnect ();
16409 main ()
16411 return SQLConnect ();
16413 return 0;
16415 _ACEOF
16416 if ac_fn_c_try_link "$LINENO"; then :
16417 case "$LIBEXT" in
16418 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16419 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'` ;;
16420 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16421 if ${ac_cv_lib_soname_odbc:+false} :; then :
16422 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16423 fi ;;
16424 esac
16425 else
16426 ac_cv_lib_soname_odbc=
16428 rm -f core conftest.err conftest.$ac_objext \
16429 conftest$ac_exeext conftest.$ac_ext
16430 LIBS=$ac_check_soname_save_LIBS
16432 if ${ac_cv_lib_soname_odbc:+false} :; then :
16433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16434 $as_echo "not found" >&6; }
16435 cat >>confdefs.h <<_ACEOF
16436 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16437 _ACEOF
16439 else
16440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16441 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16443 cat >>confdefs.h <<_ACEOF
16444 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16445 _ACEOF
16450 if test "x$with_netapi" != "xno"
16451 then
16452 if ${NETAPI_CFLAGS:+false} :; then :
16453 if ${PKG_CONFIG+:} false; then :
16454 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16458 if ${NETAPI_LIBS:+false} :; then :
16459 if ${PKG_CONFIG+:} false; then :
16460 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16465 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16466 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16467 ac_save_CPPFLAGS=$CPPFLAGS
16468 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16470 $as_echo_n "checking for -lnetapi... " >&6; }
16471 if ${ac_cv_lib_soname_netapi+:} false; then :
16472 $as_echo_n "(cached) " >&6
16473 else
16474 ac_check_soname_save_LIBS=$LIBS
16475 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16477 /* end confdefs.h. */
16479 /* Override any GCC internal prototype to avoid an error.
16480 Use char because int might match the return type of a GCC
16481 builtin and then its argument prototype would still apply. */
16482 #ifdef __cplusplus
16483 extern "C"
16484 #endif
16485 char libnetapi_init ();
16487 main ()
16489 return libnetapi_init ();
16491 return 0;
16493 _ACEOF
16494 if ac_fn_c_try_link "$LINENO"; then :
16495 case "$LIBEXT" in
16496 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16497 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'` ;;
16498 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16499 if ${ac_cv_lib_soname_netapi:+false} :; then :
16500 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16501 fi ;;
16502 esac
16503 else
16504 ac_cv_lib_soname_netapi=
16506 rm -f core conftest.err conftest.$ac_objext \
16507 conftest$ac_exeext conftest.$ac_ext
16508 LIBS=$ac_check_soname_save_LIBS
16510 if ${ac_cv_lib_soname_netapi:+false} :; then :
16511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16512 $as_echo "not found" >&6; }
16513 cat >>confdefs.h <<_ACEOF
16514 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16515 _ACEOF
16517 else
16518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16519 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16521 cat >>confdefs.h <<_ACEOF
16522 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16523 _ACEOF
16527 CPPFLAGS=$ac_save_CPPFLAGS
16531 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16532 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16533 then
16534 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16537 if test "x$with_vulkan" != "xno"
16538 then
16539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16540 $as_echo_n "checking for -lvulkan... " >&6; }
16541 if ${ac_cv_lib_soname_vulkan+:} false; then :
16542 $as_echo_n "(cached) " >&6
16543 else
16544 ac_check_soname_save_LIBS=$LIBS
16545 LIBS="-lvulkan $LIBS"
16546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16547 /* end confdefs.h. */
16549 /* Override any GCC internal prototype to avoid an error.
16550 Use char because int might match the return type of a GCC
16551 builtin and then its argument prototype would still apply. */
16552 #ifdef __cplusplus
16553 extern "C"
16554 #endif
16555 char vkGetInstanceProcAddr ();
16557 main ()
16559 return vkGetInstanceProcAddr ();
16561 return 0;
16563 _ACEOF
16564 if ac_fn_c_try_link "$LINENO"; then :
16565 case "$LIBEXT" in
16566 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16567 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'` ;;
16568 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16569 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16570 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16571 fi ;;
16572 esac
16573 else
16574 ac_cv_lib_soname_vulkan=
16576 rm -f core conftest.err conftest.$ac_objext \
16577 conftest$ac_exeext conftest.$ac_ext
16578 LIBS=$ac_check_soname_save_LIBS
16580 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16582 $as_echo "not found" >&6; }
16584 else
16585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16586 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16588 cat >>confdefs.h <<_ACEOF
16589 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16590 _ACEOF
16594 if test "x$ac_cv_lib_soname_vulkan" = "x"
16595 then
16596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16597 $as_echo_n "checking for -lMoltenVK... " >&6; }
16598 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16599 $as_echo_n "(cached) " >&6
16600 else
16601 ac_check_soname_save_LIBS=$LIBS
16602 LIBS="-lMoltenVK $LIBS"
16603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16604 /* end confdefs.h. */
16606 /* Override any GCC internal prototype to avoid an error.
16607 Use char because int might match the return type of a GCC
16608 builtin and then its argument prototype would still apply. */
16609 #ifdef __cplusplus
16610 extern "C"
16611 #endif
16612 char vkGetInstanceProcAddr ();
16614 main ()
16616 return vkGetInstanceProcAddr ();
16618 return 0;
16620 _ACEOF
16621 if ac_fn_c_try_link "$LINENO"; then :
16622 case "$LIBEXT" in
16623 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16624 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'` ;;
16625 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16626 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16627 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16628 fi ;;
16629 esac
16630 else
16631 ac_cv_lib_soname_MoltenVK=
16633 rm -f core conftest.err conftest.$ac_objext \
16634 conftest$ac_exeext conftest.$ac_ext
16635 LIBS=$ac_check_soname_save_LIBS
16637 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16639 $as_echo "not found" >&6; }
16641 else
16642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16643 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16645 cat >>confdefs.h <<_ACEOF
16646 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16647 _ACEOF
16653 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16654 case "x$with_vulkan" in
16655 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16656 xno) ;;
16657 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16658 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16659 esac
16663 if test "x$with_vkd3d" != "xno"
16664 then
16665 if ${VKD3D_CFLAGS:+false} :; then :
16666 if ${PKG_CONFIG+:} false; then :
16667 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16671 if ${VKD3D_LIBS:+false} :; then :
16672 if ${PKG_CONFIG+:} false; then :
16673 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16678 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16679 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16680 ac_save_CPPFLAGS=$CPPFLAGS
16681 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16683 $as_echo_n "checking for -lvkd3d... " >&6; }
16684 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16685 $as_echo_n "(cached) " >&6
16686 else
16687 ac_check_soname_save_LIBS=$LIBS
16688 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16690 /* end confdefs.h. */
16692 /* Override any GCC internal prototype to avoid an error.
16693 Use char because int might match the return type of a GCC
16694 builtin and then its argument prototype would still apply. */
16695 #ifdef __cplusplus
16696 extern "C"
16697 #endif
16698 char vkd3d_serialize_versioned_root_signature ();
16700 main ()
16702 return vkd3d_serialize_versioned_root_signature ();
16704 return 0;
16706 _ACEOF
16707 if ac_fn_c_try_link "$LINENO"; then :
16708 case "$LIBEXT" in
16709 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16710 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'` ;;
16711 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16712 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16713 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16714 fi ;;
16715 esac
16716 else
16717 ac_cv_lib_soname_vkd3d=
16719 rm -f core conftest.err conftest.$ac_objext \
16720 conftest$ac_exeext conftest.$ac_ext
16721 LIBS=$ac_check_soname_save_LIBS
16723 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16725 $as_echo "not found" >&6; }
16727 else
16728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16729 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16731 cat >>confdefs.h <<_ACEOF
16732 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16733 _ACEOF
16737 CPPFLAGS=$ac_save_CPPFLAGS
16739 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
16740 if ${PKG_CONFIG+:} false; then :
16741 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
16745 if ${VKD3D_SHADER_LIBS:+false} :; then :
16746 if ${PKG_CONFIG+:} false; then :
16747 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
16752 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
16753 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
16754 ac_save_CPPFLAGS=$CPPFLAGS
16755 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
16756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
16757 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
16758 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
16759 $as_echo_n "(cached) " >&6
16760 else
16761 ac_check_soname_save_LIBS=$LIBS
16762 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
16763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16764 /* end confdefs.h. */
16766 /* Override any GCC internal prototype to avoid an error.
16767 Use char because int might match the return type of a GCC
16768 builtin and then its argument prototype would still apply. */
16769 #ifdef __cplusplus
16770 extern "C"
16771 #endif
16772 char vkd3d_shader_compile ();
16774 main ()
16776 return vkd3d_shader_compile ();
16778 return 0;
16780 _ACEOF
16781 if ac_fn_c_try_link "$LINENO"; then :
16782 case "$LIBEXT" in
16783 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16784 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'` ;;
16785 *) 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'`
16786 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16787 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16788 fi ;;
16789 esac
16790 else
16791 ac_cv_lib_soname_vkd3d_shader=
16793 rm -f core conftest.err conftest.$ac_objext \
16794 conftest$ac_exeext conftest.$ac_ext
16795 LIBS=$ac_check_soname_save_LIBS
16797 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16799 $as_echo "not found" >&6; }
16801 else
16802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
16803 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
16805 cat >>confdefs.h <<_ACEOF
16806 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
16807 _ACEOF
16811 CPPFLAGS=$ac_save_CPPFLAGS
16814 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16815 case "x$with_vkd3d" in
16816 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16817 xno) ;;
16818 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16819 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16820 esac
16823 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16826 if test "x${GCC}" = "xyes"
16827 then
16828 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
16830 saved_CFLAGS=$CFLAGS
16831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16832 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16833 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16834 $as_echo_n "(cached) " >&6
16835 else
16836 ac_wine_try_cflags_saved=$CFLAGS
16837 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16839 /* end confdefs.h. */
16840 int main(int argc, char **argv) { return 0; }
16841 _ACEOF
16842 if ac_fn_c_try_link "$LINENO"; then :
16843 ac_cv_cflags__Werror_unknown_warning_option=yes
16844 else
16845 ac_cv_cflags__Werror_unknown_warning_option=no
16847 rm -f core conftest.err conftest.$ac_objext \
16848 conftest$ac_exeext conftest.$ac_ext
16849 CFLAGS=$ac_wine_try_cflags_saved
16851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16852 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16853 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16854 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
16857 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
16858 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
16859 $as_echo_n "(cached) " >&6
16860 else
16861 ac_wine_try_cflags_saved=$CFLAGS
16862 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16864 /* end confdefs.h. */
16865 int main(int argc, char **argv) { return 0; }
16866 _ACEOF
16867 if ac_fn_c_try_link "$LINENO"; then :
16868 ac_cv_cflags__Werror_unused_command_line_argument=yes
16869 else
16870 ac_cv_cflags__Werror_unused_command_line_argument=no
16872 rm -f core conftest.err conftest.$ac_objext \
16873 conftest$ac_exeext conftest.$ac_ext
16874 CFLAGS=$ac_wine_try_cflags_saved
16876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
16877 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
16878 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
16879 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
16882 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
16883 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
16884 $as_echo_n "(cached) " >&6
16885 else
16886 ac_wine_try_cflags_saved=$CFLAGS
16887 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
16888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16889 /* end confdefs.h. */
16890 int main(int argc, char **argv) { return 0; }
16891 _ACEOF
16892 if ac_fn_c_try_link "$LINENO"; then :
16893 ac_cv_cflags__Werror_ignored_optimization_argument=yes
16894 else
16895 ac_cv_cflags__Werror_ignored_optimization_argument=no
16897 rm -f core conftest.err conftest.$ac_objext \
16898 conftest$ac_exeext conftest.$ac_ext
16899 CFLAGS=$ac_wine_try_cflags_saved
16901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
16902 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
16903 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
16904 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
16906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
16907 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
16908 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
16909 $as_echo_n "(cached) " >&6
16910 else
16911 ac_wine_try_cflags_saved=$CFLAGS
16912 CFLAGS="$CFLAGS -fcf-protection=none"
16913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16914 /* end confdefs.h. */
16915 int main(int argc, char **argv) { return 0; }
16916 _ACEOF
16917 if ac_fn_c_try_link "$LINENO"; then :
16918 ac_cv_cflags__fcf_protection_none=yes
16919 else
16920 ac_cv_cflags__fcf_protection_none=no
16922 rm -f core conftest.err conftest.$ac_objext \
16923 conftest$ac_exeext conftest.$ac_ext
16924 CFLAGS=$ac_wine_try_cflags_saved
16926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
16927 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
16928 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
16929 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
16931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
16932 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
16933 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
16934 $as_echo_n "(cached) " >&6
16935 else
16936 ac_wine_try_cflags_saved=$CFLAGS
16937 CFLAGS="$CFLAGS -fno-stack-protector"
16938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16939 /* end confdefs.h. */
16940 int main(int argc, char **argv) { return 0; }
16941 _ACEOF
16942 if ac_fn_c_try_link "$LINENO"; then :
16943 ac_cv_cflags__fno_stack_protector=yes
16944 else
16945 ac_cv_cflags__fno_stack_protector=no
16947 rm -f core conftest.err conftest.$ac_objext \
16948 conftest$ac_exeext conftest.$ac_ext
16949 CFLAGS=$ac_wine_try_cflags_saved
16951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
16952 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
16953 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
16954 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
16956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
16957 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
16958 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
16959 $as_echo_n "(cached) " >&6
16960 else
16961 ac_wine_try_cflags_saved=$CFLAGS
16962 CFLAGS="$CFLAGS -fno-strict-aliasing"
16963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16964 /* end confdefs.h. */
16965 int main(int argc, char **argv) { return 0; }
16966 _ACEOF
16967 if ac_fn_c_try_link "$LINENO"; then :
16968 ac_cv_cflags__fno_strict_aliasing=yes
16969 else
16970 ac_cv_cflags__fno_strict_aliasing=no
16972 rm -f core conftest.err conftest.$ac_objext \
16973 conftest$ac_exeext conftest.$ac_ext
16974 CFLAGS=$ac_wine_try_cflags_saved
16976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16977 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
16978 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
16979 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16982 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
16983 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
16984 $as_echo_n "(cached) " >&6
16985 else
16986 ac_wine_try_cflags_saved=$CFLAGS
16987 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16989 /* end confdefs.h. */
16990 int main(int argc, char **argv) { return 0; }
16991 _ACEOF
16992 if ac_fn_c_try_link "$LINENO"; then :
16993 ac_cv_cflags__Wdeclaration_after_statement=yes
16994 else
16995 ac_cv_cflags__Wdeclaration_after_statement=no
16997 rm -f core conftest.err conftest.$ac_objext \
16998 conftest$ac_exeext conftest.$ac_ext
16999 CFLAGS=$ac_wine_try_cflags_saved
17001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17002 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17003 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17004 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17007 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17008 if ${ac_cv_cflags__Wempty_body+:} false; then :
17009 $as_echo_n "(cached) " >&6
17010 else
17011 ac_wine_try_cflags_saved=$CFLAGS
17012 CFLAGS="$CFLAGS -Wempty-body"
17013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17014 /* end confdefs.h. */
17015 int main(int argc, char **argv) { return 0; }
17016 _ACEOF
17017 if ac_fn_c_try_link "$LINENO"; then :
17018 ac_cv_cflags__Wempty_body=yes
17019 else
17020 ac_cv_cflags__Wempty_body=no
17022 rm -f core conftest.err conftest.$ac_objext \
17023 conftest$ac_exeext conftest.$ac_ext
17024 CFLAGS=$ac_wine_try_cflags_saved
17026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17027 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17028 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17029 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17032 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17033 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17034 $as_echo_n "(cached) " >&6
17035 else
17036 ac_wine_try_cflags_saved=$CFLAGS
17037 CFLAGS="$CFLAGS -Wignored-qualifiers"
17038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17039 /* end confdefs.h. */
17040 int main(int argc, char **argv) { return 0; }
17041 _ACEOF
17042 if ac_fn_c_try_link "$LINENO"; then :
17043 ac_cv_cflags__Wignored_qualifiers=yes
17044 else
17045 ac_cv_cflags__Wignored_qualifiers=no
17047 rm -f core conftest.err conftest.$ac_objext \
17048 conftest$ac_exeext conftest.$ac_ext
17049 CFLAGS=$ac_wine_try_cflags_saved
17051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17052 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17053 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17054 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
17057 $as_echo_n "checking whether the compiler supports -Winit-self... " >&6; }
17058 if ${ac_cv_cflags__Winit_self+:} false; then :
17059 $as_echo_n "(cached) " >&6
17060 else
17061 ac_wine_try_cflags_saved=$CFLAGS
17062 CFLAGS="$CFLAGS -Winit-self"
17063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17064 /* end confdefs.h. */
17065 int main(int argc, char **argv) { return 0; }
17066 _ACEOF
17067 if ac_fn_c_try_link "$LINENO"; then :
17068 ac_cv_cflags__Winit_self=yes
17069 else
17070 ac_cv_cflags__Winit_self=no
17072 rm -f core conftest.err conftest.$ac_objext \
17073 conftest$ac_exeext conftest.$ac_ext
17074 CFLAGS=$ac_wine_try_cflags_saved
17076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
17077 $as_echo "$ac_cv_cflags__Winit_self" >&6; }
17078 if test "x$ac_cv_cflags__Winit_self" = xyes; then :
17079 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
17081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17082 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17083 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17084 $as_echo_n "(cached) " >&6
17085 else
17086 ac_wine_try_cflags_saved=$CFLAGS
17087 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17089 /* end confdefs.h. */
17090 int main(int argc, char **argv) { return 0; }
17091 _ACEOF
17092 if ac_fn_c_try_link "$LINENO"; then :
17093 ac_cv_cflags__Wpacked_not_aligned=yes
17094 else
17095 ac_cv_cflags__Wpacked_not_aligned=no
17097 rm -f core conftest.err conftest.$ac_objext \
17098 conftest$ac_exeext conftest.$ac_ext
17099 CFLAGS=$ac_wine_try_cflags_saved
17101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17102 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17103 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17104 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17107 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17108 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17109 $as_echo_n "(cached) " >&6
17110 else
17111 ac_wine_try_cflags_saved=$CFLAGS
17112 CFLAGS="$CFLAGS -Wpragma-pack"
17113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17114 /* end confdefs.h. */
17115 int main(int argc, char **argv) { return 0; }
17116 _ACEOF
17117 if ac_fn_c_try_link "$LINENO"; then :
17118 ac_cv_cflags__Wpragma_pack=yes
17119 else
17120 ac_cv_cflags__Wpragma_pack=no
17122 rm -f core conftest.err conftest.$ac_objext \
17123 conftest$ac_exeext conftest.$ac_ext
17124 CFLAGS=$ac_wine_try_cflags_saved
17126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17127 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17128 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17129 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17132 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17133 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17134 $as_echo_n "(cached) " >&6
17135 else
17136 ac_wine_try_cflags_saved=$CFLAGS
17137 CFLAGS="$CFLAGS -Wshift-overflow=2"
17138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17139 /* end confdefs.h. */
17140 int main(int argc, char **argv) { return 0; }
17141 _ACEOF
17142 if ac_fn_c_try_link "$LINENO"; then :
17143 ac_cv_cflags__Wshift_overflow_2=yes
17144 else
17145 ac_cv_cflags__Wshift_overflow_2=no
17147 rm -f core conftest.err conftest.$ac_objext \
17148 conftest$ac_exeext conftest.$ac_ext
17149 CFLAGS=$ac_wine_try_cflags_saved
17151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17152 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17153 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17154 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17157 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17158 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17159 $as_echo_n "(cached) " >&6
17160 else
17161 ac_wine_try_cflags_saved=$CFLAGS
17162 CFLAGS="$CFLAGS -Wstrict-prototypes"
17163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17164 /* end confdefs.h. */
17165 int main(int argc, char **argv) { return 0; }
17166 _ACEOF
17167 if ac_fn_c_try_link "$LINENO"; then :
17168 ac_cv_cflags__Wstrict_prototypes=yes
17169 else
17170 ac_cv_cflags__Wstrict_prototypes=no
17172 rm -f core conftest.err conftest.$ac_objext \
17173 conftest$ac_exeext conftest.$ac_ext
17174 CFLAGS=$ac_wine_try_cflags_saved
17176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17177 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17178 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17179 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17182 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17183 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17184 $as_echo_n "(cached) " >&6
17185 else
17186 ac_wine_try_cflags_saved=$CFLAGS
17187 CFLAGS="$CFLAGS -Wtype-limits"
17188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17189 /* end confdefs.h. */
17190 int main(int argc, char **argv) { return 0; }
17191 _ACEOF
17192 if ac_fn_c_try_link "$LINENO"; then :
17193 ac_cv_cflags__Wtype_limits=yes
17194 else
17195 ac_cv_cflags__Wtype_limits=no
17197 rm -f core conftest.err conftest.$ac_objext \
17198 conftest$ac_exeext conftest.$ac_ext
17199 CFLAGS=$ac_wine_try_cflags_saved
17201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17202 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17203 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17204 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17207 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17208 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17209 $as_echo_n "(cached) " >&6
17210 else
17211 ac_wine_try_cflags_saved=$CFLAGS
17212 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17214 /* end confdefs.h. */
17215 int main(int argc, char **argv) { return 0; }
17216 _ACEOF
17217 if ac_fn_c_try_link "$LINENO"; then :
17218 ac_cv_cflags__Wunused_but_set_parameter=yes
17219 else
17220 ac_cv_cflags__Wunused_but_set_parameter=no
17222 rm -f core conftest.err conftest.$ac_objext \
17223 conftest$ac_exeext conftest.$ac_ext
17224 CFLAGS=$ac_wine_try_cflags_saved
17226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17227 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17228 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17229 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17232 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17233 if ${ac_cv_cflags__Wvla+:} false; then :
17234 $as_echo_n "(cached) " >&6
17235 else
17236 ac_wine_try_cflags_saved=$CFLAGS
17237 CFLAGS="$CFLAGS -Wvla"
17238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17239 /* end confdefs.h. */
17240 int main(int argc, char **argv) { return 0; }
17241 _ACEOF
17242 if ac_fn_c_try_link "$LINENO"; then :
17243 ac_cv_cflags__Wvla=yes
17244 else
17245 ac_cv_cflags__Wvla=no
17247 rm -f core conftest.err conftest.$ac_objext \
17248 conftest$ac_exeext conftest.$ac_ext
17249 CFLAGS=$ac_wine_try_cflags_saved
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17252 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17253 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17254 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17257 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17258 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17259 $as_echo_n "(cached) " >&6
17260 else
17261 ac_wine_try_cflags_saved=$CFLAGS
17262 CFLAGS="$CFLAGS -Wwrite-strings"
17263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17264 /* end confdefs.h. */
17265 int main(int argc, char **argv) { return 0; }
17266 _ACEOF
17267 if ac_fn_c_try_link "$LINENO"; then :
17268 ac_cv_cflags__Wwrite_strings=yes
17269 else
17270 ac_cv_cflags__Wwrite_strings=no
17272 rm -f core conftest.err conftest.$ac_objext \
17273 conftest$ac_exeext conftest.$ac_ext
17274 CFLAGS=$ac_wine_try_cflags_saved
17276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17277 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17278 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17279 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17282 if test -z "$CROSSTARGET"
17283 then
17284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17285 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17286 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17287 $as_echo_n "(cached) " >&6
17288 else
17289 ac_wine_try_cflags_saved=$CFLAGS
17290 CFLAGS="$CFLAGS -fexcess-precision=standard"
17291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17292 /* end confdefs.h. */
17293 int main(int argc, char **argv) { return 0; }
17294 _ACEOF
17295 if ac_fn_c_try_link "$LINENO"; then :
17296 ac_cv_cflags__fexcess_precision_standard=yes
17297 else
17298 ac_cv_cflags__fexcess_precision_standard=no
17300 rm -f core conftest.err conftest.$ac_objext \
17301 conftest$ac_exeext conftest.$ac_ext
17302 CFLAGS=$ac_wine_try_cflags_saved
17304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17305 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17306 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17307 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17313 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17314 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17315 $as_echo_n "(cached) " >&6
17316 else
17317 ac_wine_try_cflags_saved=$CFLAGS
17318 CFLAGS="$CFLAGS -Wpointer-arith"
17319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17320 /* end confdefs.h. */
17321 int main(int argc, char **argv) { return 0; }
17322 _ACEOF
17323 if ac_fn_c_try_link "$LINENO"; then :
17324 ac_cv_cflags__Wpointer_arith=yes
17325 else
17326 ac_cv_cflags__Wpointer_arith=no
17328 rm -f core conftest.err conftest.$ac_objext \
17329 conftest$ac_exeext conftest.$ac_ext
17330 CFLAGS=$ac_wine_try_cflags_saved
17332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17333 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17334 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17335 saved_string_h_CFLAGS=$CFLAGS
17336 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17338 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17339 if ${ac_cv_c_string_h_warnings+:} false; then :
17340 $as_echo_n "(cached) " >&6
17341 else
17342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17343 /* end confdefs.h. */
17344 #include <string.h>
17346 main ()
17350 return 0;
17352 _ACEOF
17353 if ac_fn_c_try_compile "$LINENO"; then :
17354 ac_cv_c_string_h_warnings=no
17355 else
17356 ac_cv_c_string_h_warnings=yes
17358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17361 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17362 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17363 CFLAGS=$saved_string_h_CFLAGS
17366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17367 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17368 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17369 $as_echo_n "(cached) " >&6
17370 else
17371 ac_wine_try_cflags_saved=$CFLAGS
17372 CFLAGS="$CFLAGS -Wlogical-op"
17373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17374 /* end confdefs.h. */
17375 int main(int argc, char **argv) { return 0; }
17376 _ACEOF
17377 if ac_fn_c_try_link "$LINENO"; then :
17378 ac_cv_cflags__Wlogical_op=yes
17379 else
17380 ac_cv_cflags__Wlogical_op=no
17382 rm -f core conftest.err conftest.$ac_objext \
17383 conftest$ac_exeext conftest.$ac_ext
17384 CFLAGS=$ac_wine_try_cflags_saved
17386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17387 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17388 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17389 saved_string_h_CFLAGS=$CFLAGS
17390 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17392 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17393 if ${ac_cv_c_logicalop_noisy+:} false; then :
17394 $as_echo_n "(cached) " >&6
17395 else
17396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17397 /* end confdefs.h. */
17398 #include <string.h>
17399 char*f(const char *h,char n) {return strchr(h,n);}
17401 main ()
17405 return 0;
17407 _ACEOF
17408 if ac_fn_c_try_compile "$LINENO"; then :
17409 ac_cv_c_logicalop_noisy=no
17410 else
17411 ac_cv_c_logicalop_noisy=yes
17413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17416 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17417 CFLAGS=$saved_string_h_CFLAGS
17418 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
17422 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
17423 if ${wine_cv_64bit_compare_swap+:} false; then :
17424 $as_echo_n "(cached) " >&6
17425 else
17426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17427 /* end confdefs.h. */
17428 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17429 #error no
17430 #endif
17432 main ()
17436 return 0;
17438 _ACEOF
17439 if ac_fn_c_try_compile "$LINENO"; then :
17440 wine_cv_64bit_compare_swap="none needed"
17441 else
17442 case $host_cpu in
17443 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
17444 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
17445 *) wine_cv_64bit_compare_swap="unknown" ;;
17446 esac
17447 if test "x$wine_cv_64bit_compare_swap" != xunknown
17448 then
17449 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
17450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17451 /* end confdefs.h. */
17452 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17453 #error no
17454 #endif
17456 main ()
17460 return 0;
17462 _ACEOF
17463 if ac_fn_c_try_compile "$LINENO"; then :
17465 else
17466 wine_cv_64bit_compare_swap="unknown"
17468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17469 CFLAGS=$saved_CFLAGS
17472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
17475 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
17476 case "$wine_cv_64bit_compare_swap" in
17477 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
17478 "none needed") ;;
17479 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
17480 esac
17482 for ac_flag in $CFLAGS; do
17483 case $ac_flag in
17484 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17485 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17486 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17487 $as_echo_n "(cached) " >&6
17488 else
17489 ac_wine_try_cflags_saved=$CFLAGS
17490 CFLAGS="$CFLAGS -gdwarf-2"
17491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17492 /* end confdefs.h. */
17493 int main(int argc, char **argv) { return 0; }
17494 _ACEOF
17495 if ac_fn_c_try_link "$LINENO"; then :
17496 ac_cv_cflags__gdwarf_2=yes
17497 else
17498 ac_cv_cflags__gdwarf_2=no
17500 rm -f core conftest.err conftest.$ac_objext \
17501 conftest$ac_exeext conftest.$ac_ext
17502 CFLAGS=$ac_wine_try_cflags_saved
17504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17505 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17506 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17507 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17510 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17511 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17512 $as_echo_n "(cached) " >&6
17513 else
17514 ac_wine_try_cflags_saved=$CFLAGS
17515 CFLAGS="$CFLAGS -gstrict-dwarf"
17516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17517 /* end confdefs.h. */
17518 int main(int argc, char **argv) { return 0; }
17519 _ACEOF
17520 if ac_fn_c_try_link "$LINENO"; then :
17521 ac_cv_cflags__gstrict_dwarf=yes
17522 else
17523 ac_cv_cflags__gstrict_dwarf=no
17525 rm -f core conftest.err conftest.$ac_objext \
17526 conftest$ac_exeext conftest.$ac_ext
17527 CFLAGS=$ac_wine_try_cflags_saved
17529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17530 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17531 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17532 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17533 fi ;;
17534 esac
17535 done
17537 MSVCRTFLAGS=""
17539 case $host_os in
17540 mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
17541 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
17542 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
17543 $as_echo_n "(cached) " >&6
17544 else
17545 ac_wine_try_cflags_saved=$CFLAGS
17546 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
17547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17548 /* end confdefs.h. */
17549 int main(int argc, char **argv) { return 0; }
17550 _ACEOF
17551 if ac_fn_c_try_link "$LINENO"; then :
17552 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
17553 else
17554 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
17556 rm -f core conftest.err conftest.$ac_objext \
17557 conftest$ac_exeext conftest.$ac_ext
17558 CFLAGS=$ac_wine_try_cflags_saved
17560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
17561 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
17562 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
17563 DELAYLOADFLAG="-Wl,-delayload,"
17565 fi ;;
17566 *) MSVCRTFLAGS="-D_WIN32"
17567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17568 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17569 if ${ac_cv_cflags__fno_builtin+:} false; then :
17570 $as_echo_n "(cached) " >&6
17571 else
17572 ac_wine_try_cflags_saved=$CFLAGS
17573 CFLAGS="$CFLAGS -fno-builtin"
17574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17575 /* end confdefs.h. */
17576 int main(int argc, char **argv) { return 0; }
17577 _ACEOF
17578 if ac_fn_c_try_link "$LINENO"; then :
17579 ac_cv_cflags__fno_builtin=yes
17580 else
17581 ac_cv_cflags__fno_builtin=no
17583 rm -f core conftest.err conftest.$ac_objext \
17584 conftest$ac_exeext conftest.$ac_ext
17585 CFLAGS=$ac_wine_try_cflags_saved
17587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17588 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17589 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17590 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17593 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17594 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17595 $as_echo_n "(cached) " >&6
17596 else
17597 ac_wine_try_cflags_saved=$CFLAGS
17598 CFLAGS="$CFLAGS -fshort-wchar"
17599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17600 /* end confdefs.h. */
17601 int main(int argc, char **argv) { return 0; }
17602 _ACEOF
17603 if ac_fn_c_try_link "$LINENO"; then :
17604 ac_cv_cflags__fshort_wchar=yes
17605 else
17606 ac_cv_cflags__fshort_wchar=no
17608 rm -f core conftest.err conftest.$ac_objext \
17609 conftest$ac_exeext conftest.$ac_ext
17610 CFLAGS=$ac_wine_try_cflags_saved
17612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17613 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17614 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17615 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17616 fi ;;
17617 esac
17619 case $host_cpu in
17620 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17621 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17622 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17623 $as_echo_n "(cached) " >&6
17624 else
17625 ac_wine_try_cflags_saved=$CFLAGS
17626 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17628 /* end confdefs.h. */
17629 int main(int argc, char **argv) { return 0; }
17630 _ACEOF
17631 if ac_fn_c_try_link "$LINENO"; then :
17632 ac_cv_cflags__fno_omit_frame_pointer=yes
17633 else
17634 ac_cv_cflags__fno_omit_frame_pointer=no
17636 rm -f core conftest.err conftest.$ac_objext \
17637 conftest$ac_exeext conftest.$ac_ext
17638 CFLAGS=$ac_wine_try_cflags_saved
17640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17641 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17642 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17643 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17644 fi ;;
17645 *x86_64*)
17646 case $host_os in
17647 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17648 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17649 if ${ac_cv_cflags__Wno_format+:} false; then :
17650 $as_echo_n "(cached) " >&6
17651 else
17652 ac_wine_try_cflags_saved=$CFLAGS
17653 CFLAGS="$CFLAGS -Wno-format"
17654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17655 /* end confdefs.h. */
17656 int main(int argc, char **argv) { return 0; }
17657 _ACEOF
17658 if ac_fn_c_try_link "$LINENO"; then :
17659 ac_cv_cflags__Wno_format=yes
17660 else
17661 ac_cv_cflags__Wno_format=no
17663 rm -f core conftest.err conftest.$ac_objext \
17664 conftest$ac_exeext conftest.$ac_ext
17665 CFLAGS=$ac_wine_try_cflags_saved
17667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17668 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17669 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17670 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17671 fi ;;
17672 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17673 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17674 if ${ac_cv_cflags__mabi_ms+:} false; then :
17675 $as_echo_n "(cached) " >&6
17676 else
17677 ac_wine_try_cflags_saved=$CFLAGS
17678 CFLAGS="$CFLAGS -mabi=ms"
17679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17680 /* end confdefs.h. */
17681 int main(int argc, char **argv) { return 0; }
17682 _ACEOF
17683 if ac_fn_c_try_link "$LINENO"; then :
17684 ac_cv_cflags__mabi_ms=yes
17685 else
17686 ac_cv_cflags__mabi_ms=no
17688 rm -f core conftest.err conftest.$ac_objext \
17689 conftest$ac_exeext conftest.$ac_ext
17690 CFLAGS=$ac_wine_try_cflags_saved
17692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17693 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17694 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17695 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17696 fi ;;
17697 esac ;;
17698 esac
17700 CFLAGS=$saved_CFLAGS
17702 if test "x$enable_werror" = "xyes"
17703 then
17704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17705 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17706 if ${ac_cv_cflags__Werror+:} false; then :
17707 $as_echo_n "(cached) " >&6
17708 else
17709 ac_wine_try_cflags_saved=$CFLAGS
17710 CFLAGS="$CFLAGS -Werror"
17711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17712 /* end confdefs.h. */
17713 int main(int argc, char **argv) { return 0; }
17714 _ACEOF
17715 if ac_fn_c_try_link "$LINENO"; then :
17716 ac_cv_cflags__Werror=yes
17717 else
17718 ac_cv_cflags__Werror=no
17720 rm -f core conftest.err conftest.$ac_objext \
17721 conftest$ac_exeext conftest.$ac_ext
17722 CFLAGS=$ac_wine_try_cflags_saved
17724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17725 $as_echo "$ac_cv_cflags__Werror" >&6; }
17726 if test "x$ac_cv_cflags__Werror" = xyes; then :
17727 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17730 if test "x$enable_build_id" = "xyes"
17731 then
17732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
17733 $as_echo_n "checking whether the compiler supports -Wl,--build-id... " >&6; }
17734 if ${ac_cv_cflags__Wl___build_id+:} false; then :
17735 $as_echo_n "(cached) " >&6
17736 else
17737 ac_wine_try_cflags_saved=$CFLAGS
17738 CFLAGS="$CFLAGS -Wl,--build-id"
17739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17740 /* end confdefs.h. */
17741 int main(int argc, char **argv) { return 0; }
17742 _ACEOF
17743 if ac_fn_c_try_link "$LINENO"; then :
17744 ac_cv_cflags__Wl___build_id=yes
17745 else
17746 ac_cv_cflags__Wl___build_id=no
17748 rm -f core conftest.err conftest.$ac_objext \
17749 conftest$ac_exeext conftest.$ac_ext
17750 CFLAGS=$ac_wine_try_cflags_saved
17752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
17753 $as_echo "$ac_cv_cflags__Wl___build_id" >&6; }
17754 if test "x$ac_cv_cflags__Wl___build_id" = xyes; then :
17755 CFLAGS="$CFLAGS -Wl,--build-id"
17756 LDFLAGS="$LDFLAGS -Wl,--build-id"
17762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17763 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17764 if ${ac_cv_c_fortify_enabled+:} false; then :
17765 $as_echo_n "(cached) " >&6
17766 else
17767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17768 /* end confdefs.h. */
17769 #include <string.h>
17771 main ()
17773 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17774 #error Fortify enabled
17775 #endif
17777 return 0;
17779 _ACEOF
17780 if ac_fn_c_try_compile "$LINENO"; then :
17781 ac_cv_c_fortify_enabled=no
17782 else
17783 ac_cv_c_fortify_enabled=yes
17785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17788 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17789 if test "$ac_cv_c_fortify_enabled" = yes
17790 then
17791 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17796 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17797 if ${ac_cv_c_cfi_support+:} false; then :
17798 $as_echo_n "(cached) " >&6
17799 else
17800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17801 /* end confdefs.h. */
17802 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17804 main ()
17808 return 0;
17810 _ACEOF
17811 if ac_fn_c_try_compile "$LINENO"; then :
17812 ac_cv_c_cfi_support="yes"
17813 else
17814 ac_cv_c_cfi_support="no"
17816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17819 $as_echo "$ac_cv_c_cfi_support" >&6; }
17820 if test "$ac_cv_c_cfi_support" = "yes"
17821 then
17822 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
17823 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17824 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
17825 else
17826 if test "x$enable_win64" = "xyes"
17827 then
17828 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17833 case $build_os in
17834 cygwin*|mingw32*) TOOLSEXT=".exe"
17836 esac
17838 case $host_os in
17839 linux*)
17840 case $host_cpu in
17841 *i[3456789]86*|x86_64*|*aarch64*|arm*)
17842 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17843 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17845 esac
17847 esac
17850 ac_save_CFLAGS="$CFLAGS"
17851 CFLAGS="$CFLAGS $BUILTINFLAG"
17852 for ac_func in \
17853 epoll_create \
17854 fork \
17855 fstatfs \
17856 futimens \
17857 futimes \
17858 futimesat \
17859 getattrlist \
17860 getauxval \
17861 getifaddrs \
17862 getrandom \
17863 kqueue \
17864 mach_continuous_time \
17865 pipe2 \
17866 port_create \
17867 posix_fadvise \
17868 posix_fallocate \
17869 prctl \
17870 proc_pidinfo \
17871 setproctitle \
17872 setprogname \
17873 sigprocmask \
17874 sysinfo \
17875 tcdrain \
17876 thr_kill2
17878 do :
17879 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17880 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17881 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17882 cat >>confdefs.h <<_ACEOF
17883 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17884 _ACEOF
17887 done
17889 CFLAGS="$ac_save_CFLAGS"
17891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
17892 $as_echo_n "checking for library containing dlopen... " >&6; }
17893 if ${ac_cv_search_dlopen+:} false; then :
17894 $as_echo_n "(cached) " >&6
17895 else
17896 ac_func_search_save_LIBS=$LIBS
17897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17898 /* end confdefs.h. */
17900 /* Override any GCC internal prototype to avoid an error.
17901 Use char because int might match the return type of a GCC
17902 builtin and then its argument prototype would still apply. */
17903 #ifdef __cplusplus
17904 extern "C"
17905 #endif
17906 char dlopen ();
17908 main ()
17910 return dlopen ();
17912 return 0;
17914 _ACEOF
17915 for ac_lib in '' dl; do
17916 if test -z "$ac_lib"; then
17917 ac_res="none required"
17918 else
17919 ac_res=-l$ac_lib
17920 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17922 if ac_fn_c_try_link "$LINENO"; then :
17923 ac_cv_search_dlopen=$ac_res
17925 rm -f core conftest.err conftest.$ac_objext \
17926 conftest$ac_exeext
17927 if ${ac_cv_search_dlopen+:} false; then :
17928 break
17930 done
17931 if ${ac_cv_search_dlopen+:} false; then :
17933 else
17934 ac_cv_search_dlopen=no
17936 rm conftest.$ac_ext
17937 LIBS=$ac_func_search_save_LIBS
17939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
17940 $as_echo "$ac_cv_search_dlopen" >&6; }
17941 ac_res=$ac_cv_search_dlopen
17942 if test "$ac_res" != no; then :
17943 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17947 ac_wine_check_funcs_save_LIBS="$LIBS"
17948 LIBS="$LIBS $DL_LIBS"
17949 for ac_func in dlinfo
17950 do :
17951 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
17952 if test "x$ac_cv_func_dlinfo" = xyes; then :
17953 cat >>confdefs.h <<_ACEOF
17954 #define HAVE_DLINFO 1
17955 _ACEOF
17958 done
17960 LIBS="$ac_wine_check_funcs_save_LIBS"
17962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17963 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17964 if ${ac_cv_search_gethostbyname+:} false; then :
17965 $as_echo_n "(cached) " >&6
17966 else
17967 ac_func_search_save_LIBS=$LIBS
17968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17969 /* end confdefs.h. */
17971 /* Override any GCC internal prototype to avoid an error.
17972 Use char because int might match the return type of a GCC
17973 builtin and then its argument prototype would still apply. */
17974 #ifdef __cplusplus
17975 extern "C"
17976 #endif
17977 char gethostbyname ();
17979 main ()
17981 return gethostbyname ();
17983 return 0;
17985 _ACEOF
17986 for ac_lib in '' nsl; do
17987 if test -z "$ac_lib"; then
17988 ac_res="none required"
17989 else
17990 ac_res=-l$ac_lib
17991 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17993 if ac_fn_c_try_link "$LINENO"; then :
17994 ac_cv_search_gethostbyname=$ac_res
17996 rm -f core conftest.err conftest.$ac_objext \
17997 conftest$ac_exeext
17998 if ${ac_cv_search_gethostbyname+:} false; then :
17999 break
18001 done
18002 if ${ac_cv_search_gethostbyname+:} false; then :
18004 else
18005 ac_cv_search_gethostbyname=no
18007 rm conftest.$ac_ext
18008 LIBS=$ac_func_search_save_LIBS
18010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18011 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18012 ac_res=$ac_cv_search_gethostbyname
18013 if test "$ac_res" != no; then :
18014 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18020 $as_echo_n "checking for library containing connect... " >&6; }
18021 if ${ac_cv_search_connect+:} false; then :
18022 $as_echo_n "(cached) " >&6
18023 else
18024 ac_func_search_save_LIBS=$LIBS
18025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18026 /* end confdefs.h. */
18028 /* Override any GCC internal prototype to avoid an error.
18029 Use char because int might match the return type of a GCC
18030 builtin and then its argument prototype would still apply. */
18031 #ifdef __cplusplus
18032 extern "C"
18033 #endif
18034 char connect ();
18036 main ()
18038 return connect ();
18040 return 0;
18042 _ACEOF
18043 for ac_lib in '' socket; do
18044 if test -z "$ac_lib"; then
18045 ac_res="none required"
18046 else
18047 ac_res=-l$ac_lib
18048 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18050 if ac_fn_c_try_link "$LINENO"; then :
18051 ac_cv_search_connect=$ac_res
18053 rm -f core conftest.err conftest.$ac_objext \
18054 conftest$ac_exeext
18055 if ${ac_cv_search_connect+:} false; then :
18056 break
18058 done
18059 if ${ac_cv_search_connect+:} false; then :
18061 else
18062 ac_cv_search_connect=no
18064 rm conftest.$ac_ext
18065 LIBS=$ac_func_search_save_LIBS
18067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18068 $as_echo "$ac_cv_search_connect" >&6; }
18069 ac_res=$ac_cv_search_connect
18070 if test "$ac_res" != no; then :
18071 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18077 $as_echo_n "checking for library containing inet_aton... " >&6; }
18078 if ${ac_cv_search_inet_aton+:} false; then :
18079 $as_echo_n "(cached) " >&6
18080 else
18081 ac_func_search_save_LIBS=$LIBS
18082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18083 /* end confdefs.h. */
18085 /* Override any GCC internal prototype to avoid an error.
18086 Use char because int might match the return type of a GCC
18087 builtin and then its argument prototype would still apply. */
18088 #ifdef __cplusplus
18089 extern "C"
18090 #endif
18091 char inet_aton ();
18093 main ()
18095 return inet_aton ();
18097 return 0;
18099 _ACEOF
18100 for ac_lib in '' resolv; do
18101 if test -z "$ac_lib"; then
18102 ac_res="none required"
18103 else
18104 ac_res=-l$ac_lib
18105 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18107 if ac_fn_c_try_link "$LINENO"; then :
18108 ac_cv_search_inet_aton=$ac_res
18110 rm -f core conftest.err conftest.$ac_objext \
18111 conftest$ac_exeext
18112 if ${ac_cv_search_inet_aton+:} false; then :
18113 break
18115 done
18116 if ${ac_cv_search_inet_aton+:} false; then :
18118 else
18119 ac_cv_search_inet_aton=no
18121 rm conftest.$ac_ext
18122 LIBS=$ac_func_search_save_LIBS
18124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18125 $as_echo "$ac_cv_search_inet_aton" >&6; }
18126 ac_res=$ac_cv_search_inet_aton
18127 if test "$ac_res" != no; then :
18128 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18133 for ac_func in getaddrinfo
18134 do :
18135 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
18136 if test "x$ac_cv_func_getaddrinfo" = xyes; then :
18137 cat >>confdefs.h <<_ACEOF
18138 #define HAVE_GETADDRINFO 1
18139 _ACEOF
18142 done
18145 case $host_os in
18146 darwin*|macosx*) ;;
18147 *) ac_save_LIBS=$LIBS
18148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18149 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18150 if ${ac_cv_search_clock_gettime+:} false; then :
18151 $as_echo_n "(cached) " >&6
18152 else
18153 ac_func_search_save_LIBS=$LIBS
18154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18155 /* end confdefs.h. */
18157 /* Override any GCC internal prototype to avoid an error.
18158 Use char because int might match the return type of a GCC
18159 builtin and then its argument prototype would still apply. */
18160 #ifdef __cplusplus
18161 extern "C"
18162 #endif
18163 char clock_gettime ();
18165 main ()
18167 return clock_gettime ();
18169 return 0;
18171 _ACEOF
18172 for ac_lib in '' rt; do
18173 if test -z "$ac_lib"; then
18174 ac_res="none required"
18175 else
18176 ac_res=-l$ac_lib
18177 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18179 if ac_fn_c_try_link "$LINENO"; then :
18180 ac_cv_search_clock_gettime=$ac_res
18182 rm -f core conftest.err conftest.$ac_objext \
18183 conftest$ac_exeext
18184 if ${ac_cv_search_clock_gettime+:} false; then :
18185 break
18187 done
18188 if ${ac_cv_search_clock_gettime+:} false; then :
18190 else
18191 ac_cv_search_clock_gettime=no
18193 rm conftest.$ac_ext
18194 LIBS=$ac_func_search_save_LIBS
18196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18197 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18198 ac_res=$ac_cv_search_clock_gettime
18199 if test "$ac_res" != no; then :
18200 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18202 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18204 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18208 LIBS=$ac_save_LIBS
18210 esac
18212 if test "x$with_ldap" != "xno"
18213 then
18214 if ${LDAP_CFLAGS:+false} :; then :
18215 if ${PKG_CONFIG+:} false; then :
18216 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18220 if ${LDAP_LIBS:+false} :; then :
18221 if ${PKG_CONFIG+:} false; then :
18222 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18226 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18227 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18228 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18229 ac_save_CPPFLAGS=$CPPFLAGS
18230 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18231 for ac_header in ldap.h lber.h
18232 do :
18233 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18234 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18235 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18236 cat >>confdefs.h <<_ACEOF
18237 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18238 _ACEOF
18242 done
18244 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18245 then
18246 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18248 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18250 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18251 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18252 $as_echo_n "(cached) " >&6
18253 else
18254 ac_check_lib_save_LIBS=$LIBS
18255 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18257 /* end confdefs.h. */
18259 /* Override any GCC internal prototype to avoid an error.
18260 Use char because int might match the return type of a GCC
18261 builtin and then its argument prototype would still apply. */
18262 #ifdef __cplusplus
18263 extern "C"
18264 #endif
18265 char ldap_initialize ();
18267 main ()
18269 return ldap_initialize ();
18271 return 0;
18273 _ACEOF
18274 if ac_fn_c_try_link "$LINENO"; then :
18275 ac_cv_lib_ldap_r_ldap_initialize=yes
18276 else
18277 ac_cv_lib_ldap_r_ldap_initialize=no
18279 rm -f core conftest.err conftest.$ac_objext \
18280 conftest$ac_exeext conftest.$ac_ext
18281 LIBS=$ac_check_lib_save_LIBS
18283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18284 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18285 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18287 $as_echo_n "checking for ber_init in -llber... " >&6; }
18288 if ${ac_cv_lib_lber_ber_init+:} false; then :
18289 $as_echo_n "(cached) " >&6
18290 else
18291 ac_check_lib_save_LIBS=$LIBS
18292 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18294 /* end confdefs.h. */
18296 /* Override any GCC internal prototype to avoid an error.
18297 Use char because int might match the return type of a GCC
18298 builtin and then its argument prototype would still apply. */
18299 #ifdef __cplusplus
18300 extern "C"
18301 #endif
18302 char ber_init ();
18304 main ()
18306 return ber_init ();
18308 return 0;
18310 _ACEOF
18311 if ac_fn_c_try_link "$LINENO"; then :
18312 ac_cv_lib_lber_ber_init=yes
18313 else
18314 ac_cv_lib_lber_ber_init=no
18316 rm -f core conftest.err conftest.$ac_objext \
18317 conftest$ac_exeext conftest.$ac_ext
18318 LIBS=$ac_check_lib_save_LIBS
18320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18321 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18322 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18324 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18326 else
18327 LDAP_LIBS=""
18330 else
18331 LDAP_LIBS=""
18334 else
18335 LDAP_LIBS=""
18338 ac_wine_check_funcs_save_LIBS="$LIBS"
18339 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18340 for ac_func in \
18341 ldap_count_references \
18342 ldap_first_reference \
18343 ldap_next_reference \
18344 ldap_parse_reference \
18345 ldap_parse_sort_control \
18346 ldap_parse_sortresponse_control \
18347 ldap_parse_vlv_control \
18348 ldap_parse_vlvresponse_control
18349 do :
18350 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18351 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18352 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18353 cat >>confdefs.h <<_ACEOF
18354 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18355 _ACEOF
18358 done
18360 LIBS="$ac_wine_check_funcs_save_LIBS"
18361 else
18362 LDAP_LIBS=""
18364 CPPFLAGS=$ac_save_CPPFLAGS
18367 if test "x$LDAP_LIBS" = "x"; then :
18368 case "x$with_ldap" in
18369 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18370 xno) ;;
18371 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18372 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18373 esac
18377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18378 $as_echo_n "checking for sched_setaffinity... " >&6; }
18379 if ${wine_cv_have_sched_setaffinity+:} false; then :
18380 $as_echo_n "(cached) " >&6
18381 else
18382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18383 /* end confdefs.h. */
18384 #include <sched.h>
18386 main ()
18388 sched_setaffinity(0, 0, 0);
18390 return 0;
18392 _ACEOF
18393 if ac_fn_c_try_link "$LINENO"; then :
18394 wine_cv_have_sched_setaffinity=yes
18395 else
18396 wine_cv_have_sched_setaffinity=no
18398 rm -f core conftest.err conftest.$ac_objext \
18399 conftest$ac_exeext conftest.$ac_ext
18401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18402 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18403 if test "$wine_cv_have_sched_setaffinity" = "yes"
18404 then
18406 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18412 $as_echo_n "checking for inline... " >&6; }
18413 if ${ac_cv_c_inline+:} false; then :
18414 $as_echo_n "(cached) " >&6
18415 else
18416 ac_cv_c_inline=no
18417 for ac_kw in inline __inline__ __inline; do
18418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18419 /* end confdefs.h. */
18420 #ifndef __cplusplus
18421 typedef int foo_t;
18422 static $ac_kw foo_t static_foo () {return 0; }
18423 $ac_kw foo_t foo () {return 0; }
18424 #endif
18426 _ACEOF
18427 if ac_fn_c_try_compile "$LINENO"; then :
18428 ac_cv_c_inline=$ac_kw
18430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18431 test "$ac_cv_c_inline" != no && break
18432 done
18435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18436 $as_echo "$ac_cv_c_inline" >&6; }
18438 case $ac_cv_c_inline in
18439 inline | yes) ;;
18441 case $ac_cv_c_inline in
18442 no) ac_val=;;
18443 *) ac_val=$ac_cv_c_inline;;
18444 esac
18445 cat >>confdefs.h <<_ACEOF
18446 #ifndef __cplusplus
18447 #define inline $ac_val
18448 #endif
18449 _ACEOF
18451 esac
18453 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18454 #include <signal.h>
18456 if test "x$ac_cv_type_sigset_t" = xyes; then :
18458 cat >>confdefs.h <<_ACEOF
18459 #define HAVE_SIGSET_T 1
18460 _ACEOF
18465 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18467 if test "x$ac_cv_type_request_sense" = xyes; then :
18469 cat >>confdefs.h <<_ACEOF
18470 #define HAVE_REQUEST_SENSE 1
18471 _ACEOF
18477 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18478 #ifdef HAVE_SYS_SOCKET_H
18479 #include <sys/socket.h>
18480 #endif
18481 #ifdef HAVE_SYS_SOCKETVAR_H
18482 #include <sys/socketvar.h>
18483 #endif
18484 #ifdef HAVE_NET_ROUTE_H
18485 #include <net/route.h>
18486 #endif
18487 #ifdef HAVE_NETINET_IN_H
18488 #include <netinet/in.h>
18489 #endif
18490 #ifdef HAVE_NETINET_IN_SYSTM_H
18491 #include <netinet/in_systm.h>
18492 #endif
18493 #ifdef HAVE_NETINET_IP_H
18494 #include <netinet/ip.h>
18495 #endif
18496 #ifdef HAVE_NETINET_IN_PCB_H
18497 #include <netinet/in_pcb.h>
18498 #endif
18500 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18502 cat >>confdefs.h <<_ACEOF
18503 #define HAVE_STRUCT_XINPGEN 1
18504 _ACEOF
18510 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18511 #include <linux/input.h>
18512 #endif
18514 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18516 cat >>confdefs.h <<_ACEOF
18517 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18518 _ACEOF
18524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18525 $as_echo_n "checking for sigaddset... " >&6; }
18526 if ${wine_cv_have_sigaddset+:} false; then :
18527 $as_echo_n "(cached) " >&6
18528 else
18529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18530 /* end confdefs.h. */
18531 #include <signal.h>
18533 main ()
18535 sigset_t set; sigaddset(&set,SIGTERM);
18537 return 0;
18539 _ACEOF
18540 if ac_fn_c_try_link "$LINENO"; then :
18541 wine_cv_have_sigaddset=yes
18542 else
18543 wine_cv_have_sigaddset=no
18545 rm -f core conftest.err conftest.$ac_objext \
18546 conftest$ac_exeext conftest.$ac_ext
18548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18549 $as_echo "$wine_cv_have_sigaddset" >&6; }
18550 if test "$wine_cv_have_sigaddset" = "yes"
18551 then
18553 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18559 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18560 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18561 $as_echo_n "(cached) " >&6
18562 else
18563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18564 /* end confdefs.h. */
18565 #include <netdb.h>
18567 main ()
18570 char *name=0;
18571 struct hostent he;
18572 struct hostent *result;
18573 char *buf=0;
18574 int bufsize=0;
18575 int errnr;
18576 char *addr=0;
18577 int addrlen=0;
18578 int addrtype=0;
18579 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18580 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18583 return 0;
18585 _ACEOF
18586 if ac_fn_c_try_link "$LINENO"; then :
18587 wine_cv_linux_gethostbyname_r_6=yes
18588 else
18589 wine_cv_linux_gethostbyname_r_6=no
18592 rm -f core conftest.err conftest.$ac_objext \
18593 conftest$ac_exeext conftest.$ac_ext
18596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18597 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18598 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18599 then
18601 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18605 if test "$ac_cv_header_linux_joystick_h" = "yes"
18606 then
18607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18608 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18609 if ${wine_cv_linux_joystick_22_api+:} false; then :
18610 $as_echo_n "(cached) " >&6
18611 else
18612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18613 /* end confdefs.h. */
18615 #include <sys/ioctl.h>
18616 #include <sys/types.h>
18617 #include <linux/joystick.h>
18619 struct js_event blub;
18620 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18621 #error "no 2.2 header"
18622 #endif
18625 main ()
18627 /*empty*/
18629 return 0;
18631 _ACEOF
18632 if ac_fn_c_try_compile "$LINENO"; then :
18633 wine_cv_linux_joystick_22_api=yes
18634 else
18635 wine_cv_linux_joystick_22_api=no
18637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18641 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18642 if test "$wine_cv_linux_joystick_22_api" = "yes"
18643 then
18645 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18650 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18651 #ifdef HAVE_SYS_SOCKET_H
18652 # include <sys/socket.h>
18653 #endif
18654 #ifdef HAVE_SYS_UN_H
18655 # include <sys/un.h>
18656 #endif
18658 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18660 cat >>confdefs.h <<_ACEOF
18661 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18662 _ACEOF
18666 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18667 #ifdef HAVE_SYS_SOCKET_H
18668 # include <sys/socket.h>
18669 #endif
18670 #ifdef HAVE_SYS_UN_H
18671 # include <sys/un.h>
18672 #endif
18674 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18676 cat >>confdefs.h <<_ACEOF
18677 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18678 _ACEOF
18684 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18685 #ifdef HAVE_SCSI_SG_H
18686 #include <scsi/sg.h>
18687 #endif
18689 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18691 cat >>confdefs.h <<_ACEOF
18692 #define HAVE_SCSIREQ_T_CMD 1
18693 _ACEOF
18697 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>
18698 #ifdef HAVE_SCSI_SG_H
18699 #include <scsi/sg.h>
18700 #endif
18702 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18704 cat >>confdefs.h <<_ACEOF
18705 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18706 _ACEOF
18712 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18714 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18716 cat >>confdefs.h <<_ACEOF
18717 #define HAVE_SIGINFO_T_SI_FD 1
18718 _ACEOF
18724 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18725 #ifdef HAVE_SYS_MTIO_H
18726 #include <sys/mtio.h>
18727 #endif
18729 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18731 cat >>confdefs.h <<_ACEOF
18732 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18733 _ACEOF
18737 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
18738 #ifdef HAVE_SYS_MTIO_H
18739 #include <sys/mtio.h>
18740 #endif
18742 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
18744 cat >>confdefs.h <<_ACEOF
18745 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18746 _ACEOF
18750 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
18751 #ifdef HAVE_SYS_MTIO_H
18752 #include <sys/mtio.h>
18753 #endif
18755 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
18757 cat >>confdefs.h <<_ACEOF
18758 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
18759 _ACEOF
18765 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
18766 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
18768 cat >>confdefs.h <<_ACEOF
18769 #define HAVE_STRUCT_STAT_ST_MTIM 1
18770 _ACEOF
18774 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
18775 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
18777 cat >>confdefs.h <<_ACEOF
18778 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
18779 _ACEOF
18783 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
18784 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
18786 cat >>confdefs.h <<_ACEOF
18787 #define HAVE_STRUCT_STAT_ST_CTIM 1
18788 _ACEOF
18792 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
18793 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
18795 cat >>confdefs.h <<_ACEOF
18796 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
18797 _ACEOF
18801 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
18802 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
18804 cat >>confdefs.h <<_ACEOF
18805 #define HAVE_STRUCT_STAT_ST_ATIM 1
18806 _ACEOF
18810 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
18811 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
18813 cat >>confdefs.h <<_ACEOF
18814 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
18815 _ACEOF
18819 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
18820 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
18822 cat >>confdefs.h <<_ACEOF
18823 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
18824 _ACEOF
18828 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
18829 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
18831 cat >>confdefs.h <<_ACEOF
18832 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
18833 _ACEOF
18837 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
18838 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
18840 cat >>confdefs.h <<_ACEOF
18841 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
18842 _ACEOF
18846 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
18847 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
18849 cat >>confdefs.h <<_ACEOF
18850 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
18851 _ACEOF
18855 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
18856 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
18858 cat >>confdefs.h <<_ACEOF
18859 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
18860 _ACEOF
18866 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
18867 #include <sys/types.h>
18868 #endif
18869 #ifdef HAVE_NETINET_IN_H
18870 #include <netinet/in.h>
18871 #endif
18873 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
18875 cat >>confdefs.h <<_ACEOF
18876 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
18877 _ACEOF
18883 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
18884 #include <sys/types.h>
18885 #endif
18886 #ifdef HAVE_NETINET_IN_H
18887 #include <netinet/in.h>
18888 #endif
18889 #ifdef HAVE_RESOLV_H
18890 #include <resolv.h>
18891 #endif
18893 if test "x$ac_cv_type_struct___res_state" = xyes; then :
18895 cat >>confdefs.h <<_ACEOF
18896 #define HAVE_STRUCT___RES_STATE 1
18897 _ACEOF
18903 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
18904 #include <resolv.h>
18905 #endif
18907 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
18909 cat >>confdefs.h <<_ACEOF
18910 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
18911 _ACEOF
18917 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
18918 #include <sys/types.h>
18919 #endif
18920 #ifdef HAVE_NETINET_IN_H
18921 #include <netinet/in.h>
18922 #endif
18923 #ifdef HAVE_NETINET_IP_H
18924 #include <netinet/ip.h>
18925 #endif
18926 #ifdef HAVE_NETINET_IP_ICMP_H
18927 #include <netinet/ip_icmp.h>
18928 #endif
18929 #ifdef HAVE_NETINET_ICMP_VAR_H
18930 #include <netinet/icmp_var.h>
18931 #endif
18933 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
18935 cat >>confdefs.h <<_ACEOF
18936 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
18937 _ACEOF
18943 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
18944 #include <sys/types.h>
18945 #endif
18946 #ifdef HAVE_ALIAS_H
18947 #include <alias.h>
18948 #endif
18949 #ifdef HAVE_SYS_SOCKET_H
18950 #include <sys/socket.h>
18951 #endif
18952 #ifdef HAVE_SYS_SOCKETVAR_H
18953 #include <sys/socketvar.h>
18954 #endif
18955 #ifdef HAVE_SYS_TIMEOUT_H
18956 #include <sys/timeout.h>
18957 #endif
18958 #ifdef HAVE_NETINET_IN_H
18959 #include <netinet/in.h>
18960 #endif
18961 #ifdef HAVE_NETINET_IN_SYSTM_H
18962 #include <netinet/in_systm.h>
18963 #endif
18964 #ifdef HAVE_NETINET_IP_H
18965 #include <netinet/ip.h>
18966 #endif
18967 #ifdef HAVE_NETINET_IP_VAR_H
18968 #include <netinet/ip_var.h>
18969 #endif
18970 #ifdef HAVE_NETINET_IP_ICMP_H
18971 #include <netinet/ip_icmp.h>
18972 #endif
18973 #ifdef HAVE_NETINET_ICMP_VAR_H
18974 #include <netinet/icmp_var.h>
18975 #endif
18977 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
18979 cat >>confdefs.h <<_ACEOF
18980 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
18981 _ACEOF
18987 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
18988 #include <netinet/in.h>
18989 #endif
18991 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes; then :
18993 cat >>confdefs.h <<_ACEOF
18994 #define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1
18995 _ACEOF
19001 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19002 #include <sys/types.h>
19003 #endif
19004 #ifdef HAVE_SYS_SOCKETVAR_H
19005 #include <sys/socketvar.h>
19006 #endif
19007 #ifdef HAVE_NETINET_IN_H
19008 #include <netinet/in.h>
19009 #endif
19010 #ifdef HAVE_NETINET_IP_VAR_H
19011 #include <netinet/ip_var.h>
19012 #endif
19014 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19016 cat >>confdefs.h <<_ACEOF
19017 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19018 _ACEOF
19024 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
19025 #include <netinet/ip_var.h>
19026 #endif
19028 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19030 cat >>confdefs.h <<_ACEOF
19031 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19032 _ACEOF
19038 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19039 #include <sys/types.h>
19040 #endif
19041 #ifdef HAVE_SYS_SOCKETVAR_H
19042 #include <sys/socketvar.h>
19043 #endif
19044 #ifdef HAVE_NETINET_IN_H
19045 #include <netinet/in.h>
19046 #endif
19047 #ifdef HAVE_NETINET_TCP_H
19048 #include <netinet/tcp.h>
19049 #endif
19050 #ifdef HAVE_NETINET_TCP_VAR_H
19051 #include <netinet/tcp_var.h>
19052 #endif
19054 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19056 cat >>confdefs.h <<_ACEOF
19057 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19058 _ACEOF
19064 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
19065 #include <netinet/tcp_var.h>
19066 #endif
19068 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19070 cat >>confdefs.h <<_ACEOF
19071 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19072 _ACEOF
19078 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19079 #include <sys/types.h>
19080 #endif
19081 #ifdef HAVE_NETINET_IN_H
19082 #include <netinet/in.h>
19083 #endif
19084 #ifdef HAVE_NETINET_IP_VAR_H
19085 #include <netinet/ip_var.h>
19086 #endif
19087 #ifdef HAVE_NETINET_UDP_H
19088 #include <netinet/udp.h>
19089 #endif
19090 #ifdef HAVE_NETINET_UDP_VAR_H
19091 #include <netinet/udp_var.h>
19092 #endif
19094 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19096 cat >>confdefs.h <<_ACEOF
19097 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19098 _ACEOF
19104 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19105 #include <sys/types.h>
19106 #endif
19107 #ifdef HAVE_NET_IF_H
19108 # include <net/if.h>
19109 #endif
19111 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19113 cat >>confdefs.h <<_ACEOF
19114 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19115 _ACEOF
19121 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19122 # include <sys/sysinfo.h>
19123 #endif
19125 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19127 cat >>confdefs.h <<_ACEOF
19128 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19129 _ACEOF
19133 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19134 # include <sys/sysinfo.h>
19135 #endif
19137 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19139 cat >>confdefs.h <<_ACEOF
19140 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19141 _ACEOF
19147 ac_save_LIBS="$LIBS"
19148 LIBS="$LIBS -lm"
19149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19150 $as_echo_n "checking for isfinite... " >&6; }
19151 if ${ac_cv_have_isfinite+:} false; then :
19152 $as_echo_n "(cached) " >&6
19153 else
19154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19155 /* end confdefs.h. */
19156 #include <math.h>
19158 main ()
19160 float f = 0.0; return isfinite(f)
19162 return 0;
19164 _ACEOF
19165 if ac_fn_c_try_link "$LINENO"; then :
19166 ac_cv_have_isfinite="yes"
19167 else
19168 ac_cv_have_isfinite="no"
19170 rm -f core conftest.err conftest.$ac_objext \
19171 conftest$ac_exeext conftest.$ac_ext
19173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19174 $as_echo "$ac_cv_have_isfinite" >&6; }
19175 if test "$ac_cv_have_isfinite" = "yes"
19176 then
19178 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19183 $as_echo_n "checking for isinf... " >&6; }
19184 if ${ac_cv_have_isinf+:} false; then :
19185 $as_echo_n "(cached) " >&6
19186 else
19187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19188 /* end confdefs.h. */
19189 #include <math.h>
19191 main ()
19193 float f = 0.0; return isinf(f)
19195 return 0;
19197 _ACEOF
19198 if ac_fn_c_try_link "$LINENO"; then :
19199 ac_cv_have_isinf="yes"
19200 else
19201 ac_cv_have_isinf="no"
19203 rm -f core conftest.err conftest.$ac_objext \
19204 conftest$ac_exeext conftest.$ac_ext
19206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19207 $as_echo "$ac_cv_have_isinf" >&6; }
19208 if test "$ac_cv_have_isinf" = "yes"
19209 then
19211 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19216 $as_echo_n "checking for isnan... " >&6; }
19217 if ${ac_cv_have_isnan+:} false; then :
19218 $as_echo_n "(cached) " >&6
19219 else
19220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19221 /* end confdefs.h. */
19222 #include <math.h>
19224 main ()
19226 float f = 0.0; return isnan(f)
19228 return 0;
19230 _ACEOF
19231 if ac_fn_c_try_link "$LINENO"; then :
19232 ac_cv_have_isnan="yes"
19233 else
19234 ac_cv_have_isnan="no"
19236 rm -f core conftest.err conftest.$ac_objext \
19237 conftest$ac_exeext conftest.$ac_ext
19239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19240 $as_echo "$ac_cv_have_isnan" >&6; }
19241 if test "$ac_cv_have_isnan" = "yes"
19242 then
19244 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19248 LIBS="$ac_save_LIBS"
19250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19251 $as_echo_n "checking for __builtin_popcount... " >&6; }
19252 if ${ac_cv_have___builtin_popcount+:} false; then :
19253 $as_echo_n "(cached) " >&6
19254 else
19255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19256 /* end confdefs.h. */
19259 main ()
19261 return __builtin_popcount(1)
19263 return 0;
19265 _ACEOF
19266 if ac_fn_c_try_link "$LINENO"; then :
19267 ac_cv_have___builtin_popcount="yes"
19268 else
19269 ac_cv_have___builtin_popcount="no"
19271 rm -f core conftest.err conftest.$ac_objext \
19272 conftest$ac_exeext conftest.$ac_ext
19274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19275 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19276 if test "$ac_cv_have___builtin_popcount" = "yes"
19277 then
19279 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19284 $as_echo_n "checking for __clear_cache... " >&6; }
19285 if ${ac_cv_have___clear_cache+:} false; then :
19286 $as_echo_n "(cached) " >&6
19287 else
19288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19289 /* end confdefs.h. */
19292 main ()
19294 __clear_cache((void*)0, (void*)0); return 0;
19296 return 0;
19298 _ACEOF
19299 if ac_fn_c_try_link "$LINENO"; then :
19300 ac_cv_have___clear_cache="yes"
19301 else
19302 ac_cv_have___clear_cache="no"
19304 rm -f core conftest.err conftest.$ac_objext \
19305 conftest$ac_exeext conftest.$ac_ext
19307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19308 $as_echo "$ac_cv_have___clear_cache" >&6; }
19309 if test "$ac_cv_have___clear_cache" = "yes"
19310 then
19312 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19317 case $host_cpu in
19318 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19319 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19320 if ${ac_cv_cpp_def___i386__+:} false; then :
19321 $as_echo_n "(cached) " >&6
19322 else
19323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19324 /* end confdefs.h. */
19325 #ifndef __i386__
19327 #endif
19328 _ACEOF
19329 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19330 $EGREP "yes" >/dev/null 2>&1; then :
19331 ac_cv_cpp_def___i386__=yes
19332 else
19333 ac_cv_cpp_def___i386__=no
19335 rm -f conftest*
19338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19339 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19340 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19341 CFLAGS="$CFLAGS -D__i386__"
19342 LINTFLAGS="$LINTFLAGS -D__i386__"
19343 fi ;;
19344 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19345 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19346 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19347 $as_echo_n "(cached) " >&6
19348 else
19349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19350 /* end confdefs.h. */
19351 #ifndef __x86_64__
19353 #endif
19354 _ACEOF
19355 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19356 $EGREP "yes" >/dev/null 2>&1; then :
19357 ac_cv_cpp_def___x86_64__=yes
19358 else
19359 ac_cv_cpp_def___x86_64__=no
19361 rm -f conftest*
19364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19365 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19366 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19367 CFLAGS="$CFLAGS -D__x86_64__"
19368 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19369 fi ;;
19370 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19371 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19372 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19373 $as_echo_n "(cached) " >&6
19374 else
19375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19376 /* end confdefs.h. */
19377 #ifndef __sparc64__
19379 #endif
19380 _ACEOF
19381 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19382 $EGREP "yes" >/dev/null 2>&1; then :
19383 ac_cv_cpp_def___sparc64__=yes
19384 else
19385 ac_cv_cpp_def___sparc64__=no
19387 rm -f conftest*
19390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19391 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19392 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19393 CFLAGS="$CFLAGS -D__sparc64__"
19394 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19395 fi ;;
19396 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19397 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19398 if ${ac_cv_cpp_def___sparc__+:} false; then :
19399 $as_echo_n "(cached) " >&6
19400 else
19401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19402 /* end confdefs.h. */
19403 #ifndef __sparc__
19405 #endif
19406 _ACEOF
19407 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19408 $EGREP "yes" >/dev/null 2>&1; then :
19409 ac_cv_cpp_def___sparc__=yes
19410 else
19411 ac_cv_cpp_def___sparc__=no
19413 rm -f conftest*
19416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19417 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19418 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19419 CFLAGS="$CFLAGS -D__sparc__"
19420 LINTFLAGS="$LINTFLAGS -D__sparc__"
19421 fi ;;
19422 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19423 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19424 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19425 $as_echo_n "(cached) " >&6
19426 else
19427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19428 /* end confdefs.h. */
19429 #ifndef __powerpc64__
19431 #endif
19432 _ACEOF
19433 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19434 $EGREP "yes" >/dev/null 2>&1; then :
19435 ac_cv_cpp_def___powerpc64__=yes
19436 else
19437 ac_cv_cpp_def___powerpc64__=no
19439 rm -f conftest*
19442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19443 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19444 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19445 CFLAGS="$CFLAGS -D__powerpc64__"
19446 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19447 fi ;;
19448 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19449 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19450 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19451 $as_echo_n "(cached) " >&6
19452 else
19453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19454 /* end confdefs.h. */
19455 #ifndef __powerpc__
19457 #endif
19458 _ACEOF
19459 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19460 $EGREP "yes" >/dev/null 2>&1; then :
19461 ac_cv_cpp_def___powerpc__=yes
19462 else
19463 ac_cv_cpp_def___powerpc__=no
19465 rm -f conftest*
19468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19469 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19470 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19471 CFLAGS="$CFLAGS -D__powerpc__"
19472 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19473 fi ;;
19474 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19475 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19476 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19477 $as_echo_n "(cached) " >&6
19478 else
19479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19480 /* end confdefs.h. */
19481 #ifndef __aarch64__
19483 #endif
19484 _ACEOF
19485 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19486 $EGREP "yes" >/dev/null 2>&1; then :
19487 ac_cv_cpp_def___aarch64__=yes
19488 else
19489 ac_cv_cpp_def___aarch64__=no
19491 rm -f conftest*
19494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19495 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19496 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19497 CFLAGS="$CFLAGS -D__aarch64__"
19498 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19499 fi ;;
19500 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19501 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19502 if ${ac_cv_cpp_def___arm__+:} false; then :
19503 $as_echo_n "(cached) " >&6
19504 else
19505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19506 /* end confdefs.h. */
19507 #ifndef __arm__
19509 #endif
19510 _ACEOF
19511 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19512 $EGREP "yes" >/dev/null 2>&1; then :
19513 ac_cv_cpp_def___arm__=yes
19514 else
19515 ac_cv_cpp_def___arm__=no
19517 rm -f conftest*
19520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19521 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19522 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19523 CFLAGS="$CFLAGS -D__arm__"
19524 LINTFLAGS="$LINTFLAGS -D__arm__"
19525 fi ;;
19526 esac
19528 case $host_vendor in
19529 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19530 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19531 if ${ac_cv_cpp_def___sun__+:} false; then :
19532 $as_echo_n "(cached) " >&6
19533 else
19534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19535 /* end confdefs.h. */
19536 #ifndef __sun__
19538 #endif
19539 _ACEOF
19540 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19541 $EGREP "yes" >/dev/null 2>&1; then :
19542 ac_cv_cpp_def___sun__=yes
19543 else
19544 ac_cv_cpp_def___sun__=no
19546 rm -f conftest*
19549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19550 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19551 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19552 CFLAGS="$CFLAGS -D__sun__"
19553 LINTFLAGS="$LINTFLAGS -D__sun__"
19554 fi ;;
19555 esac
19561 ac_config_commands="$ac_config_commands include/stamp-h"
19563 $as_echo_n "creating Makefile rules..." >&6
19565 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19566 OPENGL_LIBS = $OPENGL_LIBS
19567 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19568 IOKIT_LIBS = $IOKIT_LIBS
19569 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19570 CORESERVICES_LIBS = $CORESERVICES_LIBS
19571 APPKIT_LIBS = $APPKIT_LIBS
19572 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19573 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19574 SECURITY_LIBS = $SECURITY_LIBS
19575 COREAUDIO_LIBS = $COREAUDIO_LIBS
19576 OPENAL_LIBS = $OPENAL_LIBS
19577 OPENCL_LIBS = $OPENCL_LIBS
19578 QUICKTIME_LIBS = $QUICKTIME_LIBS
19579 CARBON_LIBS = $CARBON_LIBS
19580 METAL_LIBS = $METAL_LIBS
19581 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19582 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
19583 JPEG_PE_LIBS = $JPEG_PE_LIBS
19584 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
19585 PNG_PE_LIBS = $PNG_PE_LIBS
19586 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
19587 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
19588 PTHREAD_LIBS = $PTHREAD_LIBS
19589 X_CFLAGS = $X_CFLAGS
19590 X_PRE_LIBS = $X_PRE_LIBS
19591 X_LIBS = $X_LIBS
19592 X_EXTRA_LIBS = $X_EXTRA_LIBS
19593 PCAP_LIBS = $PCAP_LIBS
19594 XML2_CFLAGS = $XML2_CFLAGS
19595 XML2_LIBS = $XML2_LIBS
19596 XSLT_CFLAGS = $XSLT_CFLAGS
19597 XSLT_LIBS = $XSLT_LIBS
19598 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19599 INOTIFY_LIBS = $INOTIFY_LIBS
19600 DBUS_CFLAGS = $DBUS_CFLAGS
19601 DBUS_LIBS = $DBUS_LIBS
19602 HAL_CFLAGS = $HAL_CFLAGS
19603 HAL_LIBS = $HAL_LIBS
19604 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19605 GNUTLS_LIBS = $GNUTLS_LIBS
19606 SANE_CFLAGS = $SANE_CFLAGS
19607 SANE_LIBS = $SANE_LIBS
19608 USB_CFLAGS = $USB_CFLAGS
19609 USB_LIBS = $USB_LIBS
19610 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19611 GPHOTO2_LIBS = $GPHOTO2_LIBS
19612 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19613 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19614 RESOLV_LIBS = $RESOLV_LIBS
19615 LCMS2_CFLAGS = $LCMS2_CFLAGS
19616 LCMS2_LIBS = $LCMS2_LIBS
19617 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19618 FREETYPE_LIBS = $FREETYPE_LIBS
19619 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19620 PULSE_CFLAGS = $PULSE_CFLAGS
19621 PULSE_LIBS = $PULSE_LIBS
19622 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19623 GSTREAMER_LIBS = $GSTREAMER_LIBS
19624 ALSA_LIBS = $ALSA_LIBS
19625 OSS4_CFLAGS = $OSS4_CFLAGS
19626 OSS4_LIBS = $OSS4_LIBS
19627 UDEV_CFLAGS = $UDEV_CFLAGS
19628 UDEV_LIBS = $UDEV_LIBS
19629 UNWIND_CFLAGS = $UNWIND_CFLAGS
19630 UNWIND_LIBS = $UNWIND_LIBS
19631 SDL2_CFLAGS = $SDL2_CFLAGS
19632 SDL2_LIBS = $SDL2_LIBS
19633 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19634 FAUDIO_LIBS = $FAUDIO_LIBS
19635 CAPI20_CFLAGS = $CAPI20_CFLAGS
19636 CAPI20_LIBS = $CAPI20_LIBS
19637 CUPS_CFLAGS = $CUPS_CFLAGS
19638 CUPS_LIBS = $CUPS_LIBS
19639 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19640 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19641 KRB5_CFLAGS = $KRB5_CFLAGS
19642 KRB5_LIBS = $KRB5_LIBS
19643 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19644 GSSAPI_LIBS = $GSSAPI_LIBS
19645 JPEG_CFLAGS = $JPEG_CFLAGS
19646 JPEG_LIBS = $JPEG_LIBS
19647 JXRLIB_CFLAGS = $JXRLIB_CFLAGS
19648 JXRLIB_LIBS = $JXRLIB_LIBS
19649 TIFF_CFLAGS = $TIFF_CFLAGS
19650 TIFF_LIBS = $TIFF_LIBS
19651 MPG123_CFLAGS = $MPG123_CFLAGS
19652 MPG123_LIBS = $MPG123_LIBS
19653 PROCSTAT_LIBS = $PROCSTAT_LIBS
19654 NETAPI_CFLAGS = $NETAPI_CFLAGS
19655 NETAPI_LIBS = $NETAPI_LIBS
19656 VKD3D_CFLAGS = $VKD3D_CFLAGS
19657 VKD3D_LIBS = $VKD3D_LIBS
19658 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
19659 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
19660 RT_LIBS = $RT_LIBS
19661 LDAP_CFLAGS = $LDAP_CFLAGS
19662 LDAP_LIBS = $LDAP_LIBS
19666 makedep_flags=""
19667 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
19670 wine_fn_append_rule "
19671 # Rules automatically generated by configure
19673 .INIT: Makefile
19674 .MAKEFILEDEPS:
19675 all: Makefile
19676 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19677 @./config.status Make.tmp Makefile
19678 depend: \$(MAKEDEP)
19679 \$(MAKEDEP)$makedep_flags
19680 dummy:
19681 .PHONY: depend dummy"
19683 ac_config_links="$ac_config_links wine:tools/winewrapper"
19684 wine_fn_config_symlink wine
19685 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19686 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19687 wine_fn_config_symlink wine64
19690 wine_fn_config_makefile dlls/acledit enable_acledit
19691 wine_fn_config_makefile dlls/aclui enable_aclui
19692 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
19693 wine_fn_config_makefile dlls/activeds enable_activeds
19694 wine_fn_config_makefile dlls/activeds/tests enable_tests
19695 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19696 wine_fn_config_makefile dlls/adsldp enable_adsldp
19697 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19698 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19699 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19700 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19701 wine_fn_config_makefile dlls/advpack enable_advpack
19702 wine_fn_config_makefile dlls/advpack/tests enable_tests
19703 wine_fn_config_makefile dlls/amsi enable_amsi
19704 wine_fn_config_makefile dlls/amstream enable_amstream
19705 wine_fn_config_makefile dlls/amstream/tests enable_tests
19706 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19707 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19708 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19709 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19710 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19711 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19712 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19713 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19714 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19715 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19716 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19717 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
19718 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19719 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-2-0 enable_api_ms_win_core_console_l1_2_0
19720 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19721 wine_fn_config_makefile dlls/api-ms-win-core-console-l3-2-0 enable_api_ms_win_core_console_l3_2_0
19722 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19723 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19724 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19725 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19726 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19727 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19728 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19729 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19730 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19731 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19732 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19733 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
19734 wine_fn_config_makefile dlls/api-ms-win-core-featurestaging-l1-1-0 enable_api_ms_win_core_featurestaging_l1_1_0
19735 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
19736 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
19737 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
19738 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
19739 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
19740 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
19741 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
19742 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
19743 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
19744 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
19745 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
19746 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
19747 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
19748 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
19749 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
19750 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
19751 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
19752 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
19753 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
19754 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
19755 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
19756 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
19757 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
19758 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
19759 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
19760 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-5 enable_api_ms_win_core_kernel32_legacy_l1_1_5
19761 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
19762 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
19763 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
19764 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
19765 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
19766 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
19767 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
19768 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
19769 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
19770 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
19771 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
19772 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
19773 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
19774 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
19775 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
19776 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
19777 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
19778 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
19779 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
19780 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
19781 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
19782 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
19783 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
19784 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
19785 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
19786 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
19787 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
19788 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
19789 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
19790 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
19791 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
19792 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
19793 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
19794 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
19795 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
19796 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
19797 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
19798 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-l1-1-0 enable_api_ms_win_core_processtopology_l1_1_0
19799 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
19800 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
19801 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
19802 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
19803 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
19804 wine_fn_config_makefile dlls/api-ms-win-core-psm-appnotify-l1-1-0 enable_api_ms_win_core_psm_appnotify_l1_1_0
19805 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
19806 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
19807 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-1 enable_api_ms_win_core_realtime_l1_1_1
19808 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
19809 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
19810 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
19811 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
19812 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
19813 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
19814 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
19815 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
19816 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
19817 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
19818 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
19819 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
19820 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
19821 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
19822 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
19823 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
19824 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
19825 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
19826 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
19827 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
19828 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
19829 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
19830 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
19831 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
19832 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
19833 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
19834 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
19835 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
19836 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
19837 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
19838 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
19839 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
19840 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
19841 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
19842 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
19843 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
19844 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
19845 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
19846 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
19847 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
19848 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
19849 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
19850 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
19851 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
19852 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
19853 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
19854 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
19855 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
19856 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
19857 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
19858 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
19859 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
19860 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
19861 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
19862 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
19863 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
19864 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
19865 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
19866 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
19867 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
19868 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
19869 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
19870 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
19871 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
19872 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
19873 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
19874 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
19875 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
19876 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
19877 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
19878 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
19879 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
19880 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
19881 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
19882 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
19883 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
19884 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
19885 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
19886 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
19887 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
19888 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
19889 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
19890 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
19891 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
19892 wine_fn_config_makefile dlls/api-ms-win-gaming-tcui-l1-1-0 enable_api_ms_win_gaming_tcui_l1_1_0
19893 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
19894 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
19895 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
19896 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
19897 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
19898 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
19899 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
19900 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
19901 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
19902 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
19903 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
19904 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
19905 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
19906 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
19907 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
19908 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
19909 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
19910 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
19911 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
19912 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
19913 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
19914 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
19915 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
19916 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
19917 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
19918 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
19919 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
19920 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
19921 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
19922 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
19923 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
19924 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
19925 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
19926 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
19927 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
19928 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
19929 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
19930 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
19931 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
19932 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
19933 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
19934 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
19935 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-0 enable_api_ms_win_shcore_scaling_l1_1_0
19936 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
19937 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
19938 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-winrt-l1-1-0 enable_api_ms_win_shcore_stream_winrt_l1_1_0
19939 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
19940 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
19941 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
19942 wine_fn_config_makefile dlls/apphelp enable_apphelp
19943 wine_fn_config_makefile dlls/apphelp/tests enable_tests
19944 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
19945 wine_fn_config_makefile dlls/atl enable_atl
19946 wine_fn_config_makefile dlls/atl/tests enable_tests
19947 wine_fn_config_makefile dlls/atl100 enable_atl100
19948 wine_fn_config_makefile dlls/atl100/tests enable_tests
19949 wine_fn_config_makefile dlls/atl110 enable_atl110
19950 wine_fn_config_makefile dlls/atl80 enable_atl80
19951 wine_fn_config_makefile dlls/atl80/tests enable_tests
19952 wine_fn_config_makefile dlls/atl90 enable_atl90
19953 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
19954 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
19955 wine_fn_config_makefile dlls/atmlib enable_atmlib
19956 wine_fn_config_makefile dlls/authz enable_authz
19957 wine_fn_config_makefile dlls/avicap32 enable_avicap32
19958 wine_fn_config_makefile dlls/avifil32 enable_avifil32
19959 wine_fn_config_makefile dlls/avifil32/tests enable_tests
19960 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
19961 wine_fn_config_makefile dlls/avrt enable_avrt
19962 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
19963 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
19964 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
19965 wine_fn_config_makefile dlls/browseui enable_browseui
19966 wine_fn_config_makefile dlls/browseui/tests enable_tests
19967 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
19968 wine_fn_config_makefile dlls/cabinet enable_cabinet
19969 wine_fn_config_makefile dlls/cabinet/tests enable_tests
19970 wine_fn_config_makefile dlls/capi2032 enable_capi2032
19971 wine_fn_config_makefile dlls/cards enable_cards
19972 wine_fn_config_makefile dlls/cdosys enable_cdosys
19973 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
19974 wine_fn_config_makefile dlls/clusapi enable_clusapi
19975 wine_fn_config_makefile dlls/combase enable_combase
19976 wine_fn_config_makefile dlls/combase/tests enable_tests
19977 wine_fn_config_makefile dlls/comcat enable_comcat
19978 wine_fn_config_makefile dlls/comcat/tests enable_tests
19979 wine_fn_config_makefile dlls/comctl32 enable_comctl32
19980 wine_fn_config_makefile dlls/comctl32/tests enable_tests
19981 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
19982 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
19983 wine_fn_config_makefile dlls/comm.drv16 enable_win16
19984 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
19985 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
19986 wine_fn_config_makefile dlls/compstui enable_compstui
19987 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
19988 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
19989 wine_fn_config_makefile dlls/concrt140 enable_concrt140
19990 wine_fn_config_makefile dlls/concrt140/tests enable_tests
19991 wine_fn_config_makefile dlls/connect enable_connect
19992 wine_fn_config_makefile dlls/credui enable_credui
19993 wine_fn_config_makefile dlls/credui/tests enable_tests
19994 wine_fn_config_makefile dlls/crtdll enable_crtdll
19995 wine_fn_config_makefile dlls/crypt32 enable_crypt32
19996 wine_fn_config_makefile dlls/crypt32/tests enable_tests
19997 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
19998 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
19999 wine_fn_config_makefile dlls/cryptext enable_cryptext
20000 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20001 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20002 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
20003 wine_fn_config_makefile dlls/cryptui enable_cryptui
20004 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20005 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20006 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20007 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20008 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20009 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20010 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20011 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20012 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20013 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20014 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20015 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20016 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20017 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20018 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20019 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20020 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20021 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20022 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20023 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
20024 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20025 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20026 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20027 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20028 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20029 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20030 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20031 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20032 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20033 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20034 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20035 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20036 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20037 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20038 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20039 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
20040 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20041 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20042 wine_fn_config_makefile dlls/d3dim enable_d3dim
20043 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
20044 wine_fn_config_makefile dlls/d3drm enable_d3drm
20045 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20046 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20047 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20048 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
20049 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20050 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
20051 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20052 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
20053 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20054 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
20055 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20056 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
20057 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20058 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
20059 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20060 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
20061 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20062 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
20063 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20064 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
20065 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20066 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20067 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20068 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
20069 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20070 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20071 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20072 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20073 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20074 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20075 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20076 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20077 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20078 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20079 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20080 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20081 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20082 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20083 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20084 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20085 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20086 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20087 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20088 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20089 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20090 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20091 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20092 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20093 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20094 wine_fn_config_makefile dlls/davclnt enable_davclnt
20095 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20096 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20097 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20098 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20099 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20100 wine_fn_config_makefile dlls/dcomp enable_dcomp
20101 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20102 wine_fn_config_makefile dlls/ddraw enable_ddraw
20103 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20104 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20105 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20106 wine_fn_config_makefile dlls/devenum enable_devenum
20107 wine_fn_config_makefile dlls/devenum/tests enable_tests
20108 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20109 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20110 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
20111 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20112 wine_fn_config_makefile dlls/difxapi enable_difxapi
20113 wine_fn_config_makefile dlls/dinput enable_dinput
20114 wine_fn_config_makefile dlls/dinput/tests enable_tests
20115 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20116 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20117 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20118 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20119 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20120 wine_fn_config_makefile dlls/dispex enable_dispex
20121 wine_fn_config_makefile dlls/dispex/tests enable_tests
20122 wine_fn_config_makefile dlls/display.drv16 enable_win16
20123 wine_fn_config_makefile dlls/dmband enable_dmband
20124 wine_fn_config_makefile dlls/dmband/tests enable_tests
20125 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20126 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20127 wine_fn_config_makefile dlls/dmime enable_dmime
20128 wine_fn_config_makefile dlls/dmime/tests enable_tests
20129 wine_fn_config_makefile dlls/dmloader enable_dmloader
20130 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20131 wine_fn_config_makefile dlls/dmscript enable_dmscript
20132 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20133 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20134 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20135 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20136 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20137 wine_fn_config_makefile dlls/dmusic enable_dmusic
20138 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20139 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20140 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20141 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20142 wine_fn_config_makefile dlls/dplay enable_dplay
20143 wine_fn_config_makefile dlls/dplayx enable_dplayx
20144 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20145 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20146 wine_fn_config_makefile dlls/dpnet enable_dpnet
20147 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20148 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20149 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
20150 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20151 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20152 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20153 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20154 wine_fn_config_makefile dlls/drmclien enable_drmclien
20155 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20156 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20157 wine_fn_config_makefile dlls/dsound enable_dsound
20158 wine_fn_config_makefile dlls/dsound/tests enable_tests
20159 wine_fn_config_makefile dlls/dsquery enable_dsquery
20160 wine_fn_config_makefile dlls/dssenh enable_dssenh
20161 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20162 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20163 wine_fn_config_makefile dlls/dswave enable_dswave
20164 wine_fn_config_makefile dlls/dswave/tests enable_tests
20165 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20166 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20167 wine_fn_config_makefile dlls/dwrite enable_dwrite
20168 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20169 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20170 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20171 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20172 wine_fn_config_makefile dlls/dxgi enable_dxgi
20173 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20174 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
20175 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20176 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20177 wine_fn_config_makefile dlls/esent enable_esent
20178 wine_fn_config_makefile dlls/evr enable_evr
20179 wine_fn_config_makefile dlls/evr/tests enable_tests
20180 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20181 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20182 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20183 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20184 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20185 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20186 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20187 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20188 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20189 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20190 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20191 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20192 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20193 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20194 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20195 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20196 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20197 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20198 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20199 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20200 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20201 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20202 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20203 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20204 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20205 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20206 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20207 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20208 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20209 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20210 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20211 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20212 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20213 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20214 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20215 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20216 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20217 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20218 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20219 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20220 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20221 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20222 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
20223 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20224 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20225 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20226 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20227 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20228 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20229 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20230 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20231 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20232 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20233 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20234 wine_fn_config_makefile dlls/faultrep enable_faultrep
20235 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20236 wine_fn_config_makefile dlls/feclient enable_feclient
20237 wine_fn_config_makefile dlls/fltlib enable_fltlib
20238 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20239 wine_fn_config_makefile dlls/fntcache enable_fntcache
20240 wine_fn_config_makefile dlls/fontsub enable_fontsub
20241 wine_fn_config_makefile dlls/fusion enable_fusion
20242 wine_fn_config_makefile dlls/fusion/tests enable_tests
20243 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20244 wine_fn_config_makefile dlls/gameux enable_gameux
20245 wine_fn_config_makefile dlls/gameux/tests enable_tests
20246 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
20247 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20248 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20249 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20250 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20251 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20252 wine_fn_config_makefile dlls/glu32 enable_glu32
20253 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20254 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20255 wine_fn_config_makefile dlls/hal enable_hal
20256 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20257 wine_fn_config_makefile dlls/hid enable_hid
20258 wine_fn_config_makefile dlls/hid/tests enable_tests
20259 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20260 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
20261 wine_fn_config_makefile dlls/hlink enable_hlink
20262 wine_fn_config_makefile dlls/hlink/tests enable_tests
20263 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20264 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20265 wine_fn_config_makefile dlls/http.sys enable_http_sys
20266 wine_fn_config_makefile dlls/httpapi enable_httpapi
20267 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20268 wine_fn_config_makefile dlls/iccvid enable_iccvid
20269 wine_fn_config_makefile dlls/icmp enable_icmp
20270 wine_fn_config_makefile dlls/ieframe enable_ieframe
20271 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20272 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20273 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20274 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20275 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20276 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20277 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20278 wine_fn_config_makefile dlls/imm32 enable_imm32
20279 wine_fn_config_makefile dlls/imm32/tests enable_tests
20280 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20281 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20282 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20283 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20284 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20285 wine_fn_config_makefile dlls/infosoft enable_infosoft
20286 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20287 wine_fn_config_makefile dlls/initpki enable_initpki
20288 wine_fn_config_makefile dlls/inkobj enable_inkobj
20289 wine_fn_config_makefile dlls/inseng enable_inseng
20290 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20291 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20292 wine_fn_config_makefile dlls/iprop enable_iprop
20293 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20294 wine_fn_config_makefile dlls/itircl enable_itircl
20295 wine_fn_config_makefile dlls/itss enable_itss
20296 wine_fn_config_makefile dlls/itss/tests enable_tests
20297 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20298 wine_fn_config_makefile dlls/jscript enable_jscript
20299 wine_fn_config_makefile dlls/jscript/tests enable_tests
20300 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20301 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20302 wine_fn_config_makefile dlls/kerberos enable_kerberos
20303 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20304 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20305 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20306 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20307 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20308 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20309 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20310 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20311 wine_fn_config_makefile dlls/ksuser enable_ksuser
20312 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20313 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20314 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
20315 wine_fn_config_makefile dlls/loadperf enable_loadperf
20316 wine_fn_config_makefile dlls/localspl enable_localspl
20317 wine_fn_config_makefile dlls/localspl/tests enable_tests
20318 wine_fn_config_makefile dlls/localui enable_localui
20319 wine_fn_config_makefile dlls/localui/tests enable_tests
20320 wine_fn_config_makefile dlls/lz32 enable_lz32
20321 wine_fn_config_makefile dlls/lz32/tests enable_tests
20322 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20323 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20324 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20325 wine_fn_config_makefile dlls/mapistub enable_mapistub
20326 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20327 wine_fn_config_makefile dlls/mcicda enable_mcicda
20328 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20329 wine_fn_config_makefile dlls/mciseq enable_mciseq
20330 wine_fn_config_makefile dlls/mciwave enable_mciwave
20331 wine_fn_config_makefile dlls/mf enable_mf
20332 wine_fn_config_makefile dlls/mf/tests enable_tests
20333 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20334 wine_fn_config_makefile dlls/mferror enable_mferror
20335 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20336 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20337 wine_fn_config_makefile dlls/mfplat enable_mfplat
20338 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20339 wine_fn_config_makefile dlls/mfplay enable_mfplay
20340 wine_fn_config_makefile dlls/mfplay/tests enable_tests
20341 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20342 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20343 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20344 wine_fn_config_makefile dlls/midimap enable_midimap
20345 wine_fn_config_makefile dlls/mlang enable_mlang
20346 wine_fn_config_makefile dlls/mlang/tests enable_tests
20347 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20348 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20349 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20350 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20351 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20352 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20353 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20354 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20355 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20356 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20357 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20358 wine_fn_config_makefile dlls/mpr enable_mpr
20359 wine_fn_config_makefile dlls/mpr/tests enable_tests
20360 wine_fn_config_makefile dlls/mprapi enable_mprapi
20361 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20362 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20363 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20364 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20365 wine_fn_config_makefile dlls/msado15 enable_msado15
20366 wine_fn_config_makefile dlls/msado15/tests enable_tests
20367 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20368 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20369 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20370 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20371 wine_fn_config_makefile dlls/mscms enable_mscms
20372 wine_fn_config_makefile dlls/mscms/tests enable_tests
20373 wine_fn_config_makefile dlls/mscoree enable_mscoree
20374 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20375 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20376 wine_fn_config_makefile dlls/msctf enable_msctf
20377 wine_fn_config_makefile dlls/msctf/tests enable_tests
20378 wine_fn_config_makefile dlls/msctfp enable_msctfp
20379 wine_fn_config_makefile dlls/msdaps enable_msdaps
20380 wine_fn_config_makefile dlls/msdelta enable_msdelta
20381 wine_fn_config_makefile dlls/msdmo enable_msdmo
20382 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20383 wine_fn_config_makefile dlls/msdrm enable_msdrm
20384 wine_fn_config_makefile dlls/msftedit enable_msftedit
20385 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20386 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20387 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20388 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20389 wine_fn_config_makefile dlls/mshtml enable_mshtml
20390 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20391 wine_fn_config_makefile dlls/msi enable_msi
20392 wine_fn_config_makefile dlls/msi/tests enable_tests
20393 wine_fn_config_makefile dlls/msident enable_msident
20394 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20395 wine_fn_config_makefile dlls/msimsg enable_msimsg
20396 wine_fn_config_makefile dlls/msimtf enable_msimtf
20397 wine_fn_config_makefile dlls/msisip enable_msisip
20398 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20399 wine_fn_config_makefile dlls/msls31 enable_msls31
20400 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20401 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20402 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20403 wine_fn_config_makefile dlls/msports enable_msports
20404 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20405 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20406 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20407 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20408 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20409 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20410 wine_fn_config_makefile dlls/mstask enable_mstask
20411 wine_fn_config_makefile dlls/mstask/tests enable_tests
20412 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
20413 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20414 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20415 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20416 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20417 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20418 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20419 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20420 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20421 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20422 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20423 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20424 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20425 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20426 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20427 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
20428 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20429 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20430 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20431 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20432 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20433 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20434 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20435 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20436 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20437 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20438 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20439 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20440 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20441 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20442 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20443 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20444 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20445 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20446 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20447 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20448 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20449 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20450 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20451 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20452 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20453 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20454 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20455 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20456 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20457 wine_fn_config_makefile dlls/mswsock enable_mswsock
20458 wine_fn_config_makefile dlls/msxml enable_msxml
20459 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20460 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20461 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20462 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20463 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20464 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20465 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20466 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20467 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20468 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20469 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20470 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20471 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20472 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20473 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20474 wine_fn_config_makefile dlls/netprofm enable_netprofm
20475 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20476 wine_fn_config_makefile dlls/netutils enable_netutils
20477 wine_fn_config_makefile dlls/newdev enable_newdev
20478 wine_fn_config_makefile dlls/ninput enable_ninput
20479 wine_fn_config_makefile dlls/ninput/tests enable_tests
20480 wine_fn_config_makefile dlls/normaliz enable_normaliz
20481 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20482 wine_fn_config_makefile dlls/npptools enable_npptools
20483 wine_fn_config_makefile dlls/nsi enable_nsi
20484 wine_fn_config_makefile dlls/nsi/tests enable_tests
20485 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
20486 wine_fn_config_makefile dlls/ntdll enable_ntdll
20487 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20488 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20489 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20490 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20491 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20492 wine_fn_config_makefile dlls/ntprint enable_ntprint
20493 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20494 wine_fn_config_makefile dlls/objsel enable_objsel
20495 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20496 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20497 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20498 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20499 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20500 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20501 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20502 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20503 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20504 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20505 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20506 wine_fn_config_makefile dlls/ole32 enable_ole32
20507 wine_fn_config_makefile dlls/ole32/tests enable_tests
20508 wine_fn_config_makefile dlls/oleacc enable_oleacc
20509 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20510 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20511 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20512 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20513 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20514 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20515 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20516 wine_fn_config_makefile dlls/oledlg enable_oledlg
20517 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20518 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20519 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20520 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20521 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20522 wine_fn_config_makefile dlls/opcservices enable_opcservices
20523 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20524 wine_fn_config_makefile dlls/openal32 enable_openal32
20525 wine_fn_config_makefile dlls/opencl enable_opencl
20526 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20527 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20528 wine_fn_config_makefile dlls/packager enable_packager
20529 wine_fn_config_makefile dlls/packager/tests enable_tests
20530 wine_fn_config_makefile dlls/pdh enable_pdh
20531 wine_fn_config_makefile dlls/pdh/tests enable_tests
20532 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20533 wine_fn_config_makefile dlls/pidgen enable_pidgen
20534 wine_fn_config_makefile dlls/powrprof enable_powrprof
20535 wine_fn_config_makefile dlls/printui enable_printui
20536 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20537 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20538 wine_fn_config_makefile dlls/propsys enable_propsys
20539 wine_fn_config_makefile dlls/propsys/tests enable_tests
20540 wine_fn_config_makefile dlls/psapi enable_psapi
20541 wine_fn_config_makefile dlls/psapi/tests enable_tests
20542 wine_fn_config_makefile dlls/pstorec enable_pstorec
20543 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20544 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20545 wine_fn_config_makefile dlls/qasf enable_qasf
20546 wine_fn_config_makefile dlls/qasf/tests enable_tests
20547 wine_fn_config_makefile dlls/qcap enable_qcap
20548 wine_fn_config_makefile dlls/qcap/tests enable_tests
20549 wine_fn_config_makefile dlls/qdvd enable_qdvd
20550 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20551 wine_fn_config_makefile dlls/qedit enable_qedit
20552 wine_fn_config_makefile dlls/qedit/tests enable_tests
20553 wine_fn_config_makefile dlls/qmgr enable_qmgr
20554 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20555 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20556 wine_fn_config_makefile dlls/quartz enable_quartz
20557 wine_fn_config_makefile dlls/quartz/tests enable_tests
20558 wine_fn_config_makefile dlls/query enable_query
20559 wine_fn_config_makefile dlls/qwave enable_qwave
20560 wine_fn_config_makefile dlls/qwave/tests enable_tests
20561 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20562 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20563 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20564 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20565 wine_fn_config_makefile dlls/regapi enable_regapi
20566 wine_fn_config_makefile dlls/resutils enable_resutils
20567 wine_fn_config_makefile dlls/riched20 enable_riched20
20568 wine_fn_config_makefile dlls/riched20/tests enable_tests
20569 wine_fn_config_makefile dlls/riched32 enable_riched32
20570 wine_fn_config_makefile dlls/riched32/tests enable_tests
20571 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20572 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20573 wine_fn_config_makefile dlls/rsabase enable_rsabase
20574 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20575 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20576 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20577 wine_fn_config_makefile dlls/rtutils enable_rtutils
20578 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20579 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20580 wine_fn_config_makefile dlls/samlib enable_samlib
20581 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20582 wine_fn_config_makefile dlls/sapi enable_sapi
20583 wine_fn_config_makefile dlls/sapi/tests enable_tests
20584 wine_fn_config_makefile dlls/sas enable_sas
20585 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20586 wine_fn_config_makefile dlls/sccbase enable_sccbase
20587 wine_fn_config_makefile dlls/schannel enable_schannel
20588 wine_fn_config_makefile dlls/schannel/tests enable_tests
20589 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20590 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20591 wine_fn_config_makefile dlls/scrobj enable_scrobj
20592 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20593 wine_fn_config_makefile dlls/scrrun enable_scrrun
20594 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20595 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20596 wine_fn_config_makefile dlls/sechost enable_sechost
20597 wine_fn_config_makefile dlls/secur32 enable_secur32
20598 wine_fn_config_makefile dlls/secur32/tests enable_tests
20599 wine_fn_config_makefile dlls/security enable_security
20600 wine_fn_config_makefile dlls/sensapi enable_sensapi
20601 wine_fn_config_makefile dlls/serialui enable_serialui
20602 wine_fn_config_makefile dlls/serialui/tests enable_tests
20603 wine_fn_config_makefile dlls/setupapi enable_setupapi
20604 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20605 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20606 wine_fn_config_makefile dlls/sfc enable_sfc
20607 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20608 wine_fn_config_makefile dlls/shcore enable_shcore
20609 wine_fn_config_makefile dlls/shcore/tests enable_tests
20610 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20611 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20612 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20613 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20614 wine_fn_config_makefile dlls/shell32 enable_shell32
20615 wine_fn_config_makefile dlls/shell32/tests enable_tests
20616 wine_fn_config_makefile dlls/shfolder enable_shfolder
20617 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20618 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20619 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20620 wine_fn_config_makefile dlls/slc enable_slc
20621 wine_fn_config_makefile dlls/slc/tests enable_tests
20622 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20623 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20624 wine_fn_config_makefile dlls/softpub enable_softpub
20625 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20626 wine_fn_config_makefile dlls/spoolss enable_spoolss
20627 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20628 wine_fn_config_makefile dlls/sppc enable_sppc
20629 wine_fn_config_makefile dlls/srclient enable_srclient
20630 wine_fn_config_makefile dlls/srvcli enable_srvcli
20631 wine_fn_config_makefile dlls/sspicli enable_sspicli
20632 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20633 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20634 wine_fn_config_makefile dlls/sti enable_sti
20635 wine_fn_config_makefile dlls/sti/tests enable_tests
20636 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20637 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20638 wine_fn_config_makefile dlls/strmbase enable_strmbase
20639 wine_fn_config_makefile dlls/strmdll enable_strmdll
20640 wine_fn_config_makefile dlls/svrapi enable_svrapi
20641 wine_fn_config_makefile dlls/sxs enable_sxs
20642 wine_fn_config_makefile dlls/sxs/tests enable_tests
20643 wine_fn_config_makefile dlls/system.drv16 enable_win16
20644 wine_fn_config_makefile dlls/t2embed enable_t2embed
20645 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20646 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20647 wine_fn_config_makefile dlls/tapi32/tests enable_tests
20648 wine_fn_config_makefile dlls/taskschd enable_taskschd
20649 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20650 wine_fn_config_makefile dlls/tbs enable_tbs
20651 wine_fn_config_makefile dlls/tdh enable_tdh
20652 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20653 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20654 wine_fn_config_makefile dlls/traffic enable_traffic
20655 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20656 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20657 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20658 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20659 wine_fn_config_makefile dlls/tzres enable_tzres
20660 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20661 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20662 wine_fn_config_makefile dlls/uianimation enable_uianimation
20663 wine_fn_config_makefile dlls/uianimation/tests enable_tests
20664 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20665 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20666 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20667 wine_fn_config_makefile dlls/unicows enable_unicows
20668 wine_fn_config_makefile dlls/updspapi enable_updspapi
20669 wine_fn_config_makefile dlls/url enable_url
20670 wine_fn_config_makefile dlls/urlmon enable_urlmon
20671 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20672 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20673 wine_fn_config_makefile dlls/user.exe16 enable_win16
20674 wine_fn_config_makefile dlls/user32 enable_user32
20675 wine_fn_config_makefile dlls/user32/tests enable_tests
20676 wine_fn_config_makefile dlls/userenv enable_userenv
20677 wine_fn_config_makefile dlls/userenv/tests enable_tests
20678 wine_fn_config_makefile dlls/usp10 enable_usp10
20679 wine_fn_config_makefile dlls/usp10/tests enable_tests
20680 wine_fn_config_makefile dlls/utildll enable_utildll
20681 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20682 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20683 wine_fn_config_makefile dlls/vbscript enable_vbscript
20684 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20685 wine_fn_config_makefile dlls/vcomp enable_vcomp
20686 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20687 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20688 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20689 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
20690 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20691 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20692 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20693 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20694 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
20695 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20696 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20697 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20698 wine_fn_config_makefile dlls/version enable_version
20699 wine_fn_config_makefile dlls/version/tests enable_tests
20700 wine_fn_config_makefile dlls/vga enable_vga
20701 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20702 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20703 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20704 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20705 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20706 wine_fn_config_makefile dlls/vssapi enable_vssapi
20707 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20708 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20709 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20710 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20711 wine_fn_config_makefile dlls/w32skrnl enable_win16
20712 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20713 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20714 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20715 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20716 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20717 wine_fn_config_makefile dlls/wdscore enable_wdscore
20718 wine_fn_config_makefile dlls/webservices enable_webservices
20719 wine_fn_config_makefile dlls/webservices/tests enable_tests
20720 wine_fn_config_makefile dlls/websocket enable_websocket
20721 wine_fn_config_makefile dlls/wer enable_wer
20722 wine_fn_config_makefile dlls/wer/tests enable_tests
20723 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20724 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
20725 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
20726 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20727 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20728 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20729 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20730 wine_fn_config_makefile dlls/win32u enable_win32u
20731 wine_fn_config_makefile dlls/win32u/tests enable_tests
20732 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20733 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20734 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20735 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
20736 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
20737 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
20738 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
20739 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
20740 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
20741 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
20742 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
20743 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20744 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20745 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20746 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20747 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20748 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20749 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20750 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20751 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
20752 wine_fn_config_makefile dlls/wined3d enable_wined3d
20753 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
20754 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
20755 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
20756 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
20757 wine_fn_config_makefile dlls/winemapi enable_winemapi
20758 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
20759 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
20760 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
20761 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
20762 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
20763 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
20764 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
20765 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
20766 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
20767 wine_fn_config_makefile dlls/wing.dll16 enable_win16
20768 wine_fn_config_makefile dlls/wing32 enable_wing32
20769 wine_fn_config_makefile dlls/winhttp enable_winhttp
20770 wine_fn_config_makefile dlls/winhttp/tests enable_tests
20771 wine_fn_config_makefile dlls/wininet enable_wininet
20772 wine_fn_config_makefile dlls/wininet/tests enable_tests
20773 wine_fn_config_makefile dlls/winmm enable_winmm
20774 wine_fn_config_makefile dlls/winmm/tests enable_tests
20775 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
20776 wine_fn_config_makefile dlls/winnls32 enable_winnls32
20777 wine_fn_config_makefile dlls/winscard enable_winscard
20778 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
20779 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
20780 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
20781 wine_fn_config_makefile dlls/winsta enable_winsta
20782 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
20783 wine_fn_config_makefile dlls/wintab32 enable_wintab32
20784 wine_fn_config_makefile dlls/wintab32/tests enable_tests
20785 wine_fn_config_makefile dlls/wintrust enable_wintrust
20786 wine_fn_config_makefile dlls/wintrust/tests enable_tests
20787 wine_fn_config_makefile dlls/winusb enable_winusb
20788 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
20789 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
20790 wine_fn_config_makefile dlls/wlanui enable_wlanui
20791 wine_fn_config_makefile dlls/wldap32 enable_wldap32
20792 wine_fn_config_makefile dlls/wldap32/tests enable_tests
20793 wine_fn_config_makefile dlls/wmasf enable_wmasf
20794 wine_fn_config_makefile dlls/wmi enable_wmi
20795 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
20796 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
20797 wine_fn_config_makefile dlls/wmp enable_wmp
20798 wine_fn_config_makefile dlls/wmp/tests enable_tests
20799 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
20800 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
20801 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
20802 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
20803 wine_fn_config_makefile dlls/wow32 enable_win16
20804 wine_fn_config_makefile dlls/wow64 enable_wow64
20805 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
20806 wine_fn_config_makefile dlls/wow64win enable_wow64win
20807 wine_fn_config_makefile dlls/wpc enable_wpc
20808 wine_fn_config_makefile dlls/wpc/tests enable_tests
20809 wine_fn_config_makefile dlls/wpcap enable_wpcap
20810 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
20811 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
20812 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
20813 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
20814 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
20815 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
20816 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
20817 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
20818 wine_fn_config_makefile dlls/wsock32 enable_wsock32
20819 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
20820 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
20821 wine_fn_config_makefile dlls/wuapi enable_wuapi
20822 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
20823 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
20824 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
20825 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
20826 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
20827 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
20828 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
20829 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
20830 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
20831 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
20832 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
20833 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
20834 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
20835 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
20836 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
20837 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
20838 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
20839 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
20840 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
20841 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
20842 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
20843 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
20844 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
20845 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
20846 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
20847 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
20848 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
20849 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
20850 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
20851 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
20852 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
20853 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
20854 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
20855 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
20856 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
20857 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
20858 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
20859 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
20860 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
20861 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
20862 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
20863 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
20864 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
20865 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
20866 wine_fn_config_makefile dlls/xmllite enable_xmllite
20867 wine_fn_config_makefile dlls/xmllite/tests enable_tests
20868 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
20869 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
20870 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
20871 wine_fn_config_makefile fonts enable_fonts
20872 wine_fn_config_makefile include enable_include
20873 wine_fn_config_makefile libs/adsiid enable_adsiid
20874 wine_fn_config_makefile libs/dmoguids enable_dmoguids
20875 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
20876 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
20877 wine_fn_config_makefile libs/dxguid enable_dxguid
20878 wine_fn_config_makefile libs/jpeg enable_jpeg
20879 wine_fn_config_makefile libs/mfuuid enable_mfuuid
20880 wine_fn_config_makefile libs/png enable_png
20881 wine_fn_config_makefile libs/strmiids enable_strmiids
20882 wine_fn_config_makefile libs/uuid enable_uuid
20883 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
20884 wine_fn_config_makefile libs/wine enable_wine
20885 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
20886 wine_fn_config_makefile libs/zlib enable_zlib
20887 wine_fn_config_makefile loader enable_loader
20888 wine_fn_config_makefile nls enable_nls
20889 wine_fn_config_makefile po enable_po
20890 wine_fn_config_makefile programs/arp enable_arp
20891 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
20892 wine_fn_config_makefile programs/attrib enable_attrib
20893 wine_fn_config_makefile programs/cabarc enable_cabarc
20894 wine_fn_config_makefile programs/cacls enable_cacls
20895 wine_fn_config_makefile programs/chcp.com enable_chcp_com
20896 wine_fn_config_makefile programs/clock enable_clock
20897 wine_fn_config_makefile programs/cmd enable_cmd
20898 wine_fn_config_makefile programs/cmd/tests enable_tests
20899 wine_fn_config_makefile programs/conhost enable_conhost
20900 wine_fn_config_makefile programs/conhost/tests enable_tests
20901 wine_fn_config_makefile programs/control enable_control
20902 wine_fn_config_makefile programs/cscript enable_cscript
20903 wine_fn_config_makefile programs/dism enable_dism
20904 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
20905 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
20906 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
20907 wine_fn_config_makefile programs/dxdiag enable_dxdiag
20908 wine_fn_config_makefile programs/eject enable_eject
20909 wine_fn_config_makefile programs/expand enable_expand
20910 wine_fn_config_makefile programs/explorer enable_explorer
20911 wine_fn_config_makefile programs/extrac32 enable_extrac32
20912 wine_fn_config_makefile programs/fc enable_fc
20913 wine_fn_config_makefile programs/find enable_find
20914 wine_fn_config_makefile programs/find/tests enable_tests
20915 wine_fn_config_makefile programs/findstr enable_findstr
20916 wine_fn_config_makefile programs/fsutil enable_fsutil
20917 wine_fn_config_makefile programs/fsutil/tests enable_tests
20918 wine_fn_config_makefile programs/hh enable_hh
20919 wine_fn_config_makefile programs/hostname enable_hostname
20920 wine_fn_config_makefile programs/icacls enable_icacls
20921 wine_fn_config_makefile programs/icinfo enable_icinfo
20922 wine_fn_config_makefile programs/iexplore enable_iexplore
20923 wine_fn_config_makefile programs/ipconfig enable_ipconfig
20924 wine_fn_config_makefile programs/lodctr enable_lodctr
20925 wine_fn_config_makefile programs/mofcomp enable_mofcomp
20926 wine_fn_config_makefile programs/mshta enable_mshta
20927 wine_fn_config_makefile programs/msidb enable_msidb
20928 wine_fn_config_makefile programs/msiexec enable_msiexec
20929 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
20930 wine_fn_config_makefile programs/net enable_net
20931 wine_fn_config_makefile programs/netsh enable_netsh
20932 wine_fn_config_makefile programs/netstat enable_netstat
20933 wine_fn_config_makefile programs/ngen enable_ngen
20934 wine_fn_config_makefile programs/notepad enable_notepad
20935 wine_fn_config_makefile programs/oleview enable_oleview
20936 wine_fn_config_makefile programs/ping enable_ping
20937 wine_fn_config_makefile programs/plugplay enable_plugplay
20938 wine_fn_config_makefile programs/powershell enable_powershell
20939 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
20940 wine_fn_config_makefile programs/progman enable_progman
20941 wine_fn_config_makefile programs/reg enable_reg
20942 wine_fn_config_makefile programs/reg/tests enable_tests
20943 wine_fn_config_makefile programs/regasm enable_regasm
20944 wine_fn_config_makefile programs/regedit enable_regedit
20945 wine_fn_config_makefile programs/regedit/tests enable_tests
20946 wine_fn_config_makefile programs/regini enable_regini
20947 wine_fn_config_makefile programs/regsvcs enable_regsvcs
20948 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
20949 wine_fn_config_makefile programs/robocopy enable_robocopy
20950 wine_fn_config_makefile programs/rpcss enable_rpcss
20951 wine_fn_config_makefile programs/rundll.exe16 enable_win16
20952 wine_fn_config_makefile programs/rundll32 enable_rundll32
20953 wine_fn_config_makefile programs/sc enable_sc
20954 wine_fn_config_makefile programs/schtasks enable_schtasks
20955 wine_fn_config_makefile programs/schtasks/tests enable_tests
20956 wine_fn_config_makefile programs/sdbinst enable_sdbinst
20957 wine_fn_config_makefile programs/secedit enable_secedit
20958 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
20959 wine_fn_config_makefile programs/services enable_services
20960 wine_fn_config_makefile programs/services/tests enable_tests
20961 wine_fn_config_makefile programs/shutdown enable_shutdown
20962 wine_fn_config_makefile programs/spoolsv enable_spoolsv
20963 wine_fn_config_makefile programs/start enable_start
20964 wine_fn_config_makefile programs/subst enable_subst
20965 wine_fn_config_makefile programs/svchost enable_svchost
20966 wine_fn_config_makefile programs/systeminfo enable_systeminfo
20967 wine_fn_config_makefile programs/taskkill enable_taskkill
20968 wine_fn_config_makefile programs/tasklist enable_tasklist
20969 wine_fn_config_makefile programs/taskmgr enable_taskmgr
20970 wine_fn_config_makefile programs/termsv enable_termsv
20971 wine_fn_config_makefile programs/uninstaller enable_uninstaller
20972 wine_fn_config_makefile programs/unlodctr enable_unlodctr
20973 wine_fn_config_makefile programs/view enable_view
20974 wine_fn_config_makefile programs/wevtutil enable_wevtutil
20975 wine_fn_config_makefile programs/where enable_where
20976 wine_fn_config_makefile programs/whoami enable_whoami
20977 wine_fn_config_makefile programs/wineboot enable_wineboot
20978 wine_fn_config_makefile programs/winebrowser enable_winebrowser
20979 wine_fn_config_makefile programs/winecfg enable_winecfg
20980 wine_fn_config_makefile programs/wineconsole enable_wineconsole
20981 wine_fn_config_makefile programs/winedbg enable_winedbg
20982 wine_fn_config_makefile programs/winedevice enable_winedevice
20983 wine_fn_config_makefile programs/winefile enable_winefile
20984 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
20985 wine_fn_config_makefile programs/winemine enable_winemine
20986 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
20987 wine_fn_config_makefile programs/winepath enable_winepath
20988 wine_fn_config_makefile programs/winetest enable_winetest
20989 wine_fn_config_makefile programs/winevdm enable_win16
20990 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
20991 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
20992 wine_fn_config_makefile programs/winmgmt enable_winmgmt
20993 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
20994 wine_fn_config_makefile programs/winver enable_winver
20995 wine_fn_config_makefile programs/wmic enable_wmic
20996 wine_fn_config_makefile programs/wmplayer enable_wmplayer
20997 wine_fn_config_makefile programs/wordpad enable_wordpad
20998 wine_fn_config_makefile programs/write enable_write
20999 wine_fn_config_makefile programs/wscript enable_wscript
21000 wine_fn_config_makefile programs/wscript/tests enable_tests
21001 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21002 wine_fn_config_makefile programs/wusa enable_wusa
21003 wine_fn_config_makefile programs/xcopy enable_xcopy
21004 wine_fn_config_makefile programs/xcopy/tests enable_tests
21005 wine_fn_config_makefile server enable_server
21006 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21007 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21008 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21009 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21010 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21011 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21012 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21013 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21014 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21017 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21018 wine_fn_append_file CONFIGURE_TARGETS "tags"
21019 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21020 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21021 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21022 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21023 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21024 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21026 if test "x$enable_tools" != xno
21027 then
21028 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21029 ac_config_commands="$ac_config_commands tools/makedep"
21033 ac_config_commands="$ac_config_commands Makefile"
21036 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21040 if test "x$enable_maintainer_mode" = xyes
21041 then
21042 wine_fn_append_rule "configure: configure.ac aclocal.m4
21043 autoconf --warnings=all
21044 include/config.h.in: include/stamp-h.in
21045 include/stamp-h.in: configure.ac aclocal.m4
21046 autoheader --warnings=all
21047 @echo timestamp > \$@"
21050 if test "x$enable_tools" != xno
21051 then
21052 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21053 @./config.status tools/makedep
21054 Makefile: tools/makedep$ac_exeext"
21055 else
21056 wine_fn_append_rule "\$(MAKEDEP):
21057 @echo \"You need to run make in $TOOLSDIR first\" && false"
21060 if test -n "$with_wine64"
21061 then
21062 case "$with_wine64" in
21063 /*) reldir="" ;;
21064 *) reldir="../" ;;
21065 esac
21066 rm -f fonts server 2>/dev/null
21067 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21068 loader/wine64 loader/wine64-preloader:
21069 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21070 $with_wine64/loader/wine:
21071 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21072 $with_wine64/loader/wine-preloader:
21073 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21074 clean::
21075 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21076 else
21077 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21078 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21079 fonts \
21080 loader/wine.inf \
21081 nls \
21082 programs/msidb/msidb \
21083 programs/msiexec/msiexec \
21084 programs/notepad/notepad \
21085 programs/regedit/regedit \
21086 programs/regsvr32/regsvr32 \
21087 programs/wineboot/wineboot \
21088 programs/winecfg/winecfg \
21089 programs/wineconsole/wineconsole \
21090 programs/winedbg/winedbg \
21091 programs/winefile/winefile \
21092 programs/winemine/winemine \
21093 programs/winepath/winepath \
21094 server/wineserver"
21096 case $host_os in
21097 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21098 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21099 esac
21102 $as_echo " done" >&6
21103 cat >confcache <<\_ACEOF
21104 # This file is a shell script that caches the results of configure
21105 # tests run on this system so they can be shared between configure
21106 # scripts and configure runs, see configure's option --config-cache.
21107 # It is not useful on other systems. If it contains results you don't
21108 # want to keep, you may remove or edit it.
21110 # config.status only pays attention to the cache file if you give it
21111 # the --recheck option to rerun configure.
21113 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21114 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21115 # following values.
21117 _ACEOF
21119 # The following way of writing the cache mishandles newlines in values,
21120 # but we know of no workaround that is simple, portable, and efficient.
21121 # So, we kill variables containing newlines.
21122 # Ultrix sh set writes to stderr and can't be redirected directly,
21123 # and sets the high bit in the cache file unless we assign to the vars.
21125 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21126 eval ac_val=\$$ac_var
21127 case $ac_val in #(
21128 *${as_nl}*)
21129 case $ac_var in #(
21130 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21131 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21132 esac
21133 case $ac_var in #(
21134 _ | IFS | as_nl) ;; #(
21135 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21136 *) { eval $ac_var=; unset $ac_var;} ;;
21137 esac ;;
21138 esac
21139 done
21141 (set) 2>&1 |
21142 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21143 *${as_nl}ac_space=\ *)
21144 # `set' does not quote correctly, so add quotes: double-quote
21145 # substitution turns \\\\ into \\, and sed turns \\ into \.
21146 sed -n \
21147 "s/'/'\\\\''/g;
21148 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21149 ;; #(
21151 # `set' quotes correctly as required by POSIX, so do not add quotes.
21152 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21154 esac |
21155 sort
21157 sed '
21158 /^ac_cv_env_/b end
21159 t clear
21160 :clear
21161 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21162 t end
21163 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21164 :end' >>confcache
21165 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21166 if test -w "$cache_file"; then
21167 if test "x$cache_file" != "x/dev/null"; then
21168 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21169 $as_echo "$as_me: updating cache $cache_file" >&6;}
21170 if test ! -f "$cache_file" || test -h "$cache_file"; then
21171 cat confcache >"$cache_file"
21172 else
21173 case $cache_file in #(
21174 */* | ?:*)
21175 mv -f confcache "$cache_file"$$ &&
21176 mv -f "$cache_file"$$ "$cache_file" ;; #(
21178 mv -f confcache "$cache_file" ;;
21179 esac
21182 else
21183 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21184 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21187 rm -f confcache
21189 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21190 # Let make expand exec_prefix.
21191 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21193 DEFS=-DHAVE_CONFIG_H
21195 ac_libobjs=
21196 ac_ltlibobjs=
21198 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21199 # 1. Remove the extension, and $U if already installed.
21200 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21201 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21202 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21203 # will be set to the directory where LIBOBJS objects are built.
21204 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21205 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21206 done
21207 LIBOBJS=$ac_libobjs
21209 LTLIBOBJS=$ac_ltlibobjs
21213 : "${CONFIG_STATUS=./config.status}"
21214 ac_write_fail=0
21215 ac_clean_files_save=$ac_clean_files
21216 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21217 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21218 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21219 as_write_fail=0
21220 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21221 #! $SHELL
21222 # Generated by $as_me.
21223 # Run this file to recreate the current configuration.
21224 # Compiler output produced by configure, useful for debugging
21225 # configure, is in config.log if it exists.
21227 debug=false
21228 ac_cs_recheck=false
21229 ac_cs_silent=false
21231 SHELL=\${CONFIG_SHELL-$SHELL}
21232 export SHELL
21233 _ASEOF
21234 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21235 ## -------------------- ##
21236 ## M4sh Initialization. ##
21237 ## -------------------- ##
21239 # Be more Bourne compatible
21240 DUALCASE=1; export DUALCASE # for MKS sh
21241 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21242 emulate sh
21243 NULLCMD=:
21244 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21245 # is contrary to our usage. Disable this feature.
21246 alias -g '${1+"$@"}'='"$@"'
21247 setopt NO_GLOB_SUBST
21248 else
21249 case `(set -o) 2>/dev/null` in #(
21250 *posix*) :
21251 set -o posix ;; #(
21252 *) :
21254 esac
21258 as_nl='
21260 export as_nl
21261 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21262 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21263 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21264 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21265 # Prefer a ksh shell builtin over an external printf program on Solaris,
21266 # but without wasting forks for bash or zsh.
21267 if test -z "$BASH_VERSION$ZSH_VERSION" \
21268 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21269 as_echo='print -r --'
21270 as_echo_n='print -rn --'
21271 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21272 as_echo='printf %s\n'
21273 as_echo_n='printf %s'
21274 else
21275 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21276 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21277 as_echo_n='/usr/ucb/echo -n'
21278 else
21279 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21280 as_echo_n_body='eval
21281 arg=$1;
21282 case $arg in #(
21283 *"$as_nl"*)
21284 expr "X$arg" : "X\\(.*\\)$as_nl";
21285 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21286 esac;
21287 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21289 export as_echo_n_body
21290 as_echo_n='sh -c $as_echo_n_body as_echo'
21292 export as_echo_body
21293 as_echo='sh -c $as_echo_body as_echo'
21296 # The user is always right.
21297 if test "${PATH_SEPARATOR+set}" != set; then
21298 PATH_SEPARATOR=:
21299 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21300 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21301 PATH_SEPARATOR=';'
21306 # IFS
21307 # We need space, tab and new line, in precisely that order. Quoting is
21308 # there to prevent editors from complaining about space-tab.
21309 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21310 # splitting by setting IFS to empty value.)
21311 IFS=" "" $as_nl"
21313 # Find who we are. Look in the path if we contain no directory separator.
21314 as_myself=
21315 case $0 in #((
21316 *[\\/]* ) as_myself=$0 ;;
21317 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21318 for as_dir in $PATH
21320 IFS=$as_save_IFS
21321 test -z "$as_dir" && as_dir=.
21322 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21323 done
21324 IFS=$as_save_IFS
21327 esac
21328 # We did not find ourselves, most probably we were run as `sh COMMAND'
21329 # in which case we are not to be found in the path.
21330 if test "x$as_myself" = x; then
21331 as_myself=$0
21333 if test ! -f "$as_myself"; then
21334 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21335 exit 1
21338 # Unset variables that we do not need and which cause bugs (e.g. in
21339 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21340 # suppresses any "Segmentation fault" message there. '((' could
21341 # trigger a bug in pdksh 5.2.14.
21342 for as_var in BASH_ENV ENV MAIL MAILPATH
21343 do eval test x\${$as_var+set} = xset \
21344 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21345 done
21346 PS1='$ '
21347 PS2='> '
21348 PS4='+ '
21350 # NLS nuisances.
21351 LC_ALL=C
21352 export LC_ALL
21353 LANGUAGE=C
21354 export LANGUAGE
21356 # CDPATH.
21357 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21360 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21361 # ----------------------------------------
21362 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21363 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21364 # script with STATUS, using 1 if that was 0.
21365 as_fn_error ()
21367 as_status=$1; test $as_status -eq 0 && as_status=1
21368 if test "$4"; then
21369 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21370 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21372 $as_echo "$as_me: error: $2" >&2
21373 as_fn_exit $as_status
21374 } # as_fn_error
21377 # as_fn_set_status STATUS
21378 # -----------------------
21379 # Set $? to STATUS, without forking.
21380 as_fn_set_status ()
21382 return $1
21383 } # as_fn_set_status
21385 # as_fn_exit STATUS
21386 # -----------------
21387 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21388 as_fn_exit ()
21390 set +e
21391 as_fn_set_status $1
21392 exit $1
21393 } # as_fn_exit
21395 # as_fn_unset VAR
21396 # ---------------
21397 # Portably unset VAR.
21398 as_fn_unset ()
21400 { eval $1=; unset $1;}
21402 as_unset=as_fn_unset
21403 # as_fn_append VAR VALUE
21404 # ----------------------
21405 # Append the text in VALUE to the end of the definition contained in VAR. Take
21406 # advantage of any shell optimizations that allow amortized linear growth over
21407 # repeated appends, instead of the typical quadratic growth present in naive
21408 # implementations.
21409 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21410 eval 'as_fn_append ()
21412 eval $1+=\$2
21414 else
21415 as_fn_append ()
21417 eval $1=\$$1\$2
21419 fi # as_fn_append
21421 # as_fn_arith ARG...
21422 # ------------------
21423 # Perform arithmetic evaluation on the ARGs, and store the result in the
21424 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21425 # must be portable across $(()) and expr.
21426 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21427 eval 'as_fn_arith ()
21429 as_val=$(( $* ))
21431 else
21432 as_fn_arith ()
21434 as_val=`expr "$@" || test $? -eq 1`
21436 fi # as_fn_arith
21439 if expr a : '\(a\)' >/dev/null 2>&1 &&
21440 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21441 as_expr=expr
21442 else
21443 as_expr=false
21446 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21447 as_basename=basename
21448 else
21449 as_basename=false
21452 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21453 as_dirname=dirname
21454 else
21455 as_dirname=false
21458 as_me=`$as_basename -- "$0" ||
21459 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21460 X"$0" : 'X\(//\)$' \| \
21461 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21462 $as_echo X/"$0" |
21463 sed '/^.*\/\([^/][^/]*\)\/*$/{
21464 s//\1/
21467 /^X\/\(\/\/\)$/{
21468 s//\1/
21471 /^X\/\(\/\).*/{
21472 s//\1/
21475 s/.*/./; q'`
21477 # Avoid depending upon Character Ranges.
21478 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21479 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21480 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21481 as_cr_digits='0123456789'
21482 as_cr_alnum=$as_cr_Letters$as_cr_digits
21484 ECHO_C= ECHO_N= ECHO_T=
21485 case `echo -n x` in #(((((
21486 -n*)
21487 case `echo 'xy\c'` in
21488 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21489 xy) ECHO_C='\c';;
21490 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21491 ECHO_T=' ';;
21492 esac;;
21494 ECHO_N='-n';;
21495 esac
21497 rm -f conf$$ conf$$.exe conf$$.file
21498 if test -d conf$$.dir; then
21499 rm -f conf$$.dir/conf$$.file
21500 else
21501 rm -f conf$$.dir
21502 mkdir conf$$.dir 2>/dev/null
21504 if (echo >conf$$.file) 2>/dev/null; then
21505 if ln -s conf$$.file conf$$ 2>/dev/null; then
21506 as_ln_s='ln -s'
21507 # ... but there are two gotchas:
21508 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21509 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21510 # In both cases, we have to default to `cp -pR'.
21511 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21512 as_ln_s='cp -pR'
21513 elif ln conf$$.file conf$$ 2>/dev/null; then
21514 as_ln_s=ln
21515 else
21516 as_ln_s='cp -pR'
21518 else
21519 as_ln_s='cp -pR'
21521 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21522 rmdir conf$$.dir 2>/dev/null
21525 # as_fn_mkdir_p
21526 # -------------
21527 # Create "$as_dir" as a directory, including parents if necessary.
21528 as_fn_mkdir_p ()
21531 case $as_dir in #(
21532 -*) as_dir=./$as_dir;;
21533 esac
21534 test -d "$as_dir" || eval $as_mkdir_p || {
21535 as_dirs=
21536 while :; do
21537 case $as_dir in #(
21538 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21539 *) as_qdir=$as_dir;;
21540 esac
21541 as_dirs="'$as_qdir' $as_dirs"
21542 as_dir=`$as_dirname -- "$as_dir" ||
21543 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21544 X"$as_dir" : 'X\(//\)[^/]' \| \
21545 X"$as_dir" : 'X\(//\)$' \| \
21546 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21547 $as_echo X"$as_dir" |
21548 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21549 s//\1/
21552 /^X\(\/\/\)[^/].*/{
21553 s//\1/
21556 /^X\(\/\/\)$/{
21557 s//\1/
21560 /^X\(\/\).*/{
21561 s//\1/
21564 s/.*/./; q'`
21565 test -d "$as_dir" && break
21566 done
21567 test -z "$as_dirs" || eval "mkdir $as_dirs"
21568 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21571 } # as_fn_mkdir_p
21572 if mkdir -p . 2>/dev/null; then
21573 as_mkdir_p='mkdir -p "$as_dir"'
21574 else
21575 test -d ./-p && rmdir ./-p
21576 as_mkdir_p=false
21580 # as_fn_executable_p FILE
21581 # -----------------------
21582 # Test if FILE is an executable regular file.
21583 as_fn_executable_p ()
21585 test -f "$1" && test -x "$1"
21586 } # as_fn_executable_p
21587 as_test_x='test -x'
21588 as_executable_p=as_fn_executable_p
21590 # Sed expression to map a string onto a valid CPP name.
21591 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21593 # Sed expression to map a string onto a valid variable name.
21594 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21597 exec 6>&1
21598 ## ----------------------------------- ##
21599 ## Main body of $CONFIG_STATUS script. ##
21600 ## ----------------------------------- ##
21601 _ASEOF
21602 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21604 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21605 # Save the log message, to keep $0 and so on meaningful, and to
21606 # report actual input values of CONFIG_FILES etc. instead of their
21607 # values after options handling.
21608 ac_log="
21609 This file was extended by Wine $as_me 6.19, which was
21610 generated by GNU Autoconf 2.69. Invocation command line was
21612 CONFIG_FILES = $CONFIG_FILES
21613 CONFIG_HEADERS = $CONFIG_HEADERS
21614 CONFIG_LINKS = $CONFIG_LINKS
21615 CONFIG_COMMANDS = $CONFIG_COMMANDS
21616 $ $0 $@
21618 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21621 _ACEOF
21623 case $ac_config_files in *"
21624 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21625 esac
21627 case $ac_config_headers in *"
21628 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21629 esac
21632 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21633 # Files that config.status was made for.
21634 config_files="$ac_config_files"
21635 config_headers="$ac_config_headers"
21636 config_links="$ac_config_links"
21637 config_commands="$ac_config_commands"
21639 _ACEOF
21641 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21642 ac_cs_usage="\
21643 \`$as_me' instantiates files and other configuration actions
21644 from templates according to the current configuration. Unless the files
21645 and actions are specified as TAGs, all are instantiated by default.
21647 Usage: $0 [OPTION]... [TAG]...
21649 -h, --help print this help, then exit
21650 -V, --version print version number and configuration settings, then exit
21651 --config print configuration, then exit
21652 -q, --quiet, --silent
21653 do not print progress messages
21654 -d, --debug don't remove temporary files
21655 --recheck update $as_me by reconfiguring in the same conditions
21656 --file=FILE[:TEMPLATE]
21657 instantiate the configuration file FILE
21658 --header=FILE[:TEMPLATE]
21659 instantiate the configuration header FILE
21661 Configuration files:
21662 $config_files
21664 Configuration headers:
21665 $config_headers
21667 Configuration links:
21668 $config_links
21670 Configuration commands:
21671 $config_commands
21673 Report bugs to <wine-devel@winehq.org>.
21674 Wine home page: <https://www.winehq.org>."
21676 _ACEOF
21677 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21678 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21679 ac_cs_version="\\
21680 Wine config.status 6.19
21681 configured by $0, generated by GNU Autoconf 2.69,
21682 with options \\"\$ac_cs_config\\"
21684 Copyright (C) 2012 Free Software Foundation, Inc.
21685 This config.status script is free software; the Free Software Foundation
21686 gives unlimited permission to copy, distribute and modify it."
21688 ac_pwd='$ac_pwd'
21689 srcdir='$srcdir'
21690 test -n "\$AWK" || AWK=awk
21691 _ACEOF
21693 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21694 # The default lists apply if the user does not specify any file.
21695 ac_need_defaults=:
21696 while test $# != 0
21698 case $1 in
21699 --*=?*)
21700 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21701 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21702 ac_shift=:
21704 --*=)
21705 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21706 ac_optarg=
21707 ac_shift=:
21710 ac_option=$1
21711 ac_optarg=$2
21712 ac_shift=shift
21714 esac
21716 case $ac_option in
21717 # Handling of the options.
21718 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21719 ac_cs_recheck=: ;;
21720 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21721 $as_echo "$ac_cs_version"; exit ;;
21722 --config | --confi | --conf | --con | --co | --c )
21723 $as_echo "$ac_cs_config"; exit ;;
21724 --debug | --debu | --deb | --de | --d | -d )
21725 debug=: ;;
21726 --file | --fil | --fi | --f )
21727 $ac_shift
21728 case $ac_optarg in
21729 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21730 '') as_fn_error $? "missing file argument" ;;
21731 esac
21732 as_fn_append CONFIG_FILES " '$ac_optarg'"
21733 ac_need_defaults=false;;
21734 --header | --heade | --head | --hea )
21735 $ac_shift
21736 case $ac_optarg in
21737 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21738 esac
21739 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21740 ac_need_defaults=false;;
21741 --he | --h)
21742 # Conflict between --help and --header
21743 as_fn_error $? "ambiguous option: \`$1'
21744 Try \`$0 --help' for more information.";;
21745 --help | --hel | -h )
21746 $as_echo "$ac_cs_usage"; exit ;;
21747 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21748 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21749 ac_cs_silent=: ;;
21751 # This is an error.
21752 -*) as_fn_error $? "unrecognized option: \`$1'
21753 Try \`$0 --help' for more information." ;;
21755 *) as_fn_append ac_config_targets " $1"
21756 ac_need_defaults=false ;;
21758 esac
21759 shift
21760 done
21762 ac_configure_extra_args=
21764 if $ac_cs_silent; then
21765 exec 6>/dev/null
21766 ac_configure_extra_args="$ac_configure_extra_args --silent"
21769 _ACEOF
21770 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21771 if \$ac_cs_recheck; then
21772 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21773 shift
21774 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21775 CONFIG_SHELL='$SHELL'
21776 export CONFIG_SHELL
21777 exec "\$@"
21780 _ACEOF
21781 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21782 exec 5>>config.log
21784 echo
21785 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21786 ## Running $as_me. ##
21787 _ASBOX
21788 $as_echo "$ac_log"
21789 } >&5
21791 _ACEOF
21792 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21794 # INIT-COMMANDS
21796 wine_fn_output_makedep ()
21798 as_dir=tools; as_fn_mkdir_p
21799 $CC -I$srcdir/tools -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
21801 wine_fn_output_makefile ()
21803 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep"$makedep_flags && return
21804 `cat $wine_rules_file`
21805 _WINE_EOF
21806 as_fn_error $? "could not create Makefile" "$LINENO" 5
21809 _ACEOF
21811 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21813 # Handling of arguments.
21814 for ac_config_target in $ac_config_targets
21816 case $ac_config_target in
21817 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21818 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21819 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
21820 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
21821 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
21822 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
21823 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
21825 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21826 esac
21827 done
21830 # If the user did not use the arguments to specify the items to instantiate,
21831 # then the envvar interface is used. Set only those that are not.
21832 # We use the long form for the default assignment because of an extremely
21833 # bizarre bug on SunOS 4.1.3.
21834 if $ac_need_defaults; then
21835 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21836 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21837 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
21838 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21841 # Have a temporary directory for convenience. Make it in the build tree
21842 # simply because there is no reason against having it here, and in addition,
21843 # creating and moving files from /tmp can sometimes cause problems.
21844 # Hook for its removal unless debugging.
21845 # Note that there is a small window in which the directory will not be cleaned:
21846 # after its creation but before its name has been assigned to `$tmp'.
21847 $debug ||
21849 tmp= ac_tmp=
21850 trap 'exit_status=$?
21851 : "${ac_tmp:=$tmp}"
21852 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21854 trap 'as_fn_exit 1' 1 2 13 15
21856 # Create a (secure) tmp directory for tmp files.
21859 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21860 test -d "$tmp"
21861 } ||
21863 tmp=./conf$$-$RANDOM
21864 (umask 077 && mkdir "$tmp")
21865 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
21866 ac_tmp=$tmp
21868 # Set up the scripts for CONFIG_FILES section.
21869 # No need to generate them if there are no CONFIG_FILES.
21870 # This happens for instance with `./config.status config.h'.
21871 if test -n "$CONFIG_FILES"; then
21874 ac_cr=`echo X | tr X '\015'`
21875 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21876 # But we know of no other shell where ac_cr would be empty at this
21877 # point, so we can use a bashism as a fallback.
21878 if test "x$ac_cr" = x; then
21879 eval ac_cr=\$\'\\r\'
21881 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21882 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21883 ac_cs_awk_cr='\\r'
21884 else
21885 ac_cs_awk_cr=$ac_cr
21888 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21889 _ACEOF
21893 echo "cat >conf$$subs.awk <<_ACEOF" &&
21894 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21895 echo "_ACEOF"
21896 } >conf$$subs.sh ||
21897 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21898 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21899 ac_delim='%!_!# '
21900 for ac_last_try in false false false false false :; do
21901 . ./conf$$subs.sh ||
21902 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21904 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21905 if test $ac_delim_n = $ac_delim_num; then
21906 break
21907 elif $ac_last_try; then
21908 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21909 else
21910 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21912 done
21913 rm -f conf$$subs.sh
21915 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21916 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21917 _ACEOF
21918 sed -n '
21920 s/^/S["/; s/!.*/"]=/
21923 s/^[^!]*!//
21924 :repl
21925 t repl
21926 s/'"$ac_delim"'$//
21927 t delim
21930 s/\(.\{148\}\)..*/\1/
21931 t more1
21932 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21935 b repl
21936 :more1
21937 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21940 s/.\{148\}//
21941 t nl
21942 :delim
21944 s/\(.\{148\}\)..*/\1/
21945 t more2
21946 s/["\\]/\\&/g; s/^/"/; s/$/"/
21949 :more2
21950 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21953 s/.\{148\}//
21954 t delim
21955 ' <conf$$subs.awk | sed '
21956 /^[^""]/{
21958 s/\n//
21960 ' >>$CONFIG_STATUS || ac_write_fail=1
21961 rm -f conf$$subs.awk
21962 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21963 _ACAWK
21964 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
21965 for (key in S) S_is_set[key] = 1
21966 FS = "\a"
21970 line = $ 0
21971 nfields = split(line, field, "@")
21972 substed = 0
21973 len = length(field[1])
21974 for (i = 2; i < nfields; i++) {
21975 key = field[i]
21976 keylen = length(key)
21977 if (S_is_set[key]) {
21978 value = S[key]
21979 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21980 len += length(value) + length(field[++i])
21981 substed = 1
21982 } else
21983 len += 1 + keylen
21986 print line
21989 _ACAWK
21990 _ACEOF
21991 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21992 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21993 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21994 else
21996 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
21997 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
21998 _ACEOF
22000 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22001 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22002 # trailing colons and then remove the whole line if VPATH becomes empty
22003 # (actually we leave an empty line to preserve line numbers).
22004 if test "x$srcdir" = x.; then
22005 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22007 s///
22008 s/^/:/
22009 s/[ ]*$/:/
22010 s/:\$(srcdir):/:/g
22011 s/:\${srcdir}:/:/g
22012 s/:@srcdir@:/:/g
22013 s/^:*//
22014 s/:*$//
22016 s/\(=[ ]*\).*/\1/
22018 s/\n//
22019 s/^[^=]*=[ ]*$//
22023 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22024 fi # test -n "$CONFIG_FILES"
22026 # Set up the scripts for CONFIG_HEADERS section.
22027 # No need to generate them if there are no CONFIG_HEADERS.
22028 # This happens for instance with `./config.status Makefile'.
22029 if test -n "$CONFIG_HEADERS"; then
22030 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22031 BEGIN {
22032 _ACEOF
22034 # Transform confdefs.h into an awk script `defines.awk', embedded as
22035 # here-document in config.status, that substitutes the proper values into
22036 # config.h.in to produce config.h.
22038 # Create a delimiter string that does not exist in confdefs.h, to ease
22039 # handling of long lines.
22040 ac_delim='%!_!# '
22041 for ac_last_try in false false :; do
22042 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22043 if test -z "$ac_tt"; then
22044 break
22045 elif $ac_last_try; then
22046 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22047 else
22048 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22050 done
22052 # For the awk script, D is an array of macro values keyed by name,
22053 # likewise P contains macro parameters if any. Preserve backslash
22054 # newline sequences.
22056 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22057 sed -n '
22058 s/.\{148\}/&'"$ac_delim"'/g
22059 t rset
22060 :rset
22061 s/^[ ]*#[ ]*define[ ][ ]*/ /
22062 t def
22064 :def
22065 s/\\$//
22066 t bsnl
22067 s/["\\]/\\&/g
22068 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22069 D["\1"]=" \3"/p
22070 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22072 :bsnl
22073 s/["\\]/\\&/g
22074 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22075 D["\1"]=" \3\\\\\\n"\\/p
22076 t cont
22077 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22078 t cont
22080 :cont
22082 s/.\{148\}/&'"$ac_delim"'/g
22083 t clear
22084 :clear
22085 s/\\$//
22086 t bsnlc
22087 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22089 :bsnlc
22090 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22091 b cont
22092 ' <confdefs.h | sed '
22093 s/'"$ac_delim"'/"\\\
22094 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22096 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22097 for (key in D) D_is_set[key] = 1
22098 FS = "\a"
22100 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22101 line = \$ 0
22102 split(line, arg, " ")
22103 if (arg[1] == "#") {
22104 defundef = arg[2]
22105 mac1 = arg[3]
22106 } else {
22107 defundef = substr(arg[1], 2)
22108 mac1 = arg[2]
22110 split(mac1, mac2, "(") #)
22111 macro = mac2[1]
22112 prefix = substr(line, 1, index(line, defundef) - 1)
22113 if (D_is_set[macro]) {
22114 # Preserve the white space surrounding the "#".
22115 print prefix "define", macro P[macro] D[macro]
22116 next
22117 } else {
22118 # Replace #undef with comments. This is necessary, for example,
22119 # in the case of _POSIX_SOURCE, which is predefined and required
22120 # on some systems where configure will not decide to define it.
22121 if (defundef == "undef") {
22122 print "/*", prefix defundef, macro, "*/"
22123 next
22127 { print }
22128 _ACAWK
22129 _ACEOF
22130 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22131 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22132 fi # test -n "$CONFIG_HEADERS"
22135 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22136 shift
22137 for ac_tag
22139 case $ac_tag in
22140 :[FHLC]) ac_mode=$ac_tag; continue;;
22141 esac
22142 case $ac_mode$ac_tag in
22143 :[FHL]*:*);;
22144 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22145 :[FH]-) ac_tag=-:-;;
22146 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22147 esac
22148 ac_save_IFS=$IFS
22149 IFS=:
22150 set x $ac_tag
22151 IFS=$ac_save_IFS
22152 shift
22153 ac_file=$1
22154 shift
22156 case $ac_mode in
22157 :L) ac_source=$1;;
22158 :[FH])
22159 ac_file_inputs=
22160 for ac_f
22162 case $ac_f in
22163 -) ac_f="$ac_tmp/stdin";;
22164 *) # Look for the file first in the build tree, then in the source tree
22165 # (if the path is not absolute). The absolute path cannot be DOS-style,
22166 # because $ac_f cannot contain `:'.
22167 test -f "$ac_f" ||
22168 case $ac_f in
22169 [\\/$]*) false;;
22170 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22171 esac ||
22172 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22173 esac
22174 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22175 as_fn_append ac_file_inputs " '$ac_f'"
22176 done
22178 # Let's still pretend it is `configure' which instantiates (i.e., don't
22179 # use $as_me), people would be surprised to read:
22180 # /* config.h. Generated by config.status. */
22181 configure_input='Generated from '`
22182 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22183 `' by configure.'
22184 if test x"$ac_file" != x-; then
22185 configure_input="$ac_file. $configure_input"
22186 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22187 $as_echo "$as_me: creating $ac_file" >&6;}
22189 # Neutralize special characters interpreted by sed in replacement strings.
22190 case $configure_input in #(
22191 *\&* | *\|* | *\\* )
22192 ac_sed_conf_input=`$as_echo "$configure_input" |
22193 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22194 *) ac_sed_conf_input=$configure_input;;
22195 esac
22197 case $ac_tag in
22198 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22199 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22200 esac
22202 esac
22204 ac_dir=`$as_dirname -- "$ac_file" ||
22205 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22206 X"$ac_file" : 'X\(//\)[^/]' \| \
22207 X"$ac_file" : 'X\(//\)$' \| \
22208 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22209 $as_echo X"$ac_file" |
22210 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22211 s//\1/
22214 /^X\(\/\/\)[^/].*/{
22215 s//\1/
22218 /^X\(\/\/\)$/{
22219 s//\1/
22222 /^X\(\/\).*/{
22223 s//\1/
22226 s/.*/./; q'`
22227 as_dir="$ac_dir"; as_fn_mkdir_p
22228 ac_builddir=.
22230 case "$ac_dir" in
22231 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22233 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22234 # A ".." for each directory in $ac_dir_suffix.
22235 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22236 case $ac_top_builddir_sub in
22237 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22238 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22239 esac ;;
22240 esac
22241 ac_abs_top_builddir=$ac_pwd
22242 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22243 # for backward compatibility:
22244 ac_top_builddir=$ac_top_build_prefix
22246 case $srcdir in
22247 .) # We are building in place.
22248 ac_srcdir=.
22249 ac_top_srcdir=$ac_top_builddir_sub
22250 ac_abs_top_srcdir=$ac_pwd ;;
22251 [\\/]* | ?:[\\/]* ) # Absolute name.
22252 ac_srcdir=$srcdir$ac_dir_suffix;
22253 ac_top_srcdir=$srcdir
22254 ac_abs_top_srcdir=$srcdir ;;
22255 *) # Relative name.
22256 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22257 ac_top_srcdir=$ac_top_build_prefix$srcdir
22258 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22259 esac
22260 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22263 case $ac_mode in
22266 # CONFIG_FILE
22269 _ACEOF
22271 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22272 # If the template does not know about datarootdir, expand it.
22273 # FIXME: This hack should be removed a few years after 2.60.
22274 ac_datarootdir_hack=; ac_datarootdir_seen=
22275 ac_sed_dataroot='
22276 /datarootdir/ {
22280 /@datadir@/p
22281 /@docdir@/p
22282 /@infodir@/p
22283 /@localedir@/p
22284 /@mandir@/p'
22285 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22286 *datarootdir*) ac_datarootdir_seen=yes;;
22287 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22289 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22290 _ACEOF
22291 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22292 ac_datarootdir_hack='
22293 s&@datadir@&$datadir&g
22294 s&@docdir@&$docdir&g
22295 s&@infodir@&$infodir&g
22296 s&@localedir@&$localedir&g
22297 s&@mandir@&$mandir&g
22298 s&\\\${datarootdir}&$datarootdir&g' ;;
22299 esac
22300 _ACEOF
22302 # Neutralize VPATH when `$srcdir' = `.'.
22303 # Shell code in configure.ac might set extrasub.
22304 # FIXME: do we really want to maintain this feature?
22305 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22306 ac_sed_extra="$ac_vpsub
22307 $extrasub
22308 _ACEOF
22309 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22311 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22312 s|@configure_input@|$ac_sed_conf_input|;t t
22313 s&@top_builddir@&$ac_top_builddir_sub&;t t
22314 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22315 s&@srcdir@&$ac_srcdir&;t t
22316 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22317 s&@top_srcdir@&$ac_top_srcdir&;t t
22318 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22319 s&@builddir@&$ac_builddir&;t t
22320 s&@abs_builddir@&$ac_abs_builddir&;t t
22321 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22322 $ac_datarootdir_hack
22324 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22325 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22327 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22328 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22329 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22330 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22332 which seems to be undefined. Please make sure it is defined" >&5
22333 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22334 which seems to be undefined. Please make sure it is defined" >&2;}
22336 rm -f "$ac_tmp/stdin"
22337 case $ac_file in
22338 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22339 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22340 esac \
22341 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22345 # CONFIG_HEADER
22347 if test x"$ac_file" != x-; then
22349 $as_echo "/* $configure_input */" \
22350 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22351 } >"$ac_tmp/config.h" \
22352 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22353 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22354 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22355 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22356 else
22357 rm -f "$ac_file"
22358 mv "$ac_tmp/config.h" "$ac_file" \
22359 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22361 else
22362 $as_echo "/* $configure_input */" \
22363 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22364 || as_fn_error $? "could not create -" "$LINENO" 5
22369 # CONFIG_LINK
22372 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22374 else
22375 # Prefer the file from the source tree if names are identical.
22376 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22377 ac_source=$srcdir/$ac_source
22380 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22381 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22383 if test ! -r "$ac_source"; then
22384 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22386 rm -f "$ac_file"
22388 # Try a relative symlink, then a hard link, then a copy.
22389 case $ac_source in
22390 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22391 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22392 esac
22393 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22394 ln "$ac_source" "$ac_file" 2>/dev/null ||
22395 cp -p "$ac_source" "$ac_file" ||
22396 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22399 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22400 $as_echo "$as_me: executing $ac_file commands" >&6;}
22402 esac
22405 case $ac_file$ac_mode in
22406 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22407 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22408 "Makefile":C) wine_fn_output_makefile Makefile ;;
22410 esac
22411 done # for ac_tag
22414 as_fn_exit 0
22415 _ACEOF
22416 ac_clean_files=$ac_clean_files_save
22418 test $ac_write_fail = 0 ||
22419 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22422 # configure is writing to config.log, and then calls config.status.
22423 # config.status does its own redirection, appending to config.log.
22424 # Unfortunately, on DOS this fails, as config.log is still kept open
22425 # by configure, so config.status won't be able to write to it; its
22426 # output is simply discarded. So we exec the FD to /dev/null,
22427 # effectively closing config.log, so it can be properly (re)opened and
22428 # appended to by config.status. When coming back to configure, we
22429 # need to make the FD available again.
22430 if test "$no_create" != yes; then
22431 ac_cs_success=:
22432 ac_config_status_args=
22433 test "$silent" = yes &&
22434 ac_config_status_args="$ac_config_status_args --quiet"
22435 exec 5>/dev/null
22436 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22437 exec 5>>config.log
22438 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22439 # would make configure fail if this is the last instruction.
22440 $ac_cs_success || as_fn_exit 1
22442 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22444 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22448 if test "$no_create" = "yes"
22449 then
22450 exit 0
22453 ac_save_IFS="$IFS"
22454 if test "x$wine_notices" != x; then
22455 echo >&6
22456 IFS="|"
22457 for msg in $wine_notices; do
22458 IFS="$ac_save_IFS"
22459 if ${msg:+false} :; then :
22461 else
22462 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22463 $as_echo "$as_me: $msg" >&6;}
22465 done
22467 IFS="|"
22468 for msg in $wine_warnings; do
22469 IFS="$ac_save_IFS"
22470 if ${msg:+false} :; then :
22472 else
22473 echo >&2
22474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22475 $as_echo "$as_me: WARNING: $msg" >&2;}
22477 done
22478 IFS="$ac_save_IFS"
22480 $as_echo "
22481 $as_me: Finished. Do '${ac_make}' to compile Wine.
22482 " >&6